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 5d59cb35b62932d64514d7317f29c1d7ee9592fa rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 5d59cb35b62932d64514d7317f29c1d7ee9592fa 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-ssh9631582827260162142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9576476814191400668.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17559336046171401216.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2220484893943329026.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-ssh17421111046235685175.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7428 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 5d59cb35b62932d64514d7317f29c1d7ee9592fa into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing e22c5315d6bd7777f50442a18a024fa3b89ac3a0 Checking out Revision e22c5315d6bd7777f50442a18a024fa3b89ac3a0 (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 5d59cb35b62932d64514d7317f29c1d7ee9592fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e22c5315d6bd7777f50442a18a024fa3b89ac3a0 # timeout=10 Commit message: "Merge commit '5d59cb35b62932d64514d7317f29c1d7ee9592fa' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-11T18:55:40.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-11T18:55:40.526Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-11T18:55:40.545Z] ========================================================= [2023-04-11T18:55:40.545Z] EdgeX Global Pipelines Version Info [2023-04-11T18:55:40.545Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:55:41.250Z] ------------------- [2023-04-11T18:55:41.250Z] stable info: [2023-04-11T18:55:41.250Z] ------------------- [2023-04-11T18:55:41.250Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-11T18:55:41.250Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-11T18:55:41.250Z] Message: update stable to v1.0.245 [2023-04-11T18:55:41.819Z] ------------------- [2023-04-11T18:55:41.819Z] experimental info: [2023-04-11T18:55:41.819Z] ------------------- [2023-04-11T18:55:41.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-11T18:55:41.819Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-11T18:55:41.819Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-11T18:55:41.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-04-11T18:55:42.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-04-11T18:55:42.019Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-11T18:55:42.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-11T18:55:42.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-11T18:55:42.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-04-11T18:55:42.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-04-11T18:55:42.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-11T18:55:42.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-11T18:55:42.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-04-11T18:55:42.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-11T18:55:42.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-11T18:55:42.134Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-11T18:55:42.147Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-11T18:55:42.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-11T18:55:42.170Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-11T18:55:42.178Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-11T18:55:42.186Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-04-11T18:55:42.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-04-11T18:55:42.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-04-11T18:55:42.228Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [Pipeline] echo [2023-04-11T18:55:42.240Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e22c531 [Pipeline] echo [2023-04-11T18:55:42.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-11T18:55:42.295Z] provisioning config files... [2023-04-11T18:55:42.308Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13600842139494214398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:55:42.613Z] ---> docker-login.sh [2023-04-11T18:55:42.613Z] nexus3.edgexfoundry.org:10001 [2023-04-11T18:55:42.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:42.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:42.872Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:42.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:42.872Z] [2023-04-11T18:55:42.872Z] Login Succeeded [2023-04-11T18:55:42.872Z] nexus3.edgexfoundry.org:10002 [2023-04-11T18:55:42.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:43.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:43.132Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:43.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:43.132Z] [2023-04-11T18:55:43.132Z] Login Succeeded [2023-04-11T18:55:43.132Z] nexus3.edgexfoundry.org:10003 [2023-04-11T18:55:43.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:43.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:43.132Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:43.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:43.132Z] [2023-04-11T18:55:43.132Z] Login Succeeded [2023-04-11T18:55:43.132Z] nexus3.edgexfoundry.org:10004 [2023-04-11T18:55:43.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:43.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:43.393Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:43.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:43.393Z] [2023-04-11T18:55:43.393Z] Login Succeeded [2023-04-11T18:55:43.393Z] docker.io [2023-04-11T18:55:43.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:43.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:43.393Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:43.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:43.393Z] [2023-04-11T18:55:43.393Z] Login Succeeded [2023-04-11T18:55:43.393Z] ---> docker-login.sh ends [Pipeline] } [2023-04-11T18:55:43.401Z] 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-04-11T18:55:43.771Z] + git rev-list -1 --merges e22c5315d6bd7777f50442a18a024fa3b89ac3a0~1..e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [Pipeline] echo [2023-04-11T18:55:43.817Z] -----------> git rev-list -1 --merges e22c5315d6bd7777f50442a18a024fa3b89ac3a0~1..e22c5315d6bd7777f50442a18a024fa3b89ac3a0 e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [2023-04-11T18:55:43.817Z] e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [false] [Pipeline] sh [2023-04-11T18:55:44.105Z] + git log --format=format:%s -1 e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [Pipeline] echo [2023-04-11T18:55:44.120Z] ========================================================= [2023-04-11T18:55:44.120Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-11T18:55:44.120Z] ========================================================= 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-04-11T18:55:44.499Z] + git rev-list -1 --merges e22c5315d6bd7777f50442a18a024fa3b89ac3a0~1..e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [Pipeline] echo [2023-04-11T18:55:44.509Z] -----------> git rev-list -1 --merges e22c5315d6bd7777f50442a18a024fa3b89ac3a0~1..e22c5315d6bd7777f50442a18a024fa3b89ac3a0 e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [2023-04-11T18:55:44.509Z] e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [false] [Pipeline] sh [2023-04-11T18:55:44.797Z] + git log --format=format:%s -1 e22c5315d6bd7777f50442a18a024fa3b89ac3a0 [Pipeline] echo [2023-04-11T18:55:44.811Z] ========================================================= [2023-04-11T18:55:44.811Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-11T18:55:44.811Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-04-11T18:55:45.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-11T18:55:45.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-11T18:55:45.210Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-11T18:55:45.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-11T18:55:45.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-11T18:55:45.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-11T18:55:45.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:55:45.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-11T18:55:45.618Z] [2023-04-11T18:55:45.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:55:45.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-11T18:55:45.919Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-11T18:55:45.919Z] b85a868b505f: Pulling fs layer [2023-04-11T18:55:45.919Z] e2be974225ed: Pulling fs layer [2023-04-11T18:55:45.919Z] 339a4e72a1f5: Pulling fs layer [2023-04-11T18:55:45.919Z] 988bab9f4d93: Pulling fs layer [2023-04-11T18:55:45.919Z] 1469e6f7b9e6: Pulling fs layer [2023-04-11T18:55:45.919Z] eaf3925da568: Pulling fs layer [2023-04-11T18:55:45.919Z] bab4dde63d76: Pulling fs layer [2023-04-11T18:55:45.919Z] bde34c3a00c8: Pulling fs layer [2023-04-11T18:55:45.919Z] b352a97aabf1: Pulling fs layer [2023-04-11T18:55:45.919Z] 4872d77fe225: Pulling fs layer [2023-04-11T18:55:45.919Z] 5851b861e8e6: Pulling fs layer [2023-04-11T18:55:45.919Z] bab4dde63d76: Waiting [2023-04-11T18:55:45.919Z] bde34c3a00c8: Waiting [2023-04-11T18:55:45.919Z] b352a97aabf1: Waiting [2023-04-11T18:55:45.919Z] 4872d77fe225: Waiting [2023-04-11T18:55:45.919Z] 5851b861e8e6: Waiting [2023-04-11T18:55:45.919Z] 988bab9f4d93: Waiting [2023-04-11T18:55:45.919Z] eaf3925da568: Waiting [2023-04-11T18:55:45.919Z] 1469e6f7b9e6: Waiting [2023-04-11T18:55:45.919Z] e2be974225ed: Verifying Checksum [2023-04-11T18:55:45.919Z] e2be974225ed: Download complete [2023-04-11T18:55:45.919Z] 988bab9f4d93: Verifying Checksum [2023-04-11T18:55:45.919Z] 988bab9f4d93: Download complete [2023-04-11T18:55:45.919Z] 1469e6f7b9e6: Verifying Checksum [2023-04-11T18:55:45.919Z] 1469e6f7b9e6: Download complete [2023-04-11T18:55:46.178Z] eaf3925da568: Verifying Checksum [2023-04-11T18:55:46.178Z] eaf3925da568: Download complete [2023-04-11T18:55:46.178Z] 339a4e72a1f5: Verifying Checksum [2023-04-11T18:55:46.178Z] 339a4e72a1f5: Download complete [2023-04-11T18:55:46.178Z] bde34c3a00c8: Verifying Checksum [2023-04-11T18:55:46.178Z] bde34c3a00c8: Download complete [2023-04-11T18:55:46.178Z] b352a97aabf1: Download complete [2023-04-11T18:55:46.178Z] 4872d77fe225: Download complete [2023-04-11T18:55:46.178Z] 5851b861e8e6: Verifying Checksum [2023-04-11T18:55:46.178Z] 5851b861e8e6: Download complete [2023-04-11T18:55:46.178Z] b85a868b505f: Verifying Checksum [2023-04-11T18:55:46.178Z] b85a868b505f: Download complete [2023-04-11T18:55:46.436Z] bab4dde63d76: Verifying Checksum [2023-04-11T18:55:46.436Z] bab4dde63d76: Download complete [2023-04-11T18:55:47.369Z] b85a868b505f: Pull complete [2023-04-11T18:55:47.628Z] e2be974225ed: Pull complete [2023-04-11T18:55:47.892Z] 339a4e72a1f5: Pull complete [2023-04-11T18:55:47.893Z] 988bab9f4d93: Pull complete [2023-04-11T18:55:48.152Z] 1469e6f7b9e6: Pull complete [2023-04-11T18:55:48.409Z] eaf3925da568: Pull complete [2023-04-11T18:55:49.794Z] bab4dde63d76: Pull complete [2023-04-11T18:55:50.055Z] bde34c3a00c8: Pull complete [2023-04-11T18:55:50.055Z] b352a97aabf1: Pull complete [2023-04-11T18:55:50.055Z] 4872d77fe225: Pull complete [2023-04-11T18:55:50.318Z] 5851b861e8e6: Pull complete [2023-04-11T18:55:50.318Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-11T18:55:50.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-11T18:55:50.318Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-11T18:55:50.403Z] prd-ubuntu20.04-docker-8c-8g-7428 does not seem to be running inside a container [2023-04-11T18:55:50.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-11T18:55:53.452Z] $ docker top f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd -eo pid,comm [2023-04-11T18:55:53.505Z] 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-04-11T18:55:53.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-11T18:55:53.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-11T18:55:53.538Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-11T18:55:53.644Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-11T18:55:53.651Z] $ docker exec f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd ssh-agent [2023-04-11T18:55:53.764Z] SSH_AUTH_SOCK=/tmp/ssh-bp1Ec5Y0gIon/agent.32 [2023-04-11T18:55:53.764Z] SSH_AGENT_PID=38 [2023-04-11T18:55:53.770Z] Running ssh-add (command line suppressed) [2023-04-11T18:55:53.879Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10155824740286157857.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_10155824740286157857.key) [2023-04-11T18:55:53.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-11T18:55:54.178Z] + git tag --points-at HEAD [Pipeline] } [2023-04-11T18:55:54.198Z] $ docker exec --env ******** --env ******** f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd ssh-agent -k [2023-04-11T18:55:54.294Z] unset SSH_AUTH_SOCK; [2023-04-11T18:55:54.294Z] unset SSH_AGENT_PID; [2023-04-11T18:55:54.294Z] echo Agent pid 38 killed; [2023-04-11T18:55:54.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-11T18:55:54.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-11T18:55:54.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-11T18:55:54.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-11T18:55:54.444Z] $ docker exec f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd ssh-agent [2023-04-11T18:55:54.542Z] SSH_AUTH_SOCK=/tmp/ssh-fgJBlQLQFjK3/agent.70 [2023-04-11T18:55:54.542Z] SSH_AGENT_PID=76 [2023-04-11T18:55:54.547Z] Running ssh-add (command line suppressed) [2023-04-11T18:55:54.658Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_17789410361347766758.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_17789410361347766758.key) [2023-04-11T18:55:54.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-11T18:55:54.957Z] + git semver init [2023-04-11T18:55:55.223Z] 2023-04-11 18:55:55,140 [run_init] DEBUG init version:0.0.0 force:False [2023-04-11T18:55:55.223Z] 2023-04-11 18:55:55,141 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-04-11T18:55:55.223Z] 2023-04-11 18:55:55,143 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-04-11T18:55:55.223Z] 2023-04-11 18:55:55,144 [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-04-11T18:55:56.602Z] 2023-04-11 18:55:56,184 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-04-11T18:55:56.602Z] 2023-04-11 18:55:56,185 [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-04-11T18:55:56.602Z] 2023-04-11 18:55:56,185 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-04-11T18:55:56.602Z] 2023-04-11 18:55:56,189 [execute] INFO git cat-file --batch-check [2023-04-11T18:55:56.602Z] 2023-04-11 18:55:56,189 [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-04-11T18:55:56.602Z] 2023-04-11 18:55:56,194 [execute] INFO git cat-file --batch [2023-04-11T18:55:56.602Z] 2023-04-11 18:55:56,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-04-11T18:55:56.602Z] 2023-04-11 18:55:56,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-04-11T18:55:56.602Z] 0.0.0 [Pipeline] } [2023-04-11T18:55:56.615Z] $ docker exec --env ******** --env ******** f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd ssh-agent -k [2023-04-11T18:55:56.706Z] unset SSH_AUTH_SOCK; [2023-04-11T18:55:56.707Z] unset SSH_AGENT_PID; [2023-04-11T18:55:56.707Z] echo Agent pid 76 killed; [2023-04-11T18:55:56.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-11T18:55:57.014Z] + git semver [Pipeline] } [2023-04-11T18:55:57.293Z] $ docker stop --time=1 f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd [2023-04-11T18:55:58.606Z] $ docker rm -f --volumes f11ffdb09a3425aa001079c2c551c368b6b5e53440e096a3131c54ec54b595bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-11T18:55:58.947Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-11T18:55:59.223Z] Stashed 1 file(s) [Pipeline] echo [2023-04-11T18:55:59.226Z] [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-04-11T18:55:59.359Z] provisioning config files... [2023-04-11T18:55:59.366Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config3485662080163314638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:55:59.658Z] ---> docker-login.sh [2023-04-11T18:55:59.658Z] nexus3.edgexfoundry.org:10001 [2023-04-11T18:55:59.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:59.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:59.658Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:59.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:59.658Z] [2023-04-11T18:55:59.658Z] Login Succeeded [2023-04-11T18:55:59.658Z] nexus3.edgexfoundry.org:10002 [2023-04-11T18:55:59.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:59.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:59.658Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:59.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:59.658Z] [2023-04-11T18:55:59.658Z] Login Succeeded [2023-04-11T18:55:59.658Z] nexus3.edgexfoundry.org:10003 [2023-04-11T18:55:59.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:59.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:59.918Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:59.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:59.918Z] [2023-04-11T18:55:59.918Z] Login Succeeded [2023-04-11T18:55:59.918Z] nexus3.edgexfoundry.org:10004 [2023-04-11T18:55:59.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:55:59.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:55:59.918Z] Configure a credential helper to remove this warning. See [2023-04-11T18:55:59.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:55:59.918Z] [2023-04-11T18:55:59.918Z] Login Succeeded [2023-04-11T18:55:59.918Z] docker.io [2023-04-11T18:55:59.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:56:00.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:56:00.178Z] Configure a credential helper to remove this warning. See [2023-04-11T18:56:00.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:56:00.178Z] [2023-04-11T18:56:00.178Z] Login Succeeded [2023-04-11T18:56:00.178Z] ---> docker-login.sh ends [Pipeline] } [2023-04-11T18:56:00.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-11T18:56:00.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-11T18:56:00.256Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-04-11T18:56:00.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-11T18:56:00.268Z] ========================================================= [2023-04-11T18:56:00.268Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-04-11T18:56:00.268Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:56:00.562Z] + 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-04-11T18:56:00.562Z] Sending build context to Docker daemon 4.855MB [2023-04-11T18:56:00.562Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-04-11T18:56:00.562Z] Step 2/21 : FROM ${BASE} as builder [2023-04-11T18:56:00.562Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-04-11T18:56:00.562Z] 213ec9aee27d: Pulling fs layer [2023-04-11T18:56:00.562Z] 0f09ad1b1b37: Pulling fs layer [2023-04-11T18:56:00.562Z] 213ec9aee27d: Verifying Checksum [2023-04-11T18:56:00.562Z] 213ec9aee27d: Download complete [2023-04-11T18:56:00.823Z] 213ec9aee27d: Pull complete [2023-04-11T18:56:01.391Z] 0f09ad1b1b37: Verifying Checksum [2023-04-11T18:56:01.391Z] 0f09ad1b1b37: Download complete [2023-04-11T18:56:03.922Z] 0f09ad1b1b37: Pull complete [2023-04-11T18:56:03.922Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-04-11T18:56:03.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-04-11T18:56:03.922Z] ---> b2bbfebb3566 [2023-04-11T18:56:03.922Z] 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-04-11T18:56:05.301Z] ---> Running in 4485ef9b920a [2023-04-11T18:56:05.301Z] Connecting to iotech.jfrog.io (52.49.55.68:443) [2023-04-11T18:56:05.868Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-11T18:56:05.868Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-11T18:56:05.868Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-11T18:56:06.127Z] Removing intermediate container 4485ef9b920a [2023-04-11T18:56:06.127Z] ---> ed36c3594ee9 [2023-04-11T18:56:06.127Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-11T18:56:06.127Z] ---> Running in a1c2c57eedc2 [2023-04-11T18:56:06.695Z] Removing intermediate container a1c2c57eedc2 [2023-04-11T18:56:06.695Z] ---> b66268e3ebbb [2023-04-11T18:56:06.695Z] 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-04-11T18:56:06.695Z] ---> Running in 9adb84f6c09e [2023-04-11T18:56:06.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-11T18:56:06.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-11T18:56:07.214Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-11T18:56:07.807Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-11T18:56:07.807Z] (1/14) Installing hiredis (1.0.2-r0) [2023-04-11T18:56:07.807Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-04-11T18:56:07.807Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-11T18:56:08.375Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-11T18:56:08.375Z] (5/14) Installing libcbor (0.9.0-r1) [2023-04-11T18:56:08.375Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-04-11T18:56:08.375Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-11T18:56:08.375Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-11T18:56:09.311Z] (9/14) Installing libblkid (2.38-r1) [2023-04-11T18:56:09.311Z] (10/14) Installing libuuid (2.38-r1) [2023-04-11T18:56:09.311Z] (11/14) Installing libfdisk (2.38-r1) [2023-04-11T18:56:09.311Z] (12/14) Installing libmount (2.38-r1) [2023-04-11T18:56:09.311Z] (13/14) Installing libsmartcols (2.38-r1) [2023-04-11T18:56:09.311Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-04-11T18:56:09.311Z] Executing busybox-1.35.0-r17.trigger [2023-04-11T18:56:09.311Z] OK: 280 MiB in 90 packages [2023-04-11T18:56:09.876Z] Removing intermediate container 9adb84f6c09e [2023-04-11T18:56:09.876Z] ---> 3c58b20cc4f8 [2023-04-11T18:56:09.876Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-04-11T18:56:09.876Z] ---> Running in c2054d4b7449 [2023-04-11T18:56:10.442Z] Removing intermediate container c2054d4b7449 [2023-04-11T18:56:10.442Z] ---> a0ec98af3ce9 [2023-04-11T18:56:10.442Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-04-11T18:56:10.442Z] ---> 50db567651d7 [2023-04-11T18:56:10.442Z] Step 8/21 : COPY src /tmp/sdk/src [2023-04-11T18:56:10.702Z] ---> 99a6f0791f86 [2023-04-11T18:56:10.702Z] Step 9/21 : COPY include /tmp/sdk/include [2023-04-11T18:56:10.960Z] ---> 8e632b4d50f5 [2023-04-11T18:56:10.961Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-04-11T18:56:10.961Z] ---> 3890070640ce [2023-04-11T18:56:10.961Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-04-11T18:56:11.218Z] ---> 54c3693136a5 [2023-04-11T18:56:11.218Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-04-11T18:56:11.218Z] ---> 0a723806a7d6 [2023-04-11T18:56:11.218Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-04-11T18:56:11.218Z] ---> Running in 31a1a905f293 [2023-04-11T18:56:11.477Z] + CPPCHECK=false [2023-04-11T18:56:11.477Z] + DOCGEN=false [2023-04-11T18:56:11.477Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-04-11T18:56:11.477Z] + TOMLVER=SDK-0.2 [2023-04-11T18:56:11.477Z] + CUTILVER=1.4 [2023-04-11T18:56:11.477Z] + '[' 0 -gt 0 ] [2023-04-11T18:56:11.477Z] + readlink -f ./scripts/build.sh [2023-04-11T18:56:11.477Z] + dirname /tmp/sdk/scripts/build.sh [2023-04-11T18:56:11.477Z] + dirname /tmp/sdk/scripts [2023-04-11T18:56:11.477Z] + ROOT=/tmp/sdk [2023-04-11T18:56:11.477Z] + cd /tmp/sdk [2023-04-11T18:56:11.477Z] + '[' '!' -d deps ] [2023-04-11T18:56:11.477Z] + mkdir deps [2023-04-11T18:56:11.477Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-04-11T18:56:11.477Z] + tar -C deps -z -x -f - [2023-04-11T18:56:11.477Z] Connecting to github.com (140.82.112.4:443) [2023-04-11T18:56:11.736Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-04-11T18:56:11.736Z] writing to stdout [2023-04-11T18:56:11.736Z] - 100% |********************************| 16451 0:00:00 ETA [2023-04-11T18:56:11.736Z] written to stdout [2023-04-11T18:56:11.736Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-04-11T18:56:11.995Z] + mkdir -p /tmp/sdk/build/release [2023-04-11T18:56:11.995Z] + cd /tmp/sdk/build/release [2023-04-11T18:56:11.995Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-04-11T18:56:11.995Z] -- The C compiler identification is GNU 11.2.1 [2023-04-11T18:56:11.995Z] -- Detecting C compiler ABI info [2023-04-11T18:56:11.995Z] -- Detecting C compiler ABI info - done [2023-04-11T18:56:11.995Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-11T18:56:11.995Z] -- Detecting C compile features [2023-04-11T18:56:11.995Z] -- Detecting C compile features - done [2023-04-11T18:56:11.995Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-11T18:56:11.995Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-11T18:56:11.995Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-11T18:56:11.995Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-11T18:56:11.995Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-11T18:56:11.995Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-11T18:56:11.995Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-11T18:56:11.996Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-11T18:56:11.996Z] -- /opt/iotech/iot/1.5/include [2023-04-11T18:56:11.996Z] -- C SDK 0.0.0 for Linux [2023-04-11T18:56:11.996Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-11T18:56:12.254Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-11T18:56:12.254Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-11T18:56:12.254Z] -- Configuring done [2023-04-11T18:56:12.254Z] -- Generating done [2023-04-11T18:56:12.254Z] -- Build files have been written to: /tmp/sdk/build/release [2023-04-11T18:56:12.254Z] + make all package [2023-04-11T18:56:12.254Z] + tee release.log [2023-04-11T18:56:12.254Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:56:12.254Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:56:12.254Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:12.254Z] 25 | void clear_ae_signals (); [2023-04-11T18:56:12.254Z] | ^~~~ [2023-04-11T18:56:12.254Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:56:12.254Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:56:12.254Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:56:12.254Z] | ^ [2023-04-11T18:56:12.254Z] | ; [2023-04-11T18:56:12.254Z] 171 | } [2023-04-11T18:56:12.254Z] | ~ [2023-04-11T18:56:12.254Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:56:12.254Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:12.254Z] 278 | void clear_ae_signals () [2023-04-11T18:56:12.254Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:56:12.254Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:56:12.254Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:56:12.254Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:56:12.254Z] + '[' false '=' true ] [2023-04-11T18:56:12.254Z] + '[' false '=' true ] [2023-04-11T18:56:12.254Z] + mkdir -p /tmp/sdk/build/debug [2023-04-11T18:56:12.254Z] + cd /tmp/sdk/build/debug [2023-04-11T18:56:12.254Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-04-11T18:56:12.512Z] -- The C compiler identification is GNU 11.2.1 [2023-04-11T18:56:12.512Z] -- Detecting C compiler ABI info [2023-04-11T18:56:12.512Z] -- Detecting C compiler ABI info - done [2023-04-11T18:56:12.512Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-11T18:56:12.512Z] -- Detecting C compile features [2023-04-11T18:56:12.512Z] -- Detecting C compile features - done [2023-04-11T18:56:12.512Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-11T18:56:12.512Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-11T18:56:12.512Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-11T18:56:12.512Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-11T18:56:12.512Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-11T18:56:12.512Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-11T18:56:12.512Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-11T18:56:12.512Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-11T18:56:12.512Z] -- /opt/iotech/iot/1.5/include [2023-04-11T18:56:12.512Z] -- C SDK 0.0.0 for Linux [2023-04-11T18:56:12.512Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-11T18:56:12.771Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-11T18:56:12.771Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-11T18:56:12.771Z] -- Configuring done [2023-04-11T18:56:12.771Z] -- Generating done [2023-04-11T18:56:12.771Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-04-11T18:56:12.771Z] + tee debug.log [2023-04-11T18:56:12.771Z] + make [2023-04-11T18:56:12.771Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:56:12.771Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:56:12.771Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:12.771Z] 25 | void clear_ae_signals (); [2023-04-11T18:56:12.771Z] | ^~~~ [2023-04-11T18:56:12.771Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:56:12.771Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:56:12.771Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:56:12.771Z] | ^ [2023-04-11T18:56:12.771Z] | ; [2023-04-11T18:56:12.771Z] 171 | } [2023-04-11T18:56:12.771Z] | ~ [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:13.031Z] 278 | void clear_ae_signals () [2023-04-11T18:56:13.031Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:56:13.031Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:56:13.031Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:56:13.031Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:56:13.031Z] make: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] Consolidate compiler generated dependencies of target csdk [2023-04-11T18:56:13.031Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:56:13.031Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:13.031Z] 25 | void clear_ae_signals (); [2023-04-11T18:56:13.031Z] | ^~~~ [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:56:13.031Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:56:13.031Z] | ^ [2023-04-11T18:56:13.031Z] | ; [2023-04-11T18:56:13.031Z] 171 | } [2023-04-11T18:56:13.031Z] | ~ [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:56:13.031Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:56:13.031Z] 278 | void clear_ae_signals () [2023-04-11T18:56:13.031Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:56:13.031Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:56:13.031Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:56:13.031Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.031Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:56:13.031Z] make: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:56:13.289Z] 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-04-11T18:56:13.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-11T18:56:13.755Z] [2023-04-11T18:56:13.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:56:14.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-11T18:56:14.054Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-11T18:56:14.054Z] 5eb5b503b376: Pulling fs layer [2023-04-11T18:56:14.054Z] 5c69ac0246d0: Pulling fs layer [2023-04-11T18:56:14.054Z] ec43610c2a17: Pulling fs layer [2023-04-11T18:56:14.054Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-11T18:56:14.054Z] 33b1e0a273af: Pulling fs layer [2023-04-11T18:56:14.054Z] 5d3b04190fa2: Pulling fs layer [2023-04-11T18:56:14.054Z] 2f39f015ded8: Pulling fs layer [2023-04-11T18:56:14.054Z] 33b1e0a273af: Waiting [2023-04-11T18:56:14.054Z] 5d3b04190fa2: Waiting [2023-04-11T18:56:14.054Z] 2f39f015ded8: Waiting [2023-04-11T18:56:14.054Z] 3a2ae6a8a46f: Waiting [2023-04-11T18:56:14.054Z] 5c69ac0246d0: Verifying Checksum [2023-04-11T18:56:14.054Z] 5c69ac0246d0: Download complete [2023-04-11T18:56:14.054Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-11T18:56:14.054Z] 3a2ae6a8a46f: Download complete [2023-04-11T18:56:14.054Z] 33b1e0a273af: Verifying Checksum [2023-04-11T18:56:14.054Z] 33b1e0a273af: Download complete [2023-04-11T18:56:14.054Z] ec43610c2a17: Verifying Checksum [2023-04-11T18:56:14.054Z] ec43610c2a17: Download complete [2023-04-11T18:56:14.054Z] 5d3b04190fa2: Verifying Checksum [2023-04-11T18:56:14.054Z] 5d3b04190fa2: Download complete [2023-04-11T18:56:14.314Z] 5eb5b503b376: Verifying Checksum [2023-04-11T18:56:14.314Z] 5eb5b503b376: Download complete [2023-04-11T18:56:14.317Z] Still waiting to schedule task [2023-04-11T18:56:14.317Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-11T18:56:15.248Z] 5eb5b503b376: Pull complete [2023-04-11T18:56:15.506Z] 5c69ac0246d0: Pull complete [2023-04-11T18:56:15.765Z] ec43610c2a17: Pull complete [2023-04-11T18:56:15.765Z] 3a2ae6a8a46f: Pull complete [2023-04-11T18:56:16.031Z] 33b1e0a273af: Pull complete [2023-04-11T18:56:16.031Z] 5d3b04190fa2: Pull complete [2023-04-11T18:56:20.219Z] 2f39f015ded8: Pull complete [2023-04-11T18:56:20.219Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-11T18:56:20.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-11T18:56:20.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-11T18:56:20.295Z] prd-ubuntu20.04-docker-8c-8g-7428 does not seem to be running inside a container [2023-04-11T18:56:20.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-11T18:56:23.437Z] $ docker top e26b62b99d0e29831359ea8682b54fce62bc452d6bcfd20eae2c863b5205a4a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:56:23.828Z] ---> job-cost.sh [2023-04-11T18:56:23.828Z] lf-activate-venv: SKIPPING [2023-04-11T18:56:23.828Z] INFO: No Stack... [2023-04-11T18:56:24.088Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-11T18:56:24.346Z] INFO: Archiving Costs [Pipeline] sh [2023-04-11T18:56:24.635Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-04-11T18:56:24.635Z] + cut -d, -f6 [Pipeline] lock [2023-04-11T18:56:24.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [2023-04-11T18:56:24.655Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] did not exist. Created. [2023-04-11T18:56:24.655Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-11T18:56:24.948Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-11T18:56:24.986Z] Stashed 1 file(s) [Pipeline] } [2023-04-11T18:56:24.996Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-11T18:56:25.016Z] $ docker stop --time=1 e26b62b99d0e29831359ea8682b54fce62bc452d6bcfd20eae2c863b5205a4a1 [2023-04-11T18:56:26.153Z] $ docker rm -f --volumes e26b62b99d0e29831359ea8682b54fce62bc452d6bcfd20eae2c863b5205a4a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-11T18:56:26.243Z] Failed in branch amd64 [2023-04-11T18:57:45.394Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7430 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-04-11T18:57:45.405Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2023-04-11T18:57:45.440Z] Selected Git installation does not exist. Using Default [2023-04-11T18:57:45.440Z] The recommended git tool is: NONE [2023-04-11T18:57:50.936Z] using credential edgex-jenkins-ssh [2023-04-11T18:57:50.956Z] Cloning the remote Git repository [2023-04-11T18:57:51.010Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-04-11T18:57:51.106Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2023-04-11T18:57:51.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-04-11T18:57:51.253Z] > git --version # timeout=10 [2023-04-11T18:57:51.275Z] > git --version # 'git version 2.25.1' [2023-04-11T18:57:51.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-11T18:57:51.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-11T18:57:55.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-04-11T18:57:55.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-11T18:57:57.010Z] Merging remotes/origin/main commit 5d59cb35b62932d64514d7317f29c1d7ee9592fa into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-04-11T18:57:56.145Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-04-11T18:57:56.201Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-04-11T18:57:56.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-11T18:57:56.221Z] > 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-04-11T18:57:57.031Z] > git config core.sparsecheckout # timeout=10 [2023-04-11T18:57:57.452Z] Merge succeeded, producing d39cf0c5fa5a6e06569868352e41e1113f138799 [2023-04-11T18:57:57.452Z] Checking out Revision d39cf0c5fa5a6e06569868352e41e1113f138799 (PR-444) [2023-04-11T18:57:57.101Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-04-11T18:57:57.231Z] > git remote # timeout=10 [2023-04-11T18:57:57.252Z] > git config --get remote.origin.url # timeout=10 [2023-04-11T18:57:57.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-11T18:57:57.287Z] > git merge 5d59cb35b62932d64514d7317f29c1d7ee9592fa # timeout=10 [2023-04-11T18:57:57.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-11T18:57:57.462Z] > git config core.sparsecheckout # timeout=10 [2023-04-11T18:57:57.479Z] > git checkout -f d39cf0c5fa5a6e06569868352e41e1113f138799 # timeout=10 [2023-04-11T18:58:01.010Z] Commit message: "Merge commit '5d59cb35b62932d64514d7317f29c1d7ee9592fa' into HEAD" [2023-04-11T18:58:01.038Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-11T18:58:01.024Z] > git rev-list --no-walk c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a # timeout=10 [2023-04-11T18:58:01.968Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-11T18:58:01.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-11T18:58:01.968Z] Dload Upload Total Spent Left Speed [2023-04-11T18:58:01.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-04-11T18:58:02.668Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-11T18:58:03.008Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-11T18:58:03.009Z] + sudo tee /etc/docker/daemon.new [2023-04-11T18:58:03.009Z] { [2023-04-11T18:58:03.009Z] "registry-mirrors": [ [2023-04-11T18:58:03.009Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-11T18:58:03.009Z] ], [2023-04-11T18:58:03.009Z] "bip": "10.250.0.254/24", [2023-04-11T18:58:03.009Z] "hosts": [ [2023-04-11T18:58:03.009Z] "tcp://0.0.0.0:5555", [2023-04-11T18:58:03.009Z] "unix:///var/run/docker.sock" [2023-04-11T18:58:03.009Z] ], [2023-04-11T18:58:03.009Z] "mtu": 1458, [2023-04-11T18:58:03.009Z] "selinux-enabled": true, [2023-04-11T18:58:03.009Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-11T18:58:03.009Z] } [Pipeline] sh [2023-04-11T18:58:03.335Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-11T18:58:03.661Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-11T18:58:25.806Z] provisioning config files... [2023-04-11T18:58:25.835Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config1446168890582074688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:58:26.195Z] ---> docker-login.sh [2023-04-11T18:58:26.195Z] nexus3.edgexfoundry.org:10001 [2023-04-11T18:58:26.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:58:26.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:58:26.789Z] Configure a credential helper to remove this warning. See [2023-04-11T18:58:26.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:58:26.789Z] [2023-04-11T18:58:26.789Z] Login Succeeded [2023-04-11T18:58:26.789Z] nexus3.edgexfoundry.org:10002 [2023-04-11T18:58:27.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:58:27.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:58:27.329Z] Configure a credential helper to remove this warning. See [2023-04-11T18:58:27.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:58:27.329Z] [2023-04-11T18:58:27.329Z] Login Succeeded [2023-04-11T18:58:27.329Z] nexus3.edgexfoundry.org:10003 [2023-04-11T18:58:27.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:58:27.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:58:27.608Z] Configure a credential helper to remove this warning. See [2023-04-11T18:58:27.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:58:27.608Z] [2023-04-11T18:58:27.608Z] Login Succeeded [2023-04-11T18:58:27.608Z] nexus3.edgexfoundry.org:10004 [2023-04-11T18:58:27.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:58:27.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:58:27.884Z] Configure a credential helper to remove this warning. See [2023-04-11T18:58:27.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:58:27.884Z] [2023-04-11T18:58:27.884Z] Login Succeeded [2023-04-11T18:58:27.884Z] docker.io [2023-04-11T18:58:28.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-11T18:58:28.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-11T18:58:28.430Z] Configure a credential helper to remove this warning. See [2023-04-11T18:58:28.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-11T18:58:28.430Z] [2023-04-11T18:58:28.430Z] Login Succeeded [2023-04-11T18:58:28.430Z] ---> docker-login.sh ends [Pipeline] } [2023-04-11T18:58:28.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-11T18:58:28.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-11T18:58:28.721Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-04-11T18:58:28.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-11T18:58:28.744Z] ========================================================= [2023-04-11T18:58:28.744Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-04-11T18:58:28.744Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:58:29.088Z] + 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-04-11T18:58:29.682Z] Sending build context to Docker daemon 2.939MB [2023-04-11T18:58:29.682Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-04-11T18:58:29.682Z] Step 2/21 : FROM ${BASE} as builder [2023-04-11T18:58:29.682Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-04-11T18:58:29.682Z] 9b18e9b68314: Pulling fs layer [2023-04-11T18:58:29.682Z] 1def92ead452: Pulling fs layer [2023-04-11T18:58:29.682Z] 9b18e9b68314: Verifying Checksum [2023-04-11T18:58:29.682Z] 9b18e9b68314: Download complete [2023-04-11T18:58:30.278Z] 9b18e9b68314: Pull complete [2023-04-11T18:58:32.250Z] 1def92ead452: Verifying Checksum [2023-04-11T18:58:32.250Z] 1def92ead452: Download complete [2023-04-11T18:58:40.481Z] 1def92ead452: Pull complete [2023-04-11T18:58:40.481Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-04-11T18:58:40.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-04-11T18:58:40.481Z] ---> 9a9802766715 [2023-04-11T18:58:40.481Z] 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-04-11T18:58:41.067Z] ---> Running in 7ea63feab5ef [2023-04-11T18:58:42.485Z] Connecting to iotech.jfrog.io (63.32.141.158:443) [2023-04-11T18:58:42.753Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-04-11T18:58:42.753Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-04-11T18:58:42.753Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-04-11T18:58:43.344Z] Removing intermediate container 7ea63feab5ef [2023-04-11T18:58:43.344Z] ---> 36aeb4e91a6b [2023-04-11T18:58:43.344Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-04-11T18:58:43.626Z] ---> Running in 3bb34607a72f [2023-04-11T18:58:45.045Z] Removing intermediate container 3bb34607a72f [2023-04-11T18:58:45.045Z] ---> 818adb00f68e [2023-04-11T18:58:45.045Z] 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-04-11T18:58:45.045Z] ---> Running in 27e647b19cd4 [2023-04-11T18:58:46.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-11T18:58:46.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-11T18:58:46.861Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-11T18:58:47.826Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-04-11T18:58:47.826Z] (1/14) Installing hiredis (1.0.2-r0) [2023-04-11T18:58:47.826Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-04-11T18:58:47.826Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-04-11T18:58:48.407Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-04-11T18:58:48.407Z] (5/14) Installing libcbor (0.9.0-r1) [2023-04-11T18:58:48.407Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-04-11T18:58:48.674Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-04-11T18:58:48.674Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-04-11T18:58:49.258Z] (9/14) Installing libblkid (2.38-r1) [2023-04-11T18:58:49.258Z] (10/14) Installing libuuid (2.38-r1) [2023-04-11T18:58:49.258Z] (11/14) Installing libfdisk (2.38-r1) [2023-04-11T18:58:49.526Z] (12/14) Installing libmount (2.38-r1) [2023-04-11T18:58:49.526Z] (13/14) Installing libsmartcols (2.38-r1) [2023-04-11T18:58:49.526Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-04-11T18:58:49.526Z] Executing busybox-1.35.0-r17.trigger [2023-04-11T18:58:49.526Z] OK: 286 MiB in 90 packages [2023-04-11T18:58:50.934Z] Removing intermediate container 27e647b19cd4 [2023-04-11T18:58:50.934Z] ---> d4ab3eaacb5f [2023-04-11T18:58:50.934Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-04-11T18:58:50.934Z] ---> Running in 924e76126837 [2023-04-11T18:58:52.343Z] Removing intermediate container 924e76126837 [2023-04-11T18:58:52.343Z] ---> 20a1b377573c [2023-04-11T18:58:52.343Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-04-11T18:58:52.928Z] ---> 0927433fe240 [2023-04-11T18:58:52.928Z] Step 8/21 : COPY src /tmp/sdk/src [2023-04-11T18:58:53.904Z] ---> 941f5c06437f [2023-04-11T18:58:53.904Z] Step 9/21 : COPY include /tmp/sdk/include [2023-04-11T18:58:54.494Z] ---> e29a4da12895 [2023-04-11T18:58:54.494Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-04-11T18:58:54.764Z] ---> 09322b54cd41 [2023-04-11T18:58:54.764Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-04-11T18:58:55.353Z] ---> dc4acb611b54 [2023-04-11T18:58:55.353Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-04-11T18:58:55.941Z] ---> 2f31f80315ed [2023-04-11T18:58:55.941Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-04-11T18:58:55.941Z] ---> Running in 6de4fde72935 [2023-04-11T18:58:56.917Z] + CPPCHECK=false [2023-04-11T18:58:56.917Z] + DOCGEN=false [2023-04-11T18:58:56.917Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-04-11T18:58:56.917Z] + TOMLVER=SDK-0.2 [2023-04-11T18:58:56.917Z] + CUTILVER=1.4 [2023-04-11T18:58:56.917Z] + '[' 0 -gt 0 ] [2023-04-11T18:58:56.917Z] + readlink -f ./scripts/build.sh [2023-04-11T18:58:56.917Z] + dirname /tmp/sdk/scripts/build.sh [2023-04-11T18:58:56.917Z] + dirname /tmp/sdk/scripts [2023-04-11T18:58:56.917Z] + ROOT=/tmp/sdk [2023-04-11T18:58:56.917Z] + cd /tmp/sdk [2023-04-11T18:58:56.917Z] + '[' '!' -d deps ] [2023-04-11T18:58:56.917Z] + mkdir deps [2023-04-11T18:58:56.917Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-04-11T18:58:56.917Z] + tar -C deps -z -x -f - [2023-04-11T18:58:56.917Z] Connecting to github.com (140.82.114.3:443) [2023-04-11T18:58:57.185Z] Connecting to codeload.github.com (140.82.112.9:443) [2023-04-11T18:58:57.454Z] writing to stdout [2023-04-11T18:58:57.454Z] - 100% |********************************| 16451 0:00:00 ETA [2023-04-11T18:58:57.454Z] written to stdout [2023-04-11T18:58:57.454Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-04-11T18:58:57.454Z] + mkdir -p /tmp/sdk/build/release [2023-04-11T18:58:57.454Z] + cd /tmp/sdk/build/release [2023-04-11T18:58:57.454Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-04-11T18:58:58.041Z] -- The C compiler identification is GNU 11.2.1 [2023-04-11T18:58:58.041Z] -- Detecting C compiler ABI info [2023-04-11T18:58:58.309Z] -- Detecting C compiler ABI info - done [2023-04-11T18:58:58.309Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-11T18:58:58.309Z] -- Detecting C compile features [2023-04-11T18:58:58.309Z] -- Detecting C compile features - done [2023-04-11T18:58:58.309Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-11T18:58:58.577Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-11T18:58:58.577Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-11T18:58:58.577Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-11T18:58:58.577Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-11T18:58:58.577Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-11T18:58:58.577Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-11T18:58:58.577Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-11T18:58:58.577Z] -- /opt/iotech/iot/1.5/include [2023-04-11T18:58:58.577Z] -- C SDK 0.0.0 for Linux [2023-04-11T18:58:58.577Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-11T18:58:59.163Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-11T18:58:59.163Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-11T18:58:59.432Z] -- Configuring done [2023-04-11T18:58:59.701Z] -- Generating done [2023-04-11T18:58:59.701Z] -- Build files have been written to: /tmp/sdk/build/release [2023-04-11T18:58:59.701Z] + make all package [2023-04-11T18:58:59.701Z] + tee release.log [2023-04-11T18:58:59.701Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:58:59.969Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:58:59.969Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:58:59.969Z] 25 | void clear_ae_signals (); [2023-04-11T18:58:59.969Z] | ^~~~ [2023-04-11T18:58:59.969Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:58:59.969Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:58:59.969Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:58:59.969Z] | ^ [2023-04-11T18:58:59.969Z] | ; [2023-04-11T18:58:59.969Z] 171 | } [2023-04-11T18:58:59.969Z] | ~ [2023-04-11T18:58:59.969Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:58:59.969Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:58:59.969Z] 278 | void clear_ae_signals () [2023-04-11T18:58:59.969Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:59:00.237Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:59:00.237Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:59:00.237Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:59:00.237Z] + '[' false '=' true ] [2023-04-11T18:59:00.237Z] + '[' false '=' true ] [2023-04-11T18:59:00.237Z] + mkdir -p /tmp/sdk/build/debug [2023-04-11T18:59:00.237Z] + cd /tmp/sdk/build/debug [2023-04-11T18:59:00.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-04-11T18:59:00.505Z] -- The C compiler identification is GNU 11.2.1 [2023-04-11T18:59:00.505Z] -- Detecting C compiler ABI info [2023-04-11T18:59:00.776Z] -- Detecting C compiler ABI info - done [2023-04-11T18:59:01.045Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-04-11T18:59:01.045Z] -- Detecting C compile features [2023-04-11T18:59:01.045Z] -- Detecting C compile features - done [2023-04-11T18:59:01.045Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-04-11T18:59:01.045Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-04-11T18:59:01.045Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-04-11T18:59:01.045Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-04-11T18:59:01.313Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-04-11T18:59:01.313Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-04-11T18:59:01.313Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-04-11T18:59:01.313Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-04-11T18:59:01.313Z] -- /opt/iotech/iot/1.5/include [2023-04-11T18:59:01.313Z] -- C SDK 0.0.0 for Linux [2023-04-11T18:59:01.313Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-04-11T18:59:01.582Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-04-11T18:59:01.852Z] -- Found Curses: /usr/lib/libcurses.so [2023-04-11T18:59:01.852Z] -- Configuring done [2023-04-11T18:59:02.119Z] -- Generating done [2023-04-11T18:59:02.119Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-04-11T18:59:02.119Z] + make [2023-04-11T18:59:02.119Z] + tee debug.log [2023-04-11T18:59:02.387Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:59:02.655Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:59:02.655Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:59:02.655Z] 25 | void clear_ae_signals (); [2023-04-11T18:59:02.655Z] | ^~~~ [2023-04-11T18:59:02.655Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:59:02.655Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:59:02.655Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:59:02.655Z] | ^ [2023-04-11T18:59:02.655Z] | ; [2023-04-11T18:59:02.655Z] 171 | } [2023-04-11T18:59:02.655Z] | ~ [2023-04-11T18:59:02.655Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:59:02.655Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:59:02.655Z] 278 | void clear_ae_signals () [2023-04-11T18:59:02.655Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:59:02.655Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:59:02.655Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:59:02.655Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:59:02.655Z] make: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:59:02.655Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:59:02.655Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:59:02.921Z] Consolidate compiler generated dependencies of target csdk [2023-04-11T18:59:02.921Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:59:02.921Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-04-11T18:59:02.921Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-04-11T18:59:03.189Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-04-11T18:59:03.189Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:59:03.189Z] 25 | void clear_ae_signals (); [2023-04-11T18:59:03.189Z] | ^~~~ [2023-04-11T18:59:03.189Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-04-11T18:59:03.189Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-04-11T18:59:03.189Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-04-11T18:59:03.189Z] | ^ [2023-04-11T18:59:03.189Z] | ; [2023-04-11T18:59:03.189Z] 171 | } [2023-04-11T18:59:03.189Z] | ~ [2023-04-11T18:59:03.189Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-04-11T18:59:03.189Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-04-11T18:59:03.189Z] 278 | void clear_ae_signals () [2023-04-11T18:59:03.189Z] | ^~~~~~~~~~~~~~~~ [2023-04-11T18:59:03.189Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-04-11T18:59:03.189Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:59:03.189Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-04-11T18:59:03.189Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:59:03.189Z] make: *** [Makefile:156: all] Error 2 [2023-04-11T18:59:03.189Z] make: Leaving directory '/tmp/sdk/build/release' [2023-04-11T18:59:03.773Z] 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-04-11T18:59:04.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-11T18:59:04.230Z] [2023-04-11T18:59:04.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:59:04.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-11T18:59:04.556Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-11T18:59:04.556Z] 8998bd30e6a1: Pulling fs layer [2023-04-11T18:59:04.556Z] 04944245beec: Pulling fs layer [2023-04-11T18:59:04.556Z] 699f458cf7ca: Pulling fs layer [2023-04-11T18:59:04.556Z] 765212b225bb: Pulling fs layer [2023-04-11T18:59:04.556Z] f23df028b6ca: Pulling fs layer [2023-04-11T18:59:04.556Z] d65c8cfc05b1: Pulling fs layer [2023-04-11T18:59:04.556Z] 2437ff75d9bd: Pulling fs layer [2023-04-11T18:59:04.556Z] 765212b225bb: Waiting [2023-04-11T18:59:04.556Z] f23df028b6ca: Waiting [2023-04-11T18:59:04.556Z] d65c8cfc05b1: Waiting [2023-04-11T18:59:04.556Z] 2437ff75d9bd: Waiting [2023-04-11T18:59:04.823Z] 04944245beec: Verifying Checksum [2023-04-11T18:59:04.823Z] 04944245beec: Download complete [2023-04-11T18:59:04.823Z] 765212b225bb: Verifying Checksum [2023-04-11T18:59:04.823Z] 765212b225bb: Download complete [2023-04-11T18:59:04.823Z] f23df028b6ca: Verifying Checksum [2023-04-11T18:59:04.823Z] f23df028b6ca: Download complete [2023-04-11T18:59:04.823Z] d65c8cfc05b1: Verifying Checksum [2023-04-11T18:59:04.823Z] d65c8cfc05b1: Download complete [2023-04-11T18:59:04.823Z] 699f458cf7ca: Verifying Checksum [2023-04-11T18:59:04.823Z] 699f458cf7ca: Download complete [2023-04-11T18:59:05.417Z] 8998bd30e6a1: Verifying Checksum [2023-04-11T18:59:05.417Z] 8998bd30e6a1: Download complete [2023-04-11T18:59:07.366Z] 2437ff75d9bd: Verifying Checksum [2023-04-11T18:59:07.366Z] 2437ff75d9bd: Download complete [2023-04-11T18:59:08.777Z] 8998bd30e6a1: Pull complete [2023-04-11T18:59:09.361Z] 04944245beec: Pull complete [2023-04-11T18:59:10.782Z] 699f458cf7ca: Pull complete [2023-04-11T18:59:11.050Z] 765212b225bb: Pull complete [2023-04-11T18:59:12.013Z] f23df028b6ca: Pull complete [2023-04-11T18:59:12.013Z] d65c8cfc05b1: Pull complete [2023-04-11T18:59:27.040Z] 2437ff75d9bd: Pull complete [2023-04-11T18:59:27.040Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-11T18:59:27.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-11T18:59:27.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-11T18:59:27.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-7430 does not seem to be running inside a container [2023-04-11T18:59:27.363Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-04-11T18:59:29.962Z] $ docker top 0453870b1be23c423195eb8349189353c98a5eecf9bc286768618c0ab112d471 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:30.793Z] ---> job-cost.sh [2023-04-11T18:59:30.794Z] lf-activate-venv: SKIPPING [2023-04-11T18:59:30.794Z] INFO: No Stack... [2023-04-11T18:59:31.059Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-11T18:59:32.017Z] INFO: Archiving Costs [Pipeline] sh [2023-04-11T18:59:32.661Z] + cut -d, -f6 [2023-04-11T18:59:32.661Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [Pipeline] lock [2023-04-11T18:59:32.724Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [2023-04-11T18:59:32.731Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] did not exist. Created. [2023-04-11T18:59:32.731Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-11T18:59:33.070Z] /w/workspace/device-sdk-c/5@tmp/durable-14507ff7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-11T18:59:33.723Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-11T18:59:33.744Z] Warning: overwriting stash ‘stack-cost’ [2023-04-11T18:59:34.363Z] Stashed 1 file(s) [Pipeline] } [2023-04-11T18:59:34.369Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-11T18:59:34.389Z] $ docker stop --time=1 0453870b1be23c423195eb8349189353c98a5eecf9bc286768618c0ab112d471 [2023-04-11T18:59:35.865Z] $ docker rm -f --volumes 0453870b1be23c423195eb8349189353c98a5eecf9bc286768618c0ab112d471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-11T18:59:36.099Z] 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-04-11T18:59:36.601Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-04-11T18:59:36.601Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-04-11T18:59:36.601Z] total 16 [2023-04-11T18:59:36.601Z] drwxr-xr-x 3 root root 4096 Apr 11 18:56 . [2023-04-11T18:59:36.601Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 18:56 .. [2023-04-11T18:59:36.601Z] drwxr-xr-x 2 root root 4096 Apr 11 18:56 cost [2023-04-11T18:59:36.601Z] -rw-r--r-- 1 root root 83 Apr 11 18:56 cost.csv [2023-04-11T18:59:36.601Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-04-11T18:59:36.601Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-04-11T18:59:36.601Z] total 16 [2023-04-11T18:59:36.601Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 18:56 . [2023-04-11T18:59:36.601Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 18:56 .. [2023-04-11T18:59:36.601Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 18:56 cost [2023-04-11T18:59:36.601Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 11 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:36.893Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:37.749Z] ---> package-listing.sh [2023-04-11T18:59:37.750Z] ++ facter osfamily [2023-04-11T18:59:37.750Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-11T18:59:38.009Z] + OS_FAMILY=debian [2023-04-11T18:59:38.009Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-04-11T18:59:38.009Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-11T18:59:38.009Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-11T18:59:38.009Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-11T18:59:38.009Z] + PACKAGES=/tmp/packages_start.txt [2023-04-11T18:59:38.009Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-04-11T18:59:38.009Z] + PACKAGES=/tmp/packages_end.txt [2023-04-11T18:59:38.009Z] + case "${OS_FAMILY}" in [2023-04-11T18:59:38.009Z] + dpkg -l [2023-04-11T18:59:38.009Z] + grep '^ii' [2023-04-11T18:59:38.009Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-11T18:59:38.009Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-11T18:59:38.009Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-11T18:59:38.009Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-04-11T18:59:38.009Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-04-11T18:59:38.009Z] + 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-04-11T18:59:38.021Z] 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-04-11T18:59:38.299Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-11T18:59:38.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-11T18:59:38.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-11T18:59:38.926Z] prd-ubuntu20.04-docker-8c-8g-7428 does not seem to be running inside a container [2023-04-11T18:59:38.960Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-11T18:59:39.151Z] $ docker top 3bd1b734f4ad226685e769ddd3cd2d16c1e346fcb534fc2f6b335118f6529642 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-11T18:59:39.489Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-11T18:59:39.776Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-11T18:59:40.062Z] + ls /var/log/sa-host [2023-04-11T18:59:40.062Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-11T18:59:40.205Z] provisioning config files... [2023-04-11T18:59:40.214Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config9869515773081547711tmp [Pipeline] { [Pipeline] echo [2023-04-11T18:59:40.227Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:40.508Z] ---> create-netrc.sh [Pipeline] } [2023-04-11T18:59:40.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:40.839Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-11T18:59:40.847Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:41.131Z] ---> sudo-logs.sh [2023-04-11T18:59:41.131Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-11T18:59:41.160Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:41.443Z] ---> job-cost.sh [2023-04-11T18:59:41.443Z] lf-activate-venv: SKIPPING [2023-04-11T18:59:41.443Z] DEBUG: total: 0.2199999988079071 [2023-04-11T18:59:41.443Z] INFO: Retrieving Stack Cost... [2023-04-11T18:59:41.703Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-11T18:59:41.963Z] INFO: Archiving Costs [Pipeline] echo [2023-04-11T18:59:41.975Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-11T18:59:42.259Z] ---> logs-deploy.sh [2023-04-11T18:59:42.259Z] lf-activate-venv: SKIPPING [2023-04-11T18:59:42.259Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/5 [2023-04-11T18:59:42.259Z] INFO: archiving workspace using pattern(s): [2023-04-11T18:59:43.196Z] Archives upload complete. [2023-04-11T18:59:43.196Z] INFO: archiving logs to Nexus