Merge ~bryce/git-ubuntu:systemd-service into git-ubuntu:master
Status: | Merged |
---|---|
Approved by: | Bryce Harrington |
Approved revision: | fd6bd79bfd11695d3f2e5aa5ac2999c71ff98e6e |
Merged at revision: | 2fe7dd595dd918c0ac1ddd665f1291f83b6afd5d |
Proposed branch: | ~bryce/git-ubuntu:systemd-service |
Merge into: | git-ubuntu:master |
Diff against target: |
252 lines (+97/-26) 6 files modified
.gitignore (+2/-0) dev/null (+0/-8) doc/README.testing (+3/-0) setup.py (+3/-3) snap-wrappers/wrappers/git-ubuntu-self-test (+86/-13) snap/snapcraft.yaml (+3/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robie Basak | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+374892@code.staging.launchpad.net |
This proposal supersedes a proposal from 2019-10-30.
Commit message
.
Description of the change
Fixes snap build issues from prior version.
I've verified the snap passes tests and builds, and installed it locally to verify both that the needed systemd python module code is getting installed, and that git-ubuntu.
I've updated this with additional test coverage for scripts, and various other checks that would have helped spot this and other failures during CI. It attempts to invoke each script's --help parameter to verify at least it is importing its modules.
rbasak suggested splitting the test code as it's own commit separate from the systemd fixes. I've also added some codebase cleanups discussed at this morning's meeting.
The new pip3 check test already discovered a couple discrepancies of modules with versions specified in setup.py that don't match what is actually being pulled in via pip when run under Jenkins. I've updated the two versions to now match what is in Ubuntu Bionic.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:110b7073e54 1d3e2fd562cfb29 874edbef078a27 /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/381/
https:/
Executed test runs:
SUCCESS: VM Setup
SUCCESS: Build
SUCCESS: Unit Tests
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/381/ /rebuild
https:/