duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Exception during duplicity testing


From: Scott Hannahs
Subject: Re: [Duplicity-talk] Exception during duplicity testing
Date: Tue, 20 Aug 2024 22:05:03 -0400

Thomas,

That is my problem, as the line shows it passed or skipped all tests.  And then there is that following line about “exception ignored”  Here is the test output above that  line that everything was passed of skipped.  It does not show any failures.  The 17 skipped items are shown, probably missing backends?

/opt/sw/bin/pytest-3.10 --capture=fd
============================= test session starts ==============================
platform darwin -- Python 3.10.4, pytest-7.4.4, pluggy-1.4.0
Using --randomly-seed=3639082737
rootdir: /opt/sw/src/fink.build/duplicity-3.0.0-1/duplicity-rel.3.0.0
configfile: pyproject.toml
testpaths: testing/unit, testing/functional
plugins: hypothesis-6.42.1, randomly-3.15.0, mock-3.12.0, xdist-3.5.0, cov-4.1.0
collected 476 items
run-last-failure: no previously failed tests, not deselecting items.

testing/unit/test_gpginterface.py ......                                 [  1%]
testing/unit/test_manifest.py ......                                     [  2%]
testing/functional/test_selection.py ..........ss...................ssss [  9%]
.....................................                                    [ 17%]
testing/unit/test_cli_main.py ...................                        [ 21%]
testing/unit/test_tarfile.py .                                           [ 21%]
testing/functional/test_badupload.py ...                                 [ 22%]
testing/unit/test_globmatch.py ...........................               [ 28%]
testing/unit/test_dup_temp.py ..                                         [ 28%]
testing/unit/test_patchdir.py .......s                                   [ 30%]
testing/unit/test_collections.py ........                                [ 31%]
testing/unit/test_util.py .                                              [ 32%]
testing/functional/test_final.py ............                            [ 34%]
testing/unit/test_tempdir.py ..                                          [ 35%]
testing/functional/test_concurrency.py ......                            [ 36%]
testing/functional/test_restart.py ..................................... [ 44%]
.............                                                            [ 46%]
testing/functional/test_log.py .                                         [ 47%]
testing/functional/test_cleanup.py ....                                  [ 47%]
testing/unit/test_lazy.py ............................                   [ 53%]
testing/unit/test_path.py .....                                          [ 54%]
testing/functional/test_verify.py ........                               [ 56%]
testing/unit/test_backend.py ....................                        [ 60%]
testing/unit/test_selection.py ......................................... [ 69%]
............................................                             [ 78%]
testing/unit/test_gpg.py .........                                       [ 80%]
testing/unit/test_backend_instance.py .................................. [ 87%]
................ssssssssss..........                                     [ 95%]
testing/unit/test_statistics.py .......                                  [ 96%]
testing/unit/test_diffdir.py .......                                     [ 98%]
testing/unit/test_file_naming.py .........                               [100%]

================= 459 passed, 17 skipped in 687.30s (0:11:27) ==================

There are some other build complaints that I can’t deal with since I know nothing about egg.
I assume it is looking for missing test files?  I am assuming UNKNOWN.egg-info is not normal?

running egg_info
creating UNKNOWN.egg-info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
listing git files failed - pretending there aren't any
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
adding license file 'COPYING'
adding license file 'AUTHORS.md'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'

That is all I got.

-Scott

On Aug 18, 2024, at 4:34 PM, Thomas Laubrock via Duplicity-talk <duplicity-talk@nongnu.org> wrote:

Hi Scott,

Which test is exactly raising this exception?
Can you elaborate on: 'The “skipped tests” seem to be not implementing all the possible backends.'
Test are using one test backend only.

Bye
  Thomas



On 18 August 2024 20:00:27 CEST, Scott Hannahs via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
When running the duplicity tests during the build process, They all pass The “skipped tests” seem to be not implementing all the possible backends.

But I get one exception thrown. Duplicity 3.0.0 (not updated for the last two minor updates).

================= 459 passed, 17 skipped in 687.30s (0:11:27) ==================
Exception ignored in: <function TemporaryDirectory.__del__ at 0x1081b5b40>
Traceback (most recent call last):
File "/opt/sw/src/fink.build/duplicity-3.0.0-1/duplicity-rel.3.0.0/duplicity/tempdir.py", line 180, in __del__
File "/opt/sw/src/fink.build/duplicity-3.0.0-1/duplicity-rel.3.0.0/duplicity/tempdir.py", line 284, in cleanup
NameError: name '_' is not defined

Is this something that I should worry about or needs fixing? Just a code typo?
-Scott
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]