question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ToolTests::testCombinedTools fails in NixOS

See original GitHub issue

I’m submitting a …

  • bug report
  • feature request
  • question about the decisions made in the repository

What is the current behavior?

Test ToolTests::testCombinedTools fails with the output mentioned in this Nixpkgs issue. The version listed is 18.3.0 but the failure is also reproducible in 18.5.0.

If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem. If you can, show us your code.

  1. Install NixOS or nix or use https://hub.docker.com/r/nixos/nix/
  2. git clone --depth 1 https://github.com/NixOS/nixpkgs
  3. cd nixpkgs
  4. git checkout 4e4e57bdd3bbfaaf27eab08c6502530c0f52d448
  5. export NIXPKGS=$(pwd)
  6. nix-build $NIXPKGS -A python37Packages.cherrypy

What is the expected behavior?

Test ToolTests::testCombinedTools fails. All others pass (except 3 XPASS + 3 SKIPPED).

Please tell us about your environment:

platform linux -- Python 3.7.7, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7
cachedir: .pytest_cache
rootdir: /build/CherryPy-18.5.0, inifile: pytest.ini, testpaths: cherrypy/test/
plugins: cov-2.8.1, services-2.0.1
collected 298 items / 1 deselected / 297 selected
Requirement already satisfied: portend>=2.1.1 in /nix/store/8ynzwhpbl3f8hxx0w8x11b15izck1q1x-python3.7-portend-2.6/lib/python3.7/site-packages (from CherryPy==18.5.0) (2.6)
Requirement already satisfied: more-itertools in /nix/store/nlxnby9qcnykhbpaxk4wa3jdivj7mzb3-python3.7-more-itertools-8.0.2/lib/python3.7/site-packages (from CherryPy==18.5.0) (8.0.2)
Requirement already satisfied: cheroot>=8.2.1 in /nix/store/73vm9wzl2779zggh5yp4yp3pi2bby7fn-python3.7-cheroot-8.2.1/lib/python3.7/site-packages (from CherryPy==18.5.0) (8.2.1)
Requirement already satisfied: jaraco.collections in /nix/store/2h7h6g0lj5yp21ql9w97y801iawyp6h7-python3.7-jaraco.collections-2.1/lib/python3.7/site-packages (from CherryPy==18.5.0) (2.1)
Requirement already satisfied: zc.lockfile in /nix/store/irkckny3vvipls1hqc1vmrv6p05abifn-python3.7-zc.lockfile-2.0/lib/python3.7/site-packages (from CherryPy==18.5.0) (2.0)
Requirement already satisfied: tempora>=1.8 in /nix/store/i5n6dpbdk07inlzws2ifjnig8nzkkyzs-python3.7-tempora-1.14.1/lib/python3.7/site-packages (from portend>=2.1.1->CherryPy==18.5.0) (1.14.1)
Requirement already satisfied: jaraco.functools in /nix/store/sdbcp9k4jhf7rcvwlj4hmq372gnmws5b-python3.7-jaraco.functools-2.0/lib/python3.7/site-packages (from cheroot>=8.2.1->CherryPy==18.5.0) (2.0)
Requirement already satisfied: six>=1.11.0 in /nix/store/whv9wb1anihmjvc27y52m6a1xpa52sb7-python3.7-six-1.14.0/lib/python3.7/site-packages (from cheroot>=8.2.1->CherryPy==18.5.0) (1.14.0)
Requirement already satisfied: jaraco.classes in /nix/store/ws17q3fv5iwvpyhkiy49hz4s6fwl2nbj-python3.7-jaraco.classes-3.1.0/lib/python3.7/site-packages (from jaraco.collections->CherryPy==18.5.0) (3.1.0)
Requirement already satisfied: jaraco.text in /nix/store/hs0sd4m4nly7n3gjwzsryc347qir9k8v-python3.7-jaraco.text-3.2.0/lib/python3.7/site-packages (from jaraco.collections->CherryPy==18.5.0) (3.2.0)
Requirement already satisfied: setuptools in /nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages (from zc.lockfile->CherryPy==18.5.0) (45.2.0.post20200329)
Requirement already satisfied: pytz in /nix/store/aszlsvifr4ym1lg7k213hxnjqyims6xr-python3.7-pytz-2019.3/lib/python3.7/site-packages (from tempora>=1.8->portend>=2.1.1->CherryPy==18.5.0) (2019.3)

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, e.g. stackoverflow, gitter, etc.)

https://github.com/NixOS/nixpkgs/issues/84897

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
webknjazcommented, Apr 13, 2020

Looks like it’s reproducible w/ the nightly Python build: https://travis-ci.org/github/cherrypy/cherrypy/jobs/674223158#L569.

0reactions
webknjazcommented, Nov 15, 2020

Oops, wrong issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`remarshal` failed to be installed · Issue #159522 · NixOS ...
A clear and concise description of what the bug is. remarshal failed to install. Steps To Reproduce. Steps to reproduce the behavior: run...
Read more >
Nixos-install fails
I'm having issues at the nixos-install stage. Specifically, bootctl fails with the error “Failed to test system token validity: No data available”. For...
Read more >
nix-env - NixOS
Usually, trying to have two versions of the same package installed in the same generation of a profile will lead to an error...
Read more >
nix.conf - NixOS
With this option set to false, Nix will throw an error when evaluating an expression that uses this feature, allowing users to ensure...
Read more >
NixOS 23.05 manual
This manual describes how to install, use and extend NixOS, a Linux distribution based on the purely functional package management system Nix, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found