Pull request #445 updated 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 21f79343dd353c602474ef88d38fd1373f48e545 rather than 2294d3594a1bcce90987af53f82306b5b24beb7b Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 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-ssh1021799442054303044.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9394283153729816315.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1391777427094170581.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6381129307711324572.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9840114677078680387.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-8091 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [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-445 # 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2294d3594a1bcce90987af53f82306b5b24beb7b Merge succeeded, producing 2294d3594a1bcce90987af53f82306b5b24beb7b Checking out Revision 2294d3594a1bcce90987af53f82306b5b24beb7b (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f 2294d3594a1bcce90987af53f82306b5b24beb7b # 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 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2294d3594a1bcce90987af53f82306b5b24beb7b # timeout=10 Commit message: "Signed-off-by: Tuhin Dasgupta TuhinDasgupta@eaton.com" > git rev-list --no-walk d587d561b5ac6e47fe1a9a667e56db75e4a2ebc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:43:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:43:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:43:47 ========================================================= 13:43:47 EdgeX Global Pipelines Version Info 13:43:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:43:48 ------------------- 13:43:48 stable info: 13:43:48 ------------------- 13:43:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:43:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:43:48 Message: update stable to v1.0.244 13:43:48 ------------------- 13:43:48 experimental info: 13:43:48 ------------------- 13:43:48 Commited By: **** collab-it+edgex@linuxfoundation.org 13:43:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:43:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2294d3594a1bcce90987af53f82306b5b24beb7b [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2294d35 [Pipeline] echo 13:43:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:43:49 provisioning config files... 13:43:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config18398415347759900029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:43:49 ---> docker-login.sh 13:43:49 nexus3.edgexfoundry.org:10001 13:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:49 Configure a credential helper to remove this warning. See 13:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:49 13:43:49 Login Succeeded 13:43:49 nexus3.edgexfoundry.org:10002 13:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:50 Configure a credential helper to remove this warning. See 13:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:50 13:43:50 Login Succeeded 13:43:50 nexus3.edgexfoundry.org:10003 13:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:50 Configure a credential helper to remove this warning. See 13:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:50 13:43:50 Login Succeeded 13:43:50 nexus3.edgexfoundry.org:10004 13:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:50 Configure a credential helper to remove this warning. See 13:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:50 13:43:50 Login Succeeded 13:43:50 docker.io 13:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:43:50 Configure a credential helper to remove this warning. See 13:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:43:50 13:43:50 Login Succeeded 13:43:50 ---> docker-login.sh ends [Pipeline] } 13:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:43:50 + git rev-list -1 --merges 2294d3594a1bcce90987af53f82306b5b24beb7b~1..2294d3594a1bcce90987af53f82306b5b24beb7b [Pipeline] echo 13:43:50 -----------> git rev-list -1 --merges 2294d3594a1bcce90987af53f82306b5b24beb7b~1..2294d3594a1bcce90987af53f82306b5b24beb7b 2294d3594a1bcce90987af53f82306b5b24beb7b [false] [Pipeline] sh 13:43:51 + git log --format=format:%s -1 2294d3594a1bcce90987af53f82306b5b24beb7b [Pipeline] echo 13:43:51 ========================================================= 13:43:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:43:51 ========================================================= 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 13:43:51 + git rev-list -1 --merges 2294d3594a1bcce90987af53f82306b5b24beb7b~1..2294d3594a1bcce90987af53f82306b5b24beb7b [Pipeline] echo 13:43:51 -----------> git rev-list -1 --merges 2294d3594a1bcce90987af53f82306b5b24beb7b~1..2294d3594a1bcce90987af53f82306b5b24beb7b 2294d3594a1bcce90987af53f82306b5b24beb7b [false] [Pipeline] sh 13:43:51 + git log --format=format:%s -1 2294d3594a1bcce90987af53f82306b5b24beb7b [Pipeline] echo 13:43:51 ========================================================= 13:43:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:43:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:43:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:43:52 + grep -v github /etc/ssh/ssh_known_hosts 13:43:52 + [ -e /tmp/ssh_known_hosts ] 13:43:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:43:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:43:52 + sudo tee -a /etc/ssh/ssh_known_hosts 13:43:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:43:52 13:43:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:43:52 0.1.4: Pulling from edgex-devops/py-git-semver 13:43:52 b85a868b505f: Pulling fs layer 13:43:52 e2be974225ed: Pulling fs layer 13:43:52 339a4e72a1f5: Pulling fs layer 13:43:52 988bab9f4d93: Pulling fs layer 13:43:52 1469e6f7b9e6: Pulling fs layer 13:43:52 eaf3925da568: Pulling fs layer 13:43:52 bab4dde63d76: Pulling fs layer 13:43:52 bde34c3a00c8: Pulling fs layer 13:43:52 b352a97aabf1: Pulling fs layer 13:43:52 4872d77fe225: Pulling fs layer 13:43:52 5851b861e8e6: Pulling fs layer 13:43:52 bab4dde63d76: Waiting 13:43:52 bde34c3a00c8: Waiting 13:43:52 1469e6f7b9e6: Waiting 13:43:52 b352a97aabf1: Waiting 13:43:52 988bab9f4d93: Waiting 13:43:52 eaf3925da568: Waiting 13:43:52 4872d77fe225: Waiting 13:43:52 5851b861e8e6: Waiting 13:43:53 e2be974225ed: Download complete 13:43:53 988bab9f4d93: Verifying Checksum 13:43:53 988bab9f4d93: Download complete 13:43:53 1469e6f7b9e6: Verifying Checksum 13:43:53 1469e6f7b9e6: Download complete 13:43:53 eaf3925da568: Download complete 13:43:53 339a4e72a1f5: Verifying Checksum 13:43:53 339a4e72a1f5: Download complete 13:43:53 bde34c3a00c8: Verifying Checksum 13:43:53 b352a97aabf1: Download complete 13:43:53 4872d77fe225: Verifying Checksum 13:43:53 4872d77fe225: Download complete 13:43:53 5851b861e8e6: Download complete 13:43:53 b85a868b505f: Download complete 13:43:53 bab4dde63d76: Verifying Checksum 13:43:53 bab4dde63d76: Download complete 13:43:54 b85a868b505f: Pull complete 13:43:54 e2be974225ed: Pull complete 13:43:55 339a4e72a1f5: Pull complete 13:43:55 988bab9f4d93: Pull complete 13:43:56 1469e6f7b9e6: Pull complete 13:43:56 eaf3925da568: Pull complete 13:43:58 bab4dde63d76: Pull complete 13:43:58 bde34c3a00c8: Pull complete 13:43:58 b352a97aabf1: Pull complete 13:43:58 4872d77fe225: Pull complete 13:43:58 5851b861e8e6: Pull complete 13:43:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:43:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:43:58 prd-ubuntu20.04-docker-8c-8g-8091 does not seem to be running inside a container 13:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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 13:44:03 $ docker top bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 -eo pid,comm 13:44:03 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). 13:44:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:44:03 [ssh-agent] Looking for ssh-agent implementation... 13:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:03 $ docker exec bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 ssh-agent 13:44:03 SSH_AUTH_SOCK=/tmp/ssh-bITbEtWdYebV/agent.33 13:44:03 SSH_AGENT_PID=39 13:44:03 Running ssh-add (command line suppressed) 13:44:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15177558176614414539.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15177558176614414539.key) 13:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:03 + git tag --points-at HEAD [Pipeline] } 13:44:03 $ docker exec --env ******** --env ******** bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 ssh-agent -k 13:44:03 unset SSH_AUTH_SOCK; 13:44:03 unset SSH_AGENT_PID; 13:44:03 echo Agent pid 39 killed; 13:44:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:44:03 [ssh-agent] Looking for ssh-agent implementation... 13:44:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:04 $ docker exec bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 ssh-agent 13:44:04 SSH_AUTH_SOCK=/tmp/ssh-ewEy5KiRfJ1a/agent.71 13:44:04 SSH_AGENT_PID=77 13:44:04 Running ssh-add (command line suppressed) 13:44:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_12997516693218052994.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_12997516693218052994.key) 13:44:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:04 + git semver init 13:44:05 2023-03-02 13:44:04,897 [run_init] DEBUG init version:0.0.0 force:False 13:44:05 2023-03-02 13:44:04,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver 13:44:05 2023-03-02 13:44:04,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver 13:44:05 2023-03-02 13:44:04,900 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445, universal_newlines=False, shell=None, istream=None) 13:44:06 2023-03-02 13:44:05,859 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude 13:44:06 2023-03-02 13:44:05,860 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 with force:False 13:44:06 2023-03-02 13:44:05,860 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 13:44:06 2023-03-02 13:44:05,866 [execute] INFO git cat-file --batch-check 13:44:06 2023-03-02 13:44:05,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) 13:44:06 2023-03-02 13:44:05,875 [execute] INFO git cat-file --batch 13:44:06 2023-03-02 13:44:05,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) 13:44:06 2023-03-02 13:44:05,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 13:44:06 0.0.0 [Pipeline] } 13:44:06 $ docker exec --env ******** --env ******** bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 ssh-agent -k 13:44:06 unset SSH_AUTH_SOCK; 13:44:06 unset SSH_AGENT_PID; 13:44:06 echo Agent pid 77 killed; 13:44:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:44:06 + git semver [Pipeline] } 13:44:06 $ docker stop --time=1 bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 13:44:08 $ docker rm -f --volumes bb3ee2ab9a4d6fa6b4f6a5073f237b976a8b29b22fbfb2e6466a72a3890b20f6 [Pipeline] // withDockerContainer [Pipeline] sh 13:44:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:44:09 Stashed 1 file(s) [Pipeline] echo 13:44:09 [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 13:44:09 provisioning config files... 13:44:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config7740821853939961262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:09 ---> docker-login.sh 13:44:09 nexus3.edgexfoundry.org:10001 13:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:09 Configure a credential helper to remove this warning. See 13:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:09 13:44:09 Login Succeeded 13:44:09 nexus3.edgexfoundry.org:10002 13:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:09 Configure a credential helper to remove this warning. See 13:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:09 13:44:09 Login Succeeded 13:44:09 nexus3.edgexfoundry.org:10003 13:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:09 Configure a credential helper to remove this warning. See 13:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:09 13:44:09 Login Succeeded 13:44:09 nexus3.edgexfoundry.org:10004 13:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:09 Configure a credential helper to remove this warning. See 13:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:09 13:44:09 Login Succeeded 13:44:09 docker.io 13:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:10 Configure a credential helper to remove this warning. See 13:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:10 13:44:10 Login Succeeded 13:44:10 ---> docker-login.sh ends [Pipeline] } 13:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:44:10 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:44:10 ========================================================= 13:44:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:44:10 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:44:10 + 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 . 13:44:10 Sending build context to Docker daemon 4.798MB 13:44:10 Step 1/21 : ARG BASE=alpine:3.16 13:44:10 Step 2/21 : FROM ${BASE} as builder 13:44:10 latest: Pulling from edgex-devops/edgex-gcc-base 13:44:10 213ec9aee27d: Pulling fs layer 13:44:10 0f09ad1b1b37: Pulling fs layer 13:44:10 213ec9aee27d: Verifying Checksum 13:44:10 213ec9aee27d: Download complete 13:44:10 213ec9aee27d: Pull complete 13:44:11 0f09ad1b1b37: Verifying Checksum 13:44:11 0f09ad1b1b37: Download complete 13:44:13 0f09ad1b1b37: Pull complete 13:44:13 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 13:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:44:13 ---> b2bbfebb3566 13:44:13 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 13:44:16 ---> Running in 89831d3f438a 13:44:16 Connecting to iotech.jfrog.io (34.246.125.234:443) 13:44:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:44:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:44:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:44:17 Removing intermediate container 89831d3f438a 13:44:17 ---> d0565ce5004e 13:44:17 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 13:44:17 ---> Running in f9cfb47b553e 13:44:18 Removing intermediate container f9cfb47b553e 13:44:18 ---> bfc64a1f97b6 13:44:18 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.4-dev hiredis-dev 13:44:18 ---> Running in 32418b702c25 13:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:44:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 13:44:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:44:19 (1/14) Installing hiredis (1.0.2-r0) 13:44:19 (2/14) Installing hiredis-dev (1.0.2-r0) 13:44:19 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 13:44:20 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 13:44:20 (5/14) Installing libcbor (0.9.0-r1) 13:44:20 (6/14) Installing libcbor-dev (0.9.0-r1) 13:44:20 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 13:44:20 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 13:44:21 (9/14) Installing libblkid (2.38-r1) 13:44:21 (10/14) Installing libuuid (2.38-r1) 13:44:21 (11/14) Installing libfdisk (2.38-r1) 13:44:21 (12/14) Installing libmount (2.38-r1) 13:44:21 (13/14) Installing libsmartcols (2.38-r1) 13:44:21 (14/14) Installing util-linux-dev (2.38-r1) 13:44:21 Executing busybox-1.35.0-r17.trigger 13:44:21 OK: 280 MiB in 90 packages 13:44:22 Removing intermediate container 32418b702c25 13:44:22 ---> 309a375a124e 13:44:22 Step 6/21 : RUN mkdir /tmp/sdk 13:44:22 ---> Running in 83df80244700 13:44:23 Removing intermediate container 83df80244700 13:44:23 ---> e49e1ae413e7 13:44:23 Step 7/21 : COPY VERSION /tmp/sdk 13:44:23 ---> 33337808b8b5 13:44:23 Step 8/21 : COPY src /tmp/sdk/src 13:44:23 ---> db20d2906e6e 13:44:23 Step 9/21 : COPY include /tmp/sdk/include 13:44:23 ---> 365d540db880 13:44:23 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:44:23 ---> 449e6981980a 13:44:23 Step 11/21 : COPY LICENSE /tmp/sdk 13:44:23 ---> b64c90c93a38 13:44:23 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:44:24 ---> 519411e1f95e 13:44:24 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:44:24 ---> Running in 92855d66637f 13:44:24 Still waiting to schedule task 13:44:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:44:24 + CPPCHECK=false 13:44:24 + DOCGEN=false 13:44:24 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:44:24 + TOMLVER=SDK-0.2 13:44:24 + CUTILVER=1.4 13:44:24 + '[' 0 -gt 0 ] 13:44:24 + readlink -f ./scripts/build.sh 13:44:24 + dirname /tmp/sdk/scripts/build.sh 13:44:24 + dirname /tmp/sdk/scripts 13:44:24 + ROOT=/tmp/sdk 13:44:24 + cd /tmp/sdk 13:44:24 + '[' '!' -d deps ] 13:44:24 + mkdir deps 13:44:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:44:24 + tar -C deps -z -x -f - 13:44:24 Connecting to github.com (140.82.112.3:443) 13:44:24 Connecting to codeload.github.com (140.82.113.10:443) 13:44:24 writing to stdout 13:44:24 - 100% |********************************| 16451 0:00:00 ETA 13:44:24 written to stdout 13:44:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:44:24 + mkdir -p /tmp/sdk/build/release 13:44:24 + cd /tmp/sdk/build/release 13:44:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:44:24 -- The C compiler identification is GNU 11.2.1 13:44:24 -- Detecting C compiler ABI info 13:44:25 -- Detecting C compiler ABI info - done 13:44:25 -- Check for working C compiler: /usr/bin/cc - skipped 13:44:25 -- Detecting C compile features 13:44:25 -- Detecting C compile features - done 13:44:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:44:25 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 13:44:25 -- Found LIBYAML: /usr/lib/libyaml.so 13:44:25 -- Found LIBUUID: /usr/lib/libuuid.so 13:44:25 -- Found LIBCBOR: /usr/lib/libcbor.so 13:44:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:44:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:44:25 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 13:44:25 -- /opt/iotech/iot/1.4/include 13:44:25 -- C SDK 0.0.0 for Linux 13:44:25 -- Performing Test CSDK_HAVE_ATOMIC 13:44:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:44:25 -- Found Curses: /usr/lib/libcurses.so 13:44:25 -- Configuring done 13:44:25 -- Generating done 13:44:25 -- Build files have been written to: /tmp/sdk/build/release 13:44:25 + make all package 13:44:25 + tee release.log 13:44:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:44:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:44:25 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:44:25 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:44:26 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:44:26 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:44:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:44:26 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:44:27 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:44:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:44:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:44:27 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:44:27 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:44:27 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:44:27 | ^ 13:44:27 | ; 13:44:27 104 | if (result) 13:44:27 | ~~ 13:44:27 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:44:27 91 | bool result = false; 13:44:27 | ^~~~~~ 13:44:27 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:44:27 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:44:27 make: *** [Makefile:156: all] Error 2 13:44:27 + '[' false '=' true ] 13:44:27 + '[' false '=' true ] 13:44:27 + mkdir -p /tmp/sdk/build/debug 13:44:27 + cd /tmp/sdk/build/debug 13:44:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:44:27 -- The C compiler identification is GNU 11.2.1 13:44:27 -- Detecting C compiler ABI info 13:44:27 -- Detecting C compiler ABI info - done 13:44:27 -- Check for working C compiler: /usr/bin/cc - skipped 13:44:27 -- Detecting C compile features 13:44:27 -- Detecting C compile features - done 13:44:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:44:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 13:44:27 -- Found LIBYAML: /usr/lib/libyaml.so 13:44:27 -- Found LIBUUID: /usr/lib/libuuid.so 13:44:27 -- Found LIBCBOR: /usr/lib/libcbor.so 13:44:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:44:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:44:27 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 13:44:27 -- /opt/iotech/iot/1.4/include 13:44:27 -- C SDK 0.0.0 for Linux 13:44:27 -- Performing Test CSDK_HAVE_ATOMIC 13:44:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:44:27 -- Found Curses: /usr/lib/libcurses.so 13:44:27 -- Configuring done 13:44:27 -- Generating done 13:44:27 -- Build files have been written to: /tmp/sdk/build/debug 13:44:27 + make 13:44:27 + tee debug.log 13:44:27 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:44:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:44:28 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:44:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:44:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:44:28 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:44:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:44:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:44:28 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:44:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:44:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:44:28 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:44:28 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:44:28 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:44:28 | ^ 13:44:28 | ; 13:44:28 104 | if (result) 13:44:28 | ~~ 13:44:28 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:44:28 91 | bool result = false; 13:44:28 | ^~~~~~ 13:44:28 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:44:28 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:44:28 make: *** [Makefile:156: all] Error 2 13:44:28 make: Entering directory '/tmp/sdk/build/release' 13:44:28 make[1]: Entering directory '/tmp/sdk/build/release' 13:44:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:28 Consolidate compiler generated dependencies of target csdk 13:44:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:28 make[2]: Entering directory '/tmp/sdk/build/release' 13:44:28 [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:44:28 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:44:28 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:44:28 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:44:28 | ^ 13:44:28 | ; 13:44:28 104 | if (result) 13:44:28 | ~~ 13:44:28 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:44:28 91 | bool result = false; 13:44:28 | ^~~~~~ 13:44:28 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:44:28 make[2]: Leaving directory '/tmp/sdk/build/release' 13:44:28 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:44:28 make[1]: Leaving directory '/tmp/sdk/build/release' 13:44:28 make: *** [Makefile:156: all] Error 2 13:44:28 make: Leaving directory '/tmp/sdk/build/release' 13:44:29 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 13:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:44:29 13:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:44:29 latest: Pulling from edgex-lftools-log-publisher 13:44:29 5eb5b503b376: Pulling fs layer 13:44:29 5c69ac0246d0: Pulling fs layer 13:44:29 ec43610c2a17: Pulling fs layer 13:44:29 3a2ae6a8a46f: Pulling fs layer 13:44:29 33b1e0a273af: Pulling fs layer 13:44:29 5d3b04190fa2: Pulling fs layer 13:44:29 2f39f015ded8: Pulling fs layer 13:44:29 3a2ae6a8a46f: Waiting 13:44:29 33b1e0a273af: Waiting 13:44:29 5d3b04190fa2: Waiting 13:44:29 2f39f015ded8: Waiting 13:44:29 5c69ac0246d0: Verifying Checksum 13:44:29 5c69ac0246d0: Download complete 13:44:29 3a2ae6a8a46f: Download complete 13:44:30 33b1e0a273af: Verifying Checksum 13:44:30 33b1e0a273af: Download complete 13:44:30 ec43610c2a17: Verifying Checksum 13:44:30 ec43610c2a17: Download complete 13:44:30 5d3b04190fa2: Download complete 13:44:30 5eb5b503b376: Verifying Checksum 13:44:30 5eb5b503b376: Download complete 13:44:30 2f39f015ded8: Verifying Checksum 13:44:30 2f39f015ded8: Download complete 13:44:31 5eb5b503b376: Pull complete 13:44:31 5c69ac0246d0: Pull complete 13:44:31 ec43610c2a17: Pull complete 13:44:32 3a2ae6a8a46f: Pull complete 13:44:32 33b1e0a273af: Pull complete 13:44:32 5d3b04190fa2: Pull complete 13:44:36 2f39f015ded8: Pull complete 13:44:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:44:36 prd-ubuntu20.04-docker-8c-8g-8091 does not seem to be running inside a container 13:44:36 $ 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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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 13:44:41 $ docker top f48228236ed4af16111e3346e92f178084b365f20f73f398b17d9689c9607609 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:41 ---> job-cost.sh 13:44:41 lf-activate-venv: SKIPPING 13:44:41 INFO: No Stack... 13:44:41 INFO: Retrieving Pricing Info for: v3-standard-8 13:44:42 INFO: Archiving Costs [Pipeline] sh 13:44:42 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv 13:44:42 + cut -d, -f6 [Pipeline] lock 13:44:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] 13:44:42 Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] did not exist. Created. 13:44:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:44:42 + echo total: 0.2199999988079071 [Pipeline] stash 13:44:42 Stashed 1 file(s) [Pipeline] } 13:44:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:44:42 $ docker stop --time=1 f48228236ed4af16111e3346e92f178084b365f20f73f398b17d9689c9607609 13:44:43 $ docker rm -f --volumes f48228236ed4af16111e3346e92f178084b365f20f73f398b17d9689c9607609 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:44:44 Failed in branch amd64 13:45:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8092 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws 13:45:47 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 13:45:47 Selected Git installation does not exist. Using Default 13:45:47 The recommended git tool is: NONE 13:45:53 using credential edgex-jenkins-ssh 13:45:53 Cloning the remote Git repository 13:45:53 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:45:53 > git init /w/workspace/device-sdk-c/3 # timeout=10 13:45:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:45:53 > git --version # timeout=10 13:45:53 > git --version # 'git version 2.25.1' 13:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:45:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:45:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:45:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:45:56 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 2294d3594a1bcce90987af53f82306b5b24beb7b 13:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:45:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:45:56 > git config core.sparsecheckout # timeout=10 13:45:56 Merge succeeded, producing 2294d3594a1bcce90987af53f82306b5b24beb7b 13:45:56 Checking out Revision 2294d3594a1bcce90987af53f82306b5b24beb7b (PR-445) 13:45:56 > git checkout -f 2294d3594a1bcce90987af53f82306b5b24beb7b # timeout=10 13:45:56 > git remote # timeout=10 13:45:56 > git config --get remote.origin.url # timeout=10 13:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:45:56 > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 13:45:56 > git rev-parse HEAD^{commit} # timeout=10 13:45:56 > git config core.sparsecheckout # timeout=10 13:45:56 > git checkout -f 2294d3594a1bcce90987af53f82306b5b24beb7b # timeout=10 13:46:00 Commit message: "Signed-off-by: Tuhin Dasgupta TuhinDasgupta@eaton.com" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:46:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:46:01 % Total % Received % Xferd Average Speed Time Time Time Current 13:46:01 Dload Upload Total Spent Left Speed 13:46:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 69677 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69298 [Pipeline] sh 13:46:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:46:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:46:02 + sudo tee /etc/docker/daemon.new 13:46:02 { 13:46:02 "registry-mirrors": [ 13:46:02 "https://nexus3.edgexfoundry.org:10001" 13:46:02 ], 13:46:02 "bip": "10.250.0.254/24", 13:46:02 "hosts": [ 13:46:02 "tcp://0.0.0.0:5555", 13:46:02 "unix:///var/run/docker.sock" 13:46:02 ], 13:46:02 "mtu": 1458, 13:46:02 "selinux-enabled": true, 13:46:02 "seccomp-profile": "/etc/docker/seccomp.json" 13:46:02 } [Pipeline] sh 13:46:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:46:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:46:21 provisioning config files... 13:46:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config7238360678899870594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:21 ---> docker-login.sh 13:46:21 nexus3.edgexfoundry.org:10001 13:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:22 Configure a credential helper to remove this warning. See 13:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:22 13:46:22 Login Succeeded 13:46:22 nexus3.edgexfoundry.org:10002 13:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:22 Configure a credential helper to remove this warning. See 13:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:22 13:46:22 Login Succeeded 13:46:22 nexus3.edgexfoundry.org:10003 13:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:23 Configure a credential helper to remove this warning. See 13:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:23 13:46:23 Login Succeeded 13:46:23 nexus3.edgexfoundry.org:10004 13:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:23 Configure a credential helper to remove this warning. See 13:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:23 13:46:23 Login Succeeded 13:46:23 docker.io 13:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:46:24 Configure a credential helper to remove this warning. See 13:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:46:24 13:46:24 Login Succeeded 13:46:24 ---> docker-login.sh ends [Pipeline] } 13:46:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:46:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:46:24 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:46:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:46:24 ========================================================= 13:46:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:46:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:24 + 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 . 13:46:25 Sending build context to Docker daemon 2.919MB 13:46:25 Step 1/21 : ARG BASE=alpine:3.16 13:46:25 Step 2/21 : FROM ${BASE} as builder 13:46:25 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:46:25 9b18e9b68314: Pulling fs layer 13:46:25 1def92ead452: Pulling fs layer 13:46:25 9b18e9b68314: Verifying Checksum 13:46:25 9b18e9b68314: Download complete 13:46:25 9b18e9b68314: Pull complete 13:46:27 1def92ead452: Verifying Checksum 13:46:27 1def92ead452: Download complete 13:46:36 1def92ead452: Pull complete 13:46:36 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 13:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:46:36 ---> 9a9802766715 13:46:36 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 13:46:36 ---> Running in cb0f1e28d6b4 13:46:37 Connecting to iotech.jfrog.io (52.210.67.150:443) 13:46:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:46:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:46:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:46:38 Removing intermediate container cb0f1e28d6b4 13:46:38 ---> 678f0424ac7e 13:46:38 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 13:46:38 ---> Running in edcb026fb011 13:46:40 Removing intermediate container edcb026fb011 13:46:40 ---> 2c28bd59d153 13:46:40 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.4-dev hiredis-dev 13:46:40 ---> Running in 23077b856aaf 13:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:46:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:46:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 13:46:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:46:43 (1/14) Installing hiredis (1.0.2-r0) 13:46:43 (2/14) Installing hiredis-dev (1.0.2-r0) 13:46:43 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 13:46:43 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 13:46:44 (5/14) Installing libcbor (0.9.0-r1) 13:46:44 (6/14) Installing libcbor-dev (0.9.0-r1) 13:46:44 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 13:46:44 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 13:46:45 (9/14) Installing libblkid (2.38-r1) 13:46:45 (10/14) Installing libuuid (2.38-r1) 13:46:45 (11/14) Installing libfdisk (2.38-r1) 13:46:45 (12/14) Installing libmount (2.38-r1) 13:46:45 (13/14) Installing libsmartcols (2.38-r1) 13:46:45 (14/14) Installing util-linux-dev (2.38-r1) 13:46:45 Executing busybox-1.35.0-r17.trigger 13:46:45 OK: 286 MiB in 90 packages 13:46:46 Removing intermediate container 23077b856aaf 13:46:46 ---> d210ce5c58be 13:46:46 Step 6/21 : RUN mkdir /tmp/sdk 13:46:46 ---> Running in 5bd3b9e46553 13:46:47 Removing intermediate container 5bd3b9e46553 13:46:47 ---> a8f1a55fa841 13:46:47 Step 7/21 : COPY VERSION /tmp/sdk 13:46:51 ---> 9e454a6d72f9 13:46:51 Step 8/21 : COPY src /tmp/sdk/src 13:46:51 ---> 0ec363c263f3 13:46:51 Step 9/21 : COPY include /tmp/sdk/include 13:46:52 ---> a4443acc47d0 13:46:52 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:46:52 ---> 1798780fca9b 13:46:52 Step 11/21 : COPY LICENSE /tmp/sdk 13:46:53 ---> 37a39fc8f60a 13:46:53 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:46:53 ---> e68545adc3c1 13:46:53 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:46:53 ---> Running in 13faec946294 13:46:54 + CPPCHECK=false 13:46:54 + DOCGEN=false 13:46:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:46:54 + TOMLVER=SDK-0.2 13:46:54 + CUTILVER=1.4 13:46:54 + '[' 0 -gt 0 ] 13:46:54 + readlink -f ./scripts/build.sh 13:46:54 + dirname /tmp/sdk/scripts/build.sh 13:46:54 + dirname /tmp/sdk/scripts 13:46:54 + ROOT=/tmp/sdk 13:46:54 + cd /tmp/sdk 13:46:54 + '[' '!' -d deps ] 13:46:54 + mkdir deps 13:46:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:46:54 + tar -C deps -z -x -f - 13:46:54 Connecting to github.com (140.82.112.3:443) 13:46:55 Connecting to codeload.github.com (140.82.113.10:443) 13:46:55 writing to stdout 13:46:55 - 100% |********************************| 16451 0:00:00 ETA 13:46:55 written to stdout 13:46:55 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:46:55 + mkdir -p /tmp/sdk/build/release 13:46:55 + cd /tmp/sdk/build/release 13:46:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:46:55 -- The C compiler identification is GNU 11.2.1 13:46:55 -- Detecting C compiler ABI info 13:46:56 -- Detecting C compiler ABI info - done 13:46:56 -- Check for working C compiler: /usr/bin/cc - skipped 13:46:56 -- Detecting C compile features 13:46:56 -- Detecting C compile features - done 13:46:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:46:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 13:46:56 -- Found LIBYAML: /usr/lib/libyaml.so 13:46:56 -- Found LIBUUID: /usr/lib/libuuid.so 13:46:56 -- Found LIBCBOR: /usr/lib/libcbor.so 13:46:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:46:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:46:56 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 13:46:56 -- /opt/iotech/iot/1.4/include 13:46:56 -- C SDK 0.0.0 for Linux 13:46:56 -- Performing Test CSDK_HAVE_ATOMIC 13:46:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:46:56 -- Found Curses: /usr/lib/libcurses.so 13:46:57 -- Configuring done 13:46:57 -- Generating done 13:46:57 -- Build files have been written to: /tmp/sdk/build/release 13:46:57 + + teemake release.log all 13:46:57 package 13:46:57 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:46:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:46:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:47:02 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:47:02 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:47:03 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:47:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:47:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:47:07 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:47:09 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:47:09 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:47:09 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:47:09 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:47:09 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:47:09 | ^ 13:47:09 | ; 13:47:09 104 | if (result) 13:47:09 | ~~ 13:47:09 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:47:09 91 | bool result = false; 13:47:09 | ^~~~~~ 13:47:09 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:47:09 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:47:09 make: *** [Makefile:156: all] Error 2 13:47:09 + '[' false '=' true ] 13:47:09 + '[' false '=' true ] 13:47:09 + mkdir -p /tmp/sdk/build/debug 13:47:09 + cd /tmp/sdk/build/debug 13:47:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:47:10 -- The C compiler identification is GNU 11.2.1 13:47:10 -- Detecting C compiler ABI info 13:47:10 -- Detecting C compiler ABI info - done 13:47:10 -- Check for working C compiler: /usr/bin/cc - skipped 13:47:10 -- Detecting C compile features 13:47:10 -- Detecting C compile features - done 13:47:10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:47:11 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 13:47:11 -- Found LIBYAML: /usr/lib/libyaml.so 13:47:11 -- Found LIBUUID: /usr/lib/libuuid.so 13:47:11 -- Found LIBCBOR: /usr/lib/libcbor.so 13:47:11 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:47:11 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:47:11 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 13:47:11 -- /opt/iotech/iot/1.4/include 13:47:11 -- C SDK 0.0.0 for Linux 13:47:11 -- Performing Test CSDK_HAVE_ATOMIC 13:47:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:47:11 -- Found Curses: /usr/lib/libcurses.so 13:47:11 -- Configuring done 13:47:11 -- Generating done 13:47:11 -- Build files have been written to: /tmp/sdk/build/debug 13:47:12 + make 13:47:12 + tee debug.log 13:47:12 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:47:12 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:47:13 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:47:13 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:47:14 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:47:14 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:47:15 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:47:15 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:47:16 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:47:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:47:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:47:17 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:47:17 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:47:17 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:47:17 | ^ 13:47:17 | ; 13:47:17 104 | if (result) 13:47:17 | ~~ 13:47:17 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:47:17 91 | bool result = false; 13:47:17 | ^~~~~~ 13:47:17 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:47:17 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:47:17 make: *** [Makefile:156: all] Error 2 13:47:17 make: Entering directory '/tmp/sdk/build/release' 13:47:17 make[1]: Entering directory '/tmp/sdk/build/release' 13:47:17 make[2]: Entering directory '/tmp/sdk/build/release' 13:47:17 Consolidate compiler generated dependencies of target csdk 13:47:17 make[2]: Leaving directory '/tmp/sdk/build/release' 13:47:17 make[2]: Entering directory '/tmp/sdk/build/release' 13:47:17 [ 2%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:47:17 /tmp/sdk/src/c/devmap.c: In function 'add_locked': 13:47:17 /tmp/sdk/src/c/devmap.c:103:74: error: expected ';' before 'if' 13:47:17 103 | result = search_devsdk_new_device (map->svc->add_device_new, dup->name) 13:47:17 | ^ 13:47:17 | ; 13:47:17 104 | if (result) 13:47:17 | ~~ 13:47:17 /tmp/sdk/src/c/devmap.c:91:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] 13:47:17 91 | bool result = false; 13:47:17 | ^~~~~~ 13:47:17 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:216: c/CMakeFiles/csdk.dir/devmap.c.o] Error 1 13:47:17 make[2]: Leaving directory '/tmp/sdk/build/release' 13:47:17 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 13:47:17 make[1]: Leaving directory '/tmp/sdk/build/release' 13:47:17 make: *** [Makefile:156: all] Error 2 13:47:17 make: Leaving directory '/tmp/sdk/build/release' 13:47:18 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 13:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:19 13:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:19 arm64: Pulling from edgex-lftools-log-publisher 13:47:19 8998bd30e6a1: Pulling fs layer 13:47:19 04944245beec: Pulling fs layer 13:47:19 699f458cf7ca: Pulling fs layer 13:47:19 765212b225bb: Pulling fs layer 13:47:19 f23df028b6ca: Pulling fs layer 13:47:19 d65c8cfc05b1: Pulling fs layer 13:47:19 2437ff75d9bd: Pulling fs layer 13:47:19 f23df028b6ca: Waiting 13:47:19 d65c8cfc05b1: Waiting 13:47:19 2437ff75d9bd: Waiting 13:47:19 765212b225bb: Waiting 13:47:19 04944245beec: Verifying Checksum 13:47:19 04944245beec: Download complete 13:47:19 765212b225bb: Verifying Checksum 13:47:19 765212b225bb: Download complete 13:47:19 f23df028b6ca: Download complete 13:47:19 d65c8cfc05b1: Verifying Checksum 13:47:19 d65c8cfc05b1: Download complete 13:47:19 699f458cf7ca: Verifying Checksum 13:47:19 699f458cf7ca: Download complete 13:47:20 8998bd30e6a1: Verifying Checksum 13:47:20 8998bd30e6a1: Download complete 13:47:22 2437ff75d9bd: Verifying Checksum 13:47:22 2437ff75d9bd: Download complete 13:47:24 8998bd30e6a1: Pull complete 13:47:24 04944245beec: Pull complete 13:47:25 699f458cf7ca: Pull complete 13:47:25 765212b225bb: Pull complete 13:47:26 f23df028b6ca: Pull complete 13:47:26 d65c8cfc05b1: Pull complete 13:47:41 2437ff75d9bd: Pull complete 13:47:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:42 prd-ubuntu20.04-docker-arm64-4c-16g-8092 does not seem to be running inside a container 13:47:42 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 13:47:44 $ docker top 13c53386d76e81782f19041d929cd3115aa3254a63042ac7de129a5d202c69a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:47:45 ---> job-cost.sh 13:47:45 lf-activate-venv: SKIPPING 13:47:45 INFO: No Stack... 13:47:45 INFO: Retrieving Pricing Info for: v3-standard-4 13:47:46 INFO: Archiving Costs [Pipeline] sh 13:47:46 + + cut -d,cat -f6 /w/workspace/device-sdk-c/3/archives/cost.csv 13:47:46 [Pipeline] lock 13:47:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] 13:47:47 Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] did not exist. Created. 13:47:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:47:47 /w/workspace/device-sdk-c/3@tmp/durable-4f47400f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:47:47 + echo total: 0.10999999940395355 [Pipeline] stash 13:47:47 Warning: overwriting stash ‘stack-cost’ 13:47:48 Stashed 1 file(s) [Pipeline] } 13:47:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:47:48 $ docker stop --time=1 13c53386d76e81782f19041d929cd3115aa3254a63042ac7de129a5d202c69a5 13:47:49 $ docker rm -f --volumes 13c53386d76e81782f19041d929cd3115aa3254a63042ac7de129a5d202c69a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:47:49 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 13:47:50 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] 13:47:50 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives 13:47:50 total 16 13:47:50 drwxr-xr-x 3 root root 4096 Mar 2 13:44 . 13:47:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:44 .. 13:47:50 drwxr-xr-x 2 root root 4096 Mar 2 13:44 cost 13:47:50 -rw-r--r-- 1 root root 84 Mar 2 13:44 cost.csv 13:47:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives 13:47:50 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives 13:47:50 total 16 13:47:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 13:44 . 13:47:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:44 .. 13:47:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 13:44 cost 13:47:50 -rw-r--r-- 1 jenkins jenkins 84 Mar 2 13:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:47:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:47:51 ---> package-listing.sh 13:47:51 ++ facter osfamily 13:47:51 ++ tr '[:upper:]' '[:lower:]' 13:47:51 + OS_FAMILY=debian 13:47:51 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 13:47:51 + START_PACKAGES=/tmp/packages_start.txt 13:47:51 + END_PACKAGES=/tmp/packages_end.txt 13:47:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:47:51 + PACKAGES=/tmp/packages_start.txt 13:47:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' 13:47:51 + PACKAGES=/tmp/packages_end.txt 13:47:51 + case "${OS_FAMILY}" in 13:47:51 + dpkg -l 13:47:51 + grep '^ii' 13:47:51 + '[' -f /tmp/packages_start.txt ']' 13:47:51 + '[' -f /tmp/packages_end.txt ']' 13:47:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:47:51 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' 13:47:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ 13:47:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [Pipeline] echo 13:47:51 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:47:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:47:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:52 prd-ubuntu20.04-docker-8c-8g-8091 does not seem to be running inside a container 13:47:52 $ 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-445/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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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 13:47:52 $ docker top 82e2d1e58cb8be455da8cbb7b04d41dbe76fbc2a29740b49084f5c1120e4868f -eo pid,comm [Pipeline] { [Pipeline] sh 13:47:53 + touch /tmp/pre-build-complete [Pipeline] sh 13:47:53 + mkdir -p /var/log/sysstat [Pipeline] sh 13:47:53 + ls /var/log/sa-host 13:47:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:47:53 provisioning config files... 13:47:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config15834338925437144169tmp [Pipeline] { [Pipeline] echo 13:47:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:47:54 ---> create-netrc.sh [Pipeline] } 13:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:47:54 ---> python-tools-install.sh [Pipeline] echo 13:47:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:47:54 ---> sudo-logs.sh 13:47:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:47:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:47:55 ---> job-cost.sh 13:47:55 lf-activate-venv: SKIPPING 13:47:55 DEBUG: total: 0.2199999988079071 13:47:55 INFO: Retrieving Stack Cost... 13:47:55 INFO: Retrieving Pricing Info for: v3-standard-8 13:47:55 INFO: Archiving Costs [Pipeline] echo 13:47:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:47:55 ---> logs-deploy.sh 13:47:55 lf-activate-venv: SKIPPING 13:47:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/3 13:47:55 INFO: archiving workspace using pattern(s): 13:47:56 Archives upload complete. 13:47:56 INFO: archiving logs to Nexus