File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 38
38
- TEST_NAME : " Backward Compatibility"
39
39
ARGS : CLIENT_INSTALLATION_BRANCH=rel-v8r0 PILOT_INSTALLATION_BRANCH=rel-v8r0
40
40
- TEST_NAME : " Test DiracX latest"
41
- ARGS : TEST_DIRACX=Yes
41
+ ARGS : TEST_DIRACX=Yes --diracx-dist-dir $GITHUB_WORKSPACE/diracx-dist
42
42
43
43
steps :
44
44
- uses : actions/checkout@v4
57
57
packaging \
58
58
pyyaml \
59
59
requests \
60
- typer
60
+ typer \
61
+ build
62
+ - name : Building wheels
63
+ run : |
64
+ # Clone diracx
65
+ git clone --single-branch --branch robin-pilot-legacy-logging https://github.com/Robin-Van-de-Merghel/diracx.git $GITHUB_WORKSPACE/diracx
66
+
67
+ # Create dist dir
68
+ mkdir -p $GITHUB_WORKSPACE/diracx-dist
69
+
70
+ # Building diracx
71
+ for pkg_dir in $GITHUB_WORKSPACE/diracx/diracx-* $GITHUB_WORKSPACE/diracx; do
72
+ echo "Building $pkg_dir"
73
+ python -m build --outdir "$GITHUB_WORKSPACE/diracx-dist" $pkg_dir
74
+ done
75
+
61
76
- name : Prepare environment
62
77
run : ./integration_tests.py prepare-environment ${{ matrix.ARGS }}
63
78
- name : Install server
81
96
if [ -f client-tests-failed ]; then has_error=1; echo "Client tests failed"; fi
82
97
if [ -f pilot-tests-failed ]; then has_error=1; echo "pilot tests failed"; fi
83
98
if [ ${has_error} = 1 ]; then exit 1; fi
99
+ - name : DiracX filtered logs
100
+ if : ${{ always() && contains(matrix.ARGS, 'TEST_DIRACX=Yes') }}
101
+ run : |
102
+ # Used to debug, and see which requests were done.
103
+ docker logs diracx | grep -Fv 'GET /.well-known/openid-configuration HTTP/1.1" 200 OK'
Original file line number Diff line number Diff line change 4
4
CLIENT_UPLOAD_BASE64 : SSBsaWtlIHBpenphIQo=
5
5
CLIENT_UPLOAD_LFN : LFN:/vo/test_lfn.txt
6
6
CLIENT_UPLOAD_FILE : test_lfn.txt
7
- PILOT_INSTALLATION_COMMAND : dirac-pilot.py --modules /home/dirac/LocalRepo/ALTERNATIVE_MODULES/DIRAC -M 2 -N jenkins.cern.ch -Q jenkins-queue_not_important -n DIRAC.Jenkins.ch --pilotUUID=whatever12345 --CVMFS_locations=/home/dirac/ -o diracInstallOnly --wnVO=vo --debug
7
+ PILOT_INSTALLATION_COMMAND : dirac-pilot.py --modules /home/dirac/LocalRepo/ALTERNATIVE_MODULES/DIRAC -M 2 -N jenkins.cern.ch -Q jenkins-queue_not_important -n DIRAC.Jenkins.ch --pilotUUID=whatever12345 --CVMFS_locations=/home/dirac/ -o diracInstallOnly --wnVO=vo --debug --diracx_URL=http://diracx:8000/ -z --clientID=995ed3b9-d5bd-49d3-a7f4-7fc7dbd5a0cd
8
8
PILOT_JSON : " {
9
9
\" timestamp\" : \" 2023-02-13T14:34:26.725499\" ,
10
10
\" CEs\" : {
@@ -37,7 +37,7 @@ config:
37
37
\" https://server:9135/Configuration/Server\"
38
38
]
39
39
}"
40
- PILOT_DOWNLOAD_COMMAND : " git clone --single-branch --branch master https://github.com/DIRACGrid /Pilot.git && mv Pilot/Pilot/*.py . && rm -rf Pilot"
40
+ PILOT_DOWNLOAD_COMMAND : " git clone --single-branch --branch robin-add-pilot-logging https://github.com/Robin-Van-de-Merghel /Pilot.git && mv Pilot/Pilot/*.py . && rm -rf Pilot"
41
41
42
42
# List of feature variables which must be passed when preparing
43
43
required-feature-flags : []
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ touch /home/dirac/etc/grid-security/vomses/vomses
29
29
# Copy over the pilot proxy
30
30
cp /ca/certs/pilot_proxy /tmp/x509up_u$UID
31
31
32
+ export X509_USER_PROXY=/tmp/x509up_u$UID
33
+
32
34
eval " ${PILOT_DOWNLOAD_COMMAND} "
33
35
34
36
echo " ${PILOT_JSON} " > pilot.json
You can’t perform that action at this time.
0 commit comments