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 bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b 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-ssh13990962565440200093.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh3448799723497992066.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6157979289536836925.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9553448400812076532.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-ssh9684766547552537476.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-2673’ Running on prd-ubuntu20.04-docker-8c-8g-2675 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 > 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 Merging remotes/origin/main commit bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 8f2db444af447404474c1cfb2ed633735bb1f5e5 Checking out Revision 8f2db444af447404474c1cfb2ed633735bb1f5e5 (PR-444) > 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 bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f2db444af447404474c1cfb2ed633735bb1f5e5 # timeout=10 Commit message: "Merge commit 'bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-01T18:57:11.798Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-01T18:57:11.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-01T18:57:11.851Z] ========================================================= [2023-08-01T18:57:11.851Z] EdgeX Global Pipelines Version Info [2023-08-01T18:57:11.851Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2d36372e385665d03573234cc54bfc4bb4ebd7d3 # timeout=10 [2023-08-01T18:57:12.586Z] ------------------- [2023-08-01T18:57:12.586Z] stable info: [2023-08-01T18:57:12.586Z] ------------------- [2023-08-01T18:57:12.586Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-01T18:57:12.586Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-01T18:57:12.586Z] Message: update stable to v1.0.250 [2023-08-01T18:57:13.155Z] ------------------- [2023-08-01T18:57:13.155Z] experimental info: [2023-08-01T18:57:13.155Z] ------------------- [2023-08-01T18:57:13.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-01T18:57:13.155Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-01T18:57:13.155Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-01T18:57:13.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-01T18:57:13.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-01T18:57:13.332Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-01T18:57:13.343Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-01T18:57:13.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-01T18:57:13.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-01T18:57:13.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-01T18:57:13.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-01T18:57:13.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-01T18:57:13.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-01T18:57:13.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-01T18:57:13.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-01T18:57:13.455Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-01T18:57:13.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-01T18:57:13.478Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-01T18:57:13.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-01T18:57:13.500Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-01T18:57:13.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-08-01T18:57:13.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-08-01T18:57:13.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-08-01T18:57:13.546Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f2db444af447404474c1cfb2ed633735bb1f5e5 [Pipeline] echo [2023-08-01T18:57:13.557Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f2db44 [Pipeline] echo [2023-08-01T18:57:13.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T18:57:13.611Z] provisioning config files... [2023-08-01T18:57:13.623Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17393325583772726558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T18:57:13.921Z] ---> docker-login.sh [2023-08-01T18:57:13.921Z] nexus3.edgexfoundry.org:10001 [2023-08-01T18:57:14.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:14.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:14.182Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:14.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:14.182Z] [2023-08-01T18:57:14.182Z] Login Succeeded [2023-08-01T18:57:14.182Z] nexus3.edgexfoundry.org:10002 [2023-08-01T18:57:14.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:14.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:14.182Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:14.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:14.182Z] [2023-08-01T18:57:14.182Z] Login Succeeded [2023-08-01T18:57:14.182Z] nexus3.edgexfoundry.org:10003 [2023-08-01T18:57:14.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:14.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:14.442Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:14.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:14.442Z] [2023-08-01T18:57:14.442Z] Login Succeeded [2023-08-01T18:57:14.442Z] nexus3.edgexfoundry.org:10004 [2023-08-01T18:57:14.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:14.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:14.442Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:14.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:14.442Z] [2023-08-01T18:57:14.442Z] Login Succeeded [2023-08-01T18:57:14.442Z] docker.io [2023-08-01T18:57:14.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:14.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:14.963Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:14.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:14.963Z] [2023-08-01T18:57:14.963Z] Login Succeeded [2023-08-01T18:57:14.963Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T18:57:14.972Z] 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-08-01T18:57:15.348Z] + git rev-list -1 --merges 8f2db444af447404474c1cfb2ed633735bb1f5e5~1..8f2db444af447404474c1cfb2ed633735bb1f5e5 [Pipeline] echo [2023-08-01T18:57:15.449Z] -----------> git rev-list -1 --merges 8f2db444af447404474c1cfb2ed633735bb1f5e5~1..8f2db444af447404474c1cfb2ed633735bb1f5e5 8f2db444af447404474c1cfb2ed633735bb1f5e5 [2023-08-01T18:57:15.449Z] 8f2db444af447404474c1cfb2ed633735bb1f5e5 [false] [Pipeline] sh [2023-08-01T18:57:15.739Z] + git log --format=format:%s -1 8f2db444af447404474c1cfb2ed633735bb1f5e5 [Pipeline] echo [2023-08-01T18:57:15.755Z] ========================================================= [2023-08-01T18:57:15.755Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-01T18:57:15.755Z] ========================================================= 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-08-01T18:57:16.116Z] + git rev-list -1 --merges 8f2db444af447404474c1cfb2ed633735bb1f5e5~1..8f2db444af447404474c1cfb2ed633735bb1f5e5 [Pipeline] echo [2023-08-01T18:57:16.127Z] -----------> git rev-list -1 --merges 8f2db444af447404474c1cfb2ed633735bb1f5e5~1..8f2db444af447404474c1cfb2ed633735bb1f5e5 8f2db444af447404474c1cfb2ed633735bb1f5e5 [2023-08-01T18:57:16.127Z] 8f2db444af447404474c1cfb2ed633735bb1f5e5 [false] [Pipeline] sh [2023-08-01T18:57:16.419Z] + git log --format=format:%s -1 8f2db444af447404474c1cfb2ed633735bb1f5e5 [Pipeline] echo [2023-08-01T18:57:16.433Z] ========================================================= [2023-08-01T18:57:16.433Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-01T18:57:16.433Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-01T18:57:16.812Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-01T18:57:16.812Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-01T18:57:16.812Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-01T18:57:16.812Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-01T18:57:16.812Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-01T18:57:16.812Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-01T18:57:16.812Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T18:57:17.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T18:57:17.169Z] [2023-08-01T18:57:17.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T18:57:17.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T18:57:17.467Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-01T18:57:17.467Z] b85a868b505f: Pulling fs layer [2023-08-01T18:57:17.467Z] e2be974225ed: Pulling fs layer [2023-08-01T18:57:17.467Z] 339a4e72a1f5: Pulling fs layer [2023-08-01T18:57:17.467Z] 988bab9f4d93: Pulling fs layer [2023-08-01T18:57:17.467Z] 1469e6f7b9e6: Pulling fs layer [2023-08-01T18:57:17.467Z] eaf3925da568: Pulling fs layer [2023-08-01T18:57:17.467Z] bab4dde63d76: Pulling fs layer [2023-08-01T18:57:17.467Z] bde34c3a00c8: Pulling fs layer [2023-08-01T18:57:17.467Z] b352a97aabf1: Pulling fs layer [2023-08-01T18:57:17.467Z] 4872d77fe225: Pulling fs layer [2023-08-01T18:57:17.467Z] 5851b861e8e6: Pulling fs layer [2023-08-01T18:57:17.467Z] 988bab9f4d93: Waiting [2023-08-01T18:57:17.467Z] eaf3925da568: Waiting [2023-08-01T18:57:17.467Z] bab4dde63d76: Waiting [2023-08-01T18:57:17.467Z] 1469e6f7b9e6: Waiting [2023-08-01T18:57:17.467Z] bde34c3a00c8: Waiting [2023-08-01T18:57:17.467Z] b352a97aabf1: Waiting [2023-08-01T18:57:17.467Z] 4872d77fe225: Waiting [2023-08-01T18:57:17.467Z] 5851b861e8e6: Waiting [2023-08-01T18:57:17.467Z] e2be974225ed: Verifying Checksum [2023-08-01T18:57:17.467Z] e2be974225ed: Download complete [2023-08-01T18:57:17.467Z] 988bab9f4d93: Verifying Checksum [2023-08-01T18:57:17.467Z] 988bab9f4d93: Download complete [2023-08-01T18:57:17.467Z] 1469e6f7b9e6: Verifying Checksum [2023-08-01T18:57:17.467Z] 1469e6f7b9e6: Download complete [2023-08-01T18:57:17.726Z] eaf3925da568: Verifying Checksum [2023-08-01T18:57:17.726Z] eaf3925da568: Download complete [2023-08-01T18:57:17.726Z] 339a4e72a1f5: Verifying Checksum [2023-08-01T18:57:17.726Z] 339a4e72a1f5: Download complete [2023-08-01T18:57:17.726Z] bde34c3a00c8: Verifying Checksum [2023-08-01T18:57:17.726Z] bde34c3a00c8: Download complete [2023-08-01T18:57:17.726Z] b352a97aabf1: Verifying Checksum [2023-08-01T18:57:17.726Z] b352a97aabf1: Download complete [2023-08-01T18:57:17.726Z] 4872d77fe225: Download complete [2023-08-01T18:57:17.726Z] 5851b861e8e6: Verifying Checksum [2023-08-01T18:57:17.726Z] 5851b861e8e6: Download complete [2023-08-01T18:57:17.726Z] b85a868b505f: Verifying Checksum [2023-08-01T18:57:17.726Z] b85a868b505f: Download complete [2023-08-01T18:57:17.985Z] bab4dde63d76: Verifying Checksum [2023-08-01T18:57:17.985Z] bab4dde63d76: Download complete [2023-08-01T18:57:18.921Z] b85a868b505f: Pull complete [2023-08-01T18:57:19.181Z] e2be974225ed: Pull complete [2023-08-01T18:57:19.747Z] 339a4e72a1f5: Pull complete [2023-08-01T18:57:19.747Z] 988bab9f4d93: Pull complete [2023-08-01T18:57:20.007Z] 1469e6f7b9e6: Pull complete [2023-08-01T18:57:20.007Z] eaf3925da568: Pull complete [2023-08-01T18:57:21.943Z] bab4dde63d76: Pull complete [2023-08-01T18:57:21.943Z] bde34c3a00c8: Pull complete [2023-08-01T18:57:22.205Z] b352a97aabf1: Pull complete [2023-08-01T18:57:22.205Z] 4872d77fe225: Pull complete [2023-08-01T18:57:22.465Z] 5851b861e8e6: Pull complete [2023-08-01T18:57:22.465Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-01T18:57:22.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T18:57:22.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T18:57:22.571Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2023-08-01T18:57:22.607Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-01T18:57:24.005Z] $ docker top 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 -eo pid,comm [2023-08-01T18:57:24.060Z] 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-08-01T18:57:24.060Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-01T18:57:24.098Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-01T18:57:24.098Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-01T18:57:24.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-01T18:57:24.230Z] $ docker exec 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 ssh-agent [2023-08-01T18:57:24.330Z] SSH_AUTH_SOCK=/tmp/ssh-zgSuNibuhyAV/agent.31 [2023-08-01T18:57:24.330Z] SSH_AGENT_PID=37 [2023-08-01T18:57:24.337Z] Running ssh-add (command line suppressed) [2023-08-01T18:57:24.432Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_9160046012242527091.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_9160046012242527091.key) [2023-08-01T18:57:24.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-01T18:57:24.729Z] + git tag --points-at HEAD [Pipeline] } [2023-08-01T18:57:24.751Z] $ docker exec --env ******** --env ******** 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 ssh-agent -k [2023-08-01T18:57:24.860Z] unset SSH_AUTH_SOCK; [2023-08-01T18:57:24.861Z] unset SSH_AGENT_PID; [2023-08-01T18:57:24.861Z] echo Agent pid 37 killed; [2023-08-01T18:57:24.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-01T18:57:24.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-01T18:57:24.892Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-01T18:57:25.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-01T18:57:25.007Z] $ docker exec 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 ssh-agent [2023-08-01T18:57:25.115Z] SSH_AUTH_SOCK=/tmp/ssh-tcCnoq0cp0Ag/agent.70 [2023-08-01T18:57:25.115Z] SSH_AGENT_PID=76 [2023-08-01T18:57:25.120Z] Running ssh-add (command line suppressed) [2023-08-01T18:57:25.244Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_9804235127961325472.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_9804235127961325472.key) [2023-08-01T18:57:25.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-01T18:57:25.543Z] + git semver init [2023-08-01T18:57:25.802Z] 2023-08-01 18:57:25,734 [run_init] DEBUG init version:0.0.0 force:False [2023-08-01T18:57:25.802Z] 2023-08-01 18:57:25,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-08-01T18:57:25.803Z] 2023-08-01 18:57:25,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-08-01T18:57:25.803Z] 2023-08-01 18:57:25,736 [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-08-01T18:57:26.742Z] 2023-08-01 18:57:26,651 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-08-01T18:57:26.742Z] 2023-08-01 18:57:26,652 [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-08-01T18:57:26.742Z] 2023-08-01 18:57:26,652 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-08-01T18:57:26.742Z] 2023-08-01 18:57:26,656 [execute] INFO git cat-file --batch-check [2023-08-01T18:57:26.742Z] 2023-08-01 18:57:26,656 [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-08-01T18:57:26.742Z] 2023-08-01 18:57:26,664 [execute] INFO git cat-file --batch [2023-08-01T18:57:26.742Z] 2023-08-01 18:57:26,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-08-01T18:57:26.743Z] 2023-08-01 18:57:26,670 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-08-01T18:57:26.743Z] 0.0.0 [Pipeline] } [2023-08-01T18:57:26.755Z] $ docker exec --env ******** --env ******** 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 ssh-agent -k [2023-08-01T18:57:26.853Z] unset SSH_AUTH_SOCK; [2023-08-01T18:57:26.854Z] unset SSH_AGENT_PID; [2023-08-01T18:57:26.854Z] echo Agent pid 76 killed; [2023-08-01T18:57:26.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-01T18:57:27.165Z] + git semver [Pipeline] } [2023-08-01T18:57:27.444Z] $ docker stop --time=1 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 [2023-08-01T18:57:28.745Z] $ docker rm -f --volumes 8ca350e4ea746cba1c2a61e5098fcdf093696109f5581b5a48baec51a6cb2379 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-01T18:57:29.089Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-01T18:57:29.303Z] Stashed 1 file(s) [Pipeline] echo [2023-08-01T18:57:29.306Z] [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-08-01T18:57:29.418Z] provisioning config files... [2023-08-01T18:57:29.427Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config3421055682154447320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T18:57:29.716Z] ---> docker-login.sh [2023-08-01T18:57:29.716Z] nexus3.edgexfoundry.org:10001 [2023-08-01T18:57:29.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:29.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:29.716Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:29.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:29.716Z] [2023-08-01T18:57:29.716Z] Login Succeeded [2023-08-01T18:57:29.716Z] nexus3.edgexfoundry.org:10002 [2023-08-01T18:57:29.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:29.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:29.716Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:29.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:29.716Z] [2023-08-01T18:57:29.716Z] Login Succeeded [2023-08-01T18:57:29.716Z] nexus3.edgexfoundry.org:10003 [2023-08-01T18:57:29.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:29.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:29.974Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:29.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:29.974Z] [2023-08-01T18:57:29.974Z] Login Succeeded [2023-08-01T18:57:29.974Z] nexus3.edgexfoundry.org:10004 [2023-08-01T18:57:29.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:29.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:29.974Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:29.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:29.974Z] [2023-08-01T18:57:29.974Z] Login Succeeded [2023-08-01T18:57:29.974Z] docker.io [2023-08-01T18:57:30.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T18:57:30.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T18:57:30.234Z] Configure a credential helper to remove this warning. See [2023-08-01T18:57:30.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T18:57:30.234Z] [2023-08-01T18:57:30.234Z] Login Succeeded [2023-08-01T18:57:30.234Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T18:57:30.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-01T18:57:30.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T18:57:30.352Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-01T18:57:30.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T18:57:30.366Z] ========================================================= [2023-08-01T18:57:30.366Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-01T18:57:30.366Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T18:57:30.661Z] + 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-08-01T18:57:30.661Z] Sending build context to Docker daemon 4.9MB [2023-08-01T18:57:30.661Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-01T18:57:30.661Z] Step 2/21 : FROM ${BASE} as builder [2023-08-01T18:57:30.661Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-01T18:57:30.661Z] 91d30c5bc195: Pulling fs layer [2023-08-01T18:57:30.661Z] 316e5a4585fb: Pulling fs layer [2023-08-01T18:57:30.920Z] 91d30c5bc195: Verifying Checksum [2023-08-01T18:57:30.920Z] 91d30c5bc195: Download complete [2023-08-01T18:57:30.920Z] 91d30c5bc195: Pull complete [2023-08-01T18:57:31.489Z] 316e5a4585fb: Verifying Checksum [2023-08-01T18:57:31.489Z] 316e5a4585fb: Download complete [2023-08-01T18:57:34.776Z] 316e5a4585fb: Pull complete [2023-08-01T18:57:34.776Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-01T18:57:34.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-01T18:57:34.776Z] ---> e83ffa357ff4 [2023-08-01T18:57:34.776Z] 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-08-01T18:57:34.776Z] ---> Running in eb4f16285d1b [2023-08-01T18:57:35.035Z] Connecting to iotech.jfrog.io (34.252.139.230:443) [2023-08-01T18:57:35.603Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T18:57:35.603Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T18:57:35.603Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T18:57:35.863Z] Removing intermediate container eb4f16285d1b [2023-08-01T18:57:35.863Z] ---> f9a43d67d1a8 [2023-08-01T18:57:35.863Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T18:57:35.863Z] ---> Running in 09b5b6252abc [2023-08-01T18:57:36.430Z] Removing intermediate container 09b5b6252abc [2023-08-01T18:57:36.430Z] ---> c0fda25a7733 [2023-08-01T18:57:36.430Z] 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-08-01T18:57:36.430Z] ---> Running in 7c9dd026b364 [2023-08-01T18:57:36.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T18:57:36.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-01T18:57:37.211Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T18:57:37.470Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T18:57:37.470Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T18:57:37.470Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T18:57:37.470Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-01T18:57:37.470Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-01T18:57:37.470Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T18:57:38.413Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T18:57:38.413Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-01T18:57:38.413Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-01T18:57:38.413Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T18:57:38.413Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T18:57:39.351Z] (11/16) Installing libblkid (2.38-r1) [2023-08-01T18:57:39.351Z] (12/16) Installing libuuid (2.38-r1) [2023-08-01T18:57:39.351Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-01T18:57:39.351Z] (14/16) Installing libmount (2.38-r1) [2023-08-01T18:57:39.351Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-01T18:57:39.351Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-01T18:57:39.351Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T18:57:39.351Z] OK: 280 MiB in 90 packages [2023-08-01T18:57:39.610Z] Removing intermediate container 7c9dd026b364 [2023-08-01T18:57:39.610Z] ---> 9f183e7c9961 [2023-08-01T18:57:39.610Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-01T18:57:39.610Z] ---> Running in 65d73e8992b2 [2023-08-01T18:57:40.177Z] Removing intermediate container 65d73e8992b2 [2023-08-01T18:57:40.177Z] ---> fe6bf4283539 [2023-08-01T18:57:40.177Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-01T18:57:40.457Z] ---> 576b1257bccd [2023-08-01T18:57:40.457Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-01T18:57:40.716Z] ---> d536fbaee155 [2023-08-01T18:57:40.716Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-01T18:57:40.716Z] ---> dd7f95e5e451 [2023-08-01T18:57:40.716Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-01T18:57:40.974Z] ---> c478148cbbf1 [2023-08-01T18:57:40.974Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-01T18:57:40.974Z] ---> 2abcc83e832c [2023-08-01T18:57:40.974Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-01T18:57:41.232Z] ---> 9473ba8d4328 [2023-08-01T18:57:41.232Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-01T18:57:41.232Z] ---> Running in 6c88b0e16f94 [2023-08-01T18:57:41.490Z] + CPPCHECK=false [2023-08-01T18:57:41.490Z] + DOCGEN=false [2023-08-01T18:57:41.490Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-01T18:57:41.490Z] + '[' 0 -gt 0 ] [2023-08-01T18:57:41.490Z] + readlink -f ./scripts/build.sh [2023-08-01T18:57:41.490Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-01T18:57:41.490Z] + dirname /tmp/sdk/scripts [2023-08-01T18:57:41.490Z] + ROOT=/tmp/sdk [2023-08-01T18:57:41.490Z] + cd /tmp/sdk [2023-08-01T18:57:41.490Z] + mkdir -p /tmp/sdk/build/release [2023-08-01T18:57:41.490Z] + cd /tmp/sdk/build/release [2023-08-01T18:57:41.490Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-01T18:57:41.748Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T18:57:41.748Z] -- Detecting C compiler ABI info [2023-08-01T18:57:41.748Z] -- Detecting C compiler ABI info - done [2023-08-01T18:57:41.748Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T18:57:41.748Z] -- Detecting C compile features [2023-08-01T18:57:41.748Z] -- Detecting C compile features - done [2023-08-01T18:57:41.748Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T18:57:41.748Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T18:57:41.748Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T18:57:41.748Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T18:57:41.748Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T18:57:41.748Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T18:57:41.748Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T18:57:41.748Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T18:57:41.748Z] -- /opt/iotech/iot/1.5/include [2023-08-01T18:57:41.748Z] -- C SDK 0.0.0 for Linux [2023-08-01T18:57:41.748Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T18:57:42.007Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T18:57:42.007Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T18:57:42.007Z] -- Configuring done [2023-08-01T18:57:42.007Z] -- Generating done [2023-08-01T18:57:42.007Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-01T18:57:42.007Z] + make all package [2023-08-01T18:57:42.007Z] + tee release.log [2023-08-01T18:57:42.007Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T18:57:42.007Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T18:57:42.007Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.007Z] 25 | void clear_ae_signals (); [2023-08-01T18:57:42.007Z] | ^~~~ [2023-08-01T18:57:42.007Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T18:57:42.007Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T18:57:42.007Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T18:57:42.007Z] | ^ [2023-08-01T18:57:42.007Z] | ; [2023-08-01T18:57:42.007Z] 171 | } [2023-08-01T18:57:42.007Z] | ~ [2023-08-01T18:57:42.007Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T18:57:42.007Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.007Z] 278 | void clear_ae_signals () [2023-08-01T18:57:42.007Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T18:57:42.007Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T18:57:42.007Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T18:57:42.007Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T18:57:42.007Z] + '[' false '=' true ] [2023-08-01T18:57:42.007Z] + '[' false '=' true ] [2023-08-01T18:57:42.007Z] + mkdir -p /tmp/sdk/build/debug [2023-08-01T18:57:42.007Z] + cd /tmp/sdk/build/debug [2023-08-01T18:57:42.007Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-01T18:57:42.266Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T18:57:42.266Z] -- Detecting C compiler ABI info [2023-08-01T18:57:42.266Z] -- Detecting C compiler ABI info - done [2023-08-01T18:57:42.266Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T18:57:42.266Z] -- Detecting C compile features [2023-08-01T18:57:42.266Z] -- Detecting C compile features - done [2023-08-01T18:57:42.266Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T18:57:42.266Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T18:57:42.266Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T18:57:42.266Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T18:57:42.266Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T18:57:42.266Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T18:57:42.524Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T18:57:42.524Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T18:57:42.524Z] -- /opt/iotech/iot/1.5/include [2023-08-01T18:57:42.524Z] -- C SDK 0.0.0 for Linux [2023-08-01T18:57:42.524Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T18:57:42.524Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T18:57:42.524Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T18:57:42.524Z] -- Configuring done [2023-08-01T18:57:42.524Z] -- Generating done [2023-08-01T18:57:42.524Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-01T18:57:42.524Z] + make [2023-08-01T18:57:42.524Z] + tee debug.log [2023-08-01T18:57:42.524Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T18:57:42.783Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.783Z] 25 | void clear_ae_signals (); [2023-08-01T18:57:42.783Z] | ^~~~ [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T18:57:42.783Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T18:57:42.783Z] | ^ [2023-08-01T18:57:42.783Z] | ; [2023-08-01T18:57:42.783Z] 171 | } [2023-08-01T18:57:42.783Z] | ~ [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.783Z] 278 | void clear_ae_signals () [2023-08-01T18:57:42.783Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T18:57:42.783Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T18:57:42.783Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T18:57:42.783Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T18:57:42.783Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.783Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.783Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.783Z] Consolidate compiler generated dependencies of target csdk [2023-08-01T18:57:42.783Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.783Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.783Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T18:57:42.783Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.783Z] 25 | void clear_ae_signals (); [2023-08-01T18:57:42.783Z] | ^~~~ [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T18:57:42.783Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T18:57:42.783Z] | ^ [2023-08-01T18:57:42.783Z] | ; [2023-08-01T18:57:42.783Z] 171 | } [2023-08-01T18:57:42.783Z] | ~ [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T18:57:42.783Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T18:57:42.783Z] 278 | void clear_ae_signals () [2023-08-01T18:57:42.783Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T18:57:42.784Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T18:57:42.784Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.784Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T18:57:42.784Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T18:57:42.784Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T18:57:42.784Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-01T18:57:43.043Z] 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-08-01T18:57:43.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T18:57:43.512Z] [2023-08-01T18:57:43.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T18:57:43.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T18:57:43.812Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-01T18:57:43.812Z] 5eb5b503b376: Pulling fs layer [2023-08-01T18:57:43.812Z] 5c69ac0246d0: Pulling fs layer [2023-08-01T18:57:43.812Z] ec43610c2a17: Pulling fs layer [2023-08-01T18:57:43.812Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-01T18:57:43.812Z] 33b1e0a273af: Pulling fs layer [2023-08-01T18:57:43.812Z] 5d3b04190fa2: Pulling fs layer [2023-08-01T18:57:43.812Z] 2f39f015ded8: Pulling fs layer [2023-08-01T18:57:43.812Z] 5d3b04190fa2: Waiting [2023-08-01T18:57:43.812Z] 33b1e0a273af: Waiting [2023-08-01T18:57:43.812Z] 3a2ae6a8a46f: Waiting [2023-08-01T18:57:43.812Z] 2f39f015ded8: Waiting [2023-08-01T18:57:43.812Z] 5c69ac0246d0: Download complete [2023-08-01T18:57:43.812Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-01T18:57:43.812Z] 3a2ae6a8a46f: Download complete [2023-08-01T18:57:43.812Z] 33b1e0a273af: Verifying Checksum [2023-08-01T18:57:43.812Z] 33b1e0a273af: Download complete [2023-08-01T18:57:43.812Z] 5d3b04190fa2: Verifying Checksum [2023-08-01T18:57:43.812Z] 5d3b04190fa2: Download complete [2023-08-01T18:57:43.812Z] ec43610c2a17: Verifying Checksum [2023-08-01T18:57:44.072Z] 5eb5b503b376: Verifying Checksum [2023-08-01T18:57:44.072Z] 5eb5b503b376: Download complete [2023-08-01T18:57:44.390Z] Still waiting to schedule task [2023-08-01T18:57:44.390Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2674’ [2023-08-01T18:57:44.639Z] 2f39f015ded8: Download complete [2023-08-01T18:57:45.206Z] 5eb5b503b376: Pull complete [2023-08-01T18:57:45.465Z] 5c69ac0246d0: Pull complete [2023-08-01T18:57:46.030Z] ec43610c2a17: Pull complete [2023-08-01T18:57:46.030Z] 3a2ae6a8a46f: Pull complete [2023-08-01T18:57:46.030Z] 33b1e0a273af: Pull complete [2023-08-01T18:57:46.287Z] 5d3b04190fa2: Pull complete [2023-08-01T18:57:50.468Z] 2f39f015ded8: Pull complete [2023-08-01T18:57:50.468Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-01T18:57:50.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T18:57:50.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T18:57:50.555Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2023-08-01T18:57:50.582Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-01T18:57:52.038Z] $ docker top 0dc6d05fd8341947e22a901615c77a49389efd9f6e30f8ebea8fdc5e45452092 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T18:57:52.415Z] ---> job-cost.sh [2023-08-01T18:57:52.415Z] lf-activate-venv: SKIPPING [2023-08-01T18:57:52.415Z] INFO: No Stack... [2023-08-01T18:57:52.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-01T18:57:52.937Z] INFO: Archiving Costs [Pipeline] sh [2023-08-01T18:57:53.224Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-08-01T18:57:53.224Z] + cut -d, -f6 [Pipeline] lock [2023-08-01T18:57:53.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [2023-08-01T18:57:53.243Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] did not exist. Created. [2023-08-01T18:57:53.243Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-01T18:57:53.539Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-01T18:57:53.579Z] Stashed 1 file(s) [Pipeline] } [2023-08-01T18:57:53.590Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-01T18:57:53.612Z] $ docker stop --time=1 0dc6d05fd8341947e22a901615c77a49389efd9f6e30f8ebea8fdc5e45452092 [2023-08-01T18:57:54.764Z] $ docker rm -f --volumes 0dc6d05fd8341947e22a901615c77a49389efd9f6e30f8ebea8fdc5e45452092 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-01T18:57:54.865Z] Failed in branch amd64 [2023-08-01T19:01:13.489Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2676 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-08-01T19:01:13.503Z] Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout [2023-08-01T19:01:13.541Z] Selected Git installation does not exist. Using Default [2023-08-01T19:01:13.541Z] The recommended git tool is: NONE [2023-08-01T19:01:18.363Z] using credential edgex-jenkins-ssh [2023-08-01T19:01:18.380Z] Cloning the remote Git repository [2023-08-01T19:01:18.417Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T19:01:18.504Z] > git init /w/workspace/device-sdk-c/15 # timeout=10 [2023-08-01T19:01:18.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T19:01:18.637Z] > git --version # timeout=10 [2023-08-01T19:01:18.656Z] > git --version # 'git version 2.25.1' [2023-08-01T19:01:18.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T19:01:18.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-01T19:01:19.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-01T19:01:19.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-01T19:01:20.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-01T19:01:20.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T19:01:20.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T19:01:20.786Z] > 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-08-01T19:01:21.408Z] Merging remotes/origin/main commit bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-08-01T19:01:21.838Z] Merge succeeded, producing eb4f863b7e7d1b1f68a7faa182b6a0a17a772491 [2023-08-01T19:01:21.838Z] Checking out Revision eb4f863b7e7d1b1f68a7faa182b6a0a17a772491 (PR-444) [2023-08-01T19:01:21.421Z] > git config core.sparsecheckout # timeout=10 [2023-08-01T19:01:21.492Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-08-01T19:01:21.619Z] > git remote # timeout=10 [2023-08-01T19:01:21.636Z] > git config --get remote.origin.url # timeout=10 [2023-08-01T19:01:21.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T19:01:21.664Z] > git merge bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b # timeout=10 [2023-08-01T19:01:21.818Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-01T19:01:21.842Z] > git config core.sparsecheckout # timeout=10 [2023-08-01T19:01:21.855Z] > git checkout -f eb4f863b7e7d1b1f68a7faa182b6a0a17a772491 # timeout=10 [2023-08-01T19:01:25.295Z] Commit message: "Merge commit 'bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b' into HEAD" [2023-08-01T19:01:25.319Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-01T19:01:26.402Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-01T19:01:26.402Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-01T19:01:26.402Z] Dload Upload Total Spent Left Speed [2023-08-01T19:01:26.402Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68924 0 --:--:-- --:--:-- --:--:-- 68924 [2023-08-01T19:01:25.301Z] > git rev-list --no-walk 2d36372e385665d03573234cc54bfc4bb4ebd7d3 # timeout=10 [Pipeline] sh [2023-08-01T19:01:27.005Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-01T19:01:27.322Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-01T19:01:27.322Z] + sudo tee /etc/docker/daemon.new [2023-08-01T19:01:27.322Z] { [2023-08-01T19:01:27.322Z] "registry-mirrors": [ [2023-08-01T19:01:27.322Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-01T19:01:27.322Z] ], [2023-08-01T19:01:27.322Z] "bip": "10.250.0.254/24", [2023-08-01T19:01:27.322Z] "hosts": [ [2023-08-01T19:01:27.322Z] "tcp://0.0.0.0:5555", [2023-08-01T19:01:27.322Z] "unix:///var/run/docker.sock" [2023-08-01T19:01:27.322Z] ], [2023-08-01T19:01:27.322Z] "mtu": 1458, [2023-08-01T19:01:27.322Z] "selinux-enabled": true, [2023-08-01T19:01:27.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-01T19:01:27.322Z] } [Pipeline] sh [2023-08-01T19:01:27.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-01T19:01:27.961Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T19:01:46.185Z] provisioning config files... [2023-08-01T19:01:46.208Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/15@tmp/config2873373801666942219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:01:46.547Z] ---> docker-login.sh [2023-08-01T19:01:46.547Z] nexus3.edgexfoundry.org:10001 [2023-08-01T19:01:46.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T19:01:47.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T19:01:47.082Z] Configure a credential helper to remove this warning. See [2023-08-01T19:01:47.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T19:01:47.082Z] [2023-08-01T19:01:47.082Z] Login Succeeded [2023-08-01T19:01:47.082Z] nexus3.edgexfoundry.org:10002 [2023-08-01T19:01:47.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T19:01:47.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T19:01:47.616Z] Configure a credential helper to remove this warning. See [2023-08-01T19:01:47.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T19:01:47.616Z] [2023-08-01T19:01:47.616Z] Login Succeeded [2023-08-01T19:01:47.616Z] nexus3.edgexfoundry.org:10003 [2023-08-01T19:01:47.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T19:01:47.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T19:01:47.884Z] Configure a credential helper to remove this warning. See [2023-08-01T19:01:47.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T19:01:47.884Z] [2023-08-01T19:01:47.884Z] Login Succeeded [2023-08-01T19:01:47.884Z] nexus3.edgexfoundry.org:10004 [2023-08-01T19:01:48.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T19:01:48.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T19:01:48.151Z] Configure a credential helper to remove this warning. See [2023-08-01T19:01:48.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T19:01:48.151Z] [2023-08-01T19:01:48.151Z] Login Succeeded [2023-08-01T19:01:48.151Z] docker.io [2023-08-01T19:01:48.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T19:01:48.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T19:01:48.686Z] Configure a credential helper to remove this warning. See [2023-08-01T19:01:48.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T19:01:48.686Z] [2023-08-01T19:01:48.686Z] Login Succeeded [2023-08-01T19:01:48.686Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T19:01:48.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-01T19:01:48.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T19:01:48.935Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-01T19:01:48.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T19:01:48.954Z] ========================================================= [2023-08-01T19:01:48.954Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-01T19:01:48.954Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T19:01:49.281Z] + 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-08-01T19:01:49.548Z] Sending build context to Docker daemon 2.947MB [2023-08-01T19:01:49.816Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-01T19:01:49.816Z] Step 2/21 : FROM ${BASE} as builder [2023-08-01T19:01:49.816Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-01T19:01:49.816Z] 547446be3368: Pulling fs layer [2023-08-01T19:01:49.816Z] 76bd08e1cacc: Pulling fs layer [2023-08-01T19:01:49.816Z] 547446be3368: Verifying Checksum [2023-08-01T19:01:49.816Z] 547446be3368: Download complete [2023-08-01T19:01:51.780Z] 76bd08e1cacc: Verifying Checksum [2023-08-01T19:01:51.781Z] 76bd08e1cacc: Download complete [2023-08-01T19:01:52.737Z] 547446be3368: Pull complete [2023-08-01T19:02:00.964Z] 76bd08e1cacc: Pull complete [2023-08-01T19:02:00.964Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-01T19:02:00.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-01T19:02:00.964Z] ---> 295cd00e64f4 [2023-08-01T19:02:00.964Z] 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-08-01T19:02:01.231Z] ---> Running in e49c5d14a72c [2023-08-01T19:02:02.638Z] Connecting to iotech.jfrog.io (52.212.187.237:443) [2023-08-01T19:02:02.905Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T19:02:02.905Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T19:02:02.905Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T19:02:03.488Z] Removing intermediate container e49c5d14a72c [2023-08-01T19:02:03.488Z] ---> 1591b7fb5228 [2023-08-01T19:02:03.488Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T19:02:03.488Z] ---> Running in 8caf31d6741a [2023-08-01T19:02:06.826Z] Removing intermediate container 8caf31d6741a [2023-08-01T19:02:06.826Z] ---> e38da6321335 [2023-08-01T19:02:06.826Z] 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-08-01T19:02:06.826Z] ---> Running in d0a0737c9313 [2023-08-01T19:02:07.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T19:02:07.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-01T19:02:07.995Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T19:02:08.956Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T19:02:08.956Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T19:02:08.956Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T19:02:08.956Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-01T19:02:08.956Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-01T19:02:08.956Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T19:02:09.537Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T19:02:09.537Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-01T19:02:09.537Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-01T19:02:09.537Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T19:02:09.803Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T19:02:10.760Z] (11/16) Installing libblkid (2.38-r1) [2023-08-01T19:02:10.760Z] (12/16) Installing libuuid (2.38-r1) [2023-08-01T19:02:10.760Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-01T19:02:10.760Z] (14/16) Installing libmount (2.38-r1) [2023-08-01T19:02:10.760Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-01T19:02:10.760Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-01T19:02:10.760Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T19:02:10.760Z] OK: 286 MiB in 90 packages [2023-08-01T19:02:12.175Z] Removing intermediate container d0a0737c9313 [2023-08-01T19:02:12.175Z] ---> 9dc884d848ab [2023-08-01T19:02:12.175Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-01T19:02:12.175Z] ---> Running in c637b571f466 [2023-08-01T19:02:13.584Z] Removing intermediate container c637b571f466 [2023-08-01T19:02:13.584Z] ---> 6349e377838b [2023-08-01T19:02:13.584Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-01T19:02:13.851Z] ---> 3bfe3b657835 [2023-08-01T19:02:13.851Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-01T19:02:14.811Z] ---> 15fa1cfa8c5f [2023-08-01T19:02:14.811Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-01T19:02:15.077Z] ---> 2feaad355156 [2023-08-01T19:02:15.077Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-01T19:02:15.661Z] ---> 0efc7ed0b9a1 [2023-08-01T19:02:15.661Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-01T19:02:16.245Z] ---> bf41290eb879 [2023-08-01T19:02:16.245Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-01T19:02:18.829Z] ---> c8452585b378 [2023-08-01T19:02:18.829Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-01T19:02:18.829Z] ---> Running in b4f5b16d8d72 [2023-08-01T19:02:19.788Z] + CPPCHECK=false [2023-08-01T19:02:19.788Z] + DOCGEN=false [2023-08-01T19:02:19.788Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-01T19:02:19.788Z] + '[' 0 -gt 0 ] [2023-08-01T19:02:19.788Z] + readlink -f ./scripts/build.sh [2023-08-01T19:02:19.788Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-01T19:02:19.788Z] + dirname /tmp/sdk/scripts [2023-08-01T19:02:19.788Z] + ROOT=/tmp/sdk [2023-08-01T19:02:19.788Z] + cd /tmp/sdk [2023-08-01T19:02:19.788Z] + mkdir -p /tmp/sdk/build/release [2023-08-01T19:02:19.788Z] + cd /tmp/sdk/build/release [2023-08-01T19:02:19.788Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-01T19:02:20.060Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T19:02:20.060Z] -- Detecting C compiler ABI info [2023-08-01T19:02:20.647Z] -- Detecting C compiler ABI info - done [2023-08-01T19:02:20.647Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T19:02:20.647Z] -- Detecting C compile features [2023-08-01T19:02:20.647Z] -- Detecting C compile features - done [2023-08-01T19:02:20.647Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T19:02:20.915Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T19:02:20.915Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T19:02:20.915Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T19:02:20.915Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T19:02:20.915Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T19:02:20.915Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T19:02:20.915Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T19:02:20.915Z] -- /opt/iotech/iot/1.5/include [2023-08-01T19:02:20.915Z] -- C SDK 0.0.0 for Linux [2023-08-01T19:02:20.915Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T19:02:21.182Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T19:02:21.447Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T19:02:21.447Z] -- Configuring done [2023-08-01T19:02:21.715Z] -- Generating done [2023-08-01T19:02:21.715Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-01T19:02:21.983Z] + + make all package [2023-08-01T19:02:21.983Z] tee release.log [2023-08-01T19:02:21.983Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T19:02:22.250Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T19:02:22.250Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:22.250Z] 25 | void clear_ae_signals (); [2023-08-01T19:02:22.250Z] | ^~~~ [2023-08-01T19:02:22.250Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T19:02:22.250Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T19:02:22.250Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T19:02:22.250Z] | ^ [2023-08-01T19:02:22.250Z] | ; [2023-08-01T19:02:22.250Z] 171 | } [2023-08-01T19:02:22.250Z] | ~ [2023-08-01T19:02:22.250Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T19:02:22.250Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:22.250Z] 278 | void clear_ae_signals () [2023-08-01T19:02:22.250Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T19:02:22.250Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T19:02:22.250Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T19:02:22.250Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T19:02:22.250Z] + '[' false '=' true ] [2023-08-01T19:02:22.250Z] + '[' false '=' true ] [2023-08-01T19:02:22.250Z] + mkdir -p /tmp/sdk/build/debug [2023-08-01T19:02:22.250Z] + cd /tmp/sdk/build/debug [2023-08-01T19:02:22.250Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-01T19:02:22.517Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T19:02:22.517Z] -- Detecting C compiler ABI info [2023-08-01T19:02:22.784Z] -- Detecting C compiler ABI info - done [2023-08-01T19:02:23.069Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T19:02:23.069Z] -- Detecting C compile features [2023-08-01T19:02:23.069Z] -- Detecting C compile features - done [2023-08-01T19:02:23.069Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T19:02:23.335Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T19:02:23.335Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T19:02:23.335Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T19:02:23.335Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T19:02:23.335Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T19:02:23.335Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T19:02:23.335Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T19:02:23.335Z] -- /opt/iotech/iot/1.5/include [2023-08-01T19:02:23.335Z] -- C SDK 0.0.0 for Linux [2023-08-01T19:02:23.335Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T19:02:23.603Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T19:02:23.870Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T19:02:23.870Z] -- Configuring done [2023-08-01T19:02:24.137Z] -- Generating done [2023-08-01T19:02:24.137Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-01T19:02:24.137Z] + make [2023-08-01T19:02:24.137Z] + tee debug.log [2023-08-01T19:02:24.405Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T19:02:24.405Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T19:02:24.405Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:24.405Z] 25 | void clear_ae_signals (); [2023-08-01T19:02:24.405Z] | ^~~~ [2023-08-01T19:02:24.405Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T19:02:24.405Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T19:02:24.405Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T19:02:24.405Z] | ^ [2023-08-01T19:02:24.405Z] | ; [2023-08-01T19:02:24.405Z] 171 | } [2023-08-01T19:02:24.405Z] | ~ [2023-08-01T19:02:24.405Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T19:02:24.405Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:24.405Z] 278 | void clear_ae_signals () [2023-08-01T19:02:24.405Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T19:02:24.671Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T19:02:24.671Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T19:02:24.671Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T19:02:24.671Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.671Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.671Z] Consolidate compiler generated dependencies of target csdk [2023-08-01T19:02:24.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.671Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T19:02:24.939Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-08-01T19:02:24.939Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:24.939Z] 25 | void clear_ae_signals (); [2023-08-01T19:02:24.939Z] | ^~~~ [2023-08-01T19:02:24.939Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-08-01T19:02:24.939Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-08-01T19:02:24.939Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-08-01T19:02:24.939Z] | ^ [2023-08-01T19:02:24.939Z] | ; [2023-08-01T19:02:24.939Z] 171 | } [2023-08-01T19:02:24.939Z] | ~ [2023-08-01T19:02:24.939Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-08-01T19:02:24.939Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-08-01T19:02:24.939Z] 278 | void clear_ae_signals () [2023-08-01T19:02:24.939Z] | ^~~~~~~~~~~~~~~~ [2023-08-01T19:02:24.939Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-08-01T19:02:24.939Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.939Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-08-01T19:02:24.939Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T19:02:24.939Z] make: *** [Makefile:156: all] Error 2 [2023-08-01T19:02:24.939Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-01T19:02:25.523Z] 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-08-01T19:02:25.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T19:02:25.966Z] [2023-08-01T19:02:25.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T19:02:26.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T19:02:26.287Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-01T19:02:26.287Z] 8998bd30e6a1: Pulling fs layer [2023-08-01T19:02:26.287Z] 04944245beec: Pulling fs layer [2023-08-01T19:02:26.287Z] 699f458cf7ca: Pulling fs layer [2023-08-01T19:02:26.287Z] 765212b225bb: Pulling fs layer [2023-08-01T19:02:26.287Z] f23df028b6ca: Pulling fs layer [2023-08-01T19:02:26.287Z] d65c8cfc05b1: Pulling fs layer [2023-08-01T19:02:26.287Z] 2437ff75d9bd: Pulling fs layer [2023-08-01T19:02:26.287Z] f23df028b6ca: Waiting [2023-08-01T19:02:26.287Z] d65c8cfc05b1: Waiting [2023-08-01T19:02:26.287Z] 2437ff75d9bd: Waiting [2023-08-01T19:02:26.287Z] 765212b225bb: Waiting [2023-08-01T19:02:26.553Z] 04944245beec: Verifying Checksum [2023-08-01T19:02:26.553Z] 04944245beec: Download complete [2023-08-01T19:02:26.553Z] 765212b225bb: Verifying Checksum [2023-08-01T19:02:26.553Z] 765212b225bb: Download complete [2023-08-01T19:02:26.553Z] f23df028b6ca: Verifying Checksum [2023-08-01T19:02:26.553Z] f23df028b6ca: Download complete [2023-08-01T19:02:26.553Z] d65c8cfc05b1: Verifying Checksum [2023-08-01T19:02:26.553Z] d65c8cfc05b1: Download complete [2023-08-01T19:02:26.554Z] 699f458cf7ca: Verifying Checksum [2023-08-01T19:02:26.554Z] 699f458cf7ca: Download complete [2023-08-01T19:02:27.133Z] 8998bd30e6a1: Download complete [2023-08-01T19:02:29.080Z] 2437ff75d9bd: Verifying Checksum [2023-08-01T19:02:29.080Z] 2437ff75d9bd: Download complete [2023-08-01T19:02:31.026Z] 8998bd30e6a1: Pull complete [2023-08-01T19:02:31.983Z] 04944245beec: Pull complete [2023-08-01T19:02:32.941Z] 699f458cf7ca: Pull complete [2023-08-01T19:02:33.208Z] 765212b225bb: Pull complete [2023-08-01T19:02:33.790Z] f23df028b6ca: Pull complete [2023-08-01T19:02:34.057Z] d65c8cfc05b1: Pull complete [2023-08-01T19:02:49.039Z] 2437ff75d9bd: Pull complete [2023-08-01T19:02:49.039Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-01T19:02:49.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T19:02:49.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T19:02:49.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-2676 does not seem to be running inside a container [2023-08-01T19:02:49.299Z] $ 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/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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-08-01T19:02:51.608Z] $ docker top 02578e0b2c0c20a5cc770e046cc22e1b8c9f52a8b1b1054d71408f5423419dcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:02:52.418Z] ---> job-cost.sh [2023-08-01T19:02:52.418Z] lf-activate-venv: SKIPPING [2023-08-01T19:02:52.418Z] INFO: No Stack... [2023-08-01T19:02:52.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-01T19:02:53.635Z] INFO: Archiving Costs [Pipeline] sh [2023-08-01T19:02:53.952Z] + cat /w/workspace/device-sdk-c/15/archives/cost.csv [2023-08-01T19:02:53.952Z] + cut -d, -f6 [Pipeline] lock [2023-08-01T19:02:54.007Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [2023-08-01T19:02:54.017Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] did not exist. Created. [2023-08-01T19:02:54.017Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-01T19:02:54.347Z] /w/workspace/device-sdk-c/15@tmp/durable-aa7de75d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-01T19:02:54.984Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-01T19:02:55.005Z] Warning: overwriting stash ‘stack-cost’ [2023-08-01T19:02:55.421Z] Stashed 1 file(s) [Pipeline] } [2023-08-01T19:02:55.428Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-15-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-01T19:02:55.451Z] $ docker stop --time=1 02578e0b2c0c20a5cc770e046cc22e1b8c9f52a8b1b1054d71408f5423419dcf [2023-08-01T19:02:57.864Z] $ docker rm -f --volumes 02578e0b2c0c20a5cc770e046cc22e1b8c9f52a8b1b1054d71408f5423419dcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-01T19:02:58.091Z] 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-08-01T19:02:58.570Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-08-01T19:02:58.570Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-01T19:02:58.570Z] total 16 [2023-08-01T19:02:58.570Z] drwxr-xr-x 3 root root 4096 Aug 1 18:57 . [2023-08-01T19:02:58.570Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 18:57 .. [2023-08-01T19:02:58.570Z] drwxr-xr-x 2 root root 4096 Aug 1 18:57 cost [2023-08-01T19:02:58.570Z] -rw-r--r-- 1 root root 84 Aug 1 18:57 cost.csv [2023-08-01T19:02:58.570Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-01T19:02:58.570Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-08-01T19:02:58.570Z] total 16 [2023-08-01T19:02:58.570Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 18:57 . [2023-08-01T19:02:58.570Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 18:57 .. [2023-08-01T19:02:58.570Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 18:57 cost [2023-08-01T19:02:58.570Z] -rw-r--r-- 1 jenkins jenkins 84 Aug 1 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:02:58.857Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:02:59.714Z] ---> package-listing.sh [2023-08-01T19:02:59.714Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-01T19:02:59.714Z] ++ facter osfamily [2023-08-01T19:02:59.972Z] + OS_FAMILY=debian [2023-08-01T19:02:59.972Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-08-01T19:02:59.972Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-01T19:02:59.972Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-01T19:02:59.972Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-01T19:02:59.972Z] + PACKAGES=/tmp/packages_start.txt [2023-08-01T19:02:59.972Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-08-01T19:02:59.972Z] + PACKAGES=/tmp/packages_end.txt [2023-08-01T19:02:59.972Z] + case "${OS_FAMILY}" in [2023-08-01T19:02:59.972Z] + dpkg -l [2023-08-01T19:02:59.972Z] + grep '^ii' [2023-08-01T19:02:59.972Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-01T19:02:59.972Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-01T19:02:59.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-01T19:02:59.973Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-08-01T19:02:59.973Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-08-01T19:02:59.973Z] + 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-08-01T19:02:59.984Z] 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-08-01T19:03:00.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T19:03:00.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T19:03:00.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T19:03:00.886Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2023-08-01T19:03:00.913Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-01T19:03:01.140Z] $ docker top 7c7796a38d5cf7b9be0a1a550667c8be8af1607c1682fe4b83fc3092f4fa974a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-01T19:03:01.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-01T19:03:01.777Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-01T19:03:02.060Z] + ls /var/log/sa-host [2023-08-01T19:03:02.060Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T19:03:02.200Z] provisioning config files... [2023-08-01T19:03:02.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config6259013195848191250tmp [Pipeline] { [Pipeline] echo [2023-08-01T19:03:02.218Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:03:02.498Z] ---> create-netrc.sh [Pipeline] } [2023-08-01T19:03:02.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:03:02.821Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-01T19:03:02.830Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:03:03.112Z] ---> sudo-logs.sh [2023-08-01T19:03:03.112Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-01T19:03:03.143Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:03:03.425Z] ---> job-cost.sh [2023-08-01T19:03:03.425Z] lf-activate-venv: SKIPPING [2023-08-01T19:03:03.425Z] DEBUG: total: 0.2199999988079071 [2023-08-01T19:03:03.425Z] INFO: Retrieving Stack Cost... [2023-08-01T19:03:03.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-01T19:03:04.249Z] INFO: Archiving Costs [Pipeline] echo [2023-08-01T19:03:04.256Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T19:03:04.536Z] ---> logs-deploy.sh [2023-08-01T19:03:04.536Z] lf-activate-venv: SKIPPING [2023-08-01T19:03:04.536Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/15 [2023-08-01T19:03:04.536Z] INFO: archiving workspace using pattern(s): [2023-08-01T19:03:05.475Z] Archives upload complete. [2023-08-01T19:03:05.475Z] INFO: archiving logs to Nexus