Closed sjau closed 4 years ago
Describe the bug On current nixos-unstable, flexget won't build anymore.
To Reproduce Steps to reproduce the behavior:
def test_one_failed_in_fingerprints(self, tmdata): tmdata.write_plus_cache( "test_1.py::test_1", {"test_1.py": encode_lines(["FINGERPRINT1"])}, failed=True, ) tmdata.write_plus_cache( "test_1.py::test_2", {"test_1.py": encode_lines(["FINGERPRINT1"])}, failed=False, ) > assert tmdata.filenames_fingerprints[0]["sum(failed)"] == 1 E IndexError: No item with that key /build/pytest-testmon-1.0.3/test/test_core.py:275: IndexError ________________ TestData.test_nodes_classes_modules_durations _________________ self = <test.test_core.TestData object at 0x7ffff6133eb0> tmdata = <test.test_core.CoreTestmonDataForTest object at 0x7ffff6133ac0> def test_nodes_classes_modules_durations(self, tmdata: CoreTestmonDataForTest): tmdata.create_report(2, 3, "test_a1", "tests.py", "TestA") tmdata.create_report(1, 4, "test_a2", "tests.py", "TestA") tmdata.create_report(1, 5, "test_b1", "tests.py", "TestB") > avg_durations = tmdata.nodes_classes_modules_avg_durations E AttributeError: 'CoreTestmonDataForTest' object has no attribute 'nodes_classes_modules_avg_durations' /build/pytest-testmon-1.0.3/test/test_core.py:282: AttributeError =============================== warnings summary =============================== test/test_pytest_assumptions.py::test_get_all_collected_items /nix/store/xmxf7aw36qgkb4hpc1805yqa27nhd162-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/compat.py:333: PytestDeprecationWarning: The TerminalReporter.writer attribute is deprecated, use TerminalReporter._tw instead at your own risk. See https://docs.pytest.org/en/latest/deprecations.html#terminalreporter-writer for more information. return getattr(object, name, default) -- Docs: https://docs.pytest.org/en/latest/warnings.html =========================== short test summary info ============================ FAILED test_core.py::TestData::test_filenames_fingerprints - AssertionError: ... FAILED test_core.py::TestData::test_write_get_changed_file_data - AssertionEr... FAILED test_core.py::TestData::test_determine_stable_flow - AssertionError: a... FAILED test_core.py::TestData::test_write_data2 - ValueError: not enough valu... FAILED test_core.py::TestData::test_one_failed_in_fingerprints - IndexError: ... FAILED test_core.py::TestData::test_nodes_classes_modules_durations - Attribu... ============= 6 failed, 56 passed, 2 xfailed, 1 warning in 10.17s ============== gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o aes_ctr.o aes_ctr.c gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o aes_ige.o aes_ige.c g++ -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DUNRAR -c global.cpp builder for '/nix/store/ff9yw5znwfk5y0nyi1aw1xw5dai1mhxv-python3.8-pytest-testmon-1.0.3.drv' failed with exit code 1 cannot build derivation '/nix/store/vjd04fgp5d0pmvw8wwdxp5saykn39y6w-python3.8-cheroot-8.4.5.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/x2ym82m84ha1k134vd2za638d9725cdl-python3.8-cherrypy-18.6.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/iaqf7axw1r0zr924bcy3gwnwz2zd6wia-FlexGet-3.1.71.drv': 1 dependencies couldn't be built
Expected behavior Flexget being built.
Notify maintainers @marsam
Metadata
"x86_64-linux"
Linux 5.4.66, NixOS, 21.03pre244416.daaa0e33505 (Okapi)
yes
nix-env (Nix) 2.3.7
""
"nixos-21.03pre255513.8ee7c2505f9"
Maintainer information:
# a list of nixpkgs attributes affected by the problem attribute: # a list of nixos modules affected by the problem module:
addressed by https://github.com/NixOS/nixpkgs/pull/103958
Describe the bug On current nixos-unstable, flexget won't build anymore.
To Reproduce Steps to reproduce the behavior:
Expected behavior Flexget being built.
Notify maintainers @marsam
Metadata
"x86_64-linux"
Linux 5.4.66, NixOS, 21.03pre244416.daaa0e33505 (Okapi)
yes
yes
nix-env (Nix) 2.3.7
""
"nixos-21.03pre255513.8ee7c2505f9"
Maintainer information: