Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 753c0e66273d645c82de476ca0a438ee98891f55 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2926757408069047669.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8502839161250231911.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7521191026800755658.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15836041786030261045.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14988191237769775735.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9374 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 753c0e66273d645c82de476ca0a438ee98891f55 (main) Commit message: "feat: Add command line/environment flag for commonConfig (#486)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 > git rev-list --no-walk 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:59:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:59:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:59:23 ========================================================= 00:59:23 EdgeX Global Pipelines Version Info 00:59:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:59:24 ------------------- 00:59:24 stable info: 00:59:24 ------------------- 00:59:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:59:24 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:59:24 Message: update stable to v1.0.254 00:59:25 ------------------- 00:59:25 experimental info: 00:59:25 ------------------- 00:59:25 Commited By: **** collab-it+edgex@linuxfoundation.org 00:59:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:59:25 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 753c0e66273d645c82de476ca0a438ee98891f55 [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 753c0e6 [Pipeline] echo 00:59:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:25 provisioning config files... 00:59:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11599684165507058802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:25 ---> docker-login.sh 00:59:25 nexus3.edgexfoundry.org:10001 00:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:26 Configure a credential helper to remove this warning. See 00:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:26 00:59:26 Login Succeeded 00:59:26 nexus3.edgexfoundry.org:10002 00:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:26 Configure a credential helper to remove this warning. See 00:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:26 00:59:26 Login Succeeded 00:59:26 nexus3.edgexfoundry.org:10003 00:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:26 Configure a credential helper to remove this warning. See 00:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:26 00:59:26 Login Succeeded 00:59:26 nexus3.edgexfoundry.org:10004 00:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:26 Configure a credential helper to remove this warning. See 00:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:26 00:59:26 Login Succeeded 00:59:26 docker.io 00:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:26 Configure a credential helper to remove this warning. See 00:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:26 00:59:26 Login Succeeded 00:59:26 ---> docker-login.sh ends [Pipeline] } 00:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 00:59:27 + git rev-list -1 --merges 753c0e66273d645c82de476ca0a438ee98891f55~1..753c0e66273d645c82de476ca0a438ee98891f55 [Pipeline] echo 00:59:27 -----------> git rev-list -1 --merges 753c0e66273d645c82de476ca0a438ee98891f55~1..753c0e66273d645c82de476ca0a438ee98891f55 753c0e66273d645c82de476ca0a438ee98891f55 [false] [Pipeline] sh 00:59:27 + git log --format=format:%s -1 753c0e66273d645c82de476ca0a438ee98891f55 [Pipeline] echo 00:59:27 ========================================================= 00:59:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:59:27 ========================================================= 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 00:59:27 + git rev-list -1 --merges 753c0e66273d645c82de476ca0a438ee98891f55~1..753c0e66273d645c82de476ca0a438ee98891f55 [Pipeline] echo 00:59:27 -----------> git rev-list -1 --merges 753c0e66273d645c82de476ca0a438ee98891f55~1..753c0e66273d645c82de476ca0a438ee98891f55 753c0e66273d645c82de476ca0a438ee98891f55 [false] [Pipeline] sh 00:59:28 + git log --format=format:%s -1 753c0e66273d645c82de476ca0a438ee98891f55 [Pipeline] echo 00:59:28 ========================================================= 00:59:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:59:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:59:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:28 + grep -v github /etc/ssh/ssh_known_hosts 00:59:28 + [ -e /tmp/ssh_known_hosts ] 00:59:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:59:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:59:28 + sudo tee -a /etc/ssh/ssh_known_hosts 00:59:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:29 00:59:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:29 0.1.4: Pulling from edgex-devops/py-git-semver 00:59:29 b85a868b505f: Pulling fs layer 00:59:29 e2be974225ed: Pulling fs layer 00:59:29 339a4e72a1f5: Pulling fs layer 00:59:29 988bab9f4d93: Pulling fs layer 00:59:29 1469e6f7b9e6: Pulling fs layer 00:59:29 eaf3925da568: Pulling fs layer 00:59:29 bab4dde63d76: Pulling fs layer 00:59:29 bde34c3a00c8: Pulling fs layer 00:59:29 b352a97aabf1: Pulling fs layer 00:59:29 4872d77fe225: Pulling fs layer 00:59:29 5851b861e8e6: Pulling fs layer 00:59:29 b352a97aabf1: Waiting 00:59:29 5851b861e8e6: Waiting 00:59:29 bde34c3a00c8: Waiting 00:59:29 1469e6f7b9e6: Waiting 00:59:29 988bab9f4d93: Waiting 00:59:29 eaf3925da568: Waiting 00:59:29 4872d77fe225: Waiting 00:59:29 bab4dde63d76: Waiting 00:59:29 e2be974225ed: Download complete 00:59:29 988bab9f4d93: Verifying Checksum 00:59:29 988bab9f4d93: Download complete 00:59:29 1469e6f7b9e6: Verifying Checksum 00:59:29 1469e6f7b9e6: Download complete 00:59:29 eaf3925da568: Download complete 00:59:29 339a4e72a1f5: Verifying Checksum 00:59:29 339a4e72a1f5: Download complete 00:59:29 bde34c3a00c8: Download complete 00:59:29 b352a97aabf1: Verifying Checksum 00:59:29 b352a97aabf1: Download complete 00:59:29 4872d77fe225: Download complete 00:59:29 5851b861e8e6: Download complete 00:59:29 b85a868b505f: Verifying Checksum 00:59:29 b85a868b505f: Download complete 00:59:29 bab4dde63d76: Verifying Checksum 00:59:29 bab4dde63d76: Download complete 00:59:30 b85a868b505f: Pull complete 00:59:31 e2be974225ed: Pull complete 00:59:31 339a4e72a1f5: Pull complete 00:59:31 988bab9f4d93: Pull complete 00:59:32 1469e6f7b9e6: Pull complete 00:59:32 eaf3925da568: Pull complete 00:59:33 bab4dde63d76: Pull complete 00:59:33 bde34c3a00c8: Pull complete 00:59:33 b352a97aabf1: Pull complete 00:59:33 4872d77fe225: Pull complete 00:59:34 5851b861e8e6: Pull complete 00:59:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:34 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 00:59:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:59:38 $ docker top 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 -eo pid,comm 00:59:39 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). 00:59:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:59:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:39 [ssh-agent] Looking for ssh-agent implementation... 00:59:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:39 $ docker exec 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 ssh-agent 00:59:39 SSH_AUTH_SOCK=/tmp/ssh-5x73dlATRxOY/agent.33 00:59:39 SSH_AGENT_PID=39 00:59:39 Running ssh-add (command line suppressed) 00:59:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11568123994138375815.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11568123994138375815.key) 00:59:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:39 + git tag --points-at HEAD [Pipeline] } 00:59:39 $ docker exec --env ******** --env ******** 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 ssh-agent -k 00:59:39 unset SSH_AUTH_SOCK; 00:59:39 unset SSH_AGENT_PID; 00:59:39 echo Agent pid 39 killed; 00:59:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:59:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:39 [ssh-agent] Looking for ssh-agent implementation... 00:59:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:39 $ docker exec 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 ssh-agent 00:59:40 SSH_AUTH_SOCK=/tmp/ssh-1o6juEn9XLjI/agent.71 00:59:40 SSH_AGENT_PID=77 00:59:40 Running ssh-add (command line suppressed) 00:59:40 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4654369408570132895.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4654369408570132895.key) 00:59:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:40 + git semver init 00:59:40 2023-10-17 00:59:40,700 [run_init] DEBUG init version:0.0.0 force:False 00:59:40 2023-10-17 00:59:40,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 00:59:40 2023-10-17 00:59:40,701 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 00:59:40 2023-10-17 00:59:40,701 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 00:59:41 2023-10-17 00:59:41,537 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 00:59:41 2023-10-17 00:59:41,538 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 00:59:41 2023-10-17 00:59:41,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 00:59:41 2023-10-17 00:59:41,539 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 00:59:41 3.0.3-dev.4 [Pipeline] } 00:59:41 $ docker exec --env ******** --env ******** 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 ssh-agent -k 00:59:41 unset SSH_AUTH_SOCK; 00:59:41 unset SSH_AGENT_PID; 00:59:41 echo Agent pid 77 killed; 00:59:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:59:42 + git semver [Pipeline] } 00:59:42 $ docker stop --time=1 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 00:59:43 $ docker rm -f --volumes 1002c121a2b3338b1537a23057ddf1babe22a97182a8d1b3a97e0618458008d8 [Pipeline] // withDockerContainer [Pipeline] sh 00:59:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:59:44 Stashed 1 file(s) [Pipeline] echo 00:59:44 [edgeXSemver]: initialized semver on version 3.0.3-dev.4 [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 00:59:44 provisioning config files... 00:59:44 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5630690162686224251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:44 ---> docker-login.sh 00:59:44 nexus3.edgexfoundry.org:10001 00:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:44 Configure a credential helper to remove this warning. See 00:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:44 00:59:44 Login Succeeded 00:59:44 nexus3.edgexfoundry.org:10002 00:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:44 Configure a credential helper to remove this warning. See 00:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:44 00:59:44 Login Succeeded 00:59:44 nexus3.edgexfoundry.org:10003 00:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:45 Configure a credential helper to remove this warning. See 00:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:45 00:59:45 Login Succeeded 00:59:45 nexus3.edgexfoundry.org:10004 00:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:45 Configure a credential helper to remove this warning. See 00:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:45 00:59:45 Login Succeeded 00:59:45 docker.io 00:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:45 Configure a credential helper to remove this warning. See 00:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:45 00:59:45 Login Succeeded 00:59:45 ---> docker-login.sh ends [Pipeline] } 00:59:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:45 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 00:59:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:45 ========================================================= 00:59:45 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 00:59:45 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:45 + 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 . 00:59:45 Sending build context to Docker daemon 4.908MB 00:59:45 Step 1/21 : ARG BASE=alpine:3.16 00:59:45 Step 2/21 : FROM ${BASE} as builder 00:59:45 latest: Pulling from edgex-devops/edgex-gcc-base 00:59:45 91d30c5bc195: Pulling fs layer 00:59:45 316e5a4585fb: Pulling fs layer 00:59:45 91d30c5bc195: Verifying Checksum 00:59:45 91d30c5bc195: Download complete 00:59:45 91d30c5bc195: Pull complete 00:59:46 316e5a4585fb: Verifying Checksum 00:59:46 316e5a4585fb: Download complete 00:59:49 316e5a4585fb: Pull complete 00:59:49 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 00:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 00:59:49 ---> e83ffa357ff4 00:59:49 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 00:59:52 ---> Running in 3105019e7f8f 00:59:52 Connecting to iotech.jfrog.io (54.73.4.50:443) 00:59:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:59:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:59:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:59:53 Removing intermediate container 3105019e7f8f 00:59:53 ---> d9fa5a5175bf 00:59:53 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 00:59:53 ---> Running in f4486728fc3c 00:59:54 Removing intermediate container f4486728fc3c 00:59:54 ---> 0328e915a627 00:59:54 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 00:59:54 ---> Running in b73ded27fca6 00:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:59:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 00:59:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:59:55 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 00:59:55 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 00:59:55 (3/16) Installing hiredis (1.0.2-r0) 00:59:55 (4/16) Installing hiredis-dev (1.0.2-r0) 00:59:56 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 00:59:57 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 00:59:57 (7/16) Installing libcbor (0.9.0-r1) 00:59:57 (8/16) Installing libcbor-dev (0.9.0-r1) 00:59:57 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 00:59:57 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 00:59:58 (11/16) Installing libblkid (2.38-r1) 00:59:58 (12/16) Installing libuuid (2.38-r1) 00:59:58 (13/16) Installing libfdisk (2.38-r1) 00:59:58 (14/16) Installing libmount (2.38-r1) 00:59:58 (15/16) Installing libsmartcols (2.38-r1) 00:59:58 (16/16) Installing util-linux-dev (2.38-r1) 00:59:58 Executing busybox-1.35.0-r17.trigger 00:59:58 OK: 280 MiB in 90 packages 00:59:59 Removing intermediate container b73ded27fca6 00:59:59 ---> dd810a820f4d 00:59:59 Step 6/21 : RUN mkdir /tmp/sdk 00:59:59 ---> Running in 750e4e029a37 00:59:59 Still waiting to schedule task 00:59:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9373’ 00:59:59 Removing intermediate container 750e4e029a37 00:59:59 ---> cedb57d257a0 00:59:59 Step 7/21 : COPY VERSION /tmp/sdk 00:59:59 ---> 4325f3a6054c 00:59:59 Step 8/21 : COPY src /tmp/sdk/src 01:00:00 ---> 594c471c9cff 01:00:00 Step 9/21 : COPY include /tmp/sdk/include 01:00:00 ---> 56be4d28876e 01:00:00 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:00:00 ---> dcb5dd5553fd 01:00:00 Step 11/21 : COPY LICENSE /tmp/sdk 01:00:00 ---> 7b62990c741e 01:00:00 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:00:00 ---> d9daf4f4e18c 01:00:00 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:00:00 ---> Running in 19ff5f8461ac 01:00:00 + CPPCHECK=false 01:00:00 + DOCGEN=false 01:00:00 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:00:00 + '[' 0 -gt 0 ] 01:00:00 + readlink -f ./scripts/build.sh 01:00:00 + dirname /tmp/sdk/scripts/build.sh 01:00:00 + dirname /tmp/sdk/scripts 01:00:00 + ROOT=/tmp/sdk 01:00:00 + cd /tmp/sdk 01:00:00 + mkdir -p /tmp/sdk/build/release 01:00:00 + cd /tmp/sdk/build/release 01:00:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:00:01 -- The C compiler identification is GNU 11.2.1 01:00:01 -- Detecting C compiler ABI info 01:00:01 -- Detecting C compiler ABI info - done 01:00:01 -- Check for working C compiler: /usr/bin/cc - skipped 01:00:01 -- Detecting C compile features 01:00:01 -- Detecting C compile features - done 01:00:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:00:01 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:00:01 -- Found LIBYAML: /usr/lib/libyaml.so 01:00:01 -- Found LIBUUID: /usr/lib/libuuid.so 01:00:01 -- Found LIBCBOR: /usr/lib/libcbor.so 01:00:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:00:01 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:00:01 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:00:01 -- /opt/iotech/iot/1.5/include 01:00:01 -- C SDK 3.0.3-dev.4 for Linux 01:00:01 -- Performing Test CSDK_HAVE_ATOMIC 01:00:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:00:01 -- Found Curses: /usr/lib/libcurses.so 01:00:01 -- Configuring done 01:00:01 -- Generating done 01:00:01 -- Build files have been written to: /tmp/sdk/build/release 01:00:01 + make all package 01:00:01 + tee release.log 01:00:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:00:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:00:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:00:02 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:00:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:00:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:00:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:00:02 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 01:00:02 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:00:02 294 | while (privateConfig) 01:00:02 | ^~~~~~~~~~~~~ 01:00:02 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:00:02 271 | while (result) 01:00:02 | ^~~~~~ 01:00:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:00:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:00:03 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:00:03 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:00:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:00:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:00:04 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:00:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:00:04 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:00:04 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:00:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:00:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:00:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:00:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:00:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:00:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:00:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:00:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:00:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:00:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:00:07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:00:07 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:00:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:00:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:00:07 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:00:07 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:00:07 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 01:00:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:00:07 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:00:07 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 01:00:07 | ^ 01:00:07 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:00:07 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 01:00:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:00:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:00:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:00:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:00:08 [ 68%] Linking C shared library libcsdk.so 01:00:08 [ 68%] Built target csdk 01:00:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:00:08 [ 72%] Linking C executable template 01:00:08 [ 72%] Built target template 01:00:08 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:00:08 [ 76%] Linking C executable device-counter 01:00:08 [ 76%] Built target device-counter 01:00:08 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:00:08 [ 80%] Linking C executable device-random 01:00:09 [ 80%] Built target device-random 01:00:09 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:00:09 [ 84%] Linking C executable device-gyro 01:00:09 [ 84%] Built target device-gyro 01:00:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:00:09 [ 88%] Linking C executable device-bitfields 01:00:09 [ 88%] Built target device-bitfields 01:00:09 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:00:09 [ 92%] Linking C executable template-discovery 01:00:09 [ 92%] Built target template-discovery 01:00:09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:00:09 [ 96%] Linking C executable device-file 01:00:09 [ 96%] Built target device-file 01:00:09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:00:10 [100%] Linking C executable device-terminal 01:00:10 [100%] Built target device-terminal 01:00:10 Run CPack packaging tool... 01:00:10 CPack: Create package using TGZ 01:00:10 CPack: Install projects 01:00:10 CPack: - Run preinstall target for: Csdk 01:00:10 CPack: - Install project: Csdk [] 01:00:10 CPack: Create package 01:00:10 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.4.tar.gz generated. 01:00:10 + '[' false '=' true ] 01:00:10 + '[' false '=' true ] 01:00:10 + mkdir -p /tmp/sdk/build/debug 01:00:10 + cd /tmp/sdk/build/debug 01:00:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:00:10 -- The C compiler identification is GNU 11.2.1 01:00:10 -- Detecting C compiler ABI info 01:00:10 -- Detecting C compiler ABI info - done 01:00:10 -- Check for working C compiler: /usr/bin/cc - skipped 01:00:10 -- Detecting C compile features 01:00:10 -- Detecting C compile features - done 01:00:10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:00:10 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:00:10 -- Found LIBYAML: /usr/lib/libyaml.so 01:00:10 -- Found LIBUUID: /usr/lib/libuuid.so 01:00:10 -- Found LIBCBOR: /usr/lib/libcbor.so 01:00:10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:00:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:00:10 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:00:10 -- /opt/iotech/iot/1.5/include 01:00:10 -- C SDK 3.0.3-dev.4 for Linux 01:00:10 -- Performing Test CSDK_HAVE_ATOMIC 01:00:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:00:10 -- Found Curses: /usr/lib/libcurses.so 01:00:10 -- Configuring done 01:00:10 -- Generating done 01:00:10 -- Build files have been written to: /tmp/sdk/build/debug 01:00:10 + make 01:00:10 + tee debug.log 01:00:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:00:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:00:11 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:00:11 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:00:11 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:00:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:00:11 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:00:11 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:00:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:00:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:00:11 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:00:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:00:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:00:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:00:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:00:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:00:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:00:12 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:00:12 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:00:12 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:00:12 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:00:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:00:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:00:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:00:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:00:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:00:13 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:00:13 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:00:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:00:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:00:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:00:13 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:00:13 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:00:13 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 01:00:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:00:13 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:00:13 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 01:00:13 | ^ 01:00:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:00:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:00:14 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:00:14 [ 68%] Linking C shared library libcsdk.so 01:00:14 [ 68%] Built target csdk 01:00:14 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:00:14 [ 72%] Linking C executable template 01:00:14 [ 72%] Built target template 01:00:14 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:00:14 [ 76%] Linking C executable device-counter 01:00:14 [ 76%] Built target device-counter 01:00:14 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:00:14 [ 80%] Linking C executable device-random 01:00:14 [ 80%] Built target device-random 01:00:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:00:14 [ 84%] Linking C executable device-gyro 01:00:14 [ 84%] Built target device-gyro 01:00:14 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:00:15 [ 88%] Linking C executable device-bitfields 01:00:15 [ 88%] Built target device-bitfields 01:00:15 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:00:15 [ 92%] Linking C executable template-discovery 01:00:15 [ 92%] Built target template-discovery 01:00:15 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:00:15 [ 96%] Linking C executable device-file 01:00:15 [ 96%] Built target device-file 01:00:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:00:15 [100%] Linking C executable device-terminal 01:00:15 [100%] Built target device-terminal 01:00:15 make: Entering directory '/tmp/sdk/build/release' 01:00:15 make[1]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 68%] Built target csdk 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 72%] Built target template 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 76%] Built target device-counter 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 80%] Built target device-random 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 84%] Built target device-gyro 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 88%] Built target device-bitfields 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 92%] Built target template-discovery 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [ 96%] Built target device-file 01:00:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:00:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:00:15 [100%] Built target device-terminal 01:00:15 make[1]: Leaving directory '/tmp/sdk/build/release' 01:00:15 Install the project... 01:00:15 -- Install configuration: "Release" 01:00:15 -- Installing: /usr/local/lib/libcsdk.so 01:00:15 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:00:15 -- Installing: /usr/local/include 01:00:15 -- Installing: /usr/local/include/devsdk 01:00:15 -- Installing: /usr/local/include/devsdk/devsdk.h 01:00:15 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:00:15 -- Installing: /usr/local/include/edgex 01:00:15 -- Installing: /usr/local/include/edgex/edgex.h 01:00:15 -- Installing: /usr/local/include/edgex/devices.h 01:00:15 -- Installing: /usr/local/include/edgex/profiles.h 01:00:15 -- Installing: /usr/local/include/edgex/edgex-base.h 01:00:15 -- Installing: /usr/local/include/edgex/rest-server.h 01:00:15 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:00:15 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:00:15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:00:15 make: Leaving directory '/tmp/sdk/build/release' 01:00:16 Removing intermediate container 19ff5f8461ac 01:00:16 ---> 31990441ca84 01:00:16 Step 14/21 : FROM ${BASE} 01:00:16 ---> e83ffa357ff4 01:00:16 Step 15/21 : LABEL maintainer="IOTech " 01:00:16 ---> Running in 21a917e1577a 01:00:16 Removing intermediate container 21a917e1577a 01:00:16 ---> 47250b58fc90 01:00:16 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 01:00:16 ---> Running in 6203d0e4f8f0 01:00:17 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:00:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:00:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:00:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:00:17 Removing intermediate container 6203d0e4f8f0 01:00:17 ---> 81827dc40b64 01:00:17 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:00:17 ---> Running in cb8eaf761764 01:00:18 Removing intermediate container cb8eaf761764 01:00:18 ---> 22534381c7b7 01:00:18 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 01:00:18 ---> Running in 42fefae069cd 01:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:00:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:00:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:00:19 (1/7) Installing curl (8.4.0-r0) 01:00:19 (2/7) Installing hiredis (1.0.2-r0) 01:00:19 (3/7) Installing hiredis-dev (1.0.2-r0) 01:00:19 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:00:20 (5/7) Installing libcbor (0.9.0-r1) 01:00:20 (6/7) Installing libuuid (2.38-r1) 01:00:20 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:00:21 Executing busybox-1.35.0-r17.trigger 01:00:21 OK: 276 MiB in 83 packages 01:00:21 Removing intermediate container 42fefae069cd 01:00:21 ---> da97cb2378c0 01:00:21 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:00:21 ---> 5acd8c41dec0 01:00:21 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:00:21 ---> eba8ccc39f44 01:00:21 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:00:22 ---> 28831612e336 01:00:22 Successfully built 28831612e336 01:00:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:22 + docker inspect -f . ci-base-image-x86_64 01:00:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:22 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:00:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 01:00:23 $ docker top 5ec0cdcf435c52017f711cbd0ff1708cb790836817ccdbe011951517eefb4202 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:23 + make test 01:00:23 echo "make test" 01:00:23 make test [Pipeline] } 01:00:23 $ docker stop --time=1 5ec0cdcf435c52017f711cbd0ff1708cb790836817ccdbe011951517eefb4202 01:00:24 $ docker rm -f --volumes 5ec0cdcf435c52017f711cbd0ff1708cb790836817ccdbe011951517eefb4202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:00:25 + ls -al . 01:00:25 total 212 01:00:25 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 00:59 . 01:00:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 00:59 .. 01:00:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 00:59 .git 01:00:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 00:59 .github 01:00:25 -rw-rw-r-- 1 jenkins jenkins 176 Oct 17 00:59 .gitignore 01:00:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 00:59 .semver 01:00:25 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 17 00:59 Attribution.txt 01:00:25 -rw-rw-r-- 1 jenkins jenkins 9802 Oct 17 00:59 CHANGES 01:00:25 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 17 00:59 Doxyfile 01:00:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 00:59 GOVERNANCE.md 01:00:25 -rw-rw-r-- 1 jenkins jenkins 784 Oct 17 00:59 Jenkinsfile 01:00:25 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 17 00:59 LICENSE 01:00:25 -rw-rw-r-- 1 jenkins jenkins 444 Oct 17 00:59 Makefile 01:00:25 -rw-rw-r-- 1 jenkins jenkins 618 Oct 17 00:59 OWNERS.md 01:00:25 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 17 00:59 README.IOT.md 01:00:25 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 17 00:59 README.md 01:00:25 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 17 00:59 README.v3.md 01:00:25 -rw-rw-r-- 1 jenkins jenkins 11 Oct 17 00:59 VERSION 01:00:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 00:59 docs 01:00:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 00:59 include 01:00:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 00:59 scripts 01:00:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 00:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:25 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=753c0e66273d645c82de476ca0a438ee98891f55 --label arch=amd64 --label version=3.0.3-dev.4 . 01:00:25 Sending build context to Docker daemon 4.908MB 01:00:25 Step 1/17 : ARG BASE=alpine:3.16 01:00:25 Step 2/17 : FROM ${BASE} 01:00:25 ---> 28831612e336 01:00:25 Step 3/17 : LABEL maintainer="IOTech " 01:00:26 ---> Running in 93e4df342f6a 01:00:26 Removing intermediate container 93e4df342f6a 01:00:26 ---> 929d27716a6d 01:00:26 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 01:00:26 ---> Running in 3357d7f60015 01:00:26 Connecting to iotech.jfrog.io (54.73.4.50:443) 01:00:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:00:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:00:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:00:27 Removing intermediate container 3357d7f60015 01:00:27 ---> 7c31c9a01ce1 01:00:27 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:00:27 ---> Running in b9da06513415 01:00:27 Removing intermediate container b9da06513415 01:00:27 ---> 880213e63db6 01:00:27 Step 6/17 : 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 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 01:00:27 ---> Running in 87f27a67295e 01:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:00:28 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:00:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:00:29 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:00:29 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:00:29 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:00:29 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:00:29 (5/11) Installing libcbor-dev (0.9.0-r1) 01:00:29 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:00:29 (7/11) Installing libblkid (2.38-r1) 01:00:29 (8/11) Installing libfdisk (2.38-r1) 01:00:29 (9/11) Installing libmount (2.38-r1) 01:00:29 (10/11) Installing libsmartcols (2.38-r1) 01:00:29 (11/11) Installing util-linux-dev (2.38-r1) 01:00:29 Executing busybox-1.35.0-r17.trigger 01:00:29 OK: 281 MiB in 92 packages 01:00:30 Removing intermediate container 87f27a67295e 01:00:30 ---> ba9a59a014f4 01:00:30 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:00:30 ---> 3be31d816ad1 01:00:30 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:00:31 ---> 81d4f22ba36c 01:00:31 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:00:31 ---> 29c5e4320c3a 01:00:31 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:00:31 ---> 017bcee0d7ee 01:00:31 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:00:31 ---> a8921fcb45bf 01:00:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:00:31 ---> 01ce7e406c11 01:00:31 Step 13/17 : WORKDIR /edgex-c-sdk 01:00:31 ---> Running in c349aaa23a66 01:00:31 Removing intermediate container c349aaa23a66 01:00:31 ---> 8cd2c92f8bd7 01:00:31 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:00:31 ---> Running in 58e9e7e3f036 01:00:31 Removing intermediate container 58e9e7e3f036 01:00:31 ---> ab11d377c2ad 01:00:31 Step 15/17 : LABEL arch=amd64 01:00:31 ---> Running in 9a25c413f8aa 01:00:31 Removing intermediate container 9a25c413f8aa 01:00:31 ---> ae77461967ef 01:00:31 Step 16/17 : LABEL git_sha=753c0e66273d645c82de476ca0a438ee98891f55 01:00:31 ---> Running in 03ac19af1058 01:00:31 Removing intermediate container 03ac19af1058 01:00:31 ---> 5affd243c2aa 01:00:31 Step 17/17 : LABEL version=3.0.3-dev.4 01:00:31 ---> Running in 39015dc30789 01:00:32 Removing intermediate container 39015dc30789 01:00:32 ---> 3de5be01fdde 01:00:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:00:32 Successfully built 3de5be01fdde 01:00:32 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:32 01:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:32 latest: Pulling from edgex-lftools-log-publisher 01:00:32 5eb5b503b376: Pulling fs layer 01:00:32 5c69ac0246d0: Pulling fs layer 01:00:32 ec43610c2a17: Pulling fs layer 01:00:32 3a2ae6a8a46f: Pulling fs layer 01:00:32 33b1e0a273af: Pulling fs layer 01:00:32 5d3b04190fa2: Pulling fs layer 01:00:32 33b1e0a273af: Waiting 01:00:32 3a2ae6a8a46f: Waiting 01:00:32 2f39f015ded8: Pulling fs layer 01:00:32 5d3b04190fa2: Waiting 01:00:32 5c69ac0246d0: Download complete 01:00:32 3a2ae6a8a46f: Download complete 01:00:32 33b1e0a273af: Verifying Checksum 01:00:32 33b1e0a273af: Download complete 01:00:32 5d3b04190fa2: Verifying Checksum 01:00:32 5d3b04190fa2: Download complete 01:00:33 ec43610c2a17: Verifying Checksum 01:00:33 ec43610c2a17: Download complete 01:00:33 5eb5b503b376: Verifying Checksum 01:00:33 5eb5b503b376: Download complete 01:00:33 2f39f015ded8: Download complete 01:00:34 5eb5b503b376: Pull complete 01:00:34 5c69ac0246d0: Pull complete 01:00:35 ec43610c2a17: Pull complete 01:00:35 3a2ae6a8a46f: Pull complete 01:00:35 33b1e0a273af: Pull complete 01:00:35 5d3b04190fa2: Pull complete 01:00:40 2f39f015ded8: Pull complete 01:00:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:40 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:00:41 $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:00:47 $ docker top df57b53df715fb8c43ae04af16f1ff46459f69741bd7e0edff64a9d9f648c79e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:48 ---> job-cost.sh 01:00:48 lf-activate-venv: SKIPPING 01:00:48 INFO: No Stack... 01:00:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:48 INFO: Archiving Costs [Pipeline] sh 01:00:49 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 01:00:49 + cut -d, -f6 [Pipeline] lock 01:00:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] 01:00:49 Resource [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] did not exist. Created. 01:00:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:49 + echo total: 0.2199999988079071 [Pipeline] stash 01:00:49 Stashed 1 file(s) [Pipeline] } 01:00:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:49 $ docker stop --time=1 df57b53df715fb8c43ae04af16f1ff46459f69741bd7e0edff64a9d9f648c79e 01:00:50 $ docker rm -f --volumes df57b53df715fb8c43ae04af16f1ff46459f69741bd7e0edff64a9d9f648c79e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:03:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9375 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 01:03:36 Running in /w/workspace/device-sdk-c/63 [Pipeline] { [Pipeline] checkout 01:03:36 Selected Git installation does not exist. Using Default 01:03:36 The recommended git tool is: NONE 01:03:42 using credential edgex-jenkins-ssh 01:03:42 Cloning the remote Git repository 01:03:42 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 01:03:42 > git init /w/workspace/device-sdk-c/63 # timeout=10 01:03:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 01:03:42 > git --version # timeout=10 01:03:42 > git --version # 'git version 2.25.1' 01:03:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:44 Avoid second fetch 01:03:44 Checking out Revision 753c0e66273d645c82de476ca0a438ee98891f55 (main) 01:03:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 01:03:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:44 > git config core.sparsecheckout # timeout=10 01:03:44 Commit message: "feat: Add command line/environment flag for commonConfig (#486)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:44 > git checkout -f 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 01:03:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:03:45 % Total % Received % Xferd Average Speed Time Time Time Current 01:03:45 Dload Upload Total Spent Left Speed 01:03:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 01:03:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:03:46 + sudo tee /etc/docker/daemon.new 01:03:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:03:46 { 01:03:46 "registry-mirrors": [ 01:03:46 "https://nexus3.edgexfoundry.org:10001" 01:03:46 ], 01:03:46 "bip": "10.250.0.254/24", 01:03:46 "hosts": [ 01:03:46 "tcp://0.0.0.0:5555", 01:03:46 "unix:///var/run/docker.sock" 01:03:46 ], 01:03:46 "mtu": 1458, 01:03:46 "selinux-enabled": true, 01:03:46 "seccomp-profile": "/etc/docker/seccomp.json" 01:03:46 } [Pipeline] sh 01:03:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:03:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:05 provisioning config files... 01:04:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/63@tmp/config1701838036811699068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:06 ---> docker-login.sh 01:04:06 nexus3.edgexfoundry.org:10001 01:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:06 Configure a credential helper to remove this warning. See 01:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:06 01:04:06 Login Succeeded 01:04:06 nexus3.edgexfoundry.org:10002 01:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:07 Configure a credential helper to remove this warning. See 01:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:07 01:04:07 Login Succeeded 01:04:07 nexus3.edgexfoundry.org:10003 01:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:07 Configure a credential helper to remove this warning. See 01:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:07 01:04:07 Login Succeeded 01:04:07 nexus3.edgexfoundry.org:10004 01:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:07 Configure a credential helper to remove this warning. See 01:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:07 01:04:07 Login Succeeded 01:04:07 docker.io 01:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:08 Configure a credential helper to remove this warning. See 01:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:08 01:04:08 Login Succeeded 01:04:08 ---> docker-login.sh ends [Pipeline] } 01:04:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:08 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 01:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:08 ========================================================= 01:04:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 01:04:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:09 + 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 . 01:04:09 Sending build context to Docker daemon 2.94MB 01:04:09 Step 1/21 : ARG BASE=alpine:3.16 01:04:09 Step 2/21 : FROM ${BASE} as builder 01:04:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 01:04:09 547446be3368: Pulling fs layer 01:04:09 76bd08e1cacc: Pulling fs layer 01:04:09 547446be3368: Verifying Checksum 01:04:09 547446be3368: Download complete 01:04:10 547446be3368: Pull complete 01:04:11 76bd08e1cacc: Verifying Checksum 01:04:11 76bd08e1cacc: Download complete 01:04:21 76bd08e1cacc: Pull complete 01:04:21 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 01:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 01:04:21 ---> 295cd00e64f4 01:04:21 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 01:04:22 ---> Running in 9cebaf31da9f 01:04:24 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:04:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:04:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:04:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:04:25 Removing intermediate container 9cebaf31da9f 01:04:25 ---> 55604e6cd5d8 01:04:25 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:04:25 ---> Running in 720ed00033dd 01:04:27 Removing intermediate container 720ed00033dd 01:04:27 ---> 727fbbee3471 01:04:27 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 01:04:27 ---> Running in e62d46d7fb7e 01:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:04:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:04:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:04:31 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:31 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:31 (3/16) Installing hiredis (1.0.2-r0) 01:04:31 (4/16) Installing hiredis-dev (1.0.2-r0) 01:04:31 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 01:04:32 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:04:32 (7/16) Installing libcbor (0.9.0-r1) 01:04:32 (8/16) Installing libcbor-dev (0.9.0-r1) 01:04:32 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 01:04:32 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:04:33 (11/16) Installing libblkid (2.38-r1) 01:04:33 (12/16) Installing libuuid (2.38-r1) 01:04:33 (13/16) Installing libfdisk (2.38-r1) 01:04:33 (14/16) Installing libmount (2.38-r1) 01:04:33 (15/16) Installing libsmartcols (2.38-r1) 01:04:33 (16/16) Installing util-linux-dev (2.38-r1) 01:04:33 Executing busybox-1.35.0-r17.trigger 01:04:33 OK: 286 MiB in 90 packages 01:04:35 Removing intermediate container e62d46d7fb7e 01:04:35 ---> aab8df0a1142 01:04:35 Step 6/21 : RUN mkdir /tmp/sdk 01:04:35 ---> Running in 89a44dea868a 01:04:36 Removing intermediate container 89a44dea868a 01:04:36 ---> bdc9752bbdfc 01:04:36 Step 7/21 : COPY VERSION /tmp/sdk 01:04:37 ---> ea9bdc29e4f6 01:04:37 Step 8/21 : COPY src /tmp/sdk/src 01:04:37 ---> fc59ec92b91c 01:04:37 Step 9/21 : COPY include /tmp/sdk/include 01:04:38 ---> ed6fe547ce96 01:04:38 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:04:38 ---> 4829d8678b8e 01:04:38 Step 11/21 : COPY LICENSE /tmp/sdk 01:04:39 ---> 23b966a7395d 01:04:39 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:04:39 ---> 848cc9b9ffe7 01:04:39 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:04:39 ---> Running in f1743920c300 01:04:40 + CPPCHECK=false 01:04:40 + DOCGEN=false 01:04:40 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:04:40 + '[' 0 -gt 0 ] 01:04:40 + readlink -f ./scripts/build.sh 01:04:40 + dirname /tmp/sdk/scripts/build.sh 01:04:40 + dirname /tmp/sdk/scripts 01:04:40 + ROOT=/tmp/sdk 01:04:40 + cd /tmp/sdk 01:04:40 + mkdir -p /tmp/sdk/build/release 01:04:40 + cd /tmp/sdk/build/release 01:04:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:04:43 -- The C compiler identification is GNU 11.2.1 01:04:43 -- Detecting C compiler ABI info 01:04:43 -- Detecting C compiler ABI info - done 01:04:43 -- Check for working C compiler: /usr/bin/cc - skipped 01:04:43 -- Detecting C compile features 01:04:43 -- Detecting C compile features - done 01:04:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:04:43 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:04:43 -- Found LIBYAML: /usr/lib/libyaml.so 01:04:43 -- Found LIBUUID: /usr/lib/libuuid.so 01:04:43 -- Found LIBCBOR: /usr/lib/libcbor.so 01:04:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:04:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:04:43 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:04:43 -- /opt/iotech/iot/1.5/include 01:04:43 -- C SDK 3.0.3-dev.4 for Linux 01:04:43 -- Performing Test CSDK_HAVE_ATOMIC 01:04:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:04:44 -- Found Curses: /usr/lib/libcurses.so 01:04:44 -- Configuring done 01:04:44 -- Generating done 01:04:44 -- Build files have been written to: /tmp/sdk/build/release 01:04:44 + make all package 01:04:44 + tee release.log 01:04:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:04:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:04:46 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:04:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:04:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:04:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:04:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:04:52 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 01:04:52 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:04:52 294 | while (privateConfig) 01:04:52 | ^~~~~~~~~~~~~ 01:04:52 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:04:52 271 | while (result) 01:04:52 | ^~~~~~ 01:04:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:04:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:04:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:04:57 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:04:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:04:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:04:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:04:59 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:05:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:05:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:05:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:05:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:05:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:05:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:05:12 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:05:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:05:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:05:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:05:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:05:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:05:19 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:05:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:05:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:05:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:05:21 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:05:21 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:05:21 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 01:05:21 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:05:21 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:05:21 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 01:05:21 | ^ 01:05:23 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 01:05:23 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 01:05:23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:05:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:05:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:05:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:05:26 [ 68%] Linking C shared library libcsdk.so 01:05:27 [ 68%] Built target csdk 01:05:27 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:05:28 [ 72%] Linking C executable template 01:05:28 [ 72%] Built target template 01:05:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:05:29 [ 76%] Linking C executable device-counter 01:05:29 [ 76%] Built target device-counter 01:05:29 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:05:30 [ 80%] Linking C executable device-random 01:05:30 [ 80%] Built target device-random 01:05:30 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:05:31 [ 84%] Linking C executable device-gyro 01:05:31 [ 84%] Built target device-gyro 01:05:31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:05:32 [ 88%] Linking C executable device-bitfields 01:05:32 [ 88%] Built target device-bitfields 01:05:32 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:05:33 [ 92%] Linking C executable template-discovery 01:05:33 [ 92%] Built target template-discovery 01:05:33 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:05:34 [ 96%] Linking C executable device-file 01:05:35 [ 96%] Built target device-file 01:05:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:05:36 [100%] Linking C executable device-terminal 01:05:36 [100%] Built target device-terminal 01:05:36 Run CPack packaging tool... 01:05:36 CPack: Create package using TGZ 01:05:36 CPack: Install projects 01:05:36 CPack: - Run preinstall target for: Csdk 01:05:36 CPack: - Install project: Csdk [] 01:05:36 CPack: Create package 01:05:37 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.4.tar.gz generated. 01:05:37 + '[' false '=' true ] 01:05:37 + '[' false '=' true ] 01:05:37 + mkdir -p /tmp/sdk/build/debug 01:05:37 + cd /tmp/sdk/build/debug 01:05:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:05:37 -- The C compiler identification is GNU 11.2.1 01:05:37 -- Detecting C compiler ABI info 01:05:37 -- Detecting C compiler ABI info - done 01:05:38 -- Check for working C compiler: /usr/bin/cc - skipped 01:05:38 -- Detecting C compile features 01:05:38 -- Detecting C compile features - done 01:05:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:05:38 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:05:38 -- Found LIBYAML: /usr/lib/libyaml.so 01:05:38 -- Found LIBUUID: /usr/lib/libuuid.so 01:05:38 -- Found LIBCBOR: /usr/lib/libcbor.so 01:05:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:05:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:05:38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:05:38 -- /opt/iotech/iot/1.5/include 01:05:38 -- C SDK 3.0.3-dev.4 for Linux 01:05:38 -- Performing Test CSDK_HAVE_ATOMIC 01:05:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:05:38 -- Found Curses: /usr/lib/libcurses.so 01:05:38 -- Configuring done 01:05:39 -- Generating done 01:05:39 -- Build files have been written to: /tmp/sdk/build/debug 01:05:39 + make 01:05:39 + tee debug.log 01:05:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:05:39 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:05:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:05:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:05:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:05:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:05:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:05:42 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:05:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:05:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:05:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:05:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:05:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:05:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:05:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:05:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:05:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:05:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:05:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:05:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:05:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:05:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:05:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:05:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:05:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:05:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:05:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:05:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:05:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:05:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:05:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:05:55 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:05:55 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:05:55 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 01:05:55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:05:55 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 01:05:55 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 01:05:55 | ^ 01:05:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:05:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:05:57 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:05:57 [ 68%] Linking C shared library libcsdk.so 01:05:57 [ 68%] Built target csdk 01:05:57 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:05:57 [ 72%] Linking C executable template 01:05:58 [ 72%] Built target template 01:05:58 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:05:58 [ 76%] Linking C executable device-counter 01:05:58 [ 76%] Built target device-counter 01:05:59 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:05:59 [ 80%] Linking C executable device-random 01:05:59 [ 80%] Built target device-random 01:05:59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:06:00 [ 84%] Linking C executable device-gyro 01:06:00 [ 84%] Built target device-gyro 01:06:00 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:06:00 [ 88%] Linking C executable device-bitfields 01:06:01 [ 88%] Built target device-bitfields 01:06:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:06:02 [ 92%] Linking C executable template-discovery 01:06:02 [ 92%] Built target template-discovery 01:06:02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:06:02 [ 96%] Linking C executable device-file 01:06:02 [ 96%] Built target device-file 01:06:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:06:03 [100%] Linking C executable device-terminal 01:06:03 [100%] Built target device-terminal 01:06:03 make: Entering directory '/tmp/sdk/build/release' 01:06:03 make[1]: Entering directory '/tmp/sdk/build/release' 01:06:03 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:03 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:03 [ 68%] Built target csdk 01:06:03 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:03 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:03 [ 72%] Built target template 01:06:03 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:03 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 76%] Built target device-counter 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 80%] Built target device-random 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 84%] Built target device-gyro 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 88%] Built target device-bitfields 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 92%] Built target template-discovery 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [ 96%] Built target device-file 01:06:04 make[2]: Entering directory '/tmp/sdk/build/release' 01:06:04 make[2]: Leaving directory '/tmp/sdk/build/release' 01:06:04 [100%] Built target device-terminal 01:06:04 make[1]: Leaving directory '/tmp/sdk/build/release' 01:06:04 Install the project... 01:06:04 -- Install configuration: "Release" 01:06:04 -- Installing: /usr/local/lib/libcsdk.so 01:06:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:06:04 -- Installing: /usr/local/include 01:06:04 -- Installing: /usr/local/include/devsdk 01:06:04 -- Installing: /usr/local/include/devsdk/devsdk.h 01:06:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:06:04 -- Installing: /usr/local/include/edgex 01:06:04 -- Installing: /usr/local/include/edgex/rest-server.h 01:06:04 -- Installing: /usr/local/include/edgex/edgex.h 01:06:04 -- Installing: /usr/local/include/edgex/edgex-base.h 01:06:04 -- Installing: /usr/local/include/edgex/devices.h 01:06:04 -- Installing: /usr/local/include/edgex/profiles.h 01:06:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:06:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:06:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:06:04 make: Leaving directory '/tmp/sdk/build/release' 01:06:05 Removing intermediate container f1743920c300 01:06:05 ---> 0c5320e76476 01:06:05 Step 14/21 : FROM ${BASE} 01:06:05 ---> 295cd00e64f4 01:06:05 Step 15/21 : LABEL maintainer="IOTech " 01:06:05 ---> Running in 19fb1800c641 01:06:06 Removing intermediate container 19fb1800c641 01:06:06 ---> 8931bab9f4c3 01:06:06 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 01:06:06 ---> Running in d25672dd1ab8 01:06:07 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:06:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:06:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:06:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:06:08 Removing intermediate container d25672dd1ab8 01:06:08 ---> adaa2bf355e3 01:06:08 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:06:08 ---> Running in 68731f3f38b5 01:06:09 Removing intermediate container 68731f3f38b5 01:06:09 ---> ab27f6f0c698 01:06:09 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 01:06:10 ---> Running in b7cf4d62c21b 01:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:06:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:06:13 (1/7) Installing curl (8.4.0-r0) 01:06:13 (2/7) Installing hiredis (1.0.2-r0) 01:06:13 (3/7) Installing hiredis-dev (1.0.2-r0) 01:06:13 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:06:13 (5/7) Installing libcbor (0.9.0-r1) 01:06:13 (6/7) Installing libuuid (2.38-r1) 01:06:13 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:06:14 Executing busybox-1.35.0-r17.trigger 01:06:14 OK: 281 MiB in 83 packages 01:06:15 Removing intermediate container b7cf4d62c21b 01:06:15 ---> aef98c64dd64 01:06:15 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:06:16 ---> 44c3ad4c4bc9 01:06:16 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:06:17 ---> 64579b4315fb 01:06:17 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:06:17 ---> 759f6b134366 01:06:17 Successfully built 759f6b134366 01:06:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:18 + docker inspect -f . ci-base-image-arm64 01:06:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:18 prd-ubuntu20.04-docker-arm64-4c-16g-9375 does not seem to be running inside a container 01:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/63 -v /w/workspace/device-sdk-c/63:/w/workspace/device-sdk-c/63:rw,z -v /w/workspace/device-sdk-c/63@tmp:/w/workspace/device-sdk-c/63@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 ******** ci-base-image-arm64 cat 01:06:19 $ docker top 6ec03636f59728193f14a2532e055e965f6d374b135b4a4bbc069106102d85ae -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:20 + make test 01:06:20 echo "make test" 01:06:20 make test [Pipeline] } 01:06:20 $ docker stop --time=1 6ec03636f59728193f14a2532e055e965f6d374b135b4a4bbc069106102d85ae 01:06:22 $ docker rm -f --volumes 6ec03636f59728193f14a2532e055e965f6d374b135b4a4bbc069106102d85ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:23 + ls -al . 01:06:23 total 208 01:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:03 . 01:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:03 .. 01:06:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:03 .git 01:06:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:03 .github 01:06:23 -rw-rw-r-- 1 jenkins jenkins 176 Oct 17 01:03 .gitignore 01:06:23 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 17 01:03 Attribution.txt 01:06:23 -rw-rw-r-- 1 jenkins jenkins 9802 Oct 17 01:03 CHANGES 01:06:23 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 17 01:03 Doxyfile 01:06:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:03 GOVERNANCE.md 01:06:23 -rw-rw-r-- 1 jenkins jenkins 784 Oct 17 01:03 Jenkinsfile 01:06:23 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 17 01:03 LICENSE 01:06:23 -rw-rw-r-- 1 jenkins jenkins 444 Oct 17 01:03 Makefile 01:06:23 -rw-rw-r-- 1 jenkins jenkins 618 Oct 17 01:03 OWNERS.md 01:06:23 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 17 01:03 README.IOT.md 01:06:23 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 17 01:03 README.md 01:06:23 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 17 01:03 README.v3.md 01:06:23 -rw-rw-r-- 1 jenkins jenkins 11 Oct 17 00:59 VERSION 01:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:03 docs 01:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:03 include 01:06:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:03 scripts 01:06:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:23 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=753c0e66273d645c82de476ca0a438ee98891f55 --label arch=arm64 --label version=3.0.3-dev.4 . 01:06:23 Sending build context to Docker daemon 2.94MB 01:06:23 Step 1/17 : ARG BASE=alpine:3.16 01:06:23 Step 2/17 : FROM ${BASE} 01:06:23 ---> 759f6b134366 01:06:23 Step 3/17 : LABEL maintainer="IOTech " 01:06:24 ---> Running in cc558122536e 01:06:24 Removing intermediate container cc558122536e 01:06:24 ---> 268cfc6b619a 01:06:24 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 01:06:24 ---> Running in e7de747c7c71 01:06:25 Connecting to iotech.jfrog.io (54.73.4.50:443) 01:06:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:06:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:06:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:06:26 Removing intermediate container e7de747c7c71 01:06:26 ---> 535626126cef 01:06:26 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:06:26 ---> Running in 49191e45b028 01:06:28 Removing intermediate container 49191e45b028 01:06:28 ---> 1ad31a405f1b 01:06:28 Step 6/17 : 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 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 01:06:28 ---> Running in 8e02a550cfa4 01:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:06:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:06:31 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:06:31 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:06:31 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:06:32 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:06:32 (5/11) Installing libcbor-dev (0.9.0-r1) 01:06:32 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:06:32 (7/11) Installing libblkid (2.38-r1) 01:06:32 (8/11) Installing libfdisk (2.38-r1) 01:06:32 (9/11) Installing libmount (2.38-r1) 01:06:32 (10/11) Installing libsmartcols (2.38-r1) 01:06:32 (11/11) Installing util-linux-dev (2.38-r1) 01:06:32 Executing busybox-1.35.0-r17.trigger 01:06:32 OK: 287 MiB in 92 packages 01:06:33 Removing intermediate container 8e02a550cfa4 01:06:33 ---> 78c0003ada5c 01:06:33 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:06:34 ---> a3e0a0b1b2d9 01:06:34 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:06:35 ---> 5ea2eb6551c2 01:06:35 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:06:35 ---> d9ccf99dcd33 01:06:35 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:06:35 ---> 943bf0fc1804 01:06:35 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:06:36 ---> 325a2757f661 01:06:36 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:06:36 ---> 58f5aa26649c 01:06:36 Step 13/17 : WORKDIR /edgex-c-sdk 01:06:37 ---> Running in ad88840d861b 01:06:37 Removing intermediate container ad88840d861b 01:06:37 ---> 3d891d9571b5 01:06:37 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:06:37 ---> Running in 299ff112f920 01:06:37 Removing intermediate container 299ff112f920 01:06:37 ---> e796e337c11e 01:06:37 Step 15/17 : LABEL arch=arm64 01:06:37 ---> Running in 55b1a3f70445 01:06:38 Removing intermediate container 55b1a3f70445 01:06:38 ---> 9ebf4d553438 01:06:38 Step 16/17 : LABEL git_sha=753c0e66273d645c82de476ca0a438ee98891f55 01:06:38 ---> Running in 5c87b2dc13f2 01:06:38 Removing intermediate container 5c87b2dc13f2 01:06:38 ---> 83a947b144eb 01:06:38 Step 17/17 : LABEL version=3.0.3-dev.4 01:06:38 ---> Running in 9588eefc3e1e 01:06:38 Removing intermediate container 9588eefc3e1e 01:06:38 ---> 05b7f69eee35 01:06:38 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:06:38 Successfully built 05b7f69eee35 01:06:38 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:39 01:06:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:06:39 arm64: Pulling from edgex-lftools-log-publisher 01:06:39 8998bd30e6a1: Pulling fs layer 01:06:39 04944245beec: Pulling fs layer 01:06:39 699f458cf7ca: Pulling fs layer 01:06:39 765212b225bb: Pulling fs layer 01:06:39 f23df028b6ca: Pulling fs layer 01:06:39 d65c8cfc05b1: Pulling fs layer 01:06:39 2437ff75d9bd: Pulling fs layer 01:06:39 765212b225bb: Waiting 01:06:39 d65c8cfc05b1: Waiting 01:06:39 2437ff75d9bd: Waiting 01:06:39 f23df028b6ca: Waiting 01:06:40 04944245beec: Verifying Checksum 01:06:40 04944245beec: Download complete 01:06:40 765212b225bb: Verifying Checksum 01:06:40 765212b225bb: Download complete 01:06:40 f23df028b6ca: Download complete 01:06:40 d65c8cfc05b1: Verifying Checksum 01:06:40 d65c8cfc05b1: Download complete 01:06:40 699f458cf7ca: Download complete 01:06:40 8998bd30e6a1: Verifying Checksum 01:06:40 8998bd30e6a1: Download complete 01:06:43 2437ff75d9bd: Verifying Checksum 01:06:43 2437ff75d9bd: Download complete 01:06:45 8998bd30e6a1: Pull complete 01:06:46 04944245beec: Pull complete 01:06:47 699f458cf7ca: Pull complete 01:06:47 765212b225bb: Pull complete 01:06:48 f23df028b6ca: Pull complete 01:06:48 d65c8cfc05b1: Pull complete 01:07:03 2437ff75d9bd: Pull complete 01:07:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:04 prd-ubuntu20.04-docker-arm64-4c-16g-9375 does not seem to be running inside a container 01:07:04 $ 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/63 -v /w/workspace/device-sdk-c/63:/w/workspace/device-sdk-c/63:rw,z -v /w/workspace/device-sdk-c/63@tmp:/w/workspace/device-sdk-c/63@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:07:06 $ docker top d1cd92a965edf6ca5d969ed86072bba9eec0e201af9d7f67c50de384d0f71e7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:07 ---> job-cost.sh 01:07:07 lf-activate-venv: SKIPPING 01:07:07 INFO: No Stack... 01:07:07 INFO: Retrieving Pricing Info for: v3-standard-4 01:07:08 INFO: Archiving Costs [Pipeline] sh 01:07:09 + cut -d, -f6 01:07:09 + cat /w/workspace/device-sdk-c/63/archives/cost.csv [Pipeline] lock 01:07:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] 01:07:09 Resource [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] did not exist. Created. 01:07:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:10 /w/workspace/device-sdk-c/63@tmp/durable-a5ad16f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:07:10 + echo total: 0.10999999940395355 [Pipeline] stash 01:07:10 Warning: overwriting stash ‘stack-cost’ 01:07:11 Stashed 1 file(s) [Pipeline] } 01:07:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:11 $ docker stop --time=1 d1cd92a965edf6ca5d969ed86072bba9eec0e201af9d7f67c50de384d0f71e7d 01:07:13 $ docker rm -f --volumes d1cd92a965edf6ca5d969ed86072bba9eec0e201af9d7f67c50de384d0f71e7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 01:07:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:14 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:07:14 $ docker top 003ce53516adf7b1376b42a9a365b29ac83f19326c471bfb44060d17bf2259ba -eo pid,comm 01:07:14 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). 01:07:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:14 [ssh-agent] Looking for ssh-agent implementation... 01:07:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:14 $ docker exec 003ce53516adf7b1376b42a9a365b29ac83f19326c471bfb44060d17bf2259ba ssh-agent 01:07:14 SSH_AUTH_SOCK=/tmp/ssh-oDZzYcc3xAjx/agent.31 01:07:14 SSH_AGENT_PID=37 01:07:14 Running ssh-add (command line suppressed) 01:07:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9693513076251173722.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9693513076251173722.key) 01:07:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:15 + git semver tag 01:07:15 2023-10-17 01:07:15,294 [run_tag] DEBUG tag force:False 01:07:15 2023-10-17 01:07:15,295 [check_head_tag] DEBUG check head tag 01:07:15 2023-10-17 01:07:15,295 [execute] INFO git cat-file --batch-check 01:07:15 2023-10-17 01:07:15,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 01:07:15 2023-10-17 01:07:15,299 [execute] INFO git cat-file --batch 01:07:15 2023-10-17 01:07:15,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 01:07:15 2023-10-17 01:07:15,314 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:15 2023-10-17 01:07:15,314 [execute] INFO git tag -a v3.0.3-dev.4 -m v3.0.3-dev.4 01:07:15 2023-10-17 01:07:15,314 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.4', '-m', 'v3.0.3-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 01:07:15 2023-10-17 01:07:15,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:15 3.0.3-dev.4 [Pipeline] } 01:07:15 $ docker exec --env ******** --env ******** 003ce53516adf7b1376b42a9a365b29ac83f19326c471bfb44060d17bf2259ba ssh-agent -k 01:07:15 unset SSH_AUTH_SOCK; 01:07:15 unset SSH_AGENT_PID; 01:07:15 echo Agent pid 37 killed; 01:07:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:15 + git semver [Pipeline] } 01:07:16 $ docker stop --time=1 003ce53516adf7b1376b42a9a365b29ac83f19326c471bfb44060d17bf2259ba 01:07:17 $ docker rm -f --volumes 003ce53516adf7b1376b42a9a365b29ac83f19326c471bfb44060d17bf2259ba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:17 01:07:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:18 0.23.1-centos7: Pulling from edgex-lftools 01:07:18 ab5ef0e58194: Pulling fs layer 01:07:18 9712f1f96733: Pulling fs layer 01:07:18 63f879dbbcfc: Pulling fs layer 01:07:18 0d9ebad4ef96: Pulling fs layer 01:07:18 e9a5061849ea: Pulling fs layer 01:07:18 d747dcd14b5f: Pulling fs layer 01:07:18 2de7ff778b66: Pulling fs layer 01:07:18 e9a5061849ea: Waiting 01:07:18 d747dcd14b5f: Waiting 01:07:18 0d9ebad4ef96: Waiting 01:07:18 2de7ff778b66: Waiting 01:07:18 9712f1f96733: Download complete 01:07:18 63f879dbbcfc: Verifying Checksum 01:07:18 63f879dbbcfc: Download complete 01:07:18 e9a5061849ea: Verifying Checksum 01:07:18 e9a5061849ea: Download complete 01:07:18 d747dcd14b5f: Verifying Checksum 01:07:18 d747dcd14b5f: Download complete 01:07:18 ab5ef0e58194: Download complete 01:07:18 0d9ebad4ef96: Verifying Checksum 01:07:18 0d9ebad4ef96: Download complete 01:07:18 2de7ff778b66: Verifying Checksum 01:07:18 2de7ff778b66: Download complete 01:07:21 ab5ef0e58194: Pull complete 01:07:21 9712f1f96733: Pull complete 01:07:22 63f879dbbcfc: Pull complete 01:07:26 0d9ebad4ef96: Pull complete 01:07:26 e9a5061849ea: Pull complete 01:07:26 d747dcd14b5f: Pull complete 01:07:27 2de7ff778b66: Pull complete 01:07:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:07:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:27 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:07:36 $ docker top e0e651dc35955a028fb84e5090d8fd3e95d191d3ef59ef3d10be3c5f34622218 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:07:36 provisioning config files... 01:07:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1023537881370539149tmp 01:07:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11384680075917765866tmp 01:07:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3738963018536636975tmp [Pipeline] { [Pipeline] echo 01:07:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:07:37 ---> sigul-configuration.sh 01:07:37 gpg: directory `/root/.gnupg' created 01:07:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:07:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:07:37 gpg: keyring `/root/.gnupg/secring.gpg' created 01:07:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:07:37 gpg: CAST5 encrypted data 01:07:37 gpg: encrypted with 1 passphrase 01:07:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:07:37 + mkdir /home/jenkins 01:07:37 + mkdir /home/jenkins/sigul [Pipeline] sh 01:07:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:07:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:07:38 ---> sigul-install.sh 01:07:38 Sigul already installed; skipping installation. [Pipeline] sh 01:07:38 + git tag --list 01:07:38 0.7.0 01:07:38 0.7.1 01:07:38 1.0.0 01:07:38 v1.0.1 01:07:38 v1.0.2 01:07:38 v1.0.3 01:07:38 v1.1.0 01:07:38 v1.1.1 01:07:38 v1.2.0 01:07:38 v1.2.1 01:07:38 v1.2.2 01:07:38 v1.3.0 01:07:38 v1.3.1 01:07:38 v2.0.0 01:07:38 v2.1.0 01:07:38 v2.2.0 01:07:38 v2.3.0 01:07:38 v3.0 01:07:38 v3.0.0 01:07:38 v3.0.1 01:07:38 v3.0.2 01:07:38 v3.0.3-dev.1 01:07:38 v3.0.3-dev.2 01:07:38 v3.0.3-dev.3 01:07:38 v3.0.3-dev.4 01:07:38 v3.1.0-dev.1 01:07:38 v3.1.0-dev.2 01:07:38 v3.1.0-dev.3 01:07:38 v3.1.0-dev.4 01:07:38 v3.1.0-dev.5 01:07:38 v3.1.0-dev.6 01:07:38 v3.1.0-dev.7 01:07:38 v3.1.0-dev.8 01:07:38 v3.1.0-dev.9 [Pipeline] sh 01:07:38 + lftools sign git-tag v3.0.3-dev.4 01:07:39 Signing Git tag with Sigul... 01:07:39 Signing v3.0.3-dev.4 [Pipeline] echo 01:07:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:07:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:07:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:07:39 $ docker stop --time=1 e0e651dc35955a028fb84e5090d8fd3e95d191d3ef59ef3d10be3c5f34622218 01:07:41 $ docker rm -f --volumes e0e651dc35955a028fb84e5090d8fd3e95d191d3ef59ef3d10be3c5f34622218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:07:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:41 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:07:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:07:42 $ docker top 4d10fbd98092d06d8f9efb195ee258ce1fc97631dac31e8eb86abf56eb762a4c -eo pid,comm 01:07:42 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). 01:07:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:42 [ssh-agent] Looking for ssh-agent implementation... 01:07:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:42 $ docker exec 4d10fbd98092d06d8f9efb195ee258ce1fc97631dac31e8eb86abf56eb762a4c ssh-agent 01:07:42 SSH_AUTH_SOCK=/tmp/ssh-EAMwOZKzlUOX/agent.32 01:07:42 SSH_AGENT_PID=38 01:07:42 Running ssh-add (command line suppressed) 01:07:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_396723420235501914.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_396723420235501914.key) 01:07:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:42 + git semver bump pre 01:07:43 2023-10-17 01:07:43,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:43 2023-10-17 01:07:43,102 [bump_version] DEBUG bumping version:3.0.3-dev.4 on axis:pre with prefix:dev 01:07:43 2023-10-17 01:07:43,102 [bump_version] DEBUG bumped version:3.0.3-dev.5 01:07:43 2023-10-17 01:07:43,102 [write_version] DEBUG write version:3.0.3-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 01:07:43 2023-10-17 01:07:43,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:43 2023-10-17 01:07:43,102 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:43 2023-10-17 01:07:43,104 [execute] INFO git cat-file --batch-check 01:07:43 2023-10-17 01:07:43,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:43 2023-10-17 01:07:43,110 [execute] INFO git cat-file --batch 01:07:43 2023-10-17 01:07:43,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:43 2023-10-17 01:07:43,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:43 3.0.3-dev.5 [Pipeline] } 01:07:43 $ docker exec --env ******** --env ******** 4d10fbd98092d06d8f9efb195ee258ce1fc97631dac31e8eb86abf56eb762a4c ssh-agent -k 01:07:43 unset SSH_AUTH_SOCK; 01:07:43 unset SSH_AGENT_PID; 01:07:43 echo Agent pid 38 killed; 01:07:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:43 + git semver [Pipeline] } 01:07:43 $ docker stop --time=1 4d10fbd98092d06d8f9efb195ee258ce1fc97631dac31e8eb86abf56eb762a4c 01:07:45 $ docker rm -f --volumes 4d10fbd98092d06d8f9efb195ee258ce1fc97631dac31e8eb86abf56eb762a4c [Pipeline] // withDockerContainer [Pipeline] sh 01:07:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:07:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:07:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:45 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:07:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:07:46 $ docker top 50c761aeffd3d6b6e9dd26d8393899bd9e6d5b9a90e76fb9532603f42ff815cc -eo pid,comm 01:07:46 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). 01:07:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:07:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:07:46 [ssh-agent] Looking for ssh-agent implementation... 01:07:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:07:46 $ docker exec 50c761aeffd3d6b6e9dd26d8393899bd9e6d5b9a90e76fb9532603f42ff815cc ssh-agent 01:07:46 SSH_AUTH_SOCK=/tmp/ssh-q9SwCa3XYfwv/agent.32 01:07:46 SSH_AGENT_PID=38 01:07:46 Running ssh-add (command line suppressed) 01:07:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4230571434948649700.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4230571434948649700.key) 01:07:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:07:46 + git semver push 01:07:47 2023-10-17 01:07:47,098 [run_push] DEBUG push 01:07:47 2023-10-17 01:07:47,098 [execute] INFO git cat-file --batch-check 01:07:47 2023-10-17 01:07:47,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:07:47 2023-10-17 01:07:47,103 [execute] INFO git rev-list 50587c0a829bdd79bdcd3c0ccda82294a0aa098c -- 01:07:47 2023-10-17 01:07:47,103 [execute] DEBUG Popen(['git', 'rev-list', '50587c0a829bdd79bdcd3c0ccda82294a0aa098c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 01:07:47 2023-10-17 01:07:47,110 [execute] INFO git fetch -v origin 01:07:47 2023-10-17 01:07:47,111 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 01:07:47 2023-10-17 01:07:47,639 [run_push] DEBUG no remote changes detected 01:07:47 2023-10-17 01:07:47,640 [execute] INFO git push origin semver 01:07:47 2023-10-17 01:07:47,640 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 01:07:48 2023-10-17 01:07:48,414 [run_push] DEBUG push all version tags 01:07:48 2023-10-17 01:07:48,414 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:07:48 2023-10-17 01:07:48,415 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 01:07:49 2023-10-17 01:07:49,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:07:49 3.0.3-dev.5 [Pipeline] } 01:07:49 $ docker exec --env ******** --env ******** 50c761aeffd3d6b6e9dd26d8393899bd9e6d5b9a90e76fb9532603f42ff815cc ssh-agent -k 01:07:49 unset SSH_AUTH_SOCK; 01:07:49 unset SSH_AGENT_PID; 01:07:49 echo Agent pid 38 killed; 01:07:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:07:49 + git semver [Pipeline] } 01:07:49 $ docker stop --time=1 50c761aeffd3d6b6e9dd26d8393899bd9e6d5b9a90e76fb9532603f42ff815cc 01:07:51 $ docker rm -f --volumes 50c761aeffd3d6b6e9dd26d8393899bd9e6d5b9a90e76fb9532603f42ff815cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:07:51 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 01:07:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:07:51 total 16 01:07:51 drwxr-xr-x 3 root root 4096 Oct 17 01:00 . 01:07:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:07 .. 01:07:51 drwxr-xr-x 2 root root 4096 Oct 17 01:00 cost 01:07:51 -rw-r--r-- 1 root root 83 Oct 17 01:00 cost.csv 01:07:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:07:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:07:51 total 16 01:07:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:00 . 01:07:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:07 .. 01:07:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 01:00 cost 01:07:51 -rw-r--r-- 1 jenkins jenkins 83 Oct 17 01:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:07:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:52 ---> package-listing.sh 01:07:52 ++ facter osfamily 01:07:52 ++ tr '[:upper:]' '[:lower:]' 01:07:53 + OS_FAMILY=debian 01:07:53 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 01:07:53 + START_PACKAGES=/tmp/packages_start.txt 01:07:53 + END_PACKAGES=/tmp/packages_end.txt 01:07:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:53 + PACKAGES=/tmp/packages_start.txt 01:07:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 01:07:53 + PACKAGES=/tmp/packages_end.txt 01:07:53 + case "${OS_FAMILY}" in 01:07:53 + dpkg -l 01:07:53 + grep '^ii' 01:07:53 + '[' -f /tmp/packages_start.txt ']' 01:07:53 + '[' -f /tmp/packages_end.txt ']' 01:07:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 01:07:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 01:07:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 01:07:53 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:07:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:54 prd-ubuntu20.04-docker-8c-8g-9374 does not seem to be running inside a container 01:07:54 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:54 $ docker top b88067c893ac03d845939d63b7ca2ef631fd9df0d6a01b50b4936c2813e05538 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:54 + touch /tmp/pre-build-complete [Pipeline] sh 01:07:54 + mkdir -p /var/log/sysstat [Pipeline] sh 01:07:55 + ls /var/log/sa-host 01:07:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:55 provisioning config files... 01:07:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13801587972643423406tmp [Pipeline] { [Pipeline] echo 01:07:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:55 ---> create-netrc.sh [Pipeline] } 01:07:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:07:55 ---> python-tools-install.sh [Pipeline] echo 01:07:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:07:56 ---> sudo-logs.sh 01:07:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:07:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:07:56 ---> job-cost.sh 01:07:56 lf-activate-venv: SKIPPING 01:07:56 DEBUG: total: 0.2199999988079071 01:07:56 INFO: Retrieving Stack Cost... 01:07:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:57 INFO: Archiving Costs [Pipeline] echo 01:07:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:57 ---> logs-deploy.sh 01:07:57 lf-activate-venv: SKIPPING 01:07:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/63 01:07:57 INFO: archiving workspace using pattern(s): 01:07:58 Archives upload complete. 01:07:58 INFO: archiving logs to Nexus