Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 753c0e66273d645c82de476ca0a438ee98891f55 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 753c0e66273d645c82de476ca0a438ee98891f55 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13847811001010340342.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11155018532884440425.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1318302385093942960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6525074591706367300.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4763339349970932888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9443’ Running on prd-ubuntu20.04-docker-8c-8g-9445 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-444 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 Checking out Revision 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 (PR-444) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 # timeout=10 Commit message: "Merge commit '753c0e66273d645c82de476ca0a438ee98891f55' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-17T18:57:18.790Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-17T18:57:18.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-17T18:57:18.855Z] ========================================================= [2023-10-17T18:57:18.855Z] EdgeX Global Pipelines Version Info [2023-10-17T18:57:18.855Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c368bf2e8cd3a2a23ee9f069c13c500faf2a364a # timeout=10 [2023-10-17T18:57:19.976Z] ------------------- [2023-10-17T18:57:19.976Z] stable info: [2023-10-17T18:57:19.976Z] ------------------- [2023-10-17T18:57:19.976Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-17T18:57:19.976Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-17T18:57:19.976Z] Message: update stable to v1.0.254 [2023-10-17T18:57:20.545Z] ------------------- [2023-10-17T18:57:20.545Z] experimental info: [2023-10-17T18:57:20.545Z] ------------------- [2023-10-17T18:57:20.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-17T18:57:20.545Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-17T18:57:20.545Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-17T18:57:20.719Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-17T18:57:20.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-17T18:57:20.742Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-17T18:57:20.753Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-17T18:57:20.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-17T18:57:20.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-17T18:57:20.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-17T18:57:20.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-17T18:57:20.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-17T18:57:20.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-17T18:57:20.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-17T18:57:20.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-17T18:57:20.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-17T18:57:20.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-17T18:57:20.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-17T18:57:20.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-17T18:57:20.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-17T18:57:20.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-10-17T18:57:20.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-10-17T18:57:20.985Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-10-17T18:57:20.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [Pipeline] echo [2023-10-17T18:57:21.012Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0785e60 [Pipeline] echo [2023-10-17T18:57:21.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-17T18:57:21.078Z] provisioning config files... [2023-10-17T18:57:21.092Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13956824473204154139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-17T18:57:21.393Z] ---> docker-login.sh [2023-10-17T18:57:21.393Z] nexus3.edgexfoundry.org:10001 [2023-10-17T18:57:21.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:21.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:21.655Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:21.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:21.655Z] [2023-10-17T18:57:21.655Z] Login Succeeded [2023-10-17T18:57:21.655Z] nexus3.edgexfoundry.org:10002 [2023-10-17T18:57:21.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:21.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:21.655Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:21.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:21.655Z] [2023-10-17T18:57:21.655Z] Login Succeeded [2023-10-17T18:57:21.655Z] nexus3.edgexfoundry.org:10003 [2023-10-17T18:57:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:21.915Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:21.915Z] [2023-10-17T18:57:21.915Z] Login Succeeded [2023-10-17T18:57:21.915Z] nexus3.edgexfoundry.org:10004 [2023-10-17T18:57:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:21.915Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:21.915Z] [2023-10-17T18:57:21.915Z] Login Succeeded [2023-10-17T18:57:21.915Z] docker.io [2023-10-17T18:57:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:22.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:22.176Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:22.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:22.176Z] [2023-10-17T18:57:22.176Z] Login Succeeded [2023-10-17T18:57:22.176Z] ---> docker-login.sh ends [Pipeline] } [2023-10-17T18:57:22.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-10-17T18:57:22.569Z] + git rev-list -1 --merges 0785e601f7769f39a6d5c4bd62641feca5ba7aa3~1..0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [Pipeline] echo [2023-10-17T18:57:22.616Z] -----------> git rev-list -1 --merges 0785e601f7769f39a6d5c4bd62641feca5ba7aa3~1..0785e601f7769f39a6d5c4bd62641feca5ba7aa3 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [2023-10-17T18:57:22.616Z] 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [false] [Pipeline] sh [2023-10-17T18:57:22.902Z] + git log --format=format:%s -1 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [Pipeline] echo [2023-10-17T18:57:22.916Z] ========================================================= [2023-10-17T18:57:22.916Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-17T18:57:22.916Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-17T18:57:23.316Z] + git rev-list -1 --merges 0785e601f7769f39a6d5c4bd62641feca5ba7aa3~1..0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [Pipeline] echo [2023-10-17T18:57:23.326Z] -----------> git rev-list -1 --merges 0785e601f7769f39a6d5c4bd62641feca5ba7aa3~1..0785e601f7769f39a6d5c4bd62641feca5ba7aa3 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [2023-10-17T18:57:23.326Z] 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [false] [Pipeline] sh [2023-10-17T18:57:23.611Z] + git log --format=format:%s -1 0785e601f7769f39a6d5c4bd62641feca5ba7aa3 [Pipeline] echo [2023-10-17T18:57:23.623Z] ========================================================= [2023-10-17T18:57:23.623Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-17T18:57:23.623Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-17T18:57:24.004Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-17T18:57:24.004Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-17T18:57:24.004Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-17T18:57:24.004Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-17T18:57:24.004Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-17T18:57:24.004Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-17T18:57:24.004Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T18:57:24.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-17T18:57:24.351Z] [2023-10-17T18:57:24.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T18:57:24.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-17T18:57:24.648Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-17T18:57:24.648Z] b85a868b505f: Pulling fs layer [2023-10-17T18:57:24.648Z] e2be974225ed: Pulling fs layer [2023-10-17T18:57:24.648Z] 339a4e72a1f5: Pulling fs layer [2023-10-17T18:57:24.648Z] 988bab9f4d93: Pulling fs layer [2023-10-17T18:57:24.648Z] 1469e6f7b9e6: Pulling fs layer [2023-10-17T18:57:24.648Z] eaf3925da568: Pulling fs layer [2023-10-17T18:57:24.648Z] bab4dde63d76: Pulling fs layer [2023-10-17T18:57:24.648Z] bde34c3a00c8: Pulling fs layer [2023-10-17T18:57:24.648Z] b352a97aabf1: Pulling fs layer [2023-10-17T18:57:24.648Z] 4872d77fe225: Pulling fs layer [2023-10-17T18:57:24.648Z] 5851b861e8e6: Pulling fs layer [2023-10-17T18:57:24.648Z] 1469e6f7b9e6: Waiting [2023-10-17T18:57:24.648Z] eaf3925da568: Waiting [2023-10-17T18:57:24.648Z] 4872d77fe225: Waiting [2023-10-17T18:57:24.648Z] bab4dde63d76: Waiting [2023-10-17T18:57:24.648Z] b352a97aabf1: Waiting [2023-10-17T18:57:24.648Z] bde34c3a00c8: Waiting [2023-10-17T18:57:24.648Z] e2be974225ed: Verifying Checksum [2023-10-17T18:57:24.648Z] e2be974225ed: Download complete [2023-10-17T18:57:24.648Z] 988bab9f4d93: Verifying Checksum [2023-10-17T18:57:24.648Z] 988bab9f4d93: Download complete [2023-10-17T18:57:24.918Z] 1469e6f7b9e6: Verifying Checksum [2023-10-17T18:57:24.918Z] 1469e6f7b9e6: Download complete [2023-10-17T18:57:24.918Z] eaf3925da568: Download complete [2023-10-17T18:57:24.918Z] 339a4e72a1f5: Verifying Checksum [2023-10-17T18:57:24.918Z] 339a4e72a1f5: Download complete [2023-10-17T18:57:24.918Z] bde34c3a00c8: Download complete [2023-10-17T18:57:24.918Z] b352a97aabf1: Verifying Checksum [2023-10-17T18:57:24.918Z] b352a97aabf1: Download complete [2023-10-17T18:57:24.918Z] 4872d77fe225: Verifying Checksum [2023-10-17T18:57:24.918Z] 4872d77fe225: Download complete [2023-10-17T18:57:24.918Z] 5851b861e8e6: Verifying Checksum [2023-10-17T18:57:24.918Z] 5851b861e8e6: Download complete [2023-10-17T18:57:24.918Z] b85a868b505f: Verifying Checksum [2023-10-17T18:57:24.918Z] b85a868b505f: Download complete [2023-10-17T18:57:25.178Z] bab4dde63d76: Verifying Checksum [2023-10-17T18:57:25.178Z] bab4dde63d76: Download complete [2023-10-17T18:57:26.554Z] b85a868b505f: Pull complete [2023-10-17T18:57:26.554Z] e2be974225ed: Pull complete [2023-10-17T18:57:26.812Z] 339a4e72a1f5: Pull complete [2023-10-17T18:57:27.070Z] 988bab9f4d93: Pull complete [2023-10-17T18:57:27.329Z] 1469e6f7b9e6: Pull complete [2023-10-17T18:57:27.329Z] eaf3925da568: Pull complete [2023-10-17T18:57:29.233Z] bab4dde63d76: Pull complete [2023-10-17T18:57:29.233Z] bde34c3a00c8: Pull complete [2023-10-17T18:57:29.233Z] b352a97aabf1: Pull complete [2023-10-17T18:57:29.233Z] 4872d77fe225: Pull complete [2023-10-17T18:57:29.492Z] 5851b861e8e6: Pull complete [2023-10-17T18:57:29.492Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-17T18:57:29.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-17T18:57:29.492Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-17T18:57:29.586Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2023-10-17T18:57:29.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-17T18:57:36.327Z] $ docker top d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 -eo pid,comm [2023-10-17T18:57:36.379Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-17T18:57:36.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-17T18:57:36.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-17T18:57:36.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-17T18:57:36.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-17T18:57:36.517Z] $ docker exec d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 ssh-agent [2023-10-17T18:57:36.625Z] SSH_AUTH_SOCK=/tmp/ssh-8zPXJOg0rje6/agent.32 [2023-10-17T18:57:36.625Z] SSH_AGENT_PID=38 [2023-10-17T18:57:36.630Z] Running ssh-add (command line suppressed) [2023-10-17T18:57:36.729Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_6275585928236642239.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_6275585928236642239.key) [2023-10-17T18:57:36.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-17T18:57:37.028Z] + git tag --points-at HEAD [Pipeline] } [2023-10-17T18:57:37.043Z] $ docker exec --env ******** --env ******** d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 ssh-agent -k [2023-10-17T18:57:37.145Z] unset SSH_AUTH_SOCK; [2023-10-17T18:57:37.145Z] unset SSH_AGENT_PID; [2023-10-17T18:57:37.145Z] echo Agent pid 38 killed; [2023-10-17T18:57:37.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-17T18:57:37.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-17T18:57:37.182Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-17T18:57:37.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-17T18:57:37.282Z] $ docker exec d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 ssh-agent [2023-10-17T18:57:37.383Z] SSH_AUTH_SOCK=/tmp/ssh-g6keyWK6BcHe/agent.71 [2023-10-17T18:57:37.383Z] SSH_AGENT_PID=77 [2023-10-17T18:57:37.387Z] Running ssh-add (command line suppressed) [2023-10-17T18:57:37.481Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10242033834984775251.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10242033834984775251.key) [2023-10-17T18:57:37.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-17T18:57:37.786Z] + git semver init [2023-10-17T18:57:38.046Z] 2023-10-17 18:57:37,951 [run_init] DEBUG init version:0.0.0 force:False [2023-10-17T18:57:38.046Z] 2023-10-17 18:57:37,952 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-10-17T18:57:38.046Z] 2023-10-17 18:57:37,953 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-10-17T18:57:38.046Z] 2023-10-17 18:57:37,953 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444, universal_newlines=False, shell=None, istream=None) [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,794 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,794 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,799 [execute] INFO git cat-file --batch-check [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,805 [execute] INFO git cat-file --batch [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-10-17T18:57:39.959Z] 2023-10-17 18:57:39,811 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-10-17T18:57:39.959Z] 0.0.0 [Pipeline] } [2023-10-17T18:57:39.972Z] $ docker exec --env ******** --env ******** d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 ssh-agent -k [2023-10-17T18:57:40.068Z] unset SSH_AUTH_SOCK; [2023-10-17T18:57:40.068Z] unset SSH_AGENT_PID; [2023-10-17T18:57:40.069Z] echo Agent pid 77 killed; [2023-10-17T18:57:40.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-17T18:57:40.383Z] + git semver [Pipeline] } [2023-10-17T18:57:40.654Z] $ docker stop --time=1 d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 [2023-10-17T18:57:41.984Z] $ docker rm -f --volumes d7db1da90fdb38b3a2a3ca912411e6b493145000a203ae42fb5af13d3be2ff42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-17T18:57:42.322Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-17T18:57:42.548Z] Stashed 1 file(s) [Pipeline] echo [2023-10-17T18:57:42.551Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-17T18:57:42.673Z] provisioning config files... [2023-10-17T18:57:42.682Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config908685609809228104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-17T18:57:42.978Z] ---> docker-login.sh [2023-10-17T18:57:42.978Z] nexus3.edgexfoundry.org:10001 [2023-10-17T18:57:42.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:42.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:42.978Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:42.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:42.978Z] [2023-10-17T18:57:42.978Z] Login Succeeded [2023-10-17T18:57:42.978Z] nexus3.edgexfoundry.org:10002 [2023-10-17T18:57:42.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:42.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:42.978Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:42.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:42.978Z] [2023-10-17T18:57:42.978Z] Login Succeeded [2023-10-17T18:57:42.978Z] nexus3.edgexfoundry.org:10003 [2023-10-17T18:57:43.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:43.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:43.238Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:43.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:43.238Z] [2023-10-17T18:57:43.238Z] Login Succeeded [2023-10-17T18:57:43.238Z] nexus3.edgexfoundry.org:10004 [2023-10-17T18:57:43.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:43.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:43.238Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:43.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:43.238Z] [2023-10-17T18:57:43.238Z] Login Succeeded [2023-10-17T18:57:43.238Z] docker.io [2023-10-17T18:57:43.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T18:57:43.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T18:57:43.496Z] Configure a credential helper to remove this warning. See [2023-10-17T18:57:43.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T18:57:43.496Z] [2023-10-17T18:57:43.496Z] Login Succeeded [2023-10-17T18:57:43.496Z] ---> docker-login.sh ends [Pipeline] } [2023-10-17T18:57:43.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-17T18:57:43.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-17T18:57:43.575Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-17T18:57:43.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-17T18:57:43.602Z] ========================================================= [2023-10-17T18:57:43.602Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-17T18:57:43.602Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T18:57:43.900Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-10-17T18:57:43.900Z] Sending build context to Docker daemon 4.965MB [2023-10-17T18:57:43.900Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-17T18:57:43.900Z] Step 2/21 : FROM ${BASE} as builder [2023-10-17T18:57:43.900Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-17T18:57:43.900Z] 91d30c5bc195: Pulling fs layer [2023-10-17T18:57:43.900Z] 316e5a4585fb: Pulling fs layer [2023-10-17T18:57:44.171Z] 91d30c5bc195: Verifying Checksum [2023-10-17T18:57:44.171Z] 91d30c5bc195: Download complete [2023-10-17T18:57:44.171Z] 91d30c5bc195: Pull complete [2023-10-17T18:57:44.740Z] 316e5a4585fb: Verifying Checksum [2023-10-17T18:57:44.740Z] 316e5a4585fb: Download complete [2023-10-17T18:57:47.300Z] 316e5a4585fb: Pull complete [2023-10-17T18:57:47.300Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-17T18:57:47.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-17T18:57:47.300Z] ---> e83ffa357ff4 [2023-10-17T18:57:47.300Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-17T18:57:49.837Z] ---> Running in 2a7e54c2f67b [2023-10-17T18:57:49.837Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-17T18:57:50.096Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-17T18:57:50.096Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-17T18:57:50.096Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-17T18:57:50.367Z] Removing intermediate container 2a7e54c2f67b [2023-10-17T18:57:50.367Z] ---> 60c207739cea [2023-10-17T18:57:50.367Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-17T18:57:50.367Z] ---> Running in c650eea85d4e [2023-10-17T18:57:50.936Z] Removing intermediate container c650eea85d4e [2023-10-17T18:57:50.936Z] ---> 1ce3276dd548 [2023-10-17T18:57:50.936Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-17T18:57:50.936Z] ---> Running in 99f0eed17797 [2023-10-17T18:57:51.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-17T18:57:51.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-17T18:57:51.714Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-17T18:57:52.282Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-17T18:57:52.282Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-17T18:57:52.282Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-17T18:57:52.282Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-17T18:57:52.282Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-17T18:57:52.282Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-17T18:57:52.849Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-17T18:57:53.108Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-17T18:57:53.108Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-17T18:57:53.108Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-17T18:57:53.108Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-17T18:57:54.047Z] (11/16) Installing libblkid (2.38-r1) [2023-10-17T18:57:54.047Z] (12/16) Installing libuuid (2.38-r1) [2023-10-17T18:57:54.047Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-17T18:57:54.047Z] (14/16) Installing libmount (2.38-r1) [2023-10-17T18:57:54.047Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-17T18:57:54.047Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-17T18:57:54.047Z] Executing busybox-1.35.0-r17.trigger [2023-10-17T18:57:54.047Z] OK: 280 MiB in 90 packages [2023-10-17T18:57:54.985Z] Removing intermediate container 99f0eed17797 [2023-10-17T18:57:54.985Z] ---> c7b8aa595e02 [2023-10-17T18:57:54.985Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-17T18:57:54.985Z] ---> Running in e77dd2101bd6 [2023-10-17T18:57:55.552Z] Removing intermediate container e77dd2101bd6 [2023-10-17T18:57:55.552Z] ---> 7e60dfb7ca58 [2023-10-17T18:57:55.552Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-17T18:57:55.552Z] ---> 826bd69444d4 [2023-10-17T18:57:55.552Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-17T18:57:55.810Z] ---> 2ca0c0568812 [2023-10-17T18:57:55.810Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-17T18:57:56.067Z] ---> b75857b0e07b [2023-10-17T18:57:56.067Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-17T18:57:56.067Z] ---> 61fe5f200c26 [2023-10-17T18:57:56.067Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-17T18:57:56.325Z] ---> 129c7d4668ff [2023-10-17T18:57:56.325Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-17T18:57:56.325Z] ---> 151892d3c186 [2023-10-17T18:57:56.325Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-17T18:57:56.325Z] ---> Running in 1ea74ce812d9 [2023-10-17T18:57:56.584Z] + CPPCHECK=false [2023-10-17T18:57:56.584Z] + DOCGEN=false [2023-10-17T18:57:56.584Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-17T18:57:56.584Z] + '[' 0 -gt 0 ] [2023-10-17T18:57:56.584Z] + readlink -f ./scripts/build.sh [2023-10-17T18:57:56.584Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-17T18:57:56.584Z] + dirname /tmp/sdk/scripts [2023-10-17T18:57:56.584Z] + ROOT=/tmp/sdk [2023-10-17T18:57:56.584Z] + cd /tmp/sdk [2023-10-17T18:57:56.584Z] + mkdir -p /tmp/sdk/build/release [2023-10-17T18:57:56.584Z] + cd /tmp/sdk/build/release [2023-10-17T18:57:56.584Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-17T18:57:56.584Z] -- The C compiler identification is GNU 11.2.1 [2023-10-17T18:57:56.842Z] -- Detecting C compiler ABI info [2023-10-17T18:57:56.843Z] -- Detecting C compiler ABI info - done [2023-10-17T18:57:56.843Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-17T18:57:56.843Z] -- Detecting C compile features [2023-10-17T18:57:56.843Z] -- Detecting C compile features - done [2023-10-17T18:57:56.843Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-17T18:57:56.843Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-17T18:57:56.843Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-17T18:57:56.843Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-17T18:57:56.843Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-17T18:57:56.843Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-17T18:57:56.843Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-17T18:57:56.843Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-17T18:57:56.843Z] -- /opt/iotech/iot/1.5/include [2023-10-17T18:57:56.843Z] -- C SDK 0.0.0 for Linux [2023-10-17T18:57:56.843Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-17T18:57:56.843Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-17T18:57:57.101Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-17T18:57:57.101Z] -- Configuring done [2023-10-17T18:57:57.101Z] -- Generating done [2023-10-17T18:57:57.101Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-17T18:57:57.101Z] + make all package [2023-10-17T18:57:57.101Z] + tee release.log [2023-10-17T18:57:57.101Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T18:57:57.101Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T18:57:57.101Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.101Z] 25 | void clear_ae_signals (); [2023-10-17T18:57:57.101Z] | ^~~~ [2023-10-17T18:57:57.101Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T18:57:57.101Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T18:57:57.101Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T18:57:57.101Z] | ^ [2023-10-17T18:57:57.101Z] | ; [2023-10-17T18:57:57.101Z] 171 | } [2023-10-17T18:57:57.101Z] | ~ [2023-10-17T18:57:57.101Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T18:57:57.101Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.101Z] 278 | void clear_ae_signals () [2023-10-17T18:57:57.101Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T18:57:57.101Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T18:57:57.101Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T18:57:57.101Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T18:57:57.101Z] + '[' false '=' true ] [2023-10-17T18:57:57.101Z] + '[' false '=' true ] [2023-10-17T18:57:57.101Z] + mkdir -p /tmp/sdk/build/debug [2023-10-17T18:57:57.101Z] + cd /tmp/sdk/build/debug [2023-10-17T18:57:57.101Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-17T18:57:57.101Z] -- The C compiler identification is GNU 11.2.1 [2023-10-17T18:57:57.101Z] -- Detecting C compiler ABI info [2023-10-17T18:57:57.360Z] -- Detecting C compiler ABI info - done [2023-10-17T18:57:57.360Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-17T18:57:57.360Z] -- Detecting C compile features [2023-10-17T18:57:57.360Z] -- Detecting C compile features - done [2023-10-17T18:57:57.360Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-17T18:57:57.360Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-17T18:57:57.360Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-17T18:57:57.360Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-17T18:57:57.360Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-17T18:57:57.360Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-17T18:57:57.360Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-17T18:57:57.360Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-17T18:57:57.360Z] -- /opt/iotech/iot/1.5/include [2023-10-17T18:57:57.360Z] -- C SDK 0.0.0 for Linux [2023-10-17T18:57:57.360Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-17T18:57:57.360Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-17T18:57:57.620Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-17T18:57:57.620Z] -- Configuring done [2023-10-17T18:57:57.620Z] -- Generating done [2023-10-17T18:57:57.620Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-17T18:57:57.620Z] + make [2023-10-17T18:57:57.620Z] + tee debug.log [2023-10-17T18:57:57.620Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T18:57:57.620Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.620Z] 25 | void clear_ae_signals (); [2023-10-17T18:57:57.620Z] | ^~~~ [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T18:57:57.620Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T18:57:57.620Z] | ^ [2023-10-17T18:57:57.620Z] | ; [2023-10-17T18:57:57.620Z] 171 | } [2023-10-17T18:57:57.620Z] | ~ [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.620Z] 278 | void clear_ae_signals () [2023-10-17T18:57:57.620Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T18:57:57.620Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T18:57:57.620Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T18:57:57.620Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T18:57:57.620Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.620Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.620Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.620Z] Consolidate compiler generated dependencies of target csdk [2023-10-17T18:57:57.620Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.620Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.620Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T18:57:57.620Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T18:57:57.620Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.620Z] 25 | void clear_ae_signals (); [2023-10-17T18:57:57.620Z] | ^~~~ [2023-10-17T18:57:57.641Z] Still waiting to schedule task [2023-10-17T18:57:57.641Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-17T18:57:57.878Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T18:57:57.879Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T18:57:57.879Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T18:57:57.879Z] | ^ [2023-10-17T18:57:57.879Z] | ; [2023-10-17T18:57:57.879Z] 171 | } [2023-10-17T18:57:57.879Z] | ~ [2023-10-17T18:57:57.879Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T18:57:57.879Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T18:57:57.879Z] 278 | void clear_ae_signals () [2023-10-17T18:57:57.879Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T18:57:57.879Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T18:57:57.879Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.879Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T18:57:57.879Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T18:57:57.879Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T18:57:57.879Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-17T18:57:58.138Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T18:57:58.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-17T18:57:58.641Z] [2023-10-17T18:57:58.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T18:57:58.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-17T18:57:58.946Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-17T18:57:58.946Z] 5eb5b503b376: Pulling fs layer [2023-10-17T18:57:58.946Z] 5c69ac0246d0: Pulling fs layer [2023-10-17T18:57:58.946Z] ec43610c2a17: Pulling fs layer [2023-10-17T18:57:58.946Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-17T18:57:58.946Z] 33b1e0a273af: Pulling fs layer [2023-10-17T18:57:58.946Z] 5d3b04190fa2: Pulling fs layer [2023-10-17T18:57:58.946Z] 2f39f015ded8: Pulling fs layer [2023-10-17T18:57:58.946Z] 5d3b04190fa2: Waiting [2023-10-17T18:57:58.946Z] 2f39f015ded8: Waiting [2023-10-17T18:57:58.946Z] 3a2ae6a8a46f: Waiting [2023-10-17T18:57:58.946Z] 5c69ac0246d0: Download complete [2023-10-17T18:57:58.946Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-17T18:57:58.946Z] 3a2ae6a8a46f: Download complete [2023-10-17T18:57:58.946Z] 33b1e0a273af: Verifying Checksum [2023-10-17T18:57:58.946Z] 33b1e0a273af: Download complete [2023-10-17T18:57:58.946Z] 5d3b04190fa2: Verifying Checksum [2023-10-17T18:57:58.946Z] 5d3b04190fa2: Download complete [2023-10-17T18:57:59.205Z] ec43610c2a17: Verifying Checksum [2023-10-17T18:57:59.205Z] ec43610c2a17: Download complete [2023-10-17T18:57:59.205Z] 5eb5b503b376: Download complete [2023-10-17T18:57:59.771Z] 2f39f015ded8: Download complete [2023-10-17T18:58:00.337Z] 5eb5b503b376: Pull complete [2023-10-17T18:58:00.337Z] 5c69ac0246d0: Pull complete [2023-10-17T18:58:00.904Z] ec43610c2a17: Pull complete [2023-10-17T18:58:00.904Z] 3a2ae6a8a46f: Pull complete [2023-10-17T18:58:01.161Z] 33b1e0a273af: Pull complete [2023-10-17T18:58:01.161Z] 5d3b04190fa2: Pull complete [2023-10-17T18:58:05.351Z] 2f39f015ded8: Pull complete [2023-10-17T18:58:05.351Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-17T18:58:05.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-17T18:58:05.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-17T18:58:05.439Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2023-10-17T18:58:05.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-17T18:58:10.366Z] $ docker top 6abe06114ac704d5092895f32bfd5865213877a25ddfdb3c9ad78386abc88272 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-17T18:58:10.796Z] ---> job-cost.sh [2023-10-17T18:58:10.796Z] lf-activate-venv: SKIPPING [2023-10-17T18:58:10.796Z] INFO: No Stack... [2023-10-17T18:58:11.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-17T18:58:11.316Z] INFO: Archiving Costs [Pipeline] sh [2023-10-17T18:58:11.606Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-10-17T18:58:11.606Z] + cut -d, -f6 [Pipeline] lock [2023-10-17T18:58:11.618Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [2023-10-17T18:58:11.624Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] did not exist. Created. [2023-10-17T18:58:11.624Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-17T18:58:11.933Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-17T18:58:11.978Z] Stashed 1 file(s) [Pipeline] } [2023-10-17T18:58:11.985Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-17T18:58:12.007Z] $ docker stop --time=1 6abe06114ac704d5092895f32bfd5865213877a25ddfdb3c9ad78386abc88272 [2023-10-17T18:58:13.153Z] $ docker rm -f --volumes 6abe06114ac704d5092895f32bfd5865213877a25ddfdb3c9ad78386abc88272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-17T18:58:13.247Z] Failed in branch amd64 [2023-10-17T18:59:40.820Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9447 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-10-17T18:59:40.829Z] Running in /w/workspace/device-sdk-c/22 [Pipeline] { [Pipeline] checkout [2023-10-17T18:59:40.862Z] Selected Git installation does not exist. Using Default [2023-10-17T18:59:40.862Z] The recommended git tool is: NONE [2023-10-17T18:59:46.601Z] using credential edgex-jenkins-ssh [2023-10-17T18:59:46.620Z] Cloning the remote Git repository [2023-10-17T18:59:46.666Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-17T18:59:46.757Z] > git init /w/workspace/device-sdk-c/22 # timeout=10 [2023-10-17T18:59:46.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-17T18:59:46.917Z] > git --version # timeout=10 [2023-10-17T18:59:46.942Z] > git --version # 'git version 2.25.1' [2023-10-17T18:59:46.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-17T18:59:47.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-17T18:59:49.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-17T18:59:49.770Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-17T18:59:50.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-17T18:59:50.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-17T18:59:50.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-17T18:59:50.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-17T18:59:51.446Z] Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-10-17T18:59:51.916Z] Merge succeeded, producing 260be4d3c3000973d89c6c7468ff263bc8419ad6 [2023-10-17T18:59:51.916Z] Checking out Revision 260be4d3c3000973d89c6c7468ff263bc8419ad6 (PR-444) [2023-10-17T18:59:51.466Z] > git config core.sparsecheckout # timeout=10 [2023-10-17T18:59:51.548Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-10-17T18:59:51.666Z] > git remote # timeout=10 [2023-10-17T18:59:51.690Z] > git config --get remote.origin.url # timeout=10 [2023-10-17T18:59:51.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-17T18:59:51.721Z] > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 [2023-10-17T18:59:51.897Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-17T18:59:51.923Z] > git config core.sparsecheckout # timeout=10 [2023-10-17T18:59:51.933Z] > git checkout -f 260be4d3c3000973d89c6c7468ff263bc8419ad6 # timeout=10 [2023-10-17T18:59:55.435Z] Commit message: "Merge commit '753c0e66273d645c82de476ca0a438ee98891f55' into HEAD" [2023-10-17T18:59:55.460Z] First time build. Skipping changelog. [2023-10-17T18:59:55.444Z] > git rev-list --no-walk c368bf2e8cd3a2a23ee9f069c13c500faf2a364a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-17T18:59:56.318Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-17T18:59:56.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-17T18:59:56.318Z] Dload Upload Total Spent Left Speed [2023-10-17T18:59:56.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69298 [Pipeline] sh [2023-10-17T18:59:57.091Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-17T18:59:57.443Z] + sudo tee /etc/docker/daemon.new [2023-10-17T18:59:57.443Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-17T18:59:57.443Z] { [2023-10-17T18:59:57.443Z] "registry-mirrors": [ [2023-10-17T18:59:57.443Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-17T18:59:57.443Z] ], [2023-10-17T18:59:57.443Z] "bip": "10.250.0.254/24", [2023-10-17T18:59:57.443Z] "hosts": [ [2023-10-17T18:59:57.443Z] "tcp://0.0.0.0:5555", [2023-10-17T18:59:57.443Z] "unix:///var/run/docker.sock" [2023-10-17T18:59:57.443Z] ], [2023-10-17T18:59:57.443Z] "mtu": 1458, [2023-10-17T18:59:57.443Z] "selinux-enabled": true, [2023-10-17T18:59:57.443Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-17T18:59:57.443Z] } [Pipeline] sh [2023-10-17T18:59:57.770Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-17T18:59:58.113Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-17T19:00:16.387Z] provisioning config files... [2023-10-17T19:00:16.420Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/22@tmp/config13251220677526960209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:00:16.781Z] ---> docker-login.sh [2023-10-17T19:00:16.781Z] nexus3.edgexfoundry.org:10001 [2023-10-17T19:00:17.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T19:00:17.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T19:00:17.329Z] Configure a credential helper to remove this warning. See [2023-10-17T19:00:17.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T19:00:17.329Z] [2023-10-17T19:00:17.329Z] Login Succeeded [2023-10-17T19:00:17.329Z] nexus3.edgexfoundry.org:10002 [2023-10-17T19:00:17.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T19:00:17.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T19:00:17.869Z] Configure a credential helper to remove this warning. See [2023-10-17T19:00:17.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T19:00:17.869Z] [2023-10-17T19:00:17.869Z] Login Succeeded [2023-10-17T19:00:17.869Z] nexus3.edgexfoundry.org:10003 [2023-10-17T19:00:18.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T19:00:18.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T19:00:18.141Z] Configure a credential helper to remove this warning. See [2023-10-17T19:00:18.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T19:00:18.141Z] [2023-10-17T19:00:18.141Z] Login Succeeded [2023-10-17T19:00:18.141Z] nexus3.edgexfoundry.org:10004 [2023-10-17T19:00:18.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T19:00:18.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T19:00:18.411Z] Configure a credential helper to remove this warning. See [2023-10-17T19:00:18.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T19:00:18.411Z] [2023-10-17T19:00:18.411Z] Login Succeeded [2023-10-17T19:00:18.411Z] docker.io [2023-10-17T19:00:18.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-17T19:00:19.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-17T19:00:19.272Z] Configure a credential helper to remove this warning. See [2023-10-17T19:00:19.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-17T19:00:19.272Z] [2023-10-17T19:00:19.272Z] Login Succeeded [2023-10-17T19:00:19.272Z] ---> docker-login.sh ends [Pipeline] } [2023-10-17T19:00:19.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-17T19:00:19.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-17T19:00:19.551Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-17T19:00:19.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-17T19:00:19.572Z] ========================================================= [2023-10-17T19:00:19.572Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-17T19:00:19.572Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T19:00:19.913Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-10-17T19:00:20.185Z] Sending build context to Docker daemon 2.989MB [2023-10-17T19:00:20.454Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-17T19:00:20.454Z] Step 2/21 : FROM ${BASE} as builder [2023-10-17T19:00:20.454Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-17T19:00:20.454Z] 547446be3368: Pulling fs layer [2023-10-17T19:00:20.454Z] 76bd08e1cacc: Pulling fs layer [2023-10-17T19:00:20.723Z] 547446be3368: Verifying Checksum [2023-10-17T19:00:20.723Z] 547446be3368: Download complete [2023-10-17T19:00:21.310Z] 547446be3368: Pull complete [2023-10-17T19:00:22.729Z] 76bd08e1cacc: Verifying Checksum [2023-10-17T19:00:22.729Z] 76bd08e1cacc: Download complete [2023-10-17T19:00:35.064Z] 76bd08e1cacc: Pull complete [2023-10-17T19:00:35.064Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-17T19:00:35.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-17T19:00:35.064Z] ---> 295cd00e64f4 [2023-10-17T19:00:35.064Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-17T19:00:35.064Z] ---> Running in 55d94fa50227 [2023-10-17T19:00:35.064Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-17T19:00:35.332Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-17T19:00:35.332Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-17T19:00:35.332Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-17T19:00:36.303Z] Removing intermediate container 55d94fa50227 [2023-10-17T19:00:36.303Z] ---> 769c233e96e1 [2023-10-17T19:00:36.303Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-17T19:00:36.303Z] ---> Running in 429f95999ae9 [2023-10-17T19:00:40.562Z] Removing intermediate container 429f95999ae9 [2023-10-17T19:00:40.562Z] ---> 303b016a1bfc [2023-10-17T19:00:40.562Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-17T19:00:40.562Z] ---> Running in 105dfef46430 [2023-10-17T19:00:41.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-17T19:00:41.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-17T19:00:42.125Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-17T19:00:43.089Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-17T19:00:43.089Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-17T19:00:43.089Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-17T19:00:43.089Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-17T19:00:43.089Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-17T19:00:43.355Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-17T19:00:43.941Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-17T19:00:44.209Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-17T19:00:44.209Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-17T19:00:44.209Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-17T19:00:44.209Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-17T19:00:45.168Z] (11/16) Installing libblkid (2.38-r1) [2023-10-17T19:00:45.168Z] (12/16) Installing libuuid (2.38-r1) [2023-10-17T19:00:45.168Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-17T19:00:45.168Z] (14/16) Installing libmount (2.38-r1) [2023-10-17T19:00:45.168Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-17T19:00:45.168Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-17T19:00:45.435Z] Executing busybox-1.35.0-r17.trigger [2023-10-17T19:00:45.435Z] OK: 286 MiB in 90 packages [2023-10-17T19:00:46.852Z] Removing intermediate container 105dfef46430 [2023-10-17T19:00:46.852Z] ---> 097e54ebadf6 [2023-10-17T19:00:46.852Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-17T19:00:46.852Z] ---> Running in 04d628cea0e2 [2023-10-17T19:00:48.814Z] Removing intermediate container 04d628cea0e2 [2023-10-17T19:00:48.814Z] ---> 9284f36e7e78 [2023-10-17T19:00:48.814Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-17T19:00:49.086Z] ---> b67f478989ec [2023-10-17T19:00:49.086Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-17T19:00:50.049Z] ---> 796d4a1a9623 [2023-10-17T19:00:50.049Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-17T19:00:54.316Z] ---> fbc010652afe [2023-10-17T19:00:54.316Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-17T19:00:54.316Z] ---> 915c96e08c5a [2023-10-17T19:00:54.316Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-17T19:00:54.901Z] ---> bd6516307bd8 [2023-10-17T19:00:54.901Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-17T19:00:55.493Z] ---> 1a30402fc407 [2023-10-17T19:00:55.493Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-17T19:00:55.493Z] ---> Running in 6d430e9578f5 [2023-10-17T19:00:56.467Z] + CPPCHECK=false [2023-10-17T19:00:56.467Z] + DOCGEN=false [2023-10-17T19:00:56.467Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-17T19:00:56.467Z] + '[' 0 -gt 0 ] [2023-10-17T19:00:56.467Z] + readlink -f ./scripts/build.sh [2023-10-17T19:00:56.467Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-17T19:00:56.467Z] + dirname /tmp/sdk/scripts [2023-10-17T19:00:56.467Z] + ROOT=/tmp/sdk [2023-10-17T19:00:56.467Z] + cd /tmp/sdk [2023-10-17T19:00:56.467Z] + mkdir -p /tmp/sdk/build/release [2023-10-17T19:00:56.467Z] + cd /tmp/sdk/build/release [2023-10-17T19:00:56.467Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-17T19:00:56.735Z] -- The C compiler identification is GNU 11.2.1 [2023-10-17T19:00:57.004Z] -- Detecting C compiler ABI info [2023-10-17T19:00:57.275Z] -- Detecting C compiler ABI info - done [2023-10-17T19:00:57.275Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-17T19:00:57.275Z] -- Detecting C compile features [2023-10-17T19:00:57.275Z] -- Detecting C compile features - done [2023-10-17T19:00:57.275Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-17T19:00:57.550Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-17T19:00:57.550Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-17T19:00:57.550Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-17T19:00:57.550Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-17T19:00:57.550Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-17T19:00:57.550Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-17T19:00:57.550Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-17T19:00:57.550Z] -- /opt/iotech/iot/1.5/include [2023-10-17T19:00:57.550Z] -- C SDK 0.0.0 for Linux [2023-10-17T19:00:57.550Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-17T19:00:58.149Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-17T19:00:58.149Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-17T19:00:58.422Z] -- Configuring done [2023-10-17T19:00:58.691Z] -- Generating done [2023-10-17T19:00:58.691Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-17T19:00:58.691Z] + make all package [2023-10-17T19:00:58.691Z] + tee release.log [2023-10-17T19:00:58.957Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T19:00:59.222Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T19:00:59.222Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:00:59.222Z] 25 | void clear_ae_signals (); [2023-10-17T19:00:59.222Z] | ^~~~ [2023-10-17T19:00:59.222Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T19:00:59.222Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T19:00:59.222Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T19:00:59.222Z] | ^ [2023-10-17T19:00:59.222Z] | ; [2023-10-17T19:00:59.222Z] 171 | } [2023-10-17T19:00:59.222Z] | ~ [2023-10-17T19:00:59.222Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T19:00:59.222Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:00:59.222Z] 278 | void clear_ae_signals () [2023-10-17T19:00:59.222Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T19:00:59.222Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T19:00:59.222Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T19:00:59.222Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T19:00:59.222Z] + '[' false '=' true ] [2023-10-17T19:00:59.222Z] + '[' false '=' true ] [2023-10-17T19:00:59.222Z] + mkdir -p /tmp/sdk/build/debug [2023-10-17T19:00:59.222Z] + cd /tmp/sdk/build/debug [2023-10-17T19:00:59.222Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-17T19:00:59.489Z] -- The C compiler identification is GNU 11.2.1 [2023-10-17T19:00:59.489Z] -- Detecting C compiler ABI info [2023-10-17T19:00:59.758Z] -- Detecting C compiler ABI info - done [2023-10-17T19:01:00.025Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-17T19:01:00.025Z] -- Detecting C compile features [2023-10-17T19:01:00.025Z] -- Detecting C compile features - done [2023-10-17T19:01:00.025Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-17T19:01:00.307Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-17T19:01:00.307Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-17T19:01:00.307Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-17T19:01:00.307Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-17T19:01:00.307Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-17T19:01:00.307Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-17T19:01:00.307Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-17T19:01:00.307Z] -- /opt/iotech/iot/1.5/include [2023-10-17T19:01:00.307Z] -- C SDK 0.0.0 for Linux [2023-10-17T19:01:00.307Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-17T19:01:00.577Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-17T19:01:00.844Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-17T19:01:00.844Z] -- Configuring done [2023-10-17T19:01:01.115Z] -- Generating done [2023-10-17T19:01:01.115Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-17T19:01:01.384Z] + + tee debug.log [2023-10-17T19:01:01.384Z] make [2023-10-17T19:01:01.384Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T19:01:01.655Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T19:01:01.655Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:01:01.655Z] 25 | void clear_ae_signals (); [2023-10-17T19:01:01.655Z] | ^~~~ [2023-10-17T19:01:01.655Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T19:01:01.655Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T19:01:01.655Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T19:01:01.655Z] | ^ [2023-10-17T19:01:01.655Z] | ; [2023-10-17T19:01:01.655Z] 171 | } [2023-10-17T19:01:01.655Z] | ~ [2023-10-17T19:01:01.655Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T19:01:01.655Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:01:01.655Z] 278 | void clear_ae_signals () [2023-10-17T19:01:01.655Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T19:01:01.928Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T19:01:01.928Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T19:01:01.928Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T19:01:01.928Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-17T19:01:01.928Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-17T19:01:01.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-17T19:01:01.928Z] Consolidate compiler generated dependencies of target csdk [2023-10-17T19:01:01.928Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T19:01:01.928Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-17T19:01:01.928Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-17T19:01:02.198Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-10-17T19:01:02.198Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:01:02.198Z] 25 | void clear_ae_signals (); [2023-10-17T19:01:02.198Z] | ^~~~ [2023-10-17T19:01:02.198Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-10-17T19:01:02.198Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-10-17T19:01:02.198Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-10-17T19:01:02.198Z] | ^ [2023-10-17T19:01:02.198Z] | ; [2023-10-17T19:01:02.198Z] 171 | } [2023-10-17T19:01:02.198Z] | ~ [2023-10-17T19:01:02.198Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-10-17T19:01:02.198Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-10-17T19:01:02.198Z] 278 | void clear_ae_signals () [2023-10-17T19:01:02.198Z] | ^~~~~~~~~~~~~~~~ [2023-10-17T19:01:02.198Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-10-17T19:01:02.198Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T19:01:02.198Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-10-17T19:01:02.198Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-17T19:01:02.198Z] make: *** [Makefile:156: all] Error 2 [2023-10-17T19:01:02.198Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-17T19:01:02.790Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T19:01:03.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-17T19:01:03.260Z] [2023-10-17T19:01:03.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T19:01:03.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-17T19:01:03.875Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-17T19:01:03.875Z] 8998bd30e6a1: Pulling fs layer [2023-10-17T19:01:03.875Z] 04944245beec: Pulling fs layer [2023-10-17T19:01:03.875Z] 699f458cf7ca: Pulling fs layer [2023-10-17T19:01:03.875Z] 765212b225bb: Pulling fs layer [2023-10-17T19:01:03.875Z] f23df028b6ca: Pulling fs layer [2023-10-17T19:01:03.875Z] d65c8cfc05b1: Pulling fs layer [2023-10-17T19:01:03.875Z] 2437ff75d9bd: Pulling fs layer [2023-10-17T19:01:03.875Z] 765212b225bb: Waiting [2023-10-17T19:01:03.875Z] f23df028b6ca: Waiting [2023-10-17T19:01:03.875Z] 2437ff75d9bd: Waiting [2023-10-17T19:01:03.875Z] d65c8cfc05b1: Waiting [2023-10-17T19:01:03.875Z] 04944245beec: Verifying Checksum [2023-10-17T19:01:03.875Z] 04944245beec: Download complete [2023-10-17T19:01:03.875Z] 765212b225bb: Verifying Checksum [2023-10-17T19:01:03.875Z] 765212b225bb: Download complete [2023-10-17T19:01:03.875Z] f23df028b6ca: Verifying Checksum [2023-10-17T19:01:03.875Z] f23df028b6ca: Download complete [2023-10-17T19:01:03.875Z] d65c8cfc05b1: Verifying Checksum [2023-10-17T19:01:03.875Z] d65c8cfc05b1: Download complete [2023-10-17T19:01:04.143Z] 699f458cf7ca: Verifying Checksum [2023-10-17T19:01:04.143Z] 699f458cf7ca: Download complete [2023-10-17T19:01:04.411Z] 8998bd30e6a1: Verifying Checksum [2023-10-17T19:01:04.411Z] 8998bd30e6a1: Download complete [2023-10-17T19:01:06.997Z] 2437ff75d9bd: Verifying Checksum [2023-10-17T19:01:06.997Z] 2437ff75d9bd: Download complete [2023-10-17T19:01:08.940Z] 8998bd30e6a1: Pull complete [2023-10-17T19:01:09.208Z] 04944245beec: Pull complete [2023-10-17T19:01:11.152Z] 699f458cf7ca: Pull complete [2023-10-17T19:01:11.152Z] 765212b225bb: Pull complete [2023-10-17T19:01:11.737Z] f23df028b6ca: Pull complete [2023-10-17T19:01:12.008Z] d65c8cfc05b1: Pull complete [2023-10-17T19:01:27.016Z] 2437ff75d9bd: Pull complete [2023-10-17T19:01:27.016Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-17T19:01:27.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-17T19:01:27.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-17T19:01:27.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-9447 does not seem to be running inside a container [2023-10-17T19:01:27.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/22 -v /w/workspace/device-sdk-c/22:/w/workspace/device-sdk-c/22:rw,z -v /w/workspace/device-sdk-c/22@tmp:/w/workspace/device-sdk-c/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-17T19:01:29.644Z] $ docker top 970c78555dbf065f319ac6f913dca79c93b00af8ee5e650a19351012d4849958 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:30.130Z] ---> job-cost.sh [2023-10-17T19:01:30.400Z] lf-activate-venv: SKIPPING [2023-10-17T19:01:30.400Z] INFO: No Stack... [2023-10-17T19:01:30.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-17T19:01:31.618Z] INFO: Archiving Costs [Pipeline] sh [2023-10-17T19:01:31.941Z] + cat /w/workspace/device-sdk-c/22/archives/cost.csv [2023-10-17T19:01:31.941Z] + cut -d, -f6 [Pipeline] lock [2023-10-17T19:01:32.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [2023-10-17T19:01:32.268Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] did not exist. Created. [2023-10-17T19:01:32.268Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-17T19:01:32.596Z] /w/workspace/device-sdk-c/22@tmp/durable-cd079dbc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-17T19:01:32.917Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-17T19:01:32.937Z] Warning: overwriting stash ‘stack-cost’ [2023-10-17T19:01:33.342Z] Stashed 1 file(s) [Pipeline] } [2023-10-17T19:01:33.349Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-22-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-17T19:01:33.363Z] $ docker stop --time=1 970c78555dbf065f319ac6f913dca79c93b00af8ee5e650a19351012d4849958 [2023-10-17T19:01:36.835Z] $ docker rm -f --volumes 970c78555dbf065f319ac6f913dca79c93b00af8ee5e650a19351012d4849958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-17T19:01:37.085Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-17T19:01:37.556Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-10-17T19:01:37.556Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-10-17T19:01:37.556Z] total 16 [2023-10-17T19:01:37.556Z] drwxr-xr-x 3 root root 4096 Oct 17 18:58 . [2023-10-17T19:01:37.556Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 18:58 .. [2023-10-17T19:01:37.556Z] drwxr-xr-x 2 root root 4096 Oct 17 18:58 cost [2023-10-17T19:01:37.556Z] -rw-r--r-- 1 root root 85 Oct 17 18:58 cost.csv [2023-10-17T19:01:37.556Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-10-17T19:01:37.556Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-10-17T19:01:37.556Z] total 16 [2023-10-17T19:01:37.556Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:58 . [2023-10-17T19:01:37.556Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 18:58 .. [2023-10-17T19:01:37.556Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 18:58 cost [2023-10-17T19:01:37.556Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 17 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:37.862Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:38.718Z] ---> package-listing.sh [2023-10-17T19:01:38.718Z] ++ facter osfamily [2023-10-17T19:01:38.718Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-17T19:01:38.978Z] + OS_FAMILY=debian [2023-10-17T19:01:38.978Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-10-17T19:01:38.978Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-17T19:01:38.978Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-17T19:01:38.978Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-17T19:01:38.978Z] + PACKAGES=/tmp/packages_start.txt [2023-10-17T19:01:38.978Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-10-17T19:01:38.978Z] + PACKAGES=/tmp/packages_end.txt [2023-10-17T19:01:38.978Z] + case "${OS_FAMILY}" in [2023-10-17T19:01:38.978Z] + dpkg -l [2023-10-17T19:01:38.978Z] + grep '^ii' [2023-10-17T19:01:38.978Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-17T19:01:38.978Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-17T19:01:38.978Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-17T19:01:38.978Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-10-17T19:01:38.978Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-10-17T19:01:38.978Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [Pipeline] echo [2023-10-17T19:01:38.988Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-17T19:01:39.267Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-17T19:01:39.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-17T19:01:39.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-17T19:01:39.886Z] prd-ubuntu20.04-docker-8c-8g-9445 does not seem to be running inside a container [2023-10-17T19:01:39.931Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-17T19:01:40.558Z] $ docker top a9b14b033f2410f86592eddd45687cf07d95a501747d1a84ae9de1165efa47df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-17T19:01:40.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-17T19:01:41.201Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-17T19:01:41.484Z] + ls /var/log/sa-host [2023-10-17T19:01:41.484Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-17T19:01:41.550Z] provisioning config files... [2023-10-17T19:01:41.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config3166901791893779410tmp [Pipeline] { [Pipeline] echo [2023-10-17T19:01:41.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:41.851Z] ---> create-netrc.sh [Pipeline] } [2023-10-17T19:01:41.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:42.176Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-17T19:01:42.185Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:42.470Z] ---> sudo-logs.sh [2023-10-17T19:01:42.470Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-17T19:01:42.501Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:42.784Z] ---> job-cost.sh [2023-10-17T19:01:42.784Z] lf-activate-venv: SKIPPING [2023-10-17T19:01:42.784Z] DEBUG: total: 0.2199999988079071 [2023-10-17T19:01:42.784Z] INFO: Retrieving Stack Cost... [2023-10-17T19:01:43.042Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-17T19:01:43.607Z] INFO: Archiving Costs [Pipeline] echo [2023-10-17T19:01:43.616Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-17T19:01:43.897Z] ---> logs-deploy.sh [2023-10-17T19:01:43.897Z] lf-activate-venv: SKIPPING [2023-10-17T19:01:43.897Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/22 [2023-10-17T19:01:43.897Z] INFO: archiving workspace using pattern(s): [2023-10-17T19:01:44.831Z] Archives upload complete. [2023-10-17T19:01:45.089Z] INFO: archiving logs to Nexus