Private PPA has a pending publication for hours
Bug #2017522 reported by
Jürgen Gmach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Jürgen Gmach |
Bug Description
Reported by Andy Whitcroft in internal ~Launchpad channel at UTC 0930.
Related branches
~jugmac00/launchpad:fix-regresssion-in-oval-data-publishing
Merged
into
launchpad:master
- Colin Watson (community): Approve
-
Diff: 79 lines (+49/-3)2 files modifiedlib/lp/archivepublisher/scripts/publishdistro.py (+5/-3)
lib/lp/archivepublisher/tests/test_publishdistro.py (+44/-0)
Changed in launchpad: | |
importance: | Undecided → High |
assignee: | nobody → Jürgen Gmach (jugmac00) |
status: | New → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
relevant logfile ouput
``` .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ services/ scripts/ base.py" , line 93, in log_unhandled_ exceptions_ func .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ services/ scripts/ base.py" , line 371, in lock_and_run run(use_ web_security= use_web_ security, isolation= isolation) .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ services/ scripts/ base.py" , line 93, in log_unhandled_ exceptions_ func .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ services/ scripts/ base.py" , line 321, in run .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ archivepublishe r/scripts/ publishdistro. py", line 710, in main reset_store_ between_ archives .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ archivepublishe r/scripts/ publishdistro. py", line 582, in processArchive publishArchive( archive, publisher) .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ archivepublishe r/scripts/ publishdistro. py", line 541, in publishArchive .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ archivepublishe r/scripts/ publishdistro. py", line 467, in syncOVALDataFil esForSuite oval_data_ dir, dest_dir .net/production /launchpad- rev-90e2150bef3 1b411d7bae5c403 2c7e320fcaaec8/ lib/lp/ archivepublishe r/scripts/ publishdistro. py", line 441, in synchronizeSeco ndDirectoryWith First unlink( str(second_ dir / file)) .net/ppa- archive/ cloud-images/ gke-1.22/ ubuntu/ dists/focal/ main/oval/ by-hash' net/production/ launchpad/ cronscripts/ publishing/ ../../scripts/ publish- distro. py -v --private-ppa -d ubuntu .net/ppa- archive/ .lock"
2023-04-24 09:45:08 ERROR Unhandled exception
Traceback (most recent call last):
File "/srv/launchpad
return func(self, *args, **kw)
File "/srv/launchpad
self.
File "/srv/launchpad
return func(self, *args, **kw)
File "/srv/launchpad
self.main()
File "/srv/launchpad
archive_id, reset_store=
File "/srv/launchpad
self.
File "/srv/launchpad
archive, dirty_suite
File "/srv/launchpad
staged_
File "/srv/launchpad
os.
IsADirectoryError: [Errno 21] Is a directory: '/srv/launchpad
2023-04-24 09:45:08 INFO OOPS-22780febd6b786ee481d93d0f31b7db0
+ /srv/launchpad.
lockfile: Sorry, giving up on "/srv/launchpad
++ echo 'Could not claim lock file.'
Could not claim lock file.
++ exit 1
```