Created
June 1, 2024 19:57
-
-
Save asymmetric/e5fb38b2fe1588151c94ad5789afd8a1 to your computer and use it in GitHub Desktop.
tarsnapper failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/8bx5x42c5s84as4fcdzvvqfrjcf2gjza-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_script.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: patchPhase | |
applying patch /nix/store/jy6sxfm9a9wdvc8chpq7ly1qizhyr47i-2ee33ce748b9bb42d559cc2c0104115732cb4150.patch | |
patching file tarsnapper/config.py | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
Running phase: configurePhase | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Running phase: buildPhase | |
Executing pypaBuildPhase | |
Creating a wheel... | |
[1m* Getting build dependencies for wheel...[0m | |
running egg_info | |
creating tarsnapper.egg-info | |
writing tarsnapper.egg-info/PKG-INFO | |
writing dependency_links to tarsnapper.egg-info/dependency_links.txt | |
writing entry points to tarsnapper.egg-info/entry_points.txt | |
writing requirements to tarsnapper.egg-info/requires.txt | |
writing top-level names to tarsnapper.egg-info/top_level.txt | |
writing manifest file 'tarsnapper.egg-info/SOURCES.txt' | |
reading manifest file 'tarsnapper.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching 'README.rst' | |
warning: no files found matching 'CHANGES' | |
warning: no previously-included files matching '*.pyc' found under directory 'tests' | |
adding license file 'LICENSE' | |
writing manifest file 'tarsnapper.egg-info/SOURCES.txt' | |
[1m* Building wheel...[0m | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/tarsnapper | |
copying tarsnapper/config.py -> build/lib/tarsnapper | |
copying tarsnapper/test.py -> build/lib/tarsnapper | |
copying tarsnapper/script.py -> build/lib/tarsnapper | |
copying tarsnapper/expire.py -> build/lib/tarsnapper | |
copying tarsnapper/__init__.py -> build/lib/tarsnapper | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/tarsnapper | |
copying build/lib/tarsnapper/__init__.py -> build/bdist.linux-x86_64/wheel/tarsnapper | |
copying build/lib/tarsnapper/expire.py -> build/bdist.linux-x86_64/wheel/tarsnapper | |
copying build/lib/tarsnapper/script.py -> build/bdist.linux-x86_64/wheel/tarsnapper | |
copying build/lib/tarsnapper/test.py -> build/bdist.linux-x86_64/wheel/tarsnapper | |
copying build/lib/tarsnapper/config.py -> build/bdist.linux-x86_64/wheel/tarsnapper | |
running install_egg_info | |
running egg_info | |
writing tarsnapper.egg-info/PKG-INFO | |
writing dependency_links to tarsnapper.egg-info/dependency_links.txt | |
writing entry points to tarsnapper.egg-info/entry_points.txt | |
writing requirements to tarsnapper.egg-info/requires.txt | |
writing top-level names to tarsnapper.egg-info/top_level.txt | |
reading manifest file 'tarsnapper.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching 'README.rst' | |
warning: no files found matching 'CHANGES' | |
warning: no previously-included files matching '*.pyc' found under directory 'tests' | |
adding license file 'LICENSE' | |
writing manifest file 'tarsnapper.egg-info/SOURCES.txt' | |
Copying tarsnapper.egg-info to build/bdist.linux-x86_64/wheel/tarsnapper-0.4.0-py3.11.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/tarsnapper-0.4.0.dist-info/WHEEL | |
creating '/build/source/dist/.tmp-uv1l9igb/tarsnapper-0.4.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'tarsnapper/__init__.py' | |
adding 'tarsnapper/config.py' | |
adding 'tarsnapper/expire.py' | |
adding 'tarsnapper/script.py' | |
adding 'tarsnapper/test.py' | |
adding 'tarsnapper-0.4.0.dist-info/LICENSE' | |
adding 'tarsnapper-0.4.0.dist-info/METADATA' | |
adding 'tarsnapper-0.4.0.dist-info/WHEEL' | |
adding 'tarsnapper-0.4.0.dist-info/entry_points.txt' | |
adding 'tarsnapper-0.4.0.dist-info/top_level.txt' | |
adding 'tarsnapper-0.4.0.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
[1m[92mSuccessfully built [4mtarsnapper-0.4.0-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
/build/source/dist /build/source | |
Unpacking to: unpacked/tarsnapper-0.4.0...OK | |
Repacking wheel as ./tarsnapper-0.4.0-py3-none-any.whl...OK | |
/build/source | |
Finished executing pypaBuildPhase | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Running phase: pythonRuntimeDepsCheckHook | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for tarsnapper-0.4.0-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Running phase: installPhase | |
Executing pypaInstallPhase | |
Successfully installed tarsnapper-0.4.0-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Running phase: pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
Running phase: fixupPhase | |
shrinking RPATHs of ELF executables and libraries in /nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5 | |
checking for references to /build/ in /nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5... | |
patching script interpreter paths in /nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5 | |
stripping (with command strip and flags -S -p) in /nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5/lib /nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5/bin | |
shrinking RPATHs of ELF executables and libraries in /nix/store/29hzvn2ipdfykwl1dwd3hqwzc2s5kvx4-tarsnapper-0.5-dist | |
checking for references to /build/ in /nix/store/29hzvn2ipdfykwl1dwd3hqwzc2s5kvx4-tarsnapper-0.5-dist... | |
patching script interpreter paths in /nix/store/29hzvn2ipdfykwl1dwd3hqwzc2s5kvx4-tarsnapper-0.5-dist | |
Rewriting #!/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/bin/python3.11 to #!/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9 | |
wrapping `/nix/store/s18fkrm4drx46dxynqp2ngy5zp91vgp5-tarsnapper-0.5/bin/tarsnapper'... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
Running phase: installCheckPhase | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Running phase: pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: tarsnapper | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Running phase: pytestCheckPhase | |
Executing pytestCheckPhase | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0 | |
rootdir: /build/source | |
[1mcollecting ... [0m[1m | |
collecting 21 items [0m[1m | |
collecting 22 items [0m[1m | |
collected 34 items [0m | |
tests/test_config.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 61%][0m | |
tests/test_expire.py [32m.[0m[33m [ 64%][0m | |
tests/test_script.py [31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m______________________ TestTarsnapOptions.test_pass_along ______________________[0m | |
self = <tests.test_script.TestTarsnapOptions object at 0x7ffff5ac0510> | |
def test_pass_along(self): | |
# Short option | |
> cmd = self.run(self.job(), [], tarsnap_options=(('o', '1'),)) | |
[1m[31mtests/test_script.py[0m:101: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestTarsnapOptions object at 0x7ffff5ac0510> | |
deltas = '1d 2d', name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestTarsnapOptions' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m________________________________ TestMake.test _________________________________[0m | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1310> | |
def test(self): | |
> cmd = self.run(self.job(), []) | |
[1m[31mtests/test_script.py[0m:122: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1310>, deltas = '1d 2d' | |
name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestMake' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m___________________________ TestMake.test_no_sources ___________________________[0m | |
self = <tests.test_script.TestMake object at 0x7ffff5ac0c90> | |
def test_no_sources(self): | |
"""If no sources are defined, the job is skipped.""" | |
> cmd = self.run(self.job(sources=None), []) | |
[1m[31mtests/test_script.py[0m:130: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestMake object at 0x7ffff5ac0c90>, deltas = '1d 2d' | |
name = 'test', kwargs = {'sources': None} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestMake' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m____________________________ TestMake.test_excludes ____________________________[0m | |
self = <tests.test_script.TestMake object at 0x7ffff5ac0750> | |
def test_excludes(self): | |
> cmd = self.run(self.job(excludes=['foo']), []) | |
[1m[31mtests/test_script.py[0m:134: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestMake object at 0x7ffff5ac0750>, deltas = '1d 2d' | |
name = 'test', kwargs = {'excludes': ['foo']} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestMake' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m___________________________ TestMake.test_no_expire ____________________________[0m | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1210> | |
def test_no_expire(self): | |
> cmd = self.run(self.job(), [], no_expire=True) | |
[1m[31mtests/test_script.py[0m:141: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1210>, deltas = '1d 2d' | |
name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestMake' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m______________________________ TestMake.test_exec ______________________________[0m | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1650> | |
def test_exec(self): | |
"""Test ``exec_before`` and ``exec_after`` options. | |
""" | |
> cmd = self.run(self.job(exec_before="echo begin", exec_after="echo end"), | |
[], no_expire=True) | |
[1m[31mtests/test_script.py[0m:149: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestMake object at 0x7ffff5ac1650>, deltas = '1d 2d' | |
name = 'test', kwargs = {'exec_after': 'echo end', 'exec_before': 'echo begin'} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestMake' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m________________________ TestExpire.test_nothing_to_do _________________________[0m | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac2ad0> | |
def test_nothing_to_do(self): | |
> cmd = self.run(self.job(deltas='1d 10d'), [ | |
self.filename('1d'), | |
self.filename('5d'), | |
]) | |
[1m[31mtests/test_script.py[0m:163: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac2ad0> | |
deltas = '1d 10d', name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestExpire' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m__________________________ TestExpire.test_no_deltas ___________________________[0m | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3990> | |
def test_no_deltas(self): | |
"""If a job does not define deltas, we skip it.""" | |
> cmd = self.run(self.job(deltas=None), [ | |
self.filename('1d'), | |
self.filename('5d'), | |
]) | |
[1m[31mtests/test_script.py[0m:173: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3990>, deltas = None | |
name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestExpire' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m_____________________ TestExpire.test_something_to_expire ______________________[0m | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac2cd0> | |
def test_something_to_expire(self): | |
> cmd = self.run(self.job(deltas='1d 2d'), [ | |
self.filename('1d'), | |
self.filename('5d'), | |
]) | |
[1m[31mtests/test_script.py[0m:180: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac2cd0>, deltas = '1d 2d' | |
name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestExpire' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m___________________________ TestExpire.test_aliases ____________________________[0m | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3810> | |
def test_aliases(self): | |
> cmd = self.run(self.job(deltas='1d 2d', aliases=['alias']), [ | |
self.filename('1d'), | |
self.filename('5d', name='alias'), | |
]) | |
[1m[31mtests/test_script.py[0m:190: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3810>, deltas = '1d 2d' | |
name = 'test', kwargs = {'aliases': ['alias']} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestExpire' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m______________________ TestExpire.test_date_name_mismatch ______________________[0m | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3c90> | |
def test_date_name_mismatch(self): | |
"""Make sure that when processing a target "home-$date", | |
we won't stumble over "home-dev-$date". This can be an issue | |
due to the way we try to parse the dates in filenames. | |
""" | |
> cmd = self.run(self.job(name="home"), [ | |
self.filename('1d', name="home-dev"), | |
]) | |
[1m[31mtests/test_script.py[0m:204: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestExpire object at 0x7ffff5ac3c90>, deltas = '1d 2d' | |
name = 'home', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestExpire' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[31m[1m________________________________ TestList.test _________________________________[0m | |
self = <tests.test_script.TestList object at 0x7ffff5ab9690> | |
def test(self): | |
> cmd = self.run([self.job(), self.job(name='foo')], [ | |
self.filename('1d'), | |
self.filename('5d'), | |
self.filename('1d', name='foo'), | |
self.filename('1d', name='something-else'), | |
]) | |
[1m[31mtests/test_script.py[0m:214: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.test_script.TestList object at 0x7ffff5ab9690>, deltas = '1d 2d' | |
name = 'test', kwargs = {} | |
def job(self, deltas='1d 2d', name='test', **kwargs): | |
"""Make a job object. | |
""" | |
opts = dict( | |
target="$name-$date", | |
deltas=parse_deltas(deltas), | |
name=name, | |
> sources=[self._tmpdir]) | |
[1m[31mE AttributeError: 'TestList' object has no attribute '_tmpdir'[0m | |
[1m[31mtests/test_script.py[0m:80: AttributeError | |
[33m=============================== warnings summary ===============================[0m | |
../../nix/store/frf9vrd2vzhmanvqanpipnnphvin0ggp-python3.11-nose-1.3.7/lib/python3.11/site-packages/nose/plugins/manager.py:418 | |
/nix/store/frf9vrd2vzhmanvqanpipnnphvin0ggp-python3.11-nose-1.3.7/lib/python3.11/site-packages/nose/plugins/manager.py:418: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html | |
import pkg_resources | |
../../nix/store/frf9vrd2vzhmanvqanpipnnphvin0ggp-python3.11-nose-1.3.7/lib/python3.11/site-packages/nose/importer.py:12 | |
/nix/store/frf9vrd2vzhmanvqanpipnnphvin0ggp-python3.11-nose-1.3.7/lib/python3.11/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses | |
from imp import find_module, load_module, acquire_lock, release_lock | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m tests/test_script.py::[1mTestTarsnapOptions::test_pass_along[0m - AttributeError: 'TestTarsnapOptions' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestMake::test[0m - AttributeError: 'TestMake' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestMake::test_no_sources[0m - AttributeError: 'TestMake' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestMake::test_excludes[0m - AttributeError: 'TestMake' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestMake::test_no_expire[0m - AttributeError: 'TestMake' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestMake::test_exec[0m - AttributeError: 'TestMake' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestExpire::test_nothing_to_do[0m - AttributeError: 'TestExpire' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestExpire::test_no_deltas[0m - AttributeError: 'TestExpire' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestExpire::test_something_to_expire[0m - AttributeError: 'TestExpire' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestExpire::test_aliases[0m - AttributeError: 'TestExpire' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestExpire::test_date_name_mismatch[0m - AttributeError: 'TestExpire' object has no attribute '_tmpdir' | |
[31mFAILED[0m tests/test_script.py::[1mTestList::test[0m - AttributeError: 'TestList' object has no attribute '_tmpdir' | |
[31m================== [31m[1m12 failed[0m, [32m22 passed[0m, [33m2 warnings[0m[31m in 2.94s[0m[31m ===================[0m | |
/nix/store/xfhkjnpqjwlf6hlk1ysmq3aaq80f3bjj-stdenv-linux/setup: line 1579: pop_var_context: head of shell_variables not a function context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment