Merge ~racb/git-ubuntu:self-test-diagnostics into git-ubuntu:master

Proposed by Robie Basak
Status: Merged
Merged at revision: 9b8aad16c3daaa704c86c15ed462e6776d621e92
Proposed branch: ~racb/git-ubuntu:self-test-diagnostics
Merge into: git-ubuntu:master
Diff against target: 36 lines (+4/-1)
1 file modified
snap-wrappers/wrappers/git-ubuntu-self-test (+4/-1)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
Paride Legovini (community) Approve
git-ubuntu developers Pending
Review via email: mp+378156@code.launchpad.net

Commit message

Make Jenkins happy

Description of the change

This is expected to fail CI. This branch adjusts the error message on failure, so it is more useful to see CI fail than to pass to make sure it is working as expected.

If desired I could rebase it on master when the failure is fixed (hopefully with https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+merge/378155) to make sure that CI is green again before landing.

To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

LGTM

review: Approve
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

FAILED: Continuous integration, rev:7084eafacf3e9dd50423985391b396e77ab1352a
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/452/
Executed test runs:
    SUCCESS: VM Setup
    SUCCESS: Build
    FAILED: Unit Tests

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

review: Needs Fixing (continuous-integration)
Revision history for this message
Robie Basak (racb) wrote :

CI failed with the correct message as expected. Now rebasing against master to ensure CI remains green.

Revision history for this message
Server Team CI bot (server-team-bot) wrote :

PASSED: Continuous integration, rev:9b8aad16c3daaa704c86c15ed462e6776d621e92
https://jenkins.ubuntu.com/server/job/git-ubuntu-ci/454/
Executed test runs:
    SUCCESS: VM Setup
    SUCCESS: Build
    SUCCESS: Unit Tests
    IN_PROGRESS: Declarative: Post Actions

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

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snap-wrappers/wrappers/git-ubuntu-self-test b/snap-wrappers/wrappers/git-ubuntu-self-test
2index 8934d25..fd703bf 100755
3--- a/snap-wrappers/wrappers/git-ubuntu-self-test
4+++ b/snap-wrappers/wrappers/git-ubuntu-self-test
5@@ -30,6 +30,7 @@ if python3 -m pip check
6 then
7 echo "pip3 found all required dependencies"
8 else
9+ echo "pip check failed; self test will fail"
10 retval=1
11 fi
12
13@@ -38,6 +39,7 @@ if python3 -m pylint --ignored-modules=pygit2,py.path -E gitubuntu/
14 then
15 echo "pylint passed!"
16 else
17+ echo "pylint failed; self test will fail"
18 retval=1
19 fi
20
21@@ -76,7 +78,7 @@ while IFS= read -r -d '' script_source; do
22 then
23 echo "PASS (compilation) ${script}"
24 else
25- echo "FAIL (compilation) ${script}"
26+ echo "FAIL (compilation) ${script}; self test will fail"
27 retval=1
28 fi
29 else
30@@ -89,6 +91,7 @@ if COVERAGE_FILE="${tmp_dir}/coverage.txt" python3 -m pytest -p no:cacheprovider
31 then
32 echo "pytest passed!"
33 else
34+ echo "pytest failed; self test will fail"
35 retval=1
36 fi
37

Subscribers

People subscribed via source and target branches