From 10774c59a608d93191beb3d37392d39812b48022 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Thu, 27 Oct 2022 09:45:46 -0400 Subject: [PATCH] ci: Add test for FST chain with st_fwd stream data (#421) See #412 for motivation --- .github/workflows/build-pull-request.yml | 10 +++++----- tests/joblist.json | 9 +++++++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index f3dbb412617..c03016ddf80 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -37,7 +37,7 @@ jobs: needs: build strategy: matrix: - test_id: [10, 11, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 76, 77, 78, 90, 91, 92, 102, 103, 119, 120, 121, 122] + test_id: [10, 11, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 76, 77, 78, 90, 91, 92, 102, 103, 119, 120, 121, 122, 123] compiler: [gcc485, gcc11] env: STARENV: root5-${{ matrix.compiler }} @@ -49,7 +49,7 @@ jobs: path: /tmp - run: docker load --input /tmp/star-sw-${{ env.STARENV }}.tar - - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v5 + - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v6 - run: | TEST_CMD=$(docker run --rm ghcr.io/star-bnl/star-sw-${{ env.STARENV }} tests/executest.py -c ${{ matrix.test_id }}) # Workaround https://sft.its.cern.ch/jira/browse/ROOT-7660 in ROOT 5 by checking the output log @@ -73,7 +73,7 @@ jobs: path: /tmp - run: docker load --input /tmp/star-sw-${{ env.STARENV }}.tar - - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v5 + - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v6 - run: | TEST_FILE=$(echo "$(docker run --rm ghcr.io/star-bnl/star-sw-${{ env.STARENV }} tests/executest.py ${{ matrix.test_id }} -a fullpath)" | sed -E 's/\.(daq|fzd)$/.event.root/') TEST_CMD="root4star -b -q -l 'StRoot/macros/analysis/doEvents.C(100, \"$TEST_FILE\")'" @@ -97,7 +97,7 @@ jobs: path: /tmp - run: docker load --input /tmp/star-sw-${{ env.STARENV }}.tar - - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v5 + - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v6 - run: | TEST_FILE=$(echo "$(docker run --rm ghcr.io/star-bnl/star-sw-${{ env.STARENV }} tests/executest.py ${{ matrix.test_id }} -a fullpath)" | sed -E 's/\.(daq|fzd)$/.event.root/') TEST_CMD="root4star -b -q -l 'StRoot/macros/analysis/find_vertex.C(\"$TEST_FILE\")'" @@ -120,7 +120,7 @@ jobs: path: /tmp - run: docker load --input /tmp/star-sw-${{ env.STARENV }}.tar - - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v5 + - run: docker run --name star-test-data --volume /star ghcr.io/star-bnl/star-test-data:v6 - run: | TEST_CMD=$(docker run --rm ghcr.io/star-bnl/star-sw-${{ env.STARENV }} tests/executest.py -c ${{ matrix.test_id }}) docker run --volumes-from star-test-data ghcr.io/star-bnl/star-sw-${{ env.STARENV }} \ diff --git a/tests/joblist.json b/tests/joblist.json index b6e0cfa64f1..b0d7c6bf7c9 100644 --- a/tests/joblist.json +++ b/tests/joblist.json @@ -1096,5 +1096,14 @@ "inppath": "/star/rcf/test/daq/2022/010/23010027", "outpath": "/star/rcf/test/dev/daq_sl302.stica_opt/${thisday}/year_2022/production_pp500_2022_64bit", "nevents": "1000" + }, + { + "jobid": "123", + "descr": "Test for StSpinPool/StFcsPi0FinderForEcal (PR #412)", + "chopts": "pp2022,StiCA,BEmcChkStat,ftt,-picowrite,-hitfilt,-evout", + "inpfile": "st_fwd_23040001_raw_0000003.daq", + "inppath": "/star/rcf/test/daq/2022/040/23040001", + "outpath": "", + "nevents": "50" } ]