Pull request #486 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from fce8b44c181640430d6cf7146f864b97eec8f6cd+4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (b263c8059146ed746043590d5a1bbc0a25832978) 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-ssh2340462275236864327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2320242846277155982.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1800370382152163806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15592149753804418088.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12015361993373427349.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8618 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit fce8b44c181640430d6cf7146f864b97eec8f6cd Merge succeeded, producing fce8b44c181640430d6cf7146f864b97eec8f6cd Checking out Revision fce8b44c181640430d6cf7146f864b97eec8f6cd (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 Commit message: "feat: Add command line/environment flag for commonConfig" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:23:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:23:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:23:21 ========================================================= 04:23:21 EdgeX Global Pipelines Version Info 04:23:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2b47a9a9c00fa5544f5b67708c05c1916b77c526 # timeout=10 04:23:22 ------------------- 04:23:22 stable info: 04:23:22 ------------------- 04:23:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:23:22 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:23:22 Message: update stable to v1.0.254 04:23:23 ------------------- 04:23:23 experimental info: 04:23:23 ------------------- 04:23:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:23:23 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:23:23 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fce8b44 [Pipeline] echo 04:23:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:23 provisioning config files... 04:23:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config1810956407882116013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:23 ---> docker-login.sh 04:23:23 nexus3.edgexfoundry.org:10001 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 nexus3.edgexfoundry.org:10002 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 nexus3.edgexfoundry.org:10003 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 nexus3.edgexfoundry.org:10004 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 docker.io 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 ---> docker-login.sh ends [Pipeline] } 04:23:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 04:23:25 + git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo 04:23:25 -----------> git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd fce8b44c181640430d6cf7146f864b97eec8f6cd [false] [Pipeline] sh 04:23:25 + git log --format=format:%s -1 fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo 04:23:25 ========================================================= 04:23:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:23:25 ========================================================= 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 04:23:26 + git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo 04:23:26 -----------> git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd fce8b44c181640430d6cf7146f864b97eec8f6cd [false] [Pipeline] sh 04:23:26 + git log --format=format:%s -1 fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo 04:23:26 ========================================================= 04:23:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:23:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 04:23:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:23:26 + grep -v github /etc/ssh/ssh_known_hosts 04:23:26 + [ -e /tmp/ssh_known_hosts ] 04:23:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:23:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:23:26 + sudo tee -a /etc/ssh/ssh_known_hosts 04:23:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:27 04:23:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:23:27 b85a868b505f: Pulling fs layer 04:23:27 e2be974225ed: Pulling fs layer 04:23:27 339a4e72a1f5: Pulling fs layer 04:23:27 988bab9f4d93: Pulling fs layer 04:23:27 1469e6f7b9e6: Pulling fs layer 04:23:27 eaf3925da568: Pulling fs layer 04:23:27 bab4dde63d76: Pulling fs layer 04:23:27 bde34c3a00c8: Pulling fs layer 04:23:27 b352a97aabf1: Pulling fs layer 04:23:27 4872d77fe225: Pulling fs layer 04:23:27 5851b861e8e6: Pulling fs layer 04:23:27 4872d77fe225: Waiting 04:23:27 b352a97aabf1: Waiting 04:23:27 bab4dde63d76: Waiting 04:23:27 bde34c3a00c8: Waiting 04:23:27 5851b861e8e6: Waiting 04:23:27 988bab9f4d93: Waiting 04:23:27 1469e6f7b9e6: Waiting 04:23:27 eaf3925da568: Waiting 04:23:27 e2be974225ed: Download complete 04:23:27 988bab9f4d93: Verifying Checksum 04:23:27 988bab9f4d93: Download complete 04:23:27 1469e6f7b9e6: Verifying Checksum 04:23:27 1469e6f7b9e6: Download complete 04:23:27 339a4e72a1f5: Verifying Checksum 04:23:27 339a4e72a1f5: Download complete 04:23:27 eaf3925da568: Download complete 04:23:27 bde34c3a00c8: Download complete 04:23:27 b352a97aabf1: Download complete 04:23:27 4872d77fe225: Verifying Checksum 04:23:27 5851b861e8e6: Verifying Checksum 04:23:27 5851b861e8e6: Download complete 04:23:27 b85a868b505f: Verifying Checksum 04:23:27 b85a868b505f: Download complete 04:23:28 bab4dde63d76: Verifying Checksum 04:23:28 bab4dde63d76: Download complete 04:23:29 b85a868b505f: Pull complete 04:23:29 e2be974225ed: Pull complete 04:23:29 339a4e72a1f5: Pull complete 04:23:29 988bab9f4d93: Pull complete 04:23:30 1469e6f7b9e6: Pull complete 04:23:30 eaf3925da568: Pull complete 04:23:32 bab4dde63d76: Pull complete 04:23:32 bde34c3a00c8: Pull complete 04:23:32 b352a97aabf1: Pull complete 04:23:32 4872d77fe225: Pull complete 04:23:32 5851b861e8e6: Pull complete 04:23:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:32 prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container 04:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:23:36 $ docker top 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 -eo pid,comm 04:23:36 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). 04:23:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:36 [ssh-agent] Looking for ssh-agent implementation... 04:23:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:36 $ docker exec 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent 04:23:36 SSH_AUTH_SOCK=/tmp/ssh-b6BfJyKvxce5/agent.32 04:23:36 SSH_AGENT_PID=38 04:23:36 Running ssh-add (command line suppressed) 04:23:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_13555789507678435680.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_13555789507678435680.key) 04:23:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:37 + git tag --points-at HEAD [Pipeline] } 04:23:37 $ docker exec --env ******** --env ******** 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent -k 04:23:37 unset SSH_AUTH_SOCK; 04:23:37 unset SSH_AGENT_PID; 04:23:37 echo Agent pid 38 killed; 04:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:37 [ssh-agent] Looking for ssh-agent implementation... 04:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:37 $ docker exec 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent 04:23:37 SSH_AUTH_SOCK=/tmp/ssh-8JRYosiJRmQa/agent.70 04:23:37 SSH_AGENT_PID=76 04:23:37 Running ssh-add (command line suppressed) 04:23:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12023173192105782096.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12023173192105782096.key) 04:23:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:38 + git semver init 04:23:38 2023-10-06 04:23:38,302 [run_init] DEBUG init version:0.0.0 force:False 04:23:38 2023-10-06 04:23:38,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver 04:23:38 2023-10-06 04:23:38,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver 04:23:38 2023-10-06 04:23:38,303 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486, universal_newlines=False, shell=None, istream=None) 04:23:39 2023-10-06 04:23:39,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude 04:23:39 2023-10-06 04:23:39,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 with force:False 04:23:39 2023-10-06 04:23:39,212 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 04:23:39 2023-10-06 04:23:39,216 [execute] INFO git cat-file --batch-check 04:23:39 2023-10-06 04:23:39,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) 04:23:39 2023-10-06 04:23:39,223 [execute] INFO git cat-file --batch 04:23:39 2023-10-06 04:23:39,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) 04:23:39 2023-10-06 04:23:39,229 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 04:23:39 0.0.0 [Pipeline] } 04:23:39 $ docker exec --env ******** --env ******** 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent -k 04:23:39 unset SSH_AUTH_SOCK; 04:23:39 unset SSH_AGENT_PID; 04:23:39 echo Agent pid 76 killed; 04:23:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:39 + git semver [Pipeline] } 04:23:40 $ docker stop --time=1 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 04:23:41 $ docker rm -f --volumes 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 [Pipeline] // withDockerContainer [Pipeline] sh 04:23:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:23:41 Stashed 1 file(s) [Pipeline] echo 04:23:41 [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 04:23:41 provisioning config files... 04:23:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config8954315047849446148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:42 ---> docker-login.sh 04:23:42 nexus3.edgexfoundry.org:10001 04:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:42 Configure a credential helper to remove this warning. See 04:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:42 04:23:42 Login Succeeded 04:23:42 nexus3.edgexfoundry.org:10002 04:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:42 Configure a credential helper to remove this warning. See 04:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:42 04:23:42 Login Succeeded 04:23:42 nexus3.edgexfoundry.org:10003 04:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:42 Configure a credential helper to remove this warning. See 04:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:42 04:23:42 Login Succeeded 04:23:42 nexus3.edgexfoundry.org:10004 04:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:42 Configure a credential helper to remove this warning. See 04:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:42 04:23:42 Login Succeeded 04:23:42 docker.io 04:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:43 Configure a credential helper to remove this warning. See 04:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:43 04:23:43 Login Succeeded 04:23:43 ---> docker-login.sh ends [Pipeline] } 04:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:43 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 04:23:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:43 ========================================================= 04:23:43 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 04:23:43 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:43 + 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 . 04:23:43 Sending build context to Docker daemon 4.937MB 04:23:43 Step 1/21 : ARG BASE=alpine:3.16 04:23:43 Step 2/21 : FROM ${BASE} as builder 04:23:43 latest: Pulling from edgex-devops/edgex-gcc-base 04:23:43 91d30c5bc195: Pulling fs layer 04:23:43 316e5a4585fb: Pulling fs layer 04:23:43 91d30c5bc195: Verifying Checksum 04:23:43 91d30c5bc195: Download complete 04:23:43 91d30c5bc195: Pull complete 04:23:44 316e5a4585fb: Verifying Checksum 04:23:44 316e5a4585fb: Download complete 04:23:47 316e5a4585fb: Pull complete 04:23:47 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 04:23:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 04:23:47 ---> e83ffa357ff4 04:23:47 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 04:23:50 ---> Running in 8ae66cdc22c6 04:23:50 Connecting to iotech.jfrog.io (34.246.139.145:443) 04:23:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:23:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:23:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:23:50 Removing intermediate container 8ae66cdc22c6 04:23:50 ---> 7b1c53ca6078 04:23:50 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:23:50 ---> Running in 90f1a6a2a20b 04:23:51 Removing intermediate container 90f1a6a2a20b 04:23:51 ---> b7366f2490ff 04:23:51 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 04:23:51 ---> Running in 43f892a3d188 04:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:23:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:23:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:23:52 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:23:52 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:23:53 (3/16) Installing hiredis (1.0.2-r0) 04:23:53 (4/16) Installing hiredis-dev (1.0.2-r0) 04:23:53 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 04:23:53 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:23:53 (7/16) Installing libcbor (0.9.0-r1) 04:23:53 (8/16) Installing libcbor-dev (0.9.0-r1) 04:23:53 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 04:23:53 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:23:54 (11/16) Installing libblkid (2.38-r1) 04:23:54 (12/16) Installing libuuid (2.38-r1) 04:23:54 (13/16) Installing libfdisk (2.38-r1) 04:23:54 (14/16) Installing libmount (2.38-r1) 04:23:54 (15/16) Installing libsmartcols (2.38-r1) 04:23:54 (16/16) Installing util-linux-dev (2.38-r1) 04:23:54 Executing busybox-1.35.0-r17.trigger 04:23:54 OK: 280 MiB in 90 packages 04:23:55 Removing intermediate container 43f892a3d188 04:23:55 ---> d6d466a13654 04:23:55 Step 6/21 : RUN mkdir /tmp/sdk 04:23:55 ---> Running in 3c976c5a8907 04:23:56 Removing intermediate container 3c976c5a8907 04:23:56 ---> 3dbe5df55c1f 04:23:56 Step 7/21 : COPY VERSION /tmp/sdk 04:23:56 ---> 3a7f41537817 04:23:56 Step 8/21 : COPY src /tmp/sdk/src 04:23:56 ---> e63b008cb468 04:23:56 Step 9/21 : COPY include /tmp/sdk/include 04:23:56 ---> da1cd4d191d3 04:23:56 Step 10/21 : COPY scripts /tmp/sdk/scripts 04:23:56 ---> c6f3a0707ce8 04:23:56 Step 11/21 : COPY LICENSE /tmp/sdk 04:23:56 Still waiting to schedule task 04:23:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:23:56 ---> a792bb36cb25 04:23:56 Step 12/21 : COPY Attribution.txt /tmp/sdk 04:23:56 ---> 318e3d7ae09c 04:23:56 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 04:23:56 ---> Running in 01e99016f42c 04:23:57 + CPPCHECK=false 04:23:57 + DOCGEN=false 04:23:57 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 04:23:57 + '[' 0 -gt 0 ] 04:23:57 + readlink -f ./scripts/build.sh 04:23:57 + dirname /tmp/sdk/scripts/build.sh 04:23:57 + dirname /tmp/sdk/scripts 04:23:57 + ROOT=/tmp/sdk 04:23:57 + cd /tmp/sdk 04:23:57 + mkdir -p /tmp/sdk/build/release 04:23:57 + cd /tmp/sdk/build/release 04:23:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 04:23:57 -- The C compiler identification is GNU 11.2.1 04:23:57 -- Detecting C compiler ABI info 04:23:57 -- Detecting C compiler ABI info - done 04:23:57 -- Check for working C compiler: /usr/bin/cc - skipped 04:23:57 -- Detecting C compile features 04:23:57 -- Detecting C compile features - done 04:23:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:23:57 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:23:57 -- Found LIBYAML: /usr/lib/libyaml.so 04:23:57 -- Found LIBUUID: /usr/lib/libuuid.so 04:23:57 -- Found LIBCBOR: /usr/lib/libcbor.so 04:23:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:23:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:23:57 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:23:57 -- /opt/iotech/iot/1.5/include 04:23:57 -- C SDK 0.0.0 for Linux 04:23:57 -- Performing Test CSDK_HAVE_ATOMIC 04:23:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:23:57 -- Found Curses: /usr/lib/libcurses.so 04:23:57 -- Configuring done 04:23:57 -- Generating done 04:23:57 -- Build files have been written to: /tmp/sdk/build/release 04:23:57 + make all package 04:23:57 + tee release.log 04:23:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:23:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:23:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:23:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:23:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:23:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:23:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:23:59 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 04:23:59 /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:23:59 297 | while (privateConfig) 04:23:59 | ^~~~~~~~~~~~~ 04:23:59 /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:23:59 274 | while (result) 04:23:59 | ^~~~~~ 04:23:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:23:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:23:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:23:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:23:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:24:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:24:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:24:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:24:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:24:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:24:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:24:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:24:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:24:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:24:02 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:24:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:24:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:24:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:24:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:24:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:24:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:24:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:24:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:24:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:24:03 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:24:03 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:24:03 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:24:03 | ^~~~~~~~~~~~~~~~~~~~ 04:24:03 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:24:03 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:24:03 | ^ 04:24:03 /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:24:03 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 04:24:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 04:24:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:24:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:24:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:24:04 [ 68%] Linking C shared library libcsdk.so 04:24:04 [ 68%] Built target csdk 04:24:04 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:24:04 [ 72%] Linking C executable template 04:24:04 [ 72%] Built target template 04:24:04 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:24:04 [ 76%] Linking C executable device-counter 04:24:04 [ 76%] Built target device-counter 04:24:04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:24:04 [ 80%] Linking C executable device-random 04:24:05 [ 80%] Built target device-random 04:24:05 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:24:05 [ 84%] Linking C executable device-gyro 04:24:05 [ 84%] Built target device-gyro 04:24:05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:24:05 [ 88%] Linking C executable device-bitfields 04:24:05 [ 88%] Built target device-bitfields 04:24:05 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:24:05 [ 92%] Linking C executable template-discovery 04:24:05 [ 92%] Built target template-discovery 04:24:05 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:24:06 [ 96%] Linking C executable device-file 04:24:06 [ 96%] Built target device-file 04:24:06 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:24:06 [100%] Linking C executable device-terminal 04:24:06 [100%] Built target device-terminal 04:24:06 Run CPack packaging tool... 04:24:06 CPack: Create package using TGZ 04:24:06 CPack: Install projects 04:24:06 CPack: - Run preinstall target for: Csdk 04:24:06 CPack: - Install project: Csdk [] 04:24:06 CPack: Create package 04:24:06 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 04:24:06 + '[' false '=' true ] 04:24:06 + '[' false '=' true ] 04:24:06 + mkdir -p /tmp/sdk/build/debug 04:24:06 + cd /tmp/sdk/build/debug 04:24:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 04:24:06 -- The C compiler identification is GNU 11.2.1 04:24:06 -- Detecting C compiler ABI info 04:24:06 -- Detecting C compiler ABI info - done 04:24:06 -- Check for working C compiler: /usr/bin/cc - skipped 04:24:06 -- Detecting C compile features 04:24:06 -- Detecting C compile features - done 04:24:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:24:06 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:24:06 -- Found LIBYAML: /usr/lib/libyaml.so 04:24:06 -- Found LIBUUID: /usr/lib/libuuid.so 04:24:06 -- Found LIBCBOR: /usr/lib/libcbor.so 04:24:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:24:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:24:06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:24:06 -- /opt/iotech/iot/1.5/include 04:24:06 -- C SDK 0.0.0 for Linux 04:24:06 -- Performing Test CSDK_HAVE_ATOMIC 04:24:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:24:06 -- Found Curses: /usr/lib/libcurses.so 04:24:06 -- Configuring done 04:24:06 -- Generating done 04:24:06 -- Build files have been written to: /tmp/sdk/build/debug 04:24:06 + make 04:24:06 + tee debug.log 04:24:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:24:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:24:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:24:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:24:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:24:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:24:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:24:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:24:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:24:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:24:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:24:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:24:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:24:08 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:24:08 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:24:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:24:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:24:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:24:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:24:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:24:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:24:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:24:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:24:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:24:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:24:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:24:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:24:09 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:24:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:24:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:24:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:24:09 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:24:09 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:24:09 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:24:09 | ^~~~~~~~~~~~~~~~~~~~ 04:24:09 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:24:09 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:24:09 | ^ 04:24:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:24:10 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:24:10 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:24:10 [ 68%] Linking C shared library libcsdk.so 04:24:10 [ 68%] Built target csdk 04:24:10 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:24:10 [ 72%] Linking C executable template 04:24:10 [ 72%] Built target template 04:24:10 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:24:10 [ 76%] Linking C executable device-counter 04:24:10 [ 76%] Built target device-counter 04:24:10 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:24:10 [ 80%] Linking C executable device-random 04:24:10 [ 80%] Built target device-random 04:24:10 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:24:10 [ 84%] Linking C executable device-gyro 04:24:10 [ 84%] Built target device-gyro 04:24:10 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:24:10 [ 88%] Linking C executable device-bitfields 04:24:10 [ 88%] Built target device-bitfields 04:24:10 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:24:11 [ 92%] Linking C executable template-discovery 04:24:11 [ 92%] Built target template-discovery 04:24:11 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:24:11 [ 96%] Linking C executable device-file 04:24:11 [ 96%] Built target device-file 04:24:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:24:11 [100%] Linking C executable device-terminal 04:24:11 [100%] Built target device-terminal 04:24:11 make: Entering directory '/tmp/sdk/build/release' 04:24:11 make[1]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 68%] Built target csdk 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 72%] Built target template 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 76%] Built target device-counter 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 80%] Built target device-random 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 84%] Built target device-gyro 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 88%] Built target device-bitfields 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 92%] Built target template-discovery 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [ 96%] Built target device-file 04:24:11 make[2]: Entering directory '/tmp/sdk/build/release' 04:24:11 make[2]: Leaving directory '/tmp/sdk/build/release' 04:24:11 [100%] Built target device-terminal 04:24:11 make[1]: Leaving directory '/tmp/sdk/build/release' 04:24:11 Install the project... 04:24:11 -- Install configuration: "Release" 04:24:11 -- Installing: /usr/local/lib/libcsdk.so 04:24:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 04:24:11 -- Installing: /usr/local/include 04:24:11 -- Installing: /usr/local/include/devsdk 04:24:11 -- Installing: /usr/local/include/devsdk/devsdk.h 04:24:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 04:24:11 -- Installing: /usr/local/include/edgex 04:24:11 -- Installing: /usr/local/include/edgex/edgex.h 04:24:11 -- Installing: /usr/local/include/edgex/devices.h 04:24:11 -- Installing: /usr/local/include/edgex/profiles.h 04:24:11 -- Installing: /usr/local/include/edgex/edgex-base.h 04:24:11 -- Installing: /usr/local/include/edgex/rest-server.h 04:24:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 04:24:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 04:24:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 04:24:11 make: Leaving directory '/tmp/sdk/build/release' 04:24:12 Removing intermediate container 01e99016f42c 04:24:12 ---> fed9d3936c6d 04:24:12 Step 14/21 : FROM ${BASE} 04:24:12 ---> e83ffa357ff4 04:24:12 Step 15/21 : LABEL maintainer="IOTech " 04:24:12 ---> Running in 90a691314fd4 04:24:12 Removing intermediate container 90a691314fd4 04:24:12 ---> 20222e978f78 04:24:12 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 04:24:12 ---> Running in 590567ca3003 04:24:12 Connecting to iotech.jfrog.io (54.73.4.50:443) 04:24:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:24:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:24:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:24:13 Removing intermediate container 590567ca3003 04:24:13 ---> dad5b86c255a 04:24:13 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:24:13 ---> Running in e4dadec20275 04:24:14 Removing intermediate container e4dadec20275 04:24:14 ---> 364ad5c32fc0 04:24:14 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 04:24:14 ---> Running in 79cfb7d0acc7 04:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:24:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:15 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:24:15 (1/7) Installing curl (8.3.0-r0) 04:24:15 (2/7) Installing hiredis (1.0.2-r0) 04:24:15 (3/7) Installing hiredis-dev (1.0.2-r0) 04:24:15 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 04:24:15 (5/7) Installing libcbor (0.9.0-r1) 04:24:15 (6/7) Installing libuuid (2.38-r1) 04:24:15 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:24:16 Executing busybox-1.35.0-r17.trigger 04:24:16 OK: 276 MiB in 83 packages 04:24:17 Removing intermediate container 79cfb7d0acc7 04:24:17 ---> c89c30486807 04:24:17 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 04:24:17 ---> b6b5e3d2f462 04:24:17 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 04:24:17 ---> f9271a8715cf 04:24:17 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 04:24:17 ---> 2d5277abb3ba 04:24:17 Successfully built 2d5277abb3ba 04:24:17 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 04:24:17 + docker inspect -f . ci-base-image-x86_64 04:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:17 prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container 04:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:18 $ docker top d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:18 + make test 04:24:18 echo "make test" 04:24:18 make test [Pipeline] } 04:24:18 $ docker stop --time=1 d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e 04:24:19 $ docker rm -f --volumes d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:20 + ls -al . 04:24:20 total 212 04:24:20 drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 04:23 . 04:24:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 .. 04:24:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:23 .git 04:24:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:23 .github 04:24:20 -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:23 .gitignore 04:24:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:23 .semver 04:24:20 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:23 Attribution.txt 04:24:20 -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:23 CHANGES 04:24:20 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:23 Doxyfile 04:24:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:23 GOVERNANCE.md 04:24:20 -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:23 Jenkinsfile 04:24:20 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:23 LICENSE 04:24:20 -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:23 Makefile 04:24:20 -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:23 OWNERS.md 04:24:20 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:23 README.IOT.md 04:24:20 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:23 README.md 04:24:20 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:23 README.v3.md 04:24:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:23 VERSION 04:24:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:23 docs 04:24:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 include 04:24:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:23 scripts 04:24:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:21 + 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=fce8b44c181640430d6cf7146f864b97eec8f6cd --label arch=amd64 --label version=0.0.0 . 04:24:21 Sending build context to Docker daemon 4.937MB 04:24:21 Step 1/17 : ARG BASE=alpine:3.16 04:24:21 Step 2/17 : FROM ${BASE} 04:24:21 ---> 2d5277abb3ba 04:24:21 Step 3/17 : LABEL maintainer="IOTech " 04:24:21 ---> Running in 95e08d74cb3c 04:24:21 Removing intermediate container 95e08d74cb3c 04:24:21 ---> 8f146ff8f2aa 04:24:21 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 04:24:21 ---> Running in bfd94cc69fbf 04:24:21 Connecting to iotech.jfrog.io (34.246.139.145:443) 04:24:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:24:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:24:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:24:22 Removing intermediate container bfd94cc69fbf 04:24:22 ---> 45f5eca01808 04:24:22 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:24:22 ---> Running in a55bdf7e0667 04:24:22 Removing intermediate container a55bdf7e0667 04:24:22 ---> 94029d1ff67f 04:24:22 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 04:24:22 ---> Running in 0dd760c9ac03 04:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:24:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:24:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:24:23 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:24:23 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:24:23 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 04:24:24 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:24:24 (5/11) Installing libcbor-dev (0.9.0-r1) 04:24:24 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 04:24:24 (7/11) Installing libblkid (2.38-r1) 04:24:24 (8/11) Installing libfdisk (2.38-r1) 04:24:24 (9/11) Installing libmount (2.38-r1) 04:24:24 (10/11) Installing libsmartcols (2.38-r1) 04:24:24 (11/11) Installing util-linux-dev (2.38-r1) 04:24:24 Executing busybox-1.35.0-r17.trigger 04:24:24 OK: 281 MiB in 92 packages 04:24:25 Removing intermediate container 0dd760c9ac03 04:24:25 ---> 5e5f36cd08bc 04:24:25 Step 7/17 : COPY VERSION /edgex-c-sdk/ 04:24:25 ---> 9057dcd3ec4e 04:24:25 Step 8/17 : COPY src /edgex-c-sdk/src/ 04:24:25 ---> c66ee1e976fe 04:24:25 Step 9/17 : COPY include /edgex-c-sdk/include/ 04:24:25 ---> 42b35ec69ca5 04:24:25 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 04:24:25 ---> 7c4d2fcb2399 04:24:25 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 04:24:25 ---> cbfac0a27dc3 04:24:25 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 04:24:25 ---> 035d489c53c5 04:24:25 Step 13/17 : WORKDIR /edgex-c-sdk 04:24:25 ---> Running in 96999f6a9431 04:24:25 Removing intermediate container 96999f6a9431 04:24:25 ---> cd860325f56e 04:24:25 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 04:24:26 ---> Running in de1824f8e4ab 04:24:26 Removing intermediate container de1824f8e4ab 04:24:26 ---> 0c7897e325ed 04:24:26 Step 15/17 : LABEL arch=amd64 04:24:26 ---> Running in 354b03de1b06 04:24:26 Removing intermediate container 354b03de1b06 04:24:26 ---> 1d9b9f6ffc2a 04:24:26 Step 16/17 : LABEL git_sha=fce8b44c181640430d6cf7146f864b97eec8f6cd 04:24:26 ---> Running in ac14c68ff2fa 04:24:26 Removing intermediate container ac14c68ff2fa 04:24:26 ---> a73d5052c9c9 04:24:26 Step 17/17 : LABEL version=0.0.0 04:24:26 ---> Running in a9027878c25b 04:24:26 Removing intermediate container a9027878c25b 04:24:26 ---> 12a2405a9702 04:24:26 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:24:26 Successfully built 12a2405a9702 04:24:26 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 04:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:26 04:24:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:27 latest: Pulling from edgex-lftools-log-publisher 04:24:27 5eb5b503b376: Pulling fs layer 04:24:27 5c69ac0246d0: Pulling fs layer 04:24:27 ec43610c2a17: Pulling fs layer 04:24:27 3a2ae6a8a46f: Pulling fs layer 04:24:27 33b1e0a273af: Pulling fs layer 04:24:27 5d3b04190fa2: Pulling fs layer 04:24:27 2f39f015ded8: Pulling fs layer 04:24:27 33b1e0a273af: Waiting 04:24:27 5d3b04190fa2: Waiting 04:24:27 3a2ae6a8a46f: Waiting 04:24:27 5c69ac0246d0: Verifying Checksum 04:24:27 5c69ac0246d0: Download complete 04:24:27 3a2ae6a8a46f: Verifying Checksum 04:24:27 3a2ae6a8a46f: Download complete 04:24:27 33b1e0a273af: Verifying Checksum 04:24:27 33b1e0a273af: Download complete 04:24:27 5d3b04190fa2: Verifying Checksum 04:24:27 5d3b04190fa2: Download complete 04:24:27 ec43610c2a17: Verifying Checksum 04:24:27 ec43610c2a17: Download complete 04:24:27 5eb5b503b376: Verifying Checksum 04:24:27 5eb5b503b376: Download complete 04:24:28 2f39f015ded8: Download complete 04:24:28 5eb5b503b376: Pull complete 04:24:28 5c69ac0246d0: Pull complete 04:24:29 ec43610c2a17: Pull complete 04:24:29 3a2ae6a8a46f: Pull complete 04:24:29 33b1e0a273af: Pull complete 04:24:29 5d3b04190fa2: Pull complete 04:24:33 2f39f015ded8: Pull complete 04:24:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:34 prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container 04:24:34 $ 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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:24:38 $ docker top 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:38 ---> job-cost.sh 04:24:38 lf-activate-venv: SKIPPING 04:24:38 INFO: No Stack... 04:24:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:39 INFO: Archiving Costs [Pipeline] sh 04:24:39 + + cut -d, -f6 04:24:39 cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [Pipeline] lock 04:24:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] 04:24:39 Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] did not exist. Created. 04:24:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:39 + echo total: 0.2199999988079071 [Pipeline] stash 04:24:40 Stashed 1 file(s) [Pipeline] } 04:24:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:40 $ docker stop --time=1 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 04:24:41 $ docker rm -f --volumes 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8619 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws 04:26:33 Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout 04:26:33 Selected Git installation does not exist. Using Default 04:26:33 The recommended git tool is: NONE 04:26:38 using credential edgex-jenkins-ssh 04:26:38 Cloning the remote Git repository 04:26:38 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 04:26:38 > git init /w/workspace/device-sdk-c/7 # timeout=10 04:26:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:26:38 > git --version # timeout=10 04:26:38 > git --version # 'git version 2.25.1' 04:26:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:26:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:26:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:26:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:26:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:26:41 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit fce8b44c181640430d6cf7146f864b97eec8f6cd 04:26:41 Merge succeeded, producing fce8b44c181640430d6cf7146f864b97eec8f6cd 04:26:41 Checking out Revision fce8b44c181640430d6cf7146f864b97eec8f6cd (PR-486) 04:26:41 > git config core.sparsecheckout # timeout=10 04:26:41 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 04:26:41 > git remote # timeout=10 04:26:41 > git config --get remote.origin.url # timeout=10 04:26:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:26:41 > git merge 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 04:26:41 > git rev-parse HEAD^{commit} # timeout=10 04:26:41 > git config core.sparsecheckout # timeout=10 04:26:41 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 04:26:45 Commit message: "feat: Add command line/environment flag for commonConfig" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:26:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:45 Dload Upload Total Spent Left Speed 04:26:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 04:26:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:26:46 + sudo tee /etc/docker/daemon.new 04:26:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:26:46 { 04:26:46 "registry-mirrors": [ 04:26:46 "https://nexus3.edgexfoundry.org:10001" 04:26:46 ], 04:26:46 "bip": "10.250.0.254/24", 04:26:46 "hosts": [ 04:26:46 "tcp://0.0.0.0:5555", 04:26:46 "unix:///var/run/docker.sock" 04:26:46 ], 04:26:46 "mtu": 1458, 04:26:46 "selinux-enabled": true, 04:26:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:26:46 } [Pipeline] sh 04:26:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:26:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:05 provisioning config files... 04:27:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config11947503079649081616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:06 ---> docker-login.sh 04:27:06 nexus3.edgexfoundry.org:10001 04:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:06 Configure a credential helper to remove this warning. See 04:27:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:06 04:27:06 Login Succeeded 04:27:06 nexus3.edgexfoundry.org:10002 04:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:07 Configure a credential helper to remove this warning. See 04:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:07 04:27:07 Login Succeeded 04:27:07 nexus3.edgexfoundry.org:10003 04:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:07 Configure a credential helper to remove this warning. See 04:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:07 04:27:07 Login Succeeded 04:27:07 nexus3.edgexfoundry.org:10004 04:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:07 Configure a credential helper to remove this warning. See 04:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:07 04:27:07 Login Succeeded 04:27:07 docker.io 04:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:08 Configure a credential helper to remove this warning. See 04:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:08 04:27:08 Login Succeeded 04:27:08 ---> docker-login.sh ends [Pipeline] } 04:27:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:08 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 04:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:08 ========================================================= 04:27:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 04:27:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:08 + 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 . 04:27:08 Sending build context to Docker daemon 2.967MB 04:27:08 Step 1/21 : ARG BASE=alpine:3.16 04:27:08 Step 2/21 : FROM ${BASE} as builder 04:27:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 04:27:09 547446be3368: Pulling fs layer 04:27:09 76bd08e1cacc: Pulling fs layer 04:27:09 547446be3368: Verifying Checksum 04:27:09 547446be3368: Download complete 04:27:09 547446be3368: Pull complete 04:27:11 76bd08e1cacc: Verifying Checksum 04:27:11 76bd08e1cacc: Download complete 04:27:20 76bd08e1cacc: Pull complete 04:27:20 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 04:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 04:27:20 ---> 295cd00e64f4 04:27:20 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 04:27:20 ---> Running in 657391bc8c17 04:27:21 Connecting to iotech.jfrog.io (34.246.139.145:443) 04:27:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:27:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:27:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:27:22 Removing intermediate container 657391bc8c17 04:27:22 ---> f3a4d8181c10 04:27:22 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:27:22 ---> Running in 161b654604d3 04:27:23 Removing intermediate container 161b654604d3 04:27:23 ---> cb8252f5b4a6 04:27:23 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 04:27:24 ---> Running in 4b3ba009a297 04:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:27:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 04:27:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:27:26 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:27:26 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:27:26 (3/16) Installing hiredis (1.0.2-r0) 04:27:26 (4/16) Installing hiredis-dev (1.0.2-r0) 04:27:26 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 04:27:27 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:27:27 (7/16) Installing libcbor (0.9.0-r1) 04:27:27 (8/16) Installing libcbor-dev (0.9.0-r1) 04:27:27 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 04:27:27 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:27:28 (11/16) Installing libblkid (2.38-r1) 04:27:28 (12/16) Installing libuuid (2.38-r1) 04:27:28 (13/16) Installing libfdisk (2.38-r1) 04:27:28 (14/16) Installing libmount (2.38-r1) 04:27:28 (15/16) Installing libsmartcols (2.38-r1) 04:27:28 (16/16) Installing util-linux-dev (2.38-r1) 04:27:28 Executing busybox-1.35.0-r17.trigger 04:27:28 OK: 286 MiB in 90 packages 04:27:29 Removing intermediate container 4b3ba009a297 04:27:29 ---> b2963d987618 04:27:29 Step 6/21 : RUN mkdir /tmp/sdk 04:27:29 ---> Running in a040e4b18565 04:27:31 Removing intermediate container a040e4b18565 04:27:31 ---> 49d76b6aebc1 04:27:31 Step 7/21 : COPY VERSION /tmp/sdk 04:27:31 ---> 1041d4ac49e8 04:27:31 Step 8/21 : COPY src /tmp/sdk/src 04:27:32 ---> b44adfd26ea3 04:27:32 Step 9/21 : COPY include /tmp/sdk/include 04:27:32 ---> 9fb80c32a211 04:27:32 Step 10/21 : COPY scripts /tmp/sdk/scripts 04:27:33 ---> 413e1eb6f916 04:27:33 Step 11/21 : COPY LICENSE /tmp/sdk 04:27:33 ---> 2e37ca5c307f 04:27:33 Step 12/21 : COPY Attribution.txt /tmp/sdk 04:27:34 ---> 5ecdcc91d641 04:27:34 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 04:27:34 ---> Running in 7ecf52468e10 04:27:35 + CPPCHECK=false 04:27:35 + DOCGEN=false 04:27:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 04:27:35 + '[' 0 -gt 0 ] 04:27:35 + readlink -f ./scripts/build.sh 04:27:35 + dirname /tmp/sdk/scripts/build.sh 04:27:35 + dirname /tmp/sdk/scripts 04:27:35 + ROOT=/tmp/sdk 04:27:35 + cd /tmp/sdk 04:27:35 + mkdir -p /tmp/sdk/build/release 04:27:35 + cd /tmp/sdk/build/release 04:27:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 04:27:35 -- The C compiler identification is GNU 11.2.1 04:27:35 -- Detecting C compiler ABI info 04:27:35 -- Detecting C compiler ABI info - done 04:27:36 -- Check for working C compiler: /usr/bin/cc - skipped 04:27:36 -- Detecting C compile features 04:27:36 -- Detecting C compile features - done 04:27:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:27:36 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:27:36 -- Found LIBYAML: /usr/lib/libyaml.so 04:27:36 -- Found LIBUUID: /usr/lib/libuuid.so 04:27:36 -- Found LIBCBOR: /usr/lib/libcbor.so 04:27:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:27:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:27:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:27:36 -- /opt/iotech/iot/1.5/include 04:27:36 -- C SDK 0.0.0 for Linux 04:27:36 -- Performing Test CSDK_HAVE_ATOMIC 04:27:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:27:36 -- Found Curses: /usr/lib/libcurses.so 04:27:36 -- Configuring done 04:27:37 -- Generating done 04:27:37 -- Build files have been written to: /tmp/sdk/build/release 04:27:37 + make all package 04:27:37 + tee release.log 04:27:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:27:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:27:39 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:27:39 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:27:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:27:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:27:44 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:27:44 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 04:27:44 /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:27:44 297 | while (privateConfig) 04:27:44 | ^~~~~~~~~~~~~ 04:27:44 /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:27:44 274 | while (result) 04:27:44 | ^~~~~~ 04:27:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:27:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:27:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:27:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:27:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:27:50 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:27:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:27:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:27:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:27:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:27:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:27:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:27:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:27:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:28:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:28:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:28:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:28:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:28:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:28:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:28:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:28:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:28:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:28:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:28:12 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:28:12 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:28:12 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:28:12 | ^~~~~~~~~~~~~~~~~~~~ 04:28:12 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:28:12 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:28:12 | ^ 04:28:14 /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:28:14 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 04:28:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 04:28:15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:28:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:28:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:28:17 [ 68%] Linking C shared library libcsdk.so 04:28:17 [ 68%] Built target csdk 04:28:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:28:18 [ 72%] Linking C executable template 04:28:18 [ 72%] Built target template 04:28:18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:28:19 [ 76%] Linking C executable device-counter 04:28:19 [ 76%] Built target device-counter 04:28:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:28:20 [ 80%] Linking C executable device-random 04:28:20 [ 80%] Built target device-random 04:28:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:28:21 [ 84%] Linking C executable device-gyro 04:28:21 [ 84%] Built target device-gyro 04:28:21 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:28:22 [ 88%] Linking C executable device-bitfields 04:28:22 [ 88%] Built target device-bitfields 04:28:22 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:28:23 [ 92%] Linking C executable template-discovery 04:28:23 [ 92%] Built target template-discovery 04:28:23 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:28:24 [ 96%] Linking C executable device-file 04:28:24 [ 96%] Built target device-file 04:28:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:28:25 [100%] Linking C executable device-terminal 04:28:25 [100%] Built target device-terminal 04:28:25 Run CPack packaging tool... 04:28:26 CPack: Create package using TGZ 04:28:26 CPack: Install projects 04:28:26 CPack: - Run preinstall target for: Csdk 04:28:26 CPack: - Install project: Csdk [] 04:28:26 CPack: Create package 04:28:26 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 04:28:26 + '[' false '=' true ] 04:28:26 + '[' false '=' true ] 04:28:26 + mkdir -p /tmp/sdk/build/debug 04:28:26 + cd /tmp/sdk/build/debug 04:28:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 04:28:27 -- The C compiler identification is GNU 11.2.1 04:28:27 -- Detecting C compiler ABI info 04:28:27 -- Detecting C compiler ABI info - done 04:28:27 -- Check for working C compiler: /usr/bin/cc - skipped 04:28:27 -- Detecting C compile features 04:28:27 -- Detecting C compile features - done 04:28:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:28:27 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:28:27 -- Found LIBYAML: /usr/lib/libyaml.so 04:28:27 -- Found LIBUUID: /usr/lib/libuuid.so 04:28:27 -- Found LIBCBOR: /usr/lib/libcbor.so 04:28:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:28:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:28:27 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:28:27 -- /opt/iotech/iot/1.5/include 04:28:27 -- C SDK 0.0.0 for Linux 04:28:27 -- Performing Test CSDK_HAVE_ATOMIC 04:28:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:28:28 -- Found Curses: /usr/lib/libcurses.so 04:28:28 -- Configuring done 04:28:28 -- Generating done 04:28:28 -- Build files have been written to: /tmp/sdk/build/debug 04:28:28 + make 04:28:28 + tee debug.log 04:28:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:28:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:28:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:28:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:28:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:28:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:28:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:28:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:28:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:28:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:28:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:28:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:28:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:28:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:28:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:28:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:28:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:28:36 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:28:36 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:28:37 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:28:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:28:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:28:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:28:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:28:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:28:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:28:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:28:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:28:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:28:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:28:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:28:44 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:28:44 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:28:44 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:28:44 | ^~~~~~~~~~~~~~~~~~~~ 04:28:44 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:28:44 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:28:44 | ^ 04:28:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:28:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:28:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:28:45 [ 68%] Linking C shared library libcsdk.so 04:28:46 [ 68%] Built target csdk 04:28:46 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:28:46 [ 72%] Linking C executable template 04:28:46 [ 72%] Built target template 04:28:46 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:28:47 [ 76%] Linking C executable device-counter 04:28:47 [ 76%] Built target device-counter 04:28:47 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:28:47 [ 80%] Linking C executable device-random 04:28:47 [ 80%] Built target device-random 04:28:47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:28:48 [ 84%] Linking C executable device-gyro 04:28:48 [ 84%] Built target device-gyro 04:28:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:28:48 [ 88%] Linking C executable device-bitfields 04:28:49 [ 88%] Built target device-bitfields 04:28:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:28:49 [ 92%] Linking C executable template-discovery 04:28:49 [ 92%] Built target template-discovery 04:28:50 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:28:50 [ 96%] Linking C executable device-file 04:28:50 [ 96%] Built target device-file 04:28:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:28:51 [100%] Linking C executable device-terminal 04:28:51 [100%] Built target device-terminal 04:28:51 make: Entering directory '/tmp/sdk/build/release' 04:28:51 make[1]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 68%] Built target csdk 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 72%] Built target template 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 76%] Built target device-counter 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 80%] Built target device-random 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 84%] Built target device-gyro 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 88%] Built target device-bitfields 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 92%] Built target template-discovery 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [ 96%] Built target device-file 04:28:51 make[2]: Entering directory '/tmp/sdk/build/release' 04:28:51 make[2]: Leaving directory '/tmp/sdk/build/release' 04:28:51 [100%] Built target device-terminal 04:28:51 make[1]: Leaving directory '/tmp/sdk/build/release' 04:28:51 Install the project... 04:28:51 -- Install configuration: "Release" 04:28:51 -- Installing: /usr/local/lib/libcsdk.so 04:28:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 04:28:51 -- Installing: /usr/local/include 04:28:51 -- Installing: /usr/local/include/devsdk 04:28:51 -- Installing: /usr/local/include/devsdk/devsdk.h 04:28:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 04:28:51 -- Installing: /usr/local/include/edgex 04:28:51 -- Installing: /usr/local/include/edgex/rest-server.h 04:28:51 -- Installing: /usr/local/include/edgex/edgex.h 04:28:51 -- Installing: /usr/local/include/edgex/edgex-base.h 04:28:51 -- Installing: /usr/local/include/edgex/devices.h 04:28:51 -- Installing: /usr/local/include/edgex/profiles.h 04:28:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 04:28:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 04:28:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 04:28:51 make: Leaving directory '/tmp/sdk/build/release' 04:28:53 Removing intermediate container 7ecf52468e10 04:28:53 ---> c302575ab19f 04:28:53 Step 14/21 : FROM ${BASE} 04:28:53 ---> 295cd00e64f4 04:28:53 Step 15/21 : LABEL maintainer="IOTech " 04:28:53 ---> Running in 9a8ce8fa0a94 04:28:53 Removing intermediate container 9a8ce8fa0a94 04:28:53 ---> faabbbcabb5c 04:28:53 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 04:28:53 ---> Running in 3f98a6990b2e 04:28:54 Connecting to iotech.jfrog.io (34.247.22.236:443) 04:28:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:28:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:28:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:28:55 Removing intermediate container 3f98a6990b2e 04:28:55 ---> 90d4ea02fecc 04:28:55 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:28:55 ---> Running in f3f80079e139 04:29:00 Removing intermediate container f3f80079e139 04:29:00 ---> 1ed77a94abc6 04:29:00 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 04:29:00 ---> Running in eafa3b5cc087 04:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:29:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:29:02 (1/7) Installing curl (8.2.1-r0) 04:29:02 (2/7) Installing hiredis (1.0.2-r0) 04:29:02 (3/7) Installing hiredis-dev (1.0.2-r0) 04:29:02 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 04:29:02 (5/7) Installing libcbor (0.9.0-r1) 04:29:02 (6/7) Installing libuuid (2.38-r1) 04:29:02 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:29:03 Executing busybox-1.35.0-r17.trigger 04:29:03 OK: 281 MiB in 83 packages 04:29:04 Removing intermediate container eafa3b5cc087 04:29:04 ---> 74fea73c41e3 04:29:04 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 04:29:04 ---> 88ffb475696a 04:29:04 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 04:29:05 ---> 37fcc0925e0f 04:29:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 04:29:06 ---> 9c7f409f213d 04:29:06 Successfully built 9c7f409f213d 04:29:06 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 04:29:06 + docker inspect -f . ci-base-image-arm64 04:29:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:06 prd-ubuntu20.04-docker-arm64-4c-16g-8619 does not seem to be running inside a container 04:29:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:29:08 $ docker top d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:08 + make test 04:29:08 echo "make test" 04:29:08 make test [Pipeline] } 04:29:08 $ docker stop --time=1 d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef 04:29:11 $ docker rm -f --volumes d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:29:12 + ls -al . 04:29:12 total 208 04:29:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:26 . 04:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 .. 04:29:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:26 .git 04:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:26 .github 04:29:12 -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:26 .gitignore 04:29:12 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:26 Attribution.txt 04:29:12 -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:26 CHANGES 04:29:12 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:26 Doxyfile 04:29:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:26 GOVERNANCE.md 04:29:12 -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:26 Jenkinsfile 04:29:12 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:26 LICENSE 04:29:12 -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:26 Makefile 04:29:12 -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:26 OWNERS.md 04:29:12 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:26 README.IOT.md 04:29:12 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:26 README.md 04:29:12 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:26 README.v3.md 04:29:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:23 VERSION 04:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:26 docs 04:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 include 04:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:26 scripts 04:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:13 + 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=fce8b44c181640430d6cf7146f864b97eec8f6cd --label arch=arm64 --label version=0.0.0 . 04:29:13 Sending build context to Docker daemon 2.967MB 04:29:13 Step 1/17 : ARG BASE=alpine:3.16 04:29:13 Step 2/17 : FROM ${BASE} 04:29:13 ---> 9c7f409f213d 04:29:13 Step 3/17 : LABEL maintainer="IOTech " 04:29:13 ---> Running in 85028c98979f 04:29:13 Removing intermediate container 85028c98979f 04:29:13 ---> 00136af111b9 04:29:13 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 04:29:13 ---> Running in d850d5894225 04:29:14 Connecting to iotech.jfrog.io (54.73.4.50:443) 04:29:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:29:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:29:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:29:16 Removing intermediate container d850d5894225 04:29:16 ---> 46ef9a28dc6d 04:29:16 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:29:16 ---> Running in c6f788ad2c4e 04:29:17 Removing intermediate container c6f788ad2c4e 04:29:17 ---> 680ef7712dc1 04:29:17 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 04:29:17 ---> Running in 6088a73d113f 04:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:29:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:29:20 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:29:20 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:29:20 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 04:29:20 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:29:20 (5/11) Installing libcbor-dev (0.9.0-r1) 04:29:20 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 04:29:20 (7/11) Installing libblkid (2.38-r1) 04:29:20 (8/11) Installing libfdisk (2.38-r1) 04:29:20 (9/11) Installing libmount (2.38-r1) 04:29:21 (10/11) Installing libsmartcols (2.38-r1) 04:29:21 (11/11) Installing util-linux-dev (2.38-r1) 04:29:21 Executing busybox-1.35.0-r17.trigger 04:29:21 OK: 287 MiB in 92 packages 04:29:25 Removing intermediate container 6088a73d113f 04:29:25 ---> 2a74d8da19b3 04:29:25 Step 7/17 : COPY VERSION /edgex-c-sdk/ 04:29:25 ---> 871522084425 04:29:25 Step 8/17 : COPY src /edgex-c-sdk/src/ 04:29:26 ---> 70b8cb16ab14 04:29:26 Step 9/17 : COPY include /edgex-c-sdk/include/ 04:29:26 ---> 90b492974194 04:29:26 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 04:29:27 ---> 64ec6f48a94e 04:29:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 04:29:27 ---> 7d826c8f6847 04:29:27 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 04:29:28 ---> 8e8fd7644099 04:29:28 Step 13/17 : WORKDIR /edgex-c-sdk 04:29:28 ---> Running in 6aadcab8c685 04:29:28 Removing intermediate container 6aadcab8c685 04:29:28 ---> f4d7eef8736e 04:29:28 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 04:29:28 ---> Running in af00831cb63d 04:29:28 Removing intermediate container af00831cb63d 04:29:28 ---> d38893a55ca5 04:29:28 Step 15/17 : LABEL arch=arm64 04:29:28 ---> Running in 7bebd3343ee0 04:29:29 Removing intermediate container 7bebd3343ee0 04:29:29 ---> 149a2f000b91 04:29:29 Step 16/17 : LABEL git_sha=fce8b44c181640430d6cf7146f864b97eec8f6cd 04:29:29 ---> Running in 4f7157ca8acd 04:29:29 Removing intermediate container 4f7157ca8acd 04:29:29 ---> dd07b056910e 04:29:29 Step 17/17 : LABEL version=0.0.0 04:29:29 ---> Running in 9bd24b9a9919 04:29:29 Removing intermediate container 9bd24b9a9919 04:29:29 ---> a2740c23f387 04:29:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:29:29 Successfully built a2740c23f387 04:29:29 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 04:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:30 04:29:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:30 arm64: Pulling from edgex-lftools-log-publisher 04:29:30 8998bd30e6a1: Pulling fs layer 04:29:30 04944245beec: Pulling fs layer 04:29:30 699f458cf7ca: Pulling fs layer 04:29:30 765212b225bb: Pulling fs layer 04:29:30 f23df028b6ca: Pulling fs layer 04:29:30 d65c8cfc05b1: Pulling fs layer 04:29:30 2437ff75d9bd: Pulling fs layer 04:29:30 f23df028b6ca: Waiting 04:29:30 d65c8cfc05b1: Waiting 04:29:30 765212b225bb: Waiting 04:29:30 2437ff75d9bd: Waiting 04:29:30 04944245beec: Verifying Checksum 04:29:30 04944245beec: Download complete 04:29:30 765212b225bb: Verifying Checksum 04:29:30 765212b225bb: Download complete 04:29:30 f23df028b6ca: Verifying Checksum 04:29:30 f23df028b6ca: Download complete 04:29:30 d65c8cfc05b1: Verifying Checksum 04:29:30 d65c8cfc05b1: Download complete 04:29:31 699f458cf7ca: Verifying Checksum 04:29:31 699f458cf7ca: Download complete 04:29:31 8998bd30e6a1: Verifying Checksum 04:29:31 8998bd30e6a1: Download complete 04:29:34 2437ff75d9bd: Verifying Checksum 04:29:34 2437ff75d9bd: Download complete 04:29:34 8998bd30e6a1: Pull complete 04:29:35 04944245beec: Pull complete 04:29:38 699f458cf7ca: Pull complete 04:29:39 765212b225bb: Pull complete 04:29:39 f23df028b6ca: Pull complete 04:29:40 d65c8cfc05b1: Pull complete 04:29:55 2437ff75d9bd: Pull complete 04:29:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:55 prd-ubuntu20.04-docker-arm64-4c-16g-8619 does not seem to be running inside a container 04:29:55 $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:29:57 $ docker top 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:58 ---> job-cost.sh 04:29:58 lf-activate-venv: SKIPPING 04:29:58 INFO: No Stack... 04:29:58 INFO: Retrieving Pricing Info for: v3-standard-4 04:29:59 INFO: Archiving Costs [Pipeline] sh 04:29:59 + cat /w/workspace/device-sdk-c/7/archives/cost.csv 04:29:59 + cut -d, -f6 [Pipeline] lock 04:30:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] 04:30:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] did not exist. Created. 04:30:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:30:00 /w/workspace/device-sdk-c/7@tmp/durable-17b68ab5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:30:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:30:01 Warning: overwriting stash ‘stack-cost’ 04:30:01 Stashed 1 file(s) [Pipeline] } 04:30:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] // lock [Pipeline] } 04:30:01 $ docker stop --time=1 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 04:30:03 $ docker rm -f --volumes 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 [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 04:30:03 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] 04:30:03 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:30:03 total 16 04:30:03 drwxr-xr-x 3 root root 4096 Oct 6 04:24 . 04:30:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:24 .. 04:30:03 drwxr-xr-x 2 root root 4096 Oct 6 04:24 cost 04:30:03 -rw-r--r-- 1 root root 84 Oct 6 04:24 cost.csv 04:30:03 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:30:03 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:30:03 total 16 04:30:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:24 . 04:30:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:24 .. 04:30:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:24 cost 04:30:03 -rw-r--r-- 1 jenkins jenkins 84 Oct 6 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:30:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:04 ---> package-listing.sh 04:30:04 ++ facter osfamily 04:30:04 ++ tr '[:upper:]' '[:lower:]' 04:30:05 + OS_FAMILY=debian 04:30:05 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 04:30:05 + START_PACKAGES=/tmp/packages_start.txt 04:30:05 + END_PACKAGES=/tmp/packages_end.txt 04:30:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:05 + PACKAGES=/tmp/packages_start.txt 04:30:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' 04:30:05 + PACKAGES=/tmp/packages_end.txt 04:30:05 + case "${OS_FAMILY}" in 04:30:05 + dpkg -l 04:30:05 + grep '^ii' 04:30:05 + '[' -f /tmp/packages_start.txt ']' 04:30:05 + '[' -f /tmp/packages_end.txt ']' 04:30:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:05 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' 04:30:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ 04:30:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [Pipeline] echo 04:30:05 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:06 prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container 04:30:06 $ 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-486/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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:30:06 $ docker top d736ee70ad7a2541cc40f31931c10b77258a54af62c2694d1f1aa666ddc6aac9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:06 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:07 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:07 + ls /var/log/sa-host 04:30:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:07 provisioning config files... 04:30:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config731083533929663441tmp [Pipeline] { [Pipeline] echo 04:30:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:07 ---> create-netrc.sh [Pipeline] } 04:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:30:08 ---> python-tools-install.sh [Pipeline] echo 04:30:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:08 ---> sudo-logs.sh 04:30:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:08 ---> job-cost.sh 04:30:08 lf-activate-venv: SKIPPING 04:30:08 DEBUG: total: 0.2199999988079071 04:30:08 INFO: Retrieving Stack Cost... 04:30:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:09 INFO: Archiving Costs [Pipeline] echo 04:30:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:09 ---> logs-deploy.sh 04:30:09 lf-activate-venv: SKIPPING 04:30:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/7 04:30:09 INFO: archiving workspace using pattern(s): 04:30:10 Archives upload complete. 04:30:10 INFO: archiving logs to Nexus 04:30:11 ---> uname -a: 04:30:11 Linux prd-ubuntu20-04-docker-8c-8g-8618 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:30:11 04:30:11 04:30:11 ---> lscpu: 04:30:11 Architecture: x86_64 04:30:11 CPU op-mode(s): 32-bit, 64-bit 04:30:11 Byte Order: Little Endian 04:30:11 Address sizes: 40 bits physical, 48 bits virtual 04:30:11 CPU(s): 8 04:30:11 On-line CPU(s) list: 0-7 04:30:11 Thread(s) per core: 1 04:30:11 Core(s) per socket: 1 04:30:11 Socket(s): 8 04:30:11 NUMA node(s): 1 04:30:11 Vendor ID: AuthenticAMD 04:30:11 CPU family: 23 04:30:11 Model: 49 04:30:11 Model name: AMD EPYC-Rome Processor 04:30:11 Stepping: 0 04:30:11 CPU MHz: 2799.998 04:30:11 BogoMIPS: 5599.99 04:30:11 Virtualization: AMD-V 04:30:11 Hypervisor vendor: KVM 04:30:11 Virtualization type: full 04:30:11 L1d cache: 256 KiB 04:30:11 L1i cache: 256 KiB 04:30:11 L2 cache: 4 MiB 04:30:11 L3 cache: 128 MiB 04:30:11 NUMA node0 CPU(s): 0-7 04:30:11 Vulnerability Itlb multihit: Not affected 04:30:11 Vulnerability L1tf: Not affected 04:30:11 Vulnerability Mds: Not affected 04:30:11 Vulnerability Meltdown: Not affected 04:30:11 Vulnerability Mmio stale data: Not affected 04:30:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:30:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:30:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:30:11 Vulnerability Srbds: Not affected 04:30:11 Vulnerability Tsx async abort: Not affected 04:30:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:30:11 04:30:11 04:30:11 ---> nproc: 04:30:11 8 04:30:11 04:30:11 04:30:11 ---> df -h: 04:30:11 Filesystem Size Used Avail Use% Mounted on 04:30:11 overlay 155G 11G 145G 7% / 04:30:11 tmpfs 64M 0 64M 0% /dev 04:30:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:30:11 shm 64M 0 64M 0% /dev/shm 04:30:11 /dev/vda1 155G 11G 145G 7% /facter-os 04:30:11 04:30:11 04:30:11 ---> sar -b -r -n DEV: 04:30:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8618) 10/06/23 _x86_64_ (8 CPU) 04:30:11 04:30:11 04:22:36 LINUX RESTART (8 CPU) 04:30:11 04:30:11 04:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:30:11 04:24:01 286.47 38.47 248.00 0.00 4295.37 39202.00 0.00 04:30:11 04:25:01 151.84 0.30 151.54 0.00 19.20 20126.78 0.00 04:30:11 04:26:01 1.70 0.00 1.70 0.00 0.00 19.21 0.00 04:30:11 04:27:01 0.98 0.00 0.98 0.00 0.00 11.46 0.00 04:30:11 04:28:01 54.87 11.61 43.26 0.00 5176.87 8455.52 0.00 04:30:11 04:29:01 5.32 0.02 5.30 0.00 0.13 117.31 0.00 04:30:11 04:30:01 2.10 0.00 2.10 0.00 0.00 24.26 0.00 04:30:11 Average: 71.90 7.20 64.70 0.00 1355.98 9708.55 0.00 04:30:11 04:30:11 04:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:30:11 04:24:01 29609172 31580220 748564 2.28 66404 2193212 1989540 5.86 1045048 1893264 1936 04:30:11 04:25:01 29096512 31586496 717128 2.18 89760 2657132 1738244 5.12 1057456 2337264 352 04:30:11 04:26:01 29096716 31586896 716332 2.18 89796 2657128 1738244 5.12 1057272 2337268 12 04:30:11 04:27:01 29100940 31591000 712480 2.17 89828 2657136 1738244 5.12 1054508 2337268 256 04:30:11 04:28:01 28606080 31555620 720952 2.19 119224 3082204 1683924 4.96 1377764 2474144 1028 04:30:11 04:29:01 28633948 31578596 699220 2.13 117836 3078952 1688044 4.97 1353616 2470892 444 04:30:11 04:30:01 28634200 31578912 698880 2.13 117904 3078956 1688044 4.97 1353328 2470900 160 04:30:11 Average: 28968224 31579677 716222 2.18 98679 2772103 1752041 5.16 1185570 2331571 598 04:30:11 04:30:11 04:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:30:11 04:24:01 docker0 10.26 13.25 0.78 111.18 0.00 0.00 0.00 0.00 04:30:11 04:24:01 lo 6.26 6.26 0.61 0.61 0.00 0.00 0.00 0.00 04:30:11 04:24:01 ens3 527.86 331.14 4190.78 117.02 0.00 0.00 0.00 0.00 04:30:11 04:24:01 veth3ae4918 0.07 0.20 0.00 0.02 0.00 0.00 0.00 0.00 04:30:11 04:25:01 docker0 11.51 17.15 0.74 128.27 0.00 0.00 0.00 0.00 04:30:11 04:25:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 04:30:11 04:25:01 ens3 138.19 90.75 2680.15 26.23 0.00 0.00 0.00 0.00 04:30:11 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:26:01 ens3 2.02 1.30 0.14 0.12 0.00 0.00 0.00 0.00 04:30:11 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:11 04:27:01 ens3 2.43 1.60 5.97 0.30 0.00 0.00 0.00 0.00 04:30:11 04:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:28:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 04:30:11 04:28:01 ens3 169.36 75.02 2728.14 5.38 0.00 0.00 0.00 0.00 04:30:11 04:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:30:11 04:29:01 ens3 0.48 0.37 0.10 0.09 0.00 0.00 0.00 0.00 04:30:11 04:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 04:30:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:30:11 Average: docker0 3.11 4.34 0.22 34.21 0.00 0.00 0.00 0.00 04:30:11 Average: lo 1.21 1.21 0.12 0.12 0.00 0.00 0.00 0.00 04:30:11 Average: ens3 120.06 71.46 1372.22 21.31 0.00 0.00 0.00 0.00 04:30:11 04:30:11 04:30:11 ---> sar -P ALL: 04:30:11 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8618) 10/06/23 _x86_64_ (8 CPU) 04:30:11 04:30:11 04:22:36 LINUX RESTART (8 CPU) 04:30:11 04:30:11 04:23:01 CPU %user %nice %system %iowait %steal %idle 04:30:11 04:24:01 all 9.28 0.00 3.04 3.49 0.07 84.14 04:30:11 04:24:01 0 8.80 0.00 3.08 5.35 0.05 82.73 04:30:11 04:24:01 1 7.89 0.00 2.42 1.63 0.07 88.00 04:30:11 04:24:01 2 7.31 0.00 2.87 0.25 0.05 89.52 04:30:11 04:24:01 3 10.67 0.00 2.86 0.64 0.07 85.76 04:30:11 04:24:01 4 8.91 0.00 3.10 0.20 0.07 87.72 04:30:11 04:24:01 5 11.90 0.00 3.94 5.18 0.07 78.91 04:30:11 04:24:01 6 9.37 0.00 2.97 4.25 0.07 83.34 04:30:11 04:24:01 7 9.36 0.00 3.05 10.44 0.08 77.06 04:30:11 04:25:01 all 5.63 0.00 2.49 1.41 0.04 90.43 04:30:11 04:25:01 0 6.20 0.00 2.79 5.54 0.05 85.42 04:30:11 04:25:01 1 7.10 0.00 2.67 1.23 0.03 88.97 04:30:11 04:25:01 2 4.79 0.00 2.35 0.49 0.03 92.33 04:30:11 04:25:01 3 6.97 0.00 2.40 1.34 0.05 89.24 04:30:11 04:25:01 4 6.17 0.00 2.64 1.63 0.05 89.52 04:30:11 04:25:01 5 4.71 0.00 2.87 0.07 0.03 92.32 04:30:11 04:25:01 6 4.64 0.00 2.38 0.69 0.03 92.26 04:30:11 04:25:01 7 4.47 0.00 1.80 0.32 0.03 93.37 04:30:11 04:26:01 all 0.02 0.00 0.02 0.01 0.01 99.95 04:30:11 04:26:01 0 0.02 0.00 0.03 0.00 0.00 99.95 04:30:11 04:26:01 1 0.00 0.00 0.00 0.00 0.00 100.00 04:30:11 04:26:01 2 0.05 0.00 0.03 0.02 0.02 99.88 04:30:11 04:26:01 3 0.00 0.00 0.00 0.00 0.00 100.00 04:30:11 04:26:01 4 0.05 0.00 0.02 0.02 0.00 99.92 04:30:11 04:26:01 5 0.03 0.00 0.00 0.00 0.00 99.97 04:30:11 04:26:01 6 0.02 0.00 0.02 0.00 0.02 99.95 04:30:11 04:26:01 7 0.00 0.00 0.03 0.02 0.02 99.93 04:30:11 04:27:01 all 0.06 0.00 0.02 0.03 0.00 99.89 04:30:11 04:27:01 0 0.02 0.00 0.00 0.00 0.02 99.97 04:30:11 04:27:01 1 0.02 0.00 0.00 0.00 0.00 99.98 04:30:11 04:27:01 2 0.25 0.00 0.02 0.00 0.02 99.72 04:30:11 04:27:01 3 0.02 0.00 0.00 0.00 0.00 99.98 04:30:11 04:27:01 4 0.05 0.00 0.00 0.25 0.00 99.70 04:30:11 04:27:01 5 0.02 0.00 0.02 0.00 0.00 99.97 04:30:11 04:27:01 6 0.03 0.00 0.00 0.00 0.00 99.97 04:30:11 04:27:01 7 0.05 0.00 0.10 0.00 0.00 99.85 04:30:11 04:28:01 all 2.49 0.00 1.35 0.99 0.03 95.15 04:30:11 04:28:01 0 2.27 0.00 1.39 1.89 0.02 94.44 04:30:11 04:28:01 1 1.80 0.00 1.12 0.63 0.02 96.43 04:30:11 04:28:01 2 1.30 0.00 1.20 0.23 0.02 97.25 04:30:11 04:28:01 3 1.42 0.00 0.90 1.14 0.03 96.51 04:30:11 04:28:01 4 1.88 0.00 0.85 2.68 0.03 94.55 04:30:11 04:28:01 5 5.76 0.00 1.69 0.68 0.03 91.83 04:30:11 04:28:01 6 1.88 0.00 1.63 0.25 0.02 96.21 04:30:11 04:28:01 7 3.61 0.00 2.02 0.40 0.03 93.93 04:30:11 04:29:01 all 0.12 0.00 0.05 0.10 0.00 99.72 04:30:11 04:29:01 0 0.13 0.00 0.07 0.08 0.00 99.72 04:30:11 04:29:01 1 0.03 0.00 0.07 0.02 0.00 99.88 04:30:11 04:29:01 2 0.03 0.00 0.05 0.07 0.02 99.83 04:30:11 04:29:01 3 0.05 0.00 0.03 0.05 0.00 99.87 04:30:11 04:29:01 4 0.38 0.00 0.03 0.60 0.00 98.98 04:30:11 04:29:01 5 0.22 0.00 0.10 0.00 0.00 99.68 04:30:11 04:29:01 6 0.03 0.00 0.03 0.00 0.00 99.93 04:30:11 04:29:01 7 0.07 0.00 0.05 0.00 0.00 99.88 04:30:11 04:30:01 all 0.02 0.00 0.01 0.21 0.01 99.75 04:30:11 04:30:01 0 0.02 0.00 0.00 0.00 0.02 99.97 04:30:11 04:30:01 1 0.00 0.00 0.02 0.00 0.02 99.97 04:30:11 04:30:01 2 0.02 0.00 0.02 0.00 0.00 99.97 04:30:11 04:30:01 3 0.00 0.00 0.00 0.00 0.00 100.00 04:30:11 04:30:01 4 0.05 0.00 0.02 1.56 0.00 98.38 04:30:11 04:30:01 5 0.00 0.00 0.02 0.00 0.00 99.98 04:30:11 04:30:01 6 0.02 0.00 0.02 0.00 0.00 99.97 04:30:11 04:30:01 7 0.03 0.00 0.02 0.15 0.03 99.77 04:30:11 Average: all 2.50 0.00 0.99 0.89 0.02 95.59 04:30:11 Average: 0 2.48 0.00 1.05 1.83 0.02 94.62 04:30:11 Average: 1 2.40 0.00 0.89 0.50 0.02 96.19 04:30:11 Average: 2 1.96 0.00 0.93 0.15 0.02 96.94 04:30:11 Average: 3 2.72 0.00 0.88 0.45 0.02 95.93 04:30:11 Average: 4 2.49 0.00 0.95 0.99 0.02 95.56 04:30:11 Average: 5 3.23 0.00 1.23 0.84 0.02 94.68 04:30:11 Average: 6 2.28 0.00 1.00 0.74 0.02 95.96 04:30:11 Average: 7 2.50 0.00 1.00 1.60 0.03 94.87 04:30:11 04:30:11 04:30:11