Merge ~racb/git-ubuntu:test-collection-hang into git-ubuntu:master

Proposed by Robie Basak
Status: Merged
Approved by: Robie Basak
Approved revision: e5d07816e610d25b10971b5f0077a7bb985fa458
Merged at revision: e5d07816e610d25b10971b5f0077a7bb985fa458
Proposed branch: ~racb/git-ubuntu:test-collection-hang
Merge into: git-ubuntu:master
Diff against target: 24 lines (+5/-2)
1 file modified
gitubuntu/source_information.py (+5/-2)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
Server Team CI bot continuous-integration Approve
git-ubuntu developers Pending
Review via email: mp+334033@code.launchpad.net

Commit message

Make Jenkins happy

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

FAILED: Continuous integration, rev:b799d6753d1d4054150d6bd378101a23e8141f41
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/214/
Executed test runs:
    SUCCESS: Checkout
    FAILED: Style Check

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/214/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

PASSED: Continuous integration, rev:e5d07816e610d25b10971b5f0077a7bb985fa458
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/215/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Style Check
    SUCCESS: Unit Tests
    SUCCESS: Integration Tests
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/215/rebuild

review: Approve (continuous-integration)
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1

I got this backtrace when trying to exercise the code that uses launchpad authentication, but it happens with current master as well, so it's not something introduced by this change:

http://pastebin.ubuntu.com/26013467/

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/gitubuntu/source_information.py b/gitubuntu/source_information.py
index b97bc8a..9e8f172 100644
--- a/gitubuntu/source_information.py
+++ b/gitubuntu/source_information.py
@@ -16,7 +16,8 @@ try:
16 from launchpadlib.launchpad import Launchpad as LP16 from launchpadlib.launchpad import Launchpad as LP
17 pkg = 'python3-ubuntutools'17 pkg = 'python3-ubuntutools'
18 from ubuntutools.archive import UbuntuSourcePackage, DebianSourcePackage, DownloadError18 from ubuntutools.archive import UbuntuSourcePackage, DebianSourcePackage, DownloadError
19 from ubuntutools.lp.lpapicache import Launchpad, SourcePackagePublishingHistory19 import ubuntutools.lp.lpapicache
20 from ubuntutools.lp.lpapicache import SourcePackagePublishingHistory
20except ImportError:21except ImportError:
21 logging.error('Is %s installed?', pkg)22 logging.error('Is %s installed?', pkg)
22 sys.exit(1)23 sys.exit(1)
@@ -37,7 +38,9 @@ def launchpad_login():
3738
38 _LP_LOGIN = LP.login_anonymously('git-ubuntu-importer', _lp_service,39 _LP_LOGIN = LP.login_anonymously('git-ubuntu-importer', _lp_service,
39 version=_lp_api_version)40 version=_lp_api_version)
40 Launchpad.login_existing(_LP_LOGIN)41 # This is deliberately in a long form and we do not import the Launchpad
42 # object into the module namespace itself to work around LP: #1733388
43 ubuntutools.lp.lpapicache.Launchpad.login_existing(_LP_LOGIN)
4144
42 return _LP_LOGIN45 return _LP_LOGIN
4346

Subscribers

People subscribed via source and target branches