[gparted] Debug unit test failure in CI test job (!4)

commit f5e161f698dfbf56478d96fbc8e5ada38c884d67
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Fri Jun 22 14:29:06 2018 +0100

    Debug unit test failure in CI test job (!4)
    Recursively list all the files below /dev as part of the 'test' job as
    certain block device names are needed by the failing test_BlockSpecial
    unit test.
    The artifact captures all the files from the directory in which the CI
    script runs to build and test GParted.  It creates a ZIP file which can
    be downloaded after the job finishes, whether the job succeeds of fails.
    This is to capture logs from the failure of the test_BlockSpecial unit
    Closes !4 - Add GitLab CI jobs to build and test GParted

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index abcd2f8f..6598562b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,16 @@ build:
   stage: test
+    - ls -lR /dev
     - ./autogen.sh
     - make
     - make check
     - make distcheck
+  # Capture all GParted files from the Docker image for investigation.
+  artifacts:
+    when: always
+    name: "$CI_PROJECT_NAME-ci-job-$CI_JOB_ID-$CI_JOB_NAME"
+    untracked: true
+    paths:
+      - ./
+    expire_in: 1 week

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]