Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915684 - sys-power/autosuspend-5.0.0 fails test - E AttributeError: ContentServer object has no attribute expect_request
Summary: sys-power/autosuspend-5.0.0 fails test - E AttributeError: ContentServer obje...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-10-13 14:23 UTC by Toralf Förster
Modified: 2023-10-13 14:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.42 KB, text/plain)
2023-10-13 14:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,136.20 KB, text/plain)
2023-10-13 14:23 UTC, Toralf Förster
Details
environment (environment,154.88 KB, text/plain)
2023-10-13 14:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.08 KB, application/x-xz)
2023-10-13 14:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.50 KB, application/x-xz)
2023-10-13 14:23 UTC, Toralf Förster
Details
sys-power:autosuspend-5.0.0:20231013-141250.log (sys-power:autosuspend-5.0.0:20231013-141250.log,155.48 KB, text/plain)
2023-10-13 14:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,79.13 KB, application/x-xz)
2023-10-13 14:23 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,20.74 KB, application/x-xz)
2023-10-13 14:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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