Pull request #453 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 79809f9ddfe1f96c0824338f8296ea4a141a28e3+70adbc05d5985df01ef9d9c351b6d02d06141faf (4713d77a09714b772439afeedf407cadaebcb4c6) 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-ssh10027227865533622040.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12455728257549591606.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2318780593839932163.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2355550169431813241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7119439589108158047.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-453/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-453/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14257089965684484480.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7010 in /w/workspace/edgexfoundry_device-sdk-c_PR-453 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-453 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 79809f9ddfe1f96c0824338f8296ea4a141a28e3 Merge succeeded, producing 79809f9ddfe1f96c0824338f8296ea4a141a28e3 Checking out Revision 79809f9ddfe1f96c0824338f8296ea4a141a28e3 (PR-453) > git config core.sparsecheckout # timeout=10 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 Commit message: "refactor!: update secrets transfer object" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:57:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:57:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:57:18 ========================================================= 14:57:18 EdgeX Global Pipelines Version Info 14:57:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:57:18 ------------------- 14:57:18 stable info: 14:57:18 ------------------- 14:57:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:57:18 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 14:57:18 Message: update stable to v1.0.245 14:57:19 ------------------- 14:57:19 experimental info: 14:57:19 ------------------- 14:57:19 Commited By: **** collab-it+edgex@linuxfoundation.org 14:57:19 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 14:57:19 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-453 [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-453 [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-453 [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79809f9 [Pipeline] echo 14:57:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:20 provisioning config files... 14:57:20 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config9082261214322758973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:20 ---> docker-login.sh 14:57:20 nexus3.edgexfoundry.org:10001 14:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:21 Configure a credential helper to remove this warning. See 14:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:21 14:57:21 Login Succeeded 14:57:21 nexus3.edgexfoundry.org:10002 14:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:21 Configure a credential helper to remove this warning. See 14:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:21 14:57:21 Login Succeeded 14:57:21 nexus3.edgexfoundry.org:10003 14:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:21 Configure a credential helper to remove this warning. See 14:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:21 14:57:21 Login Succeeded 14:57:21 nexus3.edgexfoundry.org:10004 14:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:21 Configure a credential helper to remove this warning. See 14:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:21 14:57:21 Login Succeeded 14:57:21 docker.io 14:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:21 Configure a credential helper to remove this warning. See 14:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:21 14:57:21 Login Succeeded 14:57:21 ---> docker-login.sh ends [Pipeline] } 14:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:57:22 + git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo 14:57:22 -----------> git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [false] [Pipeline] sh 14:57:23 + git log --format=format:%s -1 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo 14:57:23 ========================================================= 14:57:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:57:23 ========================================================= 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 14:57:23 + git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo 14:57:23 -----------> git rev-list -1 --merges 79809f9ddfe1f96c0824338f8296ea4a141a28e3~1..79809f9ddfe1f96c0824338f8296ea4a141a28e3 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [false] [Pipeline] sh 14:57:24 + git log --format=format:%s -1 79809f9ddfe1f96c0824338f8296ea4a141a28e3 [Pipeline] echo 14:57:24 ========================================================= 14:57:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:57:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:57:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:57:24 + grep -v github /etc/ssh/ssh_known_hosts 14:57:24 + [ -e /tmp/ssh_known_hosts ] 14:57:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:57:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:57:24 + sudo tee -a /etc/ssh/ssh_known_hosts 14:57:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:25 14:57:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:25 0.1.4: Pulling from edgex-devops/py-git-semver 14:57:25 b85a868b505f: Pulling fs layer 14:57:25 e2be974225ed: Pulling fs layer 14:57:25 339a4e72a1f5: Pulling fs layer 14:57:25 988bab9f4d93: Pulling fs layer 14:57:25 1469e6f7b9e6: Pulling fs layer 14:57:25 eaf3925da568: Pulling fs layer 14:57:25 bab4dde63d76: Pulling fs layer 14:57:25 bde34c3a00c8: Pulling fs layer 14:57:25 b352a97aabf1: Pulling fs layer 14:57:25 4872d77fe225: Pulling fs layer 14:57:25 5851b861e8e6: Pulling fs layer 14:57:25 b352a97aabf1: Waiting 14:57:25 eaf3925da568: Waiting 14:57:25 4872d77fe225: Waiting 14:57:25 5851b861e8e6: Waiting 14:57:25 bab4dde63d76: Waiting 14:57:25 bde34c3a00c8: Waiting 14:57:25 988bab9f4d93: Waiting 14:57:25 1469e6f7b9e6: Waiting 14:57:25 e2be974225ed: Verifying Checksum 14:57:25 e2be974225ed: Download complete 14:57:25 988bab9f4d93: Verifying Checksum 14:57:25 1469e6f7b9e6: Verifying Checksum 14:57:25 1469e6f7b9e6: Download complete 14:57:25 339a4e72a1f5: Verifying Checksum 14:57:25 339a4e72a1f5: Download complete 14:57:25 eaf3925da568: Verifying Checksum 14:57:25 eaf3925da568: Download complete 14:57:25 bde34c3a00c8: Verifying Checksum 14:57:25 bde34c3a00c8: Download complete 14:57:25 b352a97aabf1: Download complete 14:57:25 4872d77fe225: Verifying Checksum 14:57:25 4872d77fe225: Download complete 14:57:25 5851b861e8e6: Verifying Checksum 14:57:25 5851b861e8e6: Download complete 14:57:25 b85a868b505f: Verifying Checksum 14:57:25 b85a868b505f: Download complete 14:57:26 bab4dde63d76: Download complete 14:57:27 b85a868b505f: Pull complete 14:57:27 e2be974225ed: Pull complete 14:57:27 339a4e72a1f5: Pull complete 14:57:27 988bab9f4d93: Pull complete 14:57:28 1469e6f7b9e6: Pull complete 14:57:28 eaf3925da568: Pull complete 14:57:29 bab4dde63d76: Pull complete 14:57:29 bde34c3a00c8: Pull complete 14:57:29 b352a97aabf1: Pull complete 14:57:29 4872d77fe225: Pull complete 14:57:29 5851b861e8e6: Pull complete 14:57:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:57:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:57:30 prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container 14:57:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:57:33 $ docker top 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d -eo pid,comm 14:57:33 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). 14:57:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:34 [ssh-agent] Looking for ssh-agent implementation... 14:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:34 $ docker exec 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent 14:57:34 SSH_AUTH_SOCK=/tmp/ssh-1tmPBa62qseK/agent.32 14:57:34 SSH_AGENT_PID=38 14:57:34 Running ssh-add (command line suppressed) 14:57:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_12800430263364529863.key (/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_12800430263364529863.key) 14:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:34 + git tag --points-at HEAD [Pipeline] } 14:57:34 $ docker exec --env ******** --env ******** 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent -k 14:57:34 unset SSH_AUTH_SOCK; 14:57:34 unset SSH_AGENT_PID; 14:57:34 echo Agent pid 38 killed; 14:57:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:57:34 [ssh-agent] Looking for ssh-agent implementation... 14:57:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:57:35 $ docker exec 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent 14:57:35 SSH_AUTH_SOCK=/tmp/ssh-BUJ1Y3PAU0dg/agent.70 14:57:35 SSH_AGENT_PID=76 14:57:35 Running ssh-add (command line suppressed) 14:57:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_11630163418775913068.key (/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/private_key_11630163418775913068.key) 14:57:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:57:35 + git semver init 14:57:35 2023-04-06 14:57:35,827 [run_init] DEBUG init version:0.0.0 force:False 14:57:35 2023-04-06 14:57:35,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver 14:57:35 2023-04-06 14:57:35,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver 14:57:35 2023-04-06 14:57:35,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453, universal_newlines=False, shell=None, istream=None) 14:57:36 2023-04-06 14:57:36,614 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.git/info/exclude 14:57:36 2023-04-06 14:57:36,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 with force:False 14:57:36 2023-04-06 14:57:36,614 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 14:57:36 2023-04-06 14:57:36,619 [execute] INFO git cat-file --batch-check 14:57:36 2023-04-06 14:57:36,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver, universal_newlines=False, shell=None, istream=) 14:57:36 2023-04-06 14:57:36,625 [execute] INFO git cat-file --batch 14:57:36 2023-04-06 14:57:36,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver, universal_newlines=False, shell=None, istream=) 14:57:36 2023-04-06 14:57:36,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-453/.semver/PR-453 14:57:36 0.0.0 [Pipeline] } 14:57:36 $ docker exec --env ******** --env ******** 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d ssh-agent -k 14:57:36 unset SSH_AUTH_SOCK; 14:57:36 unset SSH_AGENT_PID; 14:57:36 echo Agent pid 76 killed; 14:57:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:57:37 + git semver [Pipeline] } 14:57:37 $ docker stop --time=1 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d 14:57:38 $ docker rm -f --volumes 759386a1c55a47a93dd99572d7b6b4ec6bd521c266f3554cf326a851fa26215d [Pipeline] // withDockerContainer [Pipeline] sh 14:57:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:57:39 Stashed 1 file(s) [Pipeline] echo 14:57:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:40 provisioning config files... 14:57:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config11855616186472936938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:40 ---> docker-login.sh 14:57:40 nexus3.edgexfoundry.org:10001 14:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:40 Configure a credential helper to remove this warning. See 14:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:40 14:57:40 Login Succeeded 14:57:40 nexus3.edgexfoundry.org:10002 14:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:40 Configure a credential helper to remove this warning. See 14:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:40 14:57:40 Login Succeeded 14:57:40 nexus3.edgexfoundry.org:10003 14:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:40 Configure a credential helper to remove this warning. See 14:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:40 14:57:40 Login Succeeded 14:57:40 nexus3.edgexfoundry.org:10004 14:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:40 Configure a credential helper to remove this warning. See 14:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:40 14:57:40 Login Succeeded 14:57:40 docker.io 14:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:41 Configure a credential helper to remove this warning. See 14:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:41 14:57:41 Login Succeeded 14:57:41 ---> docker-login.sh ends [Pipeline] } 14:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:41 ========================================================= 14:57:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:57:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:41 + 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 . 14:57:41 Sending build context to Docker daemon 4.816MB 14:57:41 Step 1/21 : ARG BASE=alpine:3.16 14:57:41 Step 2/21 : FROM ${BASE} as builder 14:57:41 latest: Pulling from edgex-devops/edgex-gcc-base 14:57:41 213ec9aee27d: Pulling fs layer 14:57:41 0f09ad1b1b37: Pulling fs layer 14:57:42 213ec9aee27d: Verifying Checksum 14:57:42 213ec9aee27d: Download complete 14:57:42 213ec9aee27d: Pull complete 14:57:42 0f09ad1b1b37: Verifying Checksum 14:57:42 0f09ad1b1b37: Download complete 14:57:45 0f09ad1b1b37: Pull complete 14:57:45 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 14:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:57:45 ---> b2bbfebb3566 14:57:45 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 14:57:47 ---> Running in c7f45f349bd8 14:57:47 Connecting to iotech.jfrog.io (52.49.55.68:443) 14:57:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:57:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:57:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:57:48 Removing intermediate container c7f45f349bd8 14:57:48 ---> f54062583b53 14:57:48 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 14:57:48 ---> Running in 8da85905af94 14:57:49 Removing intermediate container 8da85905af94 14:57:49 ---> 865c9f1e4e0b 14:57:49 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 14:57:49 ---> Running in 10aa2e55c30f 14:57:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:57:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:57:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 14:57:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:57:50 (1/14) Installing hiredis (1.0.2-r0) 14:57:50 (2/14) Installing hiredis-dev (1.0.2-r0) 14:57:50 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 14:57:51 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 14:57:51 (5/14) Installing libcbor (0.9.0-r1) 14:57:51 (6/14) Installing libcbor-dev (0.9.0-r1) 14:57:51 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 14:57:51 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 14:57:52 (9/14) Installing libblkid (2.38-r1) 14:57:52 (10/14) Installing libuuid (2.38-r1) 14:57:52 (11/14) Installing libfdisk (2.38-r1) 14:57:52 (12/14) Installing libmount (2.38-r1) 14:57:52 (13/14) Installing libsmartcols (2.38-r1) 14:57:52 (14/14) Installing util-linux-dev (2.38-r1) 14:57:52 Executing busybox-1.35.0-r17.trigger 14:57:52 OK: 280 MiB in 90 packages 14:57:52 Removing intermediate container 10aa2e55c30f 14:57:52 ---> 541aa8b87cb6 14:57:52 Step 6/21 : RUN mkdir /tmp/sdk 14:57:52 ---> Running in 7884644fe74b 14:57:53 Removing intermediate container 7884644fe74b 14:57:53 ---> a066197f78f8 14:57:53 Step 7/21 : COPY VERSION /tmp/sdk 14:57:53 ---> c33ea6d87531 14:57:53 Step 8/21 : COPY src /tmp/sdk/src 14:57:53 ---> 53995a9988ea 14:57:53 Step 9/21 : COPY include /tmp/sdk/include 14:57:53 ---> b12da5da5c04 14:57:53 Step 10/21 : COPY scripts /tmp/sdk/scripts 14:57:53 ---> b73bd07ca50d 14:57:53 Step 11/21 : COPY LICENSE /tmp/sdk 14:57:54 ---> 0bdcaa4da040 14:57:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 14:57:54 ---> 18430cdf1559 14:57:54 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:57:54 ---> Running in cd852f678837 14:57:54 + CPPCHECK=false 14:57:54 + DOCGEN=false 14:57:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:57:54 + TOMLVER=SDK-0.2 14:57:54 + CUTILVER=1.4 14:57:54 + '[' 0 -gt 0 ] 14:57:54 + readlink -f ./scripts/build.sh 14:57:54 + dirname /tmp/sdk/scripts/build.sh 14:57:54 + dirname /tmp/sdk/scripts 14:57:54 + ROOT=/tmp/sdk 14:57:54 + cd /tmp/sdk 14:57:54 + '[' '!' -d deps ] 14:57:54 + mkdir deps 14:57:54 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:57:54 + tar -C deps -z -x -f - 14:57:54 Connecting to github.com (140.82.112.3:443) 14:57:54 Connecting to codeload.github.com (140.82.113.10:443) 14:57:54 Still waiting to schedule task 14:57:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:57:55 writing to stdout 14:57:55 - 100% |********************************| 16451 0:00:00 ETA 14:57:55 written to stdout 14:57:55 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:57:55 + mkdir -p /tmp/sdk/build/release 14:57:55 + cd /tmp/sdk/build/release 14:57:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:57:55 -- The C compiler identification is GNU 11.2.1 14:57:55 -- Detecting C compiler ABI info 14:57:55 -- Detecting C compiler ABI info - done 14:57:55 -- Check for working C compiler: /usr/bin/cc - skipped 14:57:55 -- Detecting C compile features 14:57:55 -- Detecting C compile features - done 14:57:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:57:55 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 14:57:55 -- Found LIBYAML: /usr/lib/libyaml.so 14:57:55 -- Found LIBUUID: /usr/lib/libuuid.so 14:57:55 -- Found LIBCBOR: /usr/lib/libcbor.so 14:57:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:57:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:57:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:57:55 -- /opt/iotech/iot/1.5/include 14:57:55 -- C SDK 0.0.0 for Linux 14:57:55 -- Performing Test CSDK_HAVE_ATOMIC 14:57:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:57:55 -- Found Curses: /usr/lib/libcurses.so 14:57:55 -- Configuring done 14:57:55 -- Generating done 14:57:55 -- Build files have been written to: /tmp/sdk/build/release 14:57:55 + make all package 14:57:55 + tee release.log 14:57:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:57:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:57:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:57:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:57:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:57:56 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:57:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:57:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:57:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:57:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:57:57 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:57:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:57:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:57:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:57:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:57:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:57:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:57:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:57:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:57:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:57:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:57:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:57:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:58:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:58:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:58:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:58:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:58:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:58:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:58:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:58:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:58:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:58:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:58:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:58:02 [ 68%] Linking C shared library libcsdk.so 14:58:02 [ 68%] Built target csdk 14:58:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:58:02 [ 72%] Linking C executable template 14:58:03 [ 72%] Built target template 14:58:03 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:58:03 [ 76%] Linking C executable device-counter 14:58:03 [ 76%] Built target device-counter 14:58:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:58:03 [ 80%] Linking C executable device-random 14:58:03 [ 80%] Built target device-random 14:58:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:58:03 [ 84%] Linking C executable device-gyro 14:58:03 [ 84%] Built target device-gyro 14:58:03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:58:03 [ 88%] Linking C executable device-bitfields 14:58:03 [ 88%] Built target device-bitfields 14:58:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:58:03 [ 92%] Linking C executable template-discovery 14:58:03 [ 92%] Built target template-discovery 14:58:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:58:04 [ 96%] Linking C executable device-file 14:58:04 [ 96%] Built target device-file 14:58:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:58:04 [100%] Linking C executable device-terminal 14:58:04 [100%] Built target device-terminal 14:58:04 Run CPack packaging tool... 14:58:04 CPack: Create package using TGZ 14:58:04 CPack: Install projects 14:58:04 CPack: - Run preinstall target for: Csdk 14:58:04 CPack: - Install project: Csdk [] 14:58:04 CPack: Create package 14:58:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:58:04 + '[' false '=' true ] 14:58:04 + '[' false '=' true ] 14:58:04 + mkdir -p /tmp/sdk/build/debug 14:58:04 + cd /tmp/sdk/build/debug 14:58:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:58:04 -- The C compiler identification is GNU 11.2.1 14:58:04 -- Detecting C compiler ABI info 14:58:04 -- Detecting C compiler ABI info - done 14:58:04 -- Check for working C compiler: /usr/bin/cc - skipped 14:58:04 -- Detecting C compile features 14:58:04 -- Detecting C compile features - done 14:58:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:58:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 14:58:04 -- Found LIBYAML: /usr/lib/libyaml.so 14:58:04 -- Found LIBUUID: /usr/lib/libuuid.so 14:58:04 -- Found LIBCBOR: /usr/lib/libcbor.so 14:58:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:58:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:58:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:58:04 -- /opt/iotech/iot/1.5/include 14:58:04 -- C SDK 0.0.0 for Linux 14:58:04 -- Performing Test CSDK_HAVE_ATOMIC 14:58:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:58:04 -- Found Curses: /usr/lib/libcurses.so 14:58:04 -- Configuring done 14:58:04 -- Generating done 14:58:04 -- Build files have been written to: /tmp/sdk/build/debug 14:58:04 + make 14:58:04 + tee debug.log 14:58:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:58:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:58:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:58:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:58:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:58:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:58:05 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:58:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:58:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:58:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:58:05 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:58:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:58:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:58:06 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:58:06 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:58:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:58:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:58:06 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:58:06 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:58:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:58:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:58:06 [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:58:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:58:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:58:07 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:58:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:58:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:58:07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:58:07 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:58:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:58:08 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:58:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:58:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:58:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:58:08 [ 68%] Linking C shared library libcsdk.so 14:58:08 [ 68%] Built target csdk 14:58:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:58:08 [ 72%] Linking C executable template 14:58:08 [ 72%] Built target template 14:58:08 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:58:08 [ 76%] Linking C executable device-counter 14:58:08 [ 76%] Built target device-counter 14:58:08 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:58:08 [ 80%] Linking C executable device-random 14:58:08 [ 80%] Built target device-random 14:58:08 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:58:08 [ 84%] Linking C executable device-gyro 14:58:09 [ 84%] Built target device-gyro 14:58:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:58:09 [ 88%] Linking C executable device-bitfields 14:58:09 [ 88%] Built target device-bitfields 14:58:09 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:58:09 [ 92%] Linking C executable template-discovery 14:58:09 [ 92%] Built target template-discovery 14:58:09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:58:09 [ 96%] Linking C executable device-file 14:58:09 [ 96%] Built target device-file 14:58:09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:58:09 [100%] Linking C executable device-terminal 14:58:09 [100%] Built target device-terminal 14:58:09 make: Entering directory '/tmp/sdk/build/release' 14:58:09 make[1]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 68%] Built target csdk 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 72%] Built target template 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 76%] Built target device-counter 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 80%] Built target device-random 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 84%] Built target device-gyro 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 88%] Built target device-bitfields 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 92%] Built target template-discovery 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [ 96%] Built target device-file 14:58:09 make[2]: Entering directory '/tmp/sdk/build/release' 14:58:09 make[2]: Leaving directory '/tmp/sdk/build/release' 14:58:09 [100%] Built target device-terminal 14:58:09 make[1]: Leaving directory '/tmp/sdk/build/release' 14:58:09 Install the project... 14:58:09 -- Install configuration: "Release" 14:58:09 -- Installing: /usr/local/lib/libcsdk.so 14:58:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:58:09 -- Installing: /usr/local/include 14:58:09 -- Installing: /usr/local/include/devsdk 14:58:09 -- Installing: /usr/local/include/devsdk/devsdk.h 14:58:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:58:09 -- Installing: /usr/local/include/edgex 14:58:09 -- Installing: /usr/local/include/edgex/edgex.h 14:58:09 -- Installing: /usr/local/include/edgex/devices.h 14:58:09 -- Installing: /usr/local/include/edgex/profiles.h 14:58:09 -- Installing: /usr/local/include/edgex/edgex-base.h 14:58:09 -- Installing: /usr/local/include/edgex/rest-server.h 14:58:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:58:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:58:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:58:09 make: Leaving directory '/tmp/sdk/build/release' 14:58:10 Removing intermediate container cd852f678837 14:58:10 ---> 6be563a9f734 14:58:10 Step 14/21 : FROM ${BASE} 14:58:10 ---> b2bbfebb3566 14:58:10 Step 15/21 : LABEL maintainer="IOTech " 14:58:10 ---> Running in 11650ec7a281 14:58:10 Removing intermediate container 11650ec7a281 14:58:10 ---> cd85b9d79c74 14:58:10 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 14:58:10 ---> Running in 7c46d1ba31dc 14:58:10 Connecting to iotech.jfrog.io (52.49.55.68:443) 14:58:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:58:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:58:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:58:11 Removing intermediate container 7c46d1ba31dc 14:58:11 ---> dc75039c36be 14:58:11 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 14:58:11 ---> Running in 0abb212ea32c 14:58:12 Removing intermediate container 0abb212ea32c 14:58:12 ---> 11b1aef10500 14:58:12 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 14:58:12 ---> Running in 9623b9633af2 14:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:58:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 14:58:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:58:13 (1/7) Installing curl (7.83.1-r6) 14:58:13 (2/7) Installing hiredis (1.0.2-r0) 14:58:13 (3/7) Installing hiredis-dev (1.0.2-r0) 14:58:13 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 14:58:13 (5/7) Installing libcbor (0.9.0-r1) 14:58:13 (6/7) Installing libuuid (2.38-r1) 14:58:13 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 14:58:14 Executing busybox-1.35.0-r17.trigger 14:58:14 OK: 275 MiB in 83 packages 14:58:15 Removing intermediate container 9623b9633af2 14:58:15 ---> 628e97142444 14:58:15 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:58:15 ---> 8c841f105d85 14:58:15 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 14:58:15 ---> d813e1b03dc2 14:58:15 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:58:15 ---> 2ba493122a39 14:58:15 Successfully built 2ba493122a39 14:58:15 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 14:58:16 + docker inspect -f . ci-base-image-x86_64 14:58:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:16 prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container 14:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:58:16 $ docker top f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:16 + make test 14:58:16 echo "make test" 14:58:16 make test [Pipeline] } 14:58:16 $ docker stop --time=1 f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd 14:58:18 $ docker rm -f --volumes f24aa21682b7988662266252241a794849ef36298dacb6cdac2a3797312bf7cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:58:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:58:19 + ls -al . 14:58:19 total 212 14:58:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 14:57 . 14:58:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 .. 14:58:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:57 .git 14:58:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 .github 14:58:19 -rw-rw-r-- 1 jenkins jenkins 176 Apr 6 14:57 .gitignore 14:58:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 14:57 .semver 14:58:19 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 6 14:57 Attribution.txt 14:58:19 -rw-rw-r-- 1 jenkins jenkins 8743 Apr 6 14:57 CHANGES 14:58:19 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 6 14:57 Doxyfile 14:58:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 14:57 GOVERNANCE.md 14:58:19 -rw-rw-r-- 1 jenkins jenkins 784 Apr 6 14:57 Jenkinsfile 14:58:19 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 6 14:57 LICENSE 14:58:19 -rw-rw-r-- 1 jenkins jenkins 444 Apr 6 14:57 Makefile 14:58:19 -rw-rw-r-- 1 jenkins jenkins 618 Apr 6 14:57 OWNERS.md 14:58:19 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 6 14:57 README.IOT.md 14:58:19 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 6 14:57 README.md 14:58:19 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 6 14:57 README.v3.md 14:58:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 14:57 VERSION 14:58:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 docs 14:58:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 include 14:58:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:57 scripts 14:58:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:19 + 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=79809f9ddfe1f96c0824338f8296ea4a141a28e3 --label arch=amd64 --label version=0.0.0 . 14:58:19 Sending build context to Docker daemon 4.816MB 14:58:19 Step 1/17 : ARG BASE=alpine:3.16 14:58:19 Step 2/17 : FROM ${BASE} 14:58:19 ---> 2ba493122a39 14:58:19 Step 3/17 : LABEL maintainer="IOTech " 14:58:19 ---> Running in 15f3dc07eaa7 14:58:19 Removing intermediate container 15f3dc07eaa7 14:58:19 ---> b4d9891b87a4 14:58:19 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 14:58:20 ---> Running in 084e60b13160 14:58:20 Connecting to iotech.jfrog.io (52.49.145.60:443) 14:58:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:58:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:58:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:58:20 Removing intermediate container 084e60b13160 14:58:20 ---> de88172aaf58 14:58:20 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 14:58:20 ---> Running in c97763ce4f8c 14:58:21 Removing intermediate container c97763ce4f8c 14:58:21 ---> 9c46c0ace8aa 14:58:21 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 14:58:21 ---> Running in 2b6d024e1874 14:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:58:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 14:58:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:58:22 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 14:58:22 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 14:58:22 (3/9) Installing libcbor-dev (0.9.0-r1) 14:58:22 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 14:58:22 (5/9) Installing libblkid (2.38-r1) 14:58:22 (6/9) Installing libfdisk (2.38-r1) 14:58:22 (7/9) Installing libmount (2.38-r1) 14:58:22 (8/9) Installing libsmartcols (2.38-r1) 14:58:22 (9/9) Installing util-linux-dev (2.38-r1) 14:58:22 Executing busybox-1.35.0-r17.trigger 14:58:22 OK: 281 MiB in 92 packages 14:58:23 Removing intermediate container 2b6d024e1874 14:58:23 ---> 519b38436121 14:58:23 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:58:23 ---> b38c9c1e929c 14:58:23 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:58:23 ---> 30b11bb68258 14:58:23 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:58:23 ---> 5d5ffc755886 14:58:23 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:58:23 ---> 53a97122c0f5 14:58:23 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:58:23 ---> 54b1748360f0 14:58:23 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:58:24 ---> dc7292d9561f 14:58:24 Step 13/17 : WORKDIR /edgex-c-sdk 14:58:24 ---> Running in f3b2fef56747 14:58:24 Removing intermediate container f3b2fef56747 14:58:24 ---> 108f912c714c 14:58:24 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:58:24 ---> Running in d796a7ef4766 14:58:24 Removing intermediate container d796a7ef4766 14:58:24 ---> ed1afe944405 14:58:24 Step 15/17 : LABEL arch=amd64 14:58:24 ---> Running in 99bddd9dc6e3 14:58:24 Removing intermediate container 99bddd9dc6e3 14:58:24 ---> 71f49a9680c2 14:58:24 Step 16/17 : LABEL git_sha=79809f9ddfe1f96c0824338f8296ea4a141a28e3 14:58:24 ---> Running in 4e0305e1436d 14:58:24 Removing intermediate container 4e0305e1436d 14:58:24 ---> 5c2d57d32b17 14:58:24 Step 17/17 : LABEL version=0.0.0 14:58:24 ---> Running in 983fedfc208a 14:58:24 Removing intermediate container 983fedfc208a 14:58:24 ---> 9d1bc9666e6c 14:58:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:58:24 Successfully built 9d1bc9666e6c 14:58:24 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 14:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:58:25 14:58:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:58:25 latest: Pulling from edgex-lftools-log-publisher 14:58:25 5eb5b503b376: Pulling fs layer 14:58:25 5c69ac0246d0: Pulling fs layer 14:58:25 ec43610c2a17: Pulling fs layer 14:58:25 3a2ae6a8a46f: Pulling fs layer 14:58:25 33b1e0a273af: Pulling fs layer 14:58:25 5d3b04190fa2: Pulling fs layer 14:58:25 2f39f015ded8: Pulling fs layer 14:58:25 3a2ae6a8a46f: Waiting 14:58:25 33b1e0a273af: Waiting 14:58:25 5c69ac0246d0: Verifying Checksum 14:58:25 5c69ac0246d0: Download complete 14:58:25 3a2ae6a8a46f: Download complete 14:58:25 33b1e0a273af: Verifying Checksum 14:58:25 33b1e0a273af: Download complete 14:58:25 5d3b04190fa2: Download complete 14:58:25 ec43610c2a17: Verifying Checksum 14:58:25 ec43610c2a17: Download complete 14:58:25 5eb5b503b376: Verifying Checksum 14:58:25 5eb5b503b376: Download complete 14:58:26 2f39f015ded8: Download complete 14:58:27 5eb5b503b376: Pull complete 14:58:27 5c69ac0246d0: Pull complete 14:58:27 ec43610c2a17: Pull complete 14:58:27 3a2ae6a8a46f: Pull complete 14:58:28 33b1e0a273af: Pull complete 14:58:28 5d3b04190fa2: Pull complete 14:58:32 2f39f015ded8: Pull complete 14:58:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:58:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:32 prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container 14:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:58:35 $ docker top ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:36 ---> job-cost.sh 14:58:36 lf-activate-venv: SKIPPING 14:58:36 INFO: No Stack... 14:58:36 INFO: Retrieving Pricing Info for: v3-standard-8 14:58:37 INFO: Archiving Costs [Pipeline] sh 14:58:37 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/cost.csv 14:58:37 + cut -d, -f6 [Pipeline] lock 14:58:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] 14:58:37 Resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] did not exist. Created. 14:58:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:58:37 + echo total: 0.2199999988079071 [Pipeline] stash 14:58:38 Stashed 1 file(s) [Pipeline] } 14:58:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:58:38 $ docker stop --time=1 ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a 14:58:39 $ docker rm -f --volumes ffae30f4c84802d2cc7d4c6e83cd722d1c4af43986333a4d04f9fa2dca32fa4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:59:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7011 in /w/workspace/edgexfoundry_device-sdk-c_PR-453 [Pipeline] { [Pipeline] ws 14:59:26 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 14:59:26 Selected Git installation does not exist. Using Default 14:59:26 The recommended git tool is: NONE 14:59:32 using credential edgex-jenkins-ssh 14:59:32 Cloning the remote Git repository 14:59:32 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:59:32 > git init /w/workspace/device-sdk-c/1 # timeout=10 14:59:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:59:32 > git --version # timeout=10 14:59:32 > git --version # 'git version 2.25.1' 14:59:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:59:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:59:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:59:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:59:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:59:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:59:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:59:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:59:35 Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 79809f9ddfe1f96c0824338f8296ea4a141a28e3 14:59:35 Merge succeeded, producing 79809f9ddfe1f96c0824338f8296ea4a141a28e3 14:59:35 Checking out Revision 79809f9ddfe1f96c0824338f8296ea4a141a28e3 (PR-453) 14:59:35 > git config core.sparsecheckout # timeout=10 14:59:35 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 14:59:35 > git remote # timeout=10 14:59:35 > git config --get remote.origin.url # timeout=10 14:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:59:35 > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 14:59:35 > git rev-parse HEAD^{commit} # timeout=10 14:59:35 > git config core.sparsecheckout # timeout=10 14:59:35 > git checkout -f 79809f9ddfe1f96c0824338f8296ea4a141a28e3 # timeout=10 14:59:39 Commit message: "refactor!: update secrets transfer object" 14:59:39 > git --version # timeout=10 14:59:39 > git --version # 'git version 2.25.1' 14:59:39 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:59:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:59:40 % Total % Received % Xferd Average Speed Time Time Time Current 14:59:40 Dload Upload Total Spent Left Speed 14:59:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61599 0 --:--:-- --:--:-- --:--:-- 61898 [Pipeline] sh 14:59:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:59:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:59:41 + sudo tee /etc/docker/daemon.new 14:59:41 { 14:59:41 "registry-mirrors": [ 14:59:41 "https://nexus3.edgexfoundry.org:10001" 14:59:41 ], 14:59:41 "bip": "10.250.0.254/24", 14:59:41 "hosts": [ 14:59:41 "tcp://0.0.0.0:5555", 14:59:41 "unix:///var/run/docker.sock" 14:59:41 ], 14:59:41 "mtu": 1458, 14:59:41 "selinux-enabled": true, 14:59:41 "seccomp-profile": "/etc/docker/seccomp.json" 14:59:41 } [Pipeline] sh 14:59:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:59:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:00 provisioning config files... 15:00:00 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3993631477471748199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:01 ---> docker-login.sh 15:00:01 nexus3.edgexfoundry.org:10001 15:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:01 Configure a credential helper to remove this warning. See 15:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:01 15:00:01 Login Succeeded 15:00:01 nexus3.edgexfoundry.org:10002 15:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:02 Configure a credential helper to remove this warning. See 15:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:02 15:00:02 Login Succeeded 15:00:02 nexus3.edgexfoundry.org:10003 15:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:02 Configure a credential helper to remove this warning. See 15:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:02 15:00:02 Login Succeeded 15:00:02 nexus3.edgexfoundry.org:10004 15:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:02 Configure a credential helper to remove this warning. See 15:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:02 15:00:02 Login Succeeded 15:00:02 docker.io 15:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:05 Configure a credential helper to remove this warning. See 15:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:05 15:00:05 Login Succeeded 15:00:05 ---> docker-login.sh ends [Pipeline] } 15:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:00:05 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:00:05 ========================================================= 15:00:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:00:05 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:06 + 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 . 15:00:06 Sending build context to Docker daemon 2.901MB 15:00:06 Step 1/21 : ARG BASE=alpine:3.16 15:00:06 Step 2/21 : FROM ${BASE} as builder 15:00:06 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:00:06 9b18e9b68314: Pulling fs layer 15:00:06 1def92ead452: Pulling fs layer 15:00:06 9b18e9b68314: Verifying Checksum 15:00:06 9b18e9b68314: Download complete 15:00:07 9b18e9b68314: Pull complete 15:00:09 1def92ead452: Verifying Checksum 15:00:09 1def92ead452: Download complete 15:00:17 1def92ead452: Pull complete 15:00:17 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 15:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:00:17 ---> 9a9802766715 15:00:17 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 15:00:17 ---> Running in fb28ce1835c5 15:00:18 Connecting to iotech.jfrog.io (34.242.55.152:443) 15:00:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:00:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:00:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:00:19 Removing intermediate container fb28ce1835c5 15:00:19 ---> 7dd9fdc521ec 15:00:19 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 15:00:19 ---> Running in 5cfa43800f48 15:00:21 Removing intermediate container 5cfa43800f48 15:00:21 ---> a71bf741e2e3 15:00:21 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 15:00:21 ---> Running in d575c55ef95a 15:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:00:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 15:00:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:00:24 (1/14) Installing hiredis (1.0.2-r0) 15:00:24 (2/14) Installing hiredis-dev (1.0.2-r0) 15:00:24 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 15:00:25 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 15:00:25 (5/14) Installing libcbor (0.9.0-r1) 15:00:25 (6/14) Installing libcbor-dev (0.9.0-r1) 15:00:25 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 15:00:25 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 15:00:26 (9/14) Installing libblkid (2.38-r1) 15:00:26 (10/14) Installing libuuid (2.38-r1) 15:00:26 (11/14) Installing libfdisk (2.38-r1) 15:00:26 (12/14) Installing libmount (2.38-r1) 15:00:26 (13/14) Installing libsmartcols (2.38-r1) 15:00:26 (14/14) Installing util-linux-dev (2.38-r1) 15:00:26 Executing busybox-1.35.0-r17.trigger 15:00:27 OK: 286 MiB in 90 packages 15:00:28 Removing intermediate container d575c55ef95a 15:00:28 ---> ff5d77408553 15:00:28 Step 6/21 : RUN mkdir /tmp/sdk 15:00:28 ---> Running in 4bba2a533546 15:00:29 Removing intermediate container 4bba2a533546 15:00:29 ---> 1d88ef4b076c 15:00:29 Step 7/21 : COPY VERSION /tmp/sdk 15:00:30 ---> 49ff846d28e3 15:00:30 Step 8/21 : COPY src /tmp/sdk/src 15:00:31 ---> 2969f8a58eac 15:00:31 Step 9/21 : COPY include /tmp/sdk/include 15:00:31 ---> 480b149593eb 15:00:31 Step 10/21 : COPY scripts /tmp/sdk/scripts 15:00:32 ---> 9eec1f724996 15:00:32 Step 11/21 : COPY LICENSE /tmp/sdk 15:00:32 ---> b9d7e3aed2c0 15:00:32 Step 12/21 : COPY Attribution.txt /tmp/sdk 15:00:33 ---> 2cb565094988 15:00:33 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:00:33 ---> Running in 77842232dca9 15:00:34 + CPPCHECK=false 15:00:34 + DOCGEN=false 15:00:34 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:00:34 + TOMLVER=SDK-0.2 15:00:34 + CUTILVER=1.4 15:00:34 + '[' 0 -gt 0 ] 15:00:34 + readlink -f ./scripts/build.sh 15:00:34 + dirname /tmp/sdk/scripts/build.sh 15:00:34 + dirname /tmp/sdk/scripts 15:00:34 + ROOT=/tmp/sdk 15:00:34 + cd /tmp/sdk 15:00:34 + '[' '!' -d deps ] 15:00:34 + mkdir deps 15:00:34 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:00:34 + tar -C deps -z -x -f - 15:00:34 Connecting to github.com (140.82.112.4:443) 15:00:34 Connecting to codeload.github.com (140.82.113.10:443) 15:00:34 writing to stdout 15:00:34 - 100% |********************************| 16451 0:00:00 ETA 15:00:34 written to stdout 15:00:34 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:00:34 + mkdir -p /tmp/sdk/build/release 15:00:34 + cd /tmp/sdk/build/release 15:00:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:00:35 -- The C compiler identification is GNU 11.2.1 15:00:35 -- Detecting C compiler ABI info 15:00:35 -- Detecting C compiler ABI info - done 15:00:35 -- Check for working C compiler: /usr/bin/cc - skipped 15:00:35 -- Detecting C compile features 15:00:35 -- Detecting C compile features - done 15:00:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:00:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 15:00:36 -- Found LIBYAML: /usr/lib/libyaml.so 15:00:36 -- Found LIBUUID: /usr/lib/libuuid.so 15:00:36 -- Found LIBCBOR: /usr/lib/libcbor.so 15:00:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:00:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:00:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:00:36 -- /opt/iotech/iot/1.5/include 15:00:36 -- C SDK 0.0.0 for Linux 15:00:36 -- Performing Test CSDK_HAVE_ATOMIC 15:00:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:00:36 -- Found Curses: /usr/lib/libcurses.so 15:00:36 -- Configuring done 15:00:36 -- Generating done 15:00:36 -- Build files have been written to: /tmp/sdk/build/release 15:00:37 + make all package 15:00:37 + tee release.log 15:00:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:00:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:00:39 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:00:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:00:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:00:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:00:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:00:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:00:46 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:00:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:00:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:00:50 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:00:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:00:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:00:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:00:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:00:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:00:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:00:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:00:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:01:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:01:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:01:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:01:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:01:07 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:01:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:01:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:01:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:01:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:01:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:01:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:01:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:01:23 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:01:23 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:01:24 [ 68%] Linking C shared library libcsdk.so 15:01:24 [ 68%] Built target csdk 15:01:24 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:01:25 [ 72%] Linking C executable template 15:01:25 [ 72%] Built target template 15:01:25 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:01:26 [ 76%] Linking C executable device-counter 15:01:26 [ 76%] Built target device-counter 15:01:26 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:01:27 [ 80%] Linking C executable device-random 15:01:27 [ 80%] Built target device-random 15:01:27 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:01:28 [ 84%] Linking C executable device-gyro 15:01:28 [ 84%] Built target device-gyro 15:01:28 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:01:29 [ 88%] Linking C executable device-bitfields 15:01:29 [ 88%] Built target device-bitfields 15:01:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:01:30 [ 92%] Linking C executable template-discovery 15:01:30 [ 92%] Built target template-discovery 15:01:30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:01:31 [ 96%] Linking C executable device-file 15:01:32 [ 96%] Built target device-file 15:01:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:01:32 [100%] Linking C executable device-terminal 15:01:32 [100%] Built target device-terminal 15:01:32 Run CPack packaging tool... 15:01:33 CPack: Create package using TGZ 15:01:33 CPack: Install projects 15:01:33 CPack: - Run preinstall target for: Csdk 15:01:33 CPack: - Install project: Csdk [] 15:01:33 CPack: Create package 15:01:34 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:01:34 + '[' false '=' true ] 15:01:34 + '[' false '=' true ] 15:01:34 + mkdir -p /tmp/sdk/build/debug 15:01:34 + cd /tmp/sdk/build/debug 15:01:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:01:34 -- The C compiler identification is GNU 11.2.1 15:01:34 -- Detecting C compiler ABI info 15:01:34 -- Detecting C compiler ABI info - done 15:01:34 -- Check for working C compiler: /usr/bin/cc - skipped 15:01:34 -- Detecting C compile features 15:01:34 -- Detecting C compile features - done 15:01:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:01:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 15:01:34 -- Found LIBYAML: /usr/lib/libyaml.so 15:01:34 -- Found LIBUUID: /usr/lib/libuuid.so 15:01:34 -- Found LIBCBOR: /usr/lib/libcbor.so 15:01:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:01:34 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:01:35 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:01:35 -- /opt/iotech/iot/1.5/include 15:01:35 -- C SDK 0.0.0 for Linux 15:01:35 -- Performing Test CSDK_HAVE_ATOMIC 15:01:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:01:35 -- Found Curses: /usr/lib/libcurses.so 15:01:35 -- Configuring done 15:01:35 -- Generating done 15:01:35 -- Build files have been written to: /tmp/sdk/build/debug 15:01:35 + make 15:01:35 + tee debug.log 15:01:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:01:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:01:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:01:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:01:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:01:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:01:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:01:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:01:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:01:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:01:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:01:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:01:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:01:42 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:01:42 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:01:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:01:44 [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:01:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:01:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:01:45 [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:01:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:01:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:01:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:01:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:01:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:01:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:01:50 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:01:50 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:01:51 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:01:51 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:01:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:01:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:01:53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:01:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:01:54 [ 68%] Linking C shared library libcsdk.so 15:01:54 [ 68%] Built target csdk 15:01:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:01:55 [ 72%] Linking C executable template 15:01:55 [ 72%] Built target template 15:01:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:01:55 [ 76%] Linking C executable device-counter 15:01:56 [ 76%] Built target device-counter 15:01:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:01:56 [ 80%] Linking C executable device-random 15:01:56 [ 80%] Built target device-random 15:01:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:01:57 [ 84%] Linking C executable device-gyro 15:01:57 [ 84%] Built target device-gyro 15:01:57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:01:58 [ 88%] Linking C executable device-bitfields 15:01:58 [ 88%] Built target device-bitfields 15:01:58 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:01:58 [ 92%] Linking C executable template-discovery 15:01:58 [ 92%] Built target template-discovery 15:01:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:01:59 [ 96%] Linking C executable device-file 15:01:59 [ 96%] Built target device-file 15:01:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:02:00 [100%] Linking C executable device-terminal 15:02:00 [100%] Built target device-terminal 15:02:00 make: Entering directory '/tmp/sdk/build/release' 15:02:00 make[1]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 68%] Built target csdk 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 72%] Built target template 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 76%] Built target device-counter 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 80%] Built target device-random 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 84%] Built target device-gyro 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 88%] Built target device-bitfields 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:00 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:00 [ 92%] Built target template-discovery 15:02:00 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:01 [ 96%] Built target device-file 15:02:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:02:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:02:01 [100%] Built target device-terminal 15:02:01 make[1]: Leaving directory '/tmp/sdk/build/release' 15:02:01 Install the project... 15:02:01 -- Install configuration: "Release" 15:02:01 -- Installing: /usr/local/lib/libcsdk.so 15:02:01 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:02:01 -- Installing: /usr/local/include 15:02:01 -- Installing: /usr/local/include/devsdk 15:02:01 -- Installing: /usr/local/include/devsdk/devsdk.h 15:02:01 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:02:01 -- Installing: /usr/local/include/edgex 15:02:01 -- Installing: /usr/local/include/edgex/rest-server.h 15:02:01 -- Installing: /usr/local/include/edgex/edgex.h 15:02:01 -- Installing: /usr/local/include/edgex/edgex-base.h 15:02:01 -- Installing: /usr/local/include/edgex/devices.h 15:02:01 -- Installing: /usr/local/include/edgex/profiles.h 15:02:01 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:02:01 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:02:01 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:02:01 make: Leaving directory '/tmp/sdk/build/release' 15:02:02 Removing intermediate container 77842232dca9 15:02:02 ---> 809c5139e001 15:02:02 Step 14/21 : FROM ${BASE} 15:02:02 ---> 9a9802766715 15:02:02 Step 15/21 : LABEL maintainer="IOTech " 15:02:02 ---> Running in 52e7a4dd77a2 15:02:02 Removing intermediate container 52e7a4dd77a2 15:02:02 ---> f006a7012204 15:02:02 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 15:02:02 ---> Running in 7f5aa1e847d6 15:02:03 Connecting to iotech.jfrog.io (52.212.183.138:443) 15:02:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:02:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:02:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:02:04 Removing intermediate container 7f5aa1e847d6 15:02:04 ---> 368ba1fae7c2 15:02:04 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 15:02:04 ---> Running in e1b5cedd7f1b 15:02:06 Removing intermediate container e1b5cedd7f1b 15:02:06 ---> 40bd3548de74 15:02:06 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 15:02:06 ---> Running in 5709503ce935 15:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:02:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:02:08 (1/7) Installing curl (7.83.1-r6) 15:02:08 (2/7) Installing hiredis (1.0.2-r0) 15:02:08 (3/7) Installing hiredis-dev (1.0.2-r0) 15:02:08 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 15:02:09 (5/7) Installing libcbor (0.9.0-r1) 15:02:09 (6/7) Installing libuuid (2.38-r1) 15:02:09 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 15:02:10 Executing busybox-1.35.0-r17.trigger 15:02:10 OK: 281 MiB in 83 packages 15:02:11 Removing intermediate container 5709503ce935 15:02:11 ---> 9526d8110a10 15:02:11 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:02:11 ---> ff44e2a081b5 15:02:11 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 15:02:12 ---> 0d4956df1c4d 15:02:12 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:02:13 ---> 015ddefaa19c 15:02:13 Successfully built 015ddefaa19c 15:02:13 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 15:02:13 + docker inspect -f . ci-base-image-arm64 15:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:13 prd-ubuntu20.04-docker-arm64-4c-16g-7011 does not seem to be running inside a container 15:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:02:15 $ docker top d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:16 + make test 15:02:16 echo "make test" 15:02:16 make test [Pipeline] } 15:02:16 $ docker stop --time=1 d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 15:02:17 $ docker rm -f --volumes d2dad65645b08b9c34e852ffa66a5075ec793a743c8c9b1b81c60ba79106e8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:02:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:02:18 + ls -al . 15:02:18 total 208 15:02:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:59 . 15:02:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 .. 15:02:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 14:59 .git 15:02:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 .github 15:02:18 -rw-rw-r-- 1 jenkins jenkins 176 Apr 6 14:59 .gitignore 15:02:18 -rw-rw-r-- 1 jenkins jenkins 3104 Apr 6 14:59 Attribution.txt 15:02:18 -rw-rw-r-- 1 jenkins jenkins 8743 Apr 6 14:59 CHANGES 15:02:18 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 6 14:59 Doxyfile 15:02:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 14:59 GOVERNANCE.md 15:02:18 -rw-rw-r-- 1 jenkins jenkins 784 Apr 6 14:59 Jenkinsfile 15:02:18 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 6 14:59 LICENSE 15:02:18 -rw-rw-r-- 1 jenkins jenkins 444 Apr 6 14:59 Makefile 15:02:18 -rw-rw-r-- 1 jenkins jenkins 618 Apr 6 14:59 OWNERS.md 15:02:18 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 6 14:59 README.IOT.md 15:02:18 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 6 14:59 README.md 15:02:18 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 6 14:59 README.v3.md 15:02:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 14:57 VERSION 15:02:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 docs 15:02:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 include 15:02:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 14:59 scripts 15:02:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 14:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:19 + 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=79809f9ddfe1f96c0824338f8296ea4a141a28e3 --label arch=arm64 --label version=0.0.0 . 15:02:19 Sending build context to Docker daemon 2.901MB 15:02:19 Step 1/17 : ARG BASE=alpine:3.16 15:02:19 Step 2/17 : FROM ${BASE} 15:02:19 ---> 015ddefaa19c 15:02:19 Step 3/17 : LABEL maintainer="IOTech " 15:02:19 ---> Running in 9f6a3c607213 15:02:20 Removing intermediate container 9f6a3c607213 15:02:20 ---> 80146b2ab5cb 15:02:20 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 15:02:20 ---> Running in bd0dfa0651bb 15:02:21 Connecting to iotech.jfrog.io (34.242.68.156:443) 15:02:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:02:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:02:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:02:22 Removing intermediate container bd0dfa0651bb 15:02:22 ---> bb10aab59dae 15:02:22 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 15:02:22 ---> Running in 5f060ac8bbbe 15:02:24 Removing intermediate container 5f060ac8bbbe 15:02:24 ---> f6c4f708b09a 15:02:24 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 15:02:24 ---> Running in 4634c14c7fd6 15:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:02:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:02:26 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 15:02:27 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 15:02:27 (3/9) Installing libcbor-dev (0.9.0-r1) 15:02:27 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 15:02:27 (5/9) Installing libblkid (2.38-r1) 15:02:27 (6/9) Installing libfdisk (2.38-r1) 15:02:27 (7/9) Installing libmount (2.38-r1) 15:02:27 (8/9) Installing libsmartcols (2.38-r1) 15:02:27 (9/9) Installing util-linux-dev (2.38-r1) 15:02:27 Executing busybox-1.35.0-r17.trigger 15:02:27 OK: 287 MiB in 92 packages 15:02:28 Removing intermediate container 4634c14c7fd6 15:02:28 ---> e7a816ae1fb7 15:02:28 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:02:29 ---> d5efc0b46acd 15:02:29 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:02:30 ---> 4372df266f44 15:02:30 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:02:30 ---> aa02746e28ad 15:02:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:02:31 ---> bfa9f059bfc2 15:02:31 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:02:31 ---> bd0d6a274858 15:02:31 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:02:31 ---> c0bbc7c332cc 15:02:31 Step 13/17 : WORKDIR /edgex-c-sdk 15:02:32 ---> Running in d679b43e83e8 15:02:32 Removing intermediate container d679b43e83e8 15:02:32 ---> 83a26a976e5e 15:02:32 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:02:32 ---> Running in 34b8ae46b906 15:02:32 Removing intermediate container 34b8ae46b906 15:02:32 ---> 522c84bf1867 15:02:32 Step 15/17 : LABEL arch=arm64 15:02:33 ---> Running in aafd7a9e5a5f 15:02:33 Removing intermediate container aafd7a9e5a5f 15:02:33 ---> f36af61e0e0e 15:02:33 Step 16/17 : LABEL git_sha=79809f9ddfe1f96c0824338f8296ea4a141a28e3 15:02:33 ---> Running in cedd982a3635 15:02:33 Removing intermediate container cedd982a3635 15:02:33 ---> f0cb2cdf04d3 15:02:33 Step 17/17 : LABEL version=0.0.0 15:02:33 ---> Running in a78aa7761c2c 15:02:33 Removing intermediate container a78aa7761c2c 15:02:33 ---> 137e7bacb74b 15:02:33 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:02:34 Successfully built 137e7bacb74b 15:02:34 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 15:02:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:34 15:02:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:35 arm64: Pulling from edgex-lftools-log-publisher 15:02:35 8998bd30e6a1: Pulling fs layer 15:02:35 04944245beec: Pulling fs layer 15:02:35 699f458cf7ca: Pulling fs layer 15:02:35 765212b225bb: Pulling fs layer 15:02:35 f23df028b6ca: Pulling fs layer 15:02:35 d65c8cfc05b1: Pulling fs layer 15:02:35 2437ff75d9bd: Pulling fs layer 15:02:35 765212b225bb: Waiting 15:02:35 f23df028b6ca: Waiting 15:02:35 d65c8cfc05b1: Waiting 15:02:35 2437ff75d9bd: Waiting 15:02:35 04944245beec: Verifying Checksum 15:02:35 04944245beec: Download complete 15:02:35 765212b225bb: Verifying Checksum 15:02:35 765212b225bb: Download complete 15:02:35 f23df028b6ca: Verifying Checksum 15:02:35 f23df028b6ca: Download complete 15:02:35 d65c8cfc05b1: Verifying Checksum 15:02:35 d65c8cfc05b1: Download complete 15:02:35 699f458cf7ca: Verifying Checksum 15:02:35 699f458cf7ca: Download complete 15:02:36 8998bd30e6a1: Verifying Checksum 15:02:36 8998bd30e6a1: Download complete 15:02:38 2437ff75d9bd: Verifying Checksum 15:02:38 2437ff75d9bd: Download complete 15:02:40 8998bd30e6a1: Pull complete 15:02:40 04944245beec: Pull complete 15:02:41 699f458cf7ca: Pull complete 15:02:42 765212b225bb: Pull complete 15:02:42 f23df028b6ca: Pull complete 15:02:42 d65c8cfc05b1: Pull complete 15:02:57 2437ff75d9bd: Pull complete 15:02:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:58 prd-ubuntu20.04-docker-arm64-4c-16g-7011 does not seem to be running inside a container 15:02:58 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:03:00 $ docker top 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:00 ---> job-cost.sh 15:03:01 lf-activate-venv: SKIPPING 15:03:01 INFO: No Stack... 15:03:01 INFO: Retrieving Pricing Info for: v3-standard-4 15:03:02 INFO: Archiving Costs [Pipeline] sh 15:03:02 + cut -d, -f6 15:03:02 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 15:03:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] 15:03:02 Resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] did not exist. Created. 15:03:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:03:03 /w/workspace/device-sdk-c/1@tmp/durable-a8ca8fd5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:03:03 + echo total: 0.10999999940395355 [Pipeline] stash 15:03:03 Warning: overwriting stash ‘stack-cost’ 15:03:04 Stashed 1 file(s) [Pipeline] } 15:03:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:03:04 $ docker stop --time=1 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc 15:03:05 $ docker rm -f --volumes 37f7a2fc0eef9260dad9f56719ae0531a50de3d47e4031b6d487f469ec9cbefc [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:03:07 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives ] 15:03:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives 15:03:07 total 16 15:03:07 drwxr-xr-x 3 root root 4096 Apr 6 14:58 . 15:03:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 14:58 .. 15:03:07 drwxr-xr-x 2 root root 4096 Apr 6 14:58 cost 15:03:07 -rw-r--r-- 1 root root 84 Apr 6 14:58 cost.csv 15:03:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives 15:03:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives 15:03:07 total 16 15:03:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 14:58 . 15:03:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 14:58 .. 15:03:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 14:58 cost 15:03:07 -rw-r--r-- 1 jenkins jenkins 84 Apr 6 14:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:03:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:03:08 ---> package-listing.sh 15:03:08 ++ facter osfamily 15:03:08 ++ tr '[:upper:]' '[:lower:]' 15:03:08 + OS_FAMILY=debian 15:03:08 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-453 15:03:08 + START_PACKAGES=/tmp/packages_start.txt 15:03:08 + END_PACKAGES=/tmp/packages_end.txt 15:03:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:03:08 + PACKAGES=/tmp/packages_start.txt 15:03:08 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-453 ']' 15:03:08 + PACKAGES=/tmp/packages_end.txt 15:03:08 + case "${OS_FAMILY}" in 15:03:08 + dpkg -l 15:03:08 + grep '^ii' 15:03:08 + '[' -f /tmp/packages_start.txt ']' 15:03:08 + '[' -f /tmp/packages_end.txt ']' 15:03:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:03:08 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-453 ']' 15:03:08 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/ 15:03:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-453/archives/ [Pipeline] echo 15:03:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-453/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:03:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:09 prd-ubuntu20.04-docker-8c-8g-7010 does not seem to be running inside a container 15:03:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-453/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-453 -v /w/workspace/edgexfoundry_device-sdk-c_PR-453:/w/workspace/edgexfoundry_device-sdk-c_PR-453:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:03:10 $ docker top 0679fe02b2c0069e666dc87dec8400689b663afdb3f14ca00ab681d5d15cee64 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:10 + touch /tmp/pre-build-complete [Pipeline] sh 15:03:10 + mkdir -p /var/log/sysstat [Pipeline] sh 15:03:11 + ls /var/log/sa-host 15:03:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:11 provisioning config files... 15:03:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-453@tmp/config15677929499806534841tmp [Pipeline] { [Pipeline] echo 15:03:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:03:11 ---> create-netrc.sh [Pipeline] } 15:03:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:03:12 ---> python-tools-install.sh [Pipeline] echo 15:03:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:03:12 ---> sudo-logs.sh 15:03:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:03:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:03:12 ---> job-cost.sh 15:03:12 lf-activate-venv: SKIPPING 15:03:12 DEBUG: total: 0.2199999988079071 15:03:12 INFO: Retrieving Stack Cost... 15:03:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:03:13 INFO: Archiving Costs [Pipeline] echo 15:03:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:03:13 ---> logs-deploy.sh 15:03:13 lf-activate-venv: SKIPPING 15:03:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-453/1 15:03:13 INFO: archiving workspace using pattern(s): 15:03:14 Archives upload complete. 15:03:14 INFO: archiving logs to Nexus