Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915684

Summary: sys-power/autosuspend-5.0.0 fails test - E AttributeError: ContentServer object has no attribute expect_request
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
sys-power:autosuspend-5.0.0:20231013-141250.log
temp.tar.xz
tests.tar.xz

Description Toralf Förster gentoo-dev 2023-10-13 14:23:29 UTC
httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 139828727559872)>

    @staticmethod
    @pytest.fixture()
    def serve_data_url(httpserver: HTTPServer) -> str:
>       httpserver.expect_request("").respond_with_json({"foo": "bar"})
E       AttributeError: 'ContentServer' object has no attribute 'expect_request'

httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 139828727559872)>

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened_test-20231010-123509

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.2
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 8.382_p05 [openjdk-8]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 859475bc7ac3579a79abce16458587d768a38fdf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 13 12:36:09 2023 +0000

    2023-10-13 12:36:08 UTC

emerge -qpvO sys-power/autosuspend
[ebuild  N    ] sys-power/autosuspend-5.0.0  USE="doc test -dbus -mpd" PYTHON_TARGETS="python3_11"
Comment 1 Toralf Förster gentoo-dev 2023-10-13 14:23:31 UTC
Created attachment 872700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-13 14:23:32 UTC
Created attachment 872701 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-10-13 14:23:34 UTC
Created attachment 872702 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-10-13 14:23:34 UTC
Created attachment 872703 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-10-13 14:23:35 UTC
Created attachment 872704 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-13 14:23:37 UTC
Created attachment 872705 [details]
sys-power:autosuspend-5.0.0:20231013-141250.log
Comment 7 Toralf Förster gentoo-dev 2023-10-13 14:23:38 UTC
Created attachment 872706 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-10-13 14:23:39 UTC
Created attachment 872707 [details]
tests.tar.xz