Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Making package: python-fangfrisch 1.6.0-1 (Mon 20 Feb 2023 07:52:09 PM EST)
- ==> Checking runtime dependencies...
- ==> Checking buildtime dependencies...
- ==> Retrieving sources...
- -> Downloading python-fangfrisch-1.6.0.tar.gz...
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 100 14574 0 14574 0 0 29576 0 --:--:-- --:--:-- --:--:-- 29576
- 100 110k 0 110k 0 0 200k 0 --:--:-- --:--:-- --:--:-- 1609k
- -> Found fangfrisch.conf
- -> Found fangfrisch.service
- -> Found fangfrisch.timer
- -> Found fangfrisch.tmpfiles
- ==> Validating source files with sha512sums...
- python-fangfrisch-1.6.0.tar.gz ... Passed
- fangfrisch.conf ... Passed
- fangfrisch.service ... Passed
- fangfrisch.timer ... Passed
- fangfrisch.tmpfiles ... Passed
- ==> Extracting sources...
- -> Extracting python-fangfrisch-1.6.0.tar.gz with bsdtar
- ==> Starting build()...
- running build
- running build_py
- creating build
- creating build/lib
- creating build/lib/fangfrisch
- copying fangfrisch/__init__.py -> build/lib/fangfrisch
- copying fangfrisch/__main__.py -> build/lib/fangfrisch
- copying fangfrisch/refresh.py -> build/lib/fangfrisch
- copying fangfrisch/log.py -> build/lib/fangfrisch
- copying fangfrisch/download.py -> build/lib/fangfrisch
- copying fangfrisch/db.py -> build/lib/fangfrisch
- copying fangfrisch/dump.py -> build/lib/fangfrisch
- copying fangfrisch/util.py -> build/lib/fangfrisch
- creating build/lib/fangfrisch/config
- copying fangfrisch/config/sanesecurity.py -> build/lib/fangfrisch/config
- copying fangfrisch/config/__init__.py -> build/lib/fangfrisch/config
- copying fangfrisch/config/malwarepatrol.py -> build/lib/fangfrisch/config
- copying fangfrisch/config/config.py -> build/lib/fangfrisch/config
- copying fangfrisch/config/securiteinfo.py -> build/lib/fangfrisch/config
- copying fangfrisch/config/urlhaus.py -> build/lib/fangfrisch/config
- ==> Starting check()...
- .................EEEEE...EEEEE...E/usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 mode='w+t' encoding='UTF-8'>
- outcome.errors.clear()
- ResourceWarning: Enable tracemalloc to get the object allocation traceback
- EEE......EEEEEE.EEEEEE.................
- ======================================================================
- ERROR: test_cleanup1 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 110, in test_cleanup1
- self.assertEqual(0, RefreshLog.cleanup_provider(self.UNKNOWN))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 213, in cleanup_provider
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_cleanup2 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 122, in test_cleanup2
- self.assertEqual(1, RefreshLog.cleanup_provider(provider))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 213, in cleanup_provider
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_create_metadata1 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 71, in test_create_metadata1
- self.assertTrue(DbMeta().create_metadata(False))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 92, in create_metadata
- with DbMeta._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_create_metadata2 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 75, in test_create_metadata2
- DbMeta().create_metadata(False)
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 92, in create_metadata
- with DbMeta._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_create_metadata3 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 78, in test_create_metadata3
- self.assertTrue(DbMeta().create_metadata(True))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 92, in create_metadata
- with DbMeta._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_refresh_required (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 98, in test_refresh_required
- self.assertTrue(RefreshLog.is_outdated(URL1, 0))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_stamp1 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 101, in test_stamp1
- RefreshLog.update(self.ci, DIGEST_DUMMY) # Must not raise an exception
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 194, in update
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_stamp2 (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 106, in test_stamp2
- RefreshLog.update(self.ci, DIGEST_DUMMY) # Must not raise an exception
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 194, in update
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_version_match (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 49, in test_version_match
- self.assertTrue(DbMeta.assert_version_match())
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 80, in assert_version_match
- dm: DbMeta = session.query(DbMeta).one()
- File "/usr/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 3500, in one
- raise orm_exc.NoResultFound("No row was found for one()")
- sqlalchemy.orm.exc.NoResultFound: No row was found for one()
- ======================================================================
- ERROR: test_version_mismatch (test_db.DbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_db.py", line 53, in test_version_mismatch
- dm: DbMeta = session.query(DbMeta).one()
- File "/usr/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 3500, in one
- raise orm_exc.NoResultFound("No row was found for one()")
- sqlalchemy.orm.exc.NoResultFound: No row was found for one()
- ======================================================================
- ERROR: test_dump_all (test_dump.DumpDbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_dump.py", line 48, in test_dump_all
- dump.print_url_path_mappings(file)
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/dump.py", line 28, in print_url_path_mappings
- for r in RefreshLog.url_path_mappings(self.args.provider):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 183, in url_path_mappings
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_match_none (test_dump.DumpDbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_dump.py", line 63, in test_match_none
- x = RefreshLog.url_path_mappings('ham')
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 183, in url_path_mappings
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_match_one (test_dump.DumpDbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_dump.py", line 59, in test_match_one
- x = RefreshLog.url_path_mappings('^spam$')
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 183, in url_path_mappings
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_match_two (test_dump.DumpDbTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_dump.py", line 55, in test_match_two
- x = RefreshLog.url_path_mappings('spam')
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 183, in url_path_mappings
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_404 (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 49, in test_404
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_bad_sha256 (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 53, in test_bad_sha256
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_good_md5 (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 61, in test_good_md5
- self.assertTrue(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_good_sha256 (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 57, in test_good_sha256
- self.assertTrue(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_missing_checksum (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 65, in test_missing_checksum
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_missing_path (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 70, in test_missing_path
- self.assertTrue(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_refresh (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 99, in test_refresh
- n = self.ref.refresh_all()
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 140, in refresh_all
- count = self.cleanup_providers()
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 92, in cleanup_providers
- count += RefreshLog.cleanup_provider(section)
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 213, in cleanup_provider
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_refresh_age (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 86, in test_refresh_age
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_refresh_digest_match (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 93, in test_refresh_digest_match
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_refresh_force (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 78, in test_refresh_force
- self.assertEqual(3, cr.refresh_all())
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 140, in refresh_all
- count = self.cleanup_providers()
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 92, in cleanup_providers
- count += RefreshLog.cleanup_provider(section)
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 213, in cleanup_provider
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ======================================================================
- ERROR: test_unknown_check (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 74, in test_unknown_check
- self.assertFalse(self.ref.refresh(ci))
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 112, in refresh
- elif not RefreshLog.is_outdated(ci.url, ci.interval):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 145, in is_outdated
- with RefreshLog._session() as session:
- AttributeError: __enter__
- ======================================================================
- ERROR: test_url_blank (test_refresh.RefreshTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/tests/test_refresh.py", line 106, in test_url_blank
- n = self.ref.refresh_all()
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 140, in refresh_all
- count = self.cleanup_providers()
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/refresh.py", line 92, in cleanup_providers
- count += RefreshLog.cleanup_provider(section)
- File "/home/samueldy/.cache/yay/python-fangfrisch/src/fangfrisch-1.6.0/fangfrisch/db.py", line 213, in cleanup_provider
- with RefreshLog._session() as session, session.begin():
- AttributeError: __enter__
- ----------------------------------------------------------------------
- Ran 73 tests in 2.550s
- FAILED (errors=26)
- ==> ERROR: A failure occurred in check().
- Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement