From ebc0deed4145d652473aebe547e8dbd767601a46 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Wed, 4 Oct 2023 10:37:04 +0200 Subject: [PATCH] debug --- .github/workflows/integration.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 061dc1ca..660dc64f 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -27,10 +27,18 @@ jobs: run: | cd Pilot mkdir -p etc/grid-security - echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem - echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem + echo "$HOSTCERT_BASE64" | wc + echo "$HOSTKEY_BASE64" | wc + echo ${{ secrets.HOSTKEY_BASE64 }} | wc + echo "${{ secrets.HOSTKEY_BASE64 }}" | wc + base64 --version + echo "$HOSTCERT_BASE64" | base64 --decode + echo "$HOSTKEY_BASE64" | base64 --decode + echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem + echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem chmod 440 etc/grid-security/hostcert.pem chmod 400 etc/grid-security/hostkey.pem + ls -l etc/grid-security - name: tests run: | cd Pilot @@ -45,12 +53,12 @@ jobs: python dirac-pilot.py --modules https://github.com/DIRACGrid/DIRAC.git:::DIRAC:::${{ matrix.dirac_version }} -M 1 -S DIRAC-Certification -N jenkins.cern.ch -Q jenkins-queue_not_important -n DIRAC.Jenkins.ch --cert --certLocation=${GITHUB_WORKSPACE}/Pilot/etc/grid-security --debug cat pilot.cfg + matching: runs-on: ubuntu-latest container: python:3.9.17-slim - - + steps: - uses: actions/checkout@v4 - name: Retrieve the secret and decode it to a file @@ -60,8 +68,8 @@ jobs: run: | cd Pilot mkdir -p etc/grid-security - echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem - echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem + echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem + echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem chmod 440 etc/grid-security/hostcert.pem chmod 400 etc/grid-security/hostkey.pem - name: tests @@ -99,6 +107,8 @@ jobs: sudo apt-get update sudo apt-get install cvmfs sudo cvmfs_config setup + ls /cvmfs/ + ls /cvmfs/lhcb.cern.ch/ ls /cvmfs/lhcb.cern.ch/lhcbdirac - name: Retrieve the secret and decode it to a file env: @@ -109,8 +119,8 @@ jobs: mkdir -p etc/grid-security/vomses mkdir -p etc/grid-security/vomsdir mkdir -p etc/grid-security/certificates - echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem - echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem + echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem + echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem chmod 440 etc/grid-security/hostcert.pem chmod 400 etc/grid-security/hostkey.pem - name: tests