From d380ba0394566ca3a493c9cee363bf6117ca7ee9 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Thu, 1 Oct 2020 11:53:31 -0600 Subject: logformatter: add Synopsis at top of each page At the top of each generated page, add a Synopsis table with: PR number/name, and link to github Author name(s) Test name (fedora/ubuntu, rootless, etc) Cirrus build ID (usually uninteresting) Cirrus task ID (usu. important), with link to Cirrus The value of $SPECIALMODE This is all we can get from the Cirrus environment in which logformatter runs; we can't get things like cgroup manager or username that the test runs under. Note that the table is at the top, which is usually unseen because we autoscroll to the bottom on page load. I tentatively think that top is a more natural place for this info than bottom, but am willing to listen to arguments against. Also, one minor tweak: highlight podman commands in the BATS output. The idea is to make it easier for the eye to spot those, then copy/paste them to find a reproducer. And, sigh, disable the new 'podman network create' system test. It is flaking much too much. Signed-off-by: Ed Santiago --- contrib/cirrus/logformatter.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib/cirrus/logformatter.t') diff --git a/contrib/cirrus/logformatter.t b/contrib/cirrus/logformatter.t index 2075bff96..bd4179b5e 100755 --- a/contrib/cirrus/logformatter.t +++ b/contrib/cirrus/logformatter.t @@ -96,7 +96,7 @@ ok 4 blah ok 1 hi ok 2 bye # skip no reason not ok 3 fail -# $ podman foo -bar +# $ podman foo -bar # #| FAIL: exit code is 123; expected 321 ok 4 blah
Summary: 2 Passed, 1 Failed, 1 Skipped. Total tests: 4 @@ -147,11 +147,11 @@ $SCRIPT_BASE/integration_test.sh |& ${TIMESTAMP}
 [+0103s] Podman pod restart
          

podman pod restart single empty pod

- /var/tmp/go/src/github.com/containers/libpod/test/e2e/pod_restart_test.go:41 + /var/tmp/go/src/github.com/containers/podman/test/e2e/pod_restart_test.go:41 [BeforeEach] Podman pod restart - /var/tmp/go/src/github.com/containers/libpod/test/e2e/pod_restart_test.go:18 + /var/tmp/go/src/github.com/containers/podman/test/e2e/pod_restart_test.go:18 [It] podman pod restart single empty pod - /var/tmp/go/src/github.com/containers/libpod/test/e2e/pod_restart_test.go:41 + /var/tmp/go/src/github.com/containers/podman/test/e2e/pod_restart_test.go:41 Running: podman Error: no containers in pod 4810be0cfbd42241e349dbe7d50fbc54405cd320a6637c65fd5323f34d64af89 have no dependencies, cannot start pod: no such container output: [AfterEach] Podman pod restart - /var/tmp/go/src/github.com/containers/libpod/test/e2e/pod_restart_test.go:28 + /var/tmp/go/src/github.com/containers/podman/test/e2e/pod_restart_test.go:28 Running: podman