Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9db6249cb5b64beed6f22149c866398dbcee266e 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-ssh15135712288604296618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15878216106820999550.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13160761220543598458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh336361975738161249.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8964019330980121901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27884 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9db6249cb5b64beed6f22149c866398dbcee266e (main) Commit message: "fix: edgex_device_read does not read labels (#508)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 > git rev-list --no-walk 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:02:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:32 ========================================================= 10:02:32 EdgeX Global Pipelines Version Info 10:02:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:32 ------------------- 10:02:32 stable info: 10:02:32 ------------------- 10:02:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:02:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:02:32 Message: update stable to v1.0.258 10:02:33 ------------------- 10:02:33 experimental info: 10:02:33 ------------------- 10:02:33 Commited By: **** collab-it+edgex@linuxfoundation.org 10:02:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 10:02:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:02:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:02:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo 10:02:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9db6249 [Pipeline] echo 10:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:34 provisioning config files... 10:02:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12310965071838790337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:34 ---> ****-login.sh 10:02:34 nexus3.edgexfoundry.org:10001 10:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:34 Configure a credential helper to remove this warning. See 10:02:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:34 10:02:34 Login Succeeded 10:02:34 nexus3.edgexfoundry.org:10002 10:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:35 Configure a credential helper to remove this warning. See 10:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:35 10:02:35 Login Succeeded 10:02:35 nexus3.edgexfoundry.org:10003 10:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:35 Configure a credential helper to remove this warning. See 10:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:35 10:02:35 Login Succeeded 10:02:35 nexus3.edgexfoundry.org:10004 10:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:35 Configure a credential helper to remove this warning. See 10:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:35 10:02:35 Login Succeeded 10:02:35 ****.io 10:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:35 Configure a credential helper to remove this warning. See 10:02:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:35 10:02:35 Login Succeeded 10:02:35 ---> ****-login.sh ends [Pipeline] } 10:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:02:36 + git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo 10:02:36 -----------> git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e 9db6249cb5b64beed6f22149c866398dbcee266e [false] [Pipeline] sh 10:02:36 + git log --format=format:%s -1 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo 10:02:36 ========================================================= 10:02:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:36 ========================================================= 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 10:02:36 + git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo 10:02:36 -----------> git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e 9db6249cb5b64beed6f22149c866398dbcee266e [false] [Pipeline] sh 10:02:37 + git log --format=format:%s -1 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo 10:02:37 ========================================================= 10:02:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:02:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:02:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:37 + grep -v github /etc/ssh/ssh_known_hosts 10:02:37 + [ -e /tmp/ssh_known_hosts ] 10:02:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:02:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:02:37 + sudo tee -a /etc/ssh/ssh_known_hosts 10:02:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:38 10:02:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:38 0.1.4: Pulling from edgex-devops/py-git-semver 10:02:38 b85a868b505f: Pulling fs layer 10:02:38 e2be974225ed: Pulling fs layer 10:02:38 339a4e72a1f5: Pulling fs layer 10:02:38 988bab9f4d93: Pulling fs layer 10:02:38 1469e6f7b9e6: Pulling fs layer 10:02:38 988bab9f4d93: Waiting 10:02:38 1469e6f7b9e6: Waiting 10:02:38 eaf3925da568: Pulling fs layer 10:02:38 bab4dde63d76: Pulling fs layer 10:02:38 bde34c3a00c8: Pulling fs layer 10:02:38 eaf3925da568: Waiting 10:02:38 bab4dde63d76: Waiting 10:02:38 b352a97aabf1: Pulling fs layer 10:02:38 bde34c3a00c8: Waiting 10:02:38 4872d77fe225: Pulling fs layer 10:02:38 5851b861e8e6: Pulling fs layer 10:02:38 4872d77fe225: Waiting 10:02:38 e2be974225ed: Verifying Checksum 10:02:38 e2be974225ed: Download complete 10:02:38 988bab9f4d93: Verifying Checksum 10:02:38 988bab9f4d93: Download complete 10:02:38 1469e6f7b9e6: Verifying Checksum 10:02:38 1469e6f7b9e6: Download complete 10:02:38 eaf3925da568: Download complete 10:02:38 339a4e72a1f5: Verifying Checksum 10:02:38 339a4e72a1f5: Download complete 10:02:38 bde34c3a00c8: Download complete 10:02:38 b352a97aabf1: Download complete 10:02:38 4872d77fe225: Download complete 10:02:38 5851b861e8e6: Download complete 10:02:38 b85a868b505f: Download complete 10:02:39 bab4dde63d76: Verifying Checksum 10:02:39 bab4dde63d76: Download complete 10:02:39 b85a868b505f: Pull complete 10:02:39 e2be974225ed: Pull complete 10:02:40 339a4e72a1f5: Pull complete 10:02:40 988bab9f4d93: Pull complete 10:02:40 1469e6f7b9e6: Pull complete 10:02:40 eaf3925da568: Pull complete 10:02:42 bab4dde63d76: Pull complete 10:02:42 bde34c3a00c8: Pull complete 10:02:42 b352a97aabf1: Pull complete 10:02:42 4872d77fe225: Pull complete 10:02:42 5851b861e8e6: Pull complete 10:02:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:42 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:02:46 $ docker top 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe -eo pid,comm 10:02:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:02:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:46 [ssh-agent] Looking for ssh-agent implementation... 10:02:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:46 $ docker exec 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent 10:02:46 SSH_AUTH_SOCK=/tmp/ssh-UaGtu4jZUoEo/agent.33 10:02:46 SSH_AGENT_PID=39 10:02:46 Running ssh-add (command line suppressed) 10:02:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1510709467215706302.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1510709467215706302.key) 10:02:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:46 + git tag --points-at HEAD [Pipeline] } 10:02:46 $ docker exec --env ******** --env ******** 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent -k 10:02:47 unset SSH_AUTH_SOCK; 10:02:47 unset SSH_AGENT_PID; 10:02:47 echo Agent pid 39 killed; 10:02:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:47 [ssh-agent] Looking for ssh-agent implementation... 10:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:47 $ docker exec 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent 10:02:47 SSH_AUTH_SOCK=/tmp/ssh-4RzkD2klWNet/agent.73 10:02:47 SSH_AGENT_PID=79 10:02:47 Running ssh-add (command line suppressed) 10:02:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_843360412834840846.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_843360412834840846.key) 10:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:47 + git semver init 10:02:48 2024-01-25 10:02:47,959 [run_init] DEBUG init version:0.0.0 force:False 10:02:48 2024-01-25 10:02:47,959 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:02:48 2024-01-25 10:02:47,960 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:02:48 2024-01-25 10:02:47,960 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:02:48 2024-01-25 10:02:48,819 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 10:02:48 2024-01-25 10:02:48,819 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 10:02:48 2024-01-25 10:02:48,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:02:48 2024-01-25 10:02:48,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:02:48 3.0.3-dev.11 [Pipeline] } 10:02:48 $ docker exec --env ******** --env ******** 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent -k 10:02:49 unset SSH_AUTH_SOCK; 10:02:49 unset SSH_AGENT_PID; 10:02:49 echo Agent pid 79 killed; 10:02:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:49 + git semver [Pipeline] } 10:02:49 $ docker stop --time=1 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe 10:02:51 $ docker rm -f --volumes 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe [Pipeline] // withDockerContainer [Pipeline] sh 10:02:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:51 Stashed 1 file(s) [Pipeline] echo 10:02:51 [edgeXSemver]: initialized semver on version 3.0.3-dev.11 [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 10:02:51 provisioning config files... 10:02:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16632801255144287262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:52 ---> ****-login.sh 10:02:52 nexus3.edgexfoundry.org:10001 10:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:52 Configure a credential helper to remove this warning. See 10:02:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:52 10:02:52 Login Succeeded 10:02:52 nexus3.edgexfoundry.org:10002 10:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:52 Configure a credential helper to remove this warning. See 10:02:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:52 10:02:52 Login Succeeded 10:02:52 nexus3.edgexfoundry.org:10003 10:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:52 Configure a credential helper to remove this warning. See 10:02:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:52 10:02:52 Login Succeeded 10:02:52 nexus3.edgexfoundry.org:10004 10:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:52 Configure a credential helper to remove this warning. See 10:02:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:52 10:02:52 Login Succeeded 10:02:52 ****.io 10:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:02:52 Configure a credential helper to remove this warning. See 10:02:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:02:52 10:02:52 Login Succeeded 10:02:52 ---> ****-login.sh ends [Pipeline] } 10:02:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:02:52 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:02:53 ========================================================= 10:02:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:02:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:53 + 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 . 10:02:53 Sending build context to Docker daemon 4.978MB 10:02:53 Step 1/21 : ARG BASE=alpine:3.18 10:02:53 Step 2/21 : FROM ${BASE} as builder 10:02:53 latest: Pulling from edgex-devops/edgex-gcc-base 10:02:53 96526aa774ef: Pulling fs layer 10:02:53 da60e534fd72: Pulling fs layer 10:02:53 96526aa774ef: Verifying Checksum 10:02:53 96526aa774ef: Download complete 10:02:53 96526aa774ef: Pull complete 10:02:54 da60e534fd72: Verifying Checksum 10:02:54 da60e534fd72: Download complete 10:02:57 da60e534fd72: Pull complete 10:02:57 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 10:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:02:57 ---> 6605166a5db4 10:02:57 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 10:02:59 ---> Running in 71ffacfc8224 10:02:59 Connecting to iotech.jfrog.io (34.247.22.236:443) 10:03:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:03:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:03:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:03:00 Removing intermediate container 71ffacfc8224 10:03:00 ---> 5828ceb1b92c 10:03:00 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:03:00 ---> Running in b2f0f4dbc391 10:03:01 Removing intermediate container b2f0f4dbc391 10:03:01 ---> 39b4bd568a48 10:03:01 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 10:03:01 ---> Running in 00a947569825 10:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:03:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:03:02 (1/17) Installing hiredis (1.1.0-r2) 10:03:02 (2/17) Installing hiredis-dev (1.1.0-r2) 10:03:02 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) 10:03:03 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) 10:03:03 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:03:03 (6/17) Installing libcbor (0.10.2-r1) 10:03:03 (7/17) Installing libcbor-dev (0.10.2-r1) 10:03:03 (8/17) Installing libmenuw (6.4_p20230506-r0) 10:03:03 (9/17) Installing libpanelw (6.4_p20230506-r0) 10:03:03 (10/17) Installing libncurses++ (6.4_p20230506-r0) 10:03:03 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 10:03:03 (12/17) Installing libblkid (2.38.1-r8) 10:03:03 (13/17) Installing libuuid (2.38.1-r8) 10:03:03 (14/17) Installing libfdisk (2.38.1-r8) 10:03:03 (15/17) Installing libmount (2.38.1-r8) 10:03:03 (16/17) Installing libsmartcols (2.38.1-r8) 10:03:03 (17/17) Installing util-linux-dev (2.38.1-r8) 10:03:03 Executing busybox-1.36.1-r4.trigger 10:03:03 OK: 336 MiB in 99 packages 10:03:04 Removing intermediate container 00a947569825 10:03:04 ---> 51fe6ab0b551 10:03:04 Step 6/21 : RUN mkdir /tmp/sdk 10:03:04 ---> Running in 7cedb6af1240 10:03:04 Removing intermediate container 7cedb6af1240 10:03:04 ---> cd56ef4cd269 10:03:04 Step 7/21 : COPY VERSION /tmp/sdk 10:03:04 ---> 9f68d787981e 10:03:04 Step 8/21 : COPY src /tmp/sdk/src 10:03:05 ---> 8136de72486b 10:03:05 Step 9/21 : COPY include /tmp/sdk/include 10:03:05 ---> 757b90feea23 10:03:05 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:03:05 ---> 08ffcfa859bf 10:03:05 Step 11/21 : COPY LICENSE /tmp/sdk 10:03:05 ---> 36ed212f4ceb 10:03:05 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:03:05 ---> 4a7bb93689b1 10:03:05 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:03:05 ---> Running in edb8da9ec83c 10:03:05 + CPPCHECK=false 10:03:05 + DOCGEN=false 10:03:05 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:03:05 + '[' 0 -gt 0 ] 10:03:05 + readlink -f ./scripts/build.sh 10:03:05 + dirname /tmp/sdk/scripts/build.sh 10:03:05 + dirname /tmp/sdk/scripts 10:03:05 + ROOT=/tmp/sdk 10:03:05 + cd /tmp/sdk 10:03:05 + mkdir -p /tmp/sdk/build/release 10:03:05 + cd /tmp/sdk/build/release 10:03:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:03:05 -- The C compiler identification is GNU 12.2.1 10:03:05 -- Detecting C compiler ABI info 10:03:06 -- Detecting C compiler ABI info - done 10:03:06 -- Check for working C compiler: /usr/bin/cc - skipped 10:03:06 -- Detecting C compile features 10:03:06 -- Detecting C compile features - done 10:03:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:03:06 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:03:06 -- Found LIBYAML: /usr/lib/libyaml.so 10:03:06 -- Found LIBUUID: /usr/lib/libuuid.so 10:03:06 -- Found LIBCBOR: /usr/lib/libcbor.so 10:03:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:03:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:03:06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:03:06 -- /opt/iotech/iot/1.5/include 10:03:06 -- C SDK 3.0.3-dev.11 for Linux 10:03:06 -- Performing Test CSDK_HAVE_ATOMIC 10:03:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:03:06 -- Found Curses: /usr/lib/libcurses.so 10:03:06 -- Configuring done (0.4s) 10:03:06 -- Generating done (0.0s) 10:03:06 -- Build files have been written to: /tmp/sdk/build/release 10:03:06 + make all package 10:03:06 + tee release.log 10:03:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:03:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:03:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:03:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:03:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:03:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:03:06 Still waiting to schedule task 10:03:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:03:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:03:07 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 10:03:07 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 10:03:07 294 | while (privateConfig) 10:03:07 | ^~~~~~~~~~~~~ 10:03:07 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 10:03:07 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 10:03:07 | ^~~~~~~~~~~~~ 10:03:07 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 10:03:07 271 | while (result) 10:03:07 | ^~~~~~ 10:03:07 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 10:03:07 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 10:03:07 | ^~~~~~ 10:03:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:03:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:03:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:03:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:03:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:03:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:03:08 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:03:08 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:03:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:03:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:03:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:03:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:03:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:03:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:03:10 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:03:10 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:03:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:03:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:03:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:03:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:03:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:03:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:03:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:03:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:03:11 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 10:03:11 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:03:11 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 10:03:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:03:11 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:03:11 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 10:03:11 | ^ 10:03:11 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 10:03:11 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 10:03:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:03:11 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 10:03:11 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 10:03:11 | ^~~~~~~~~~~~~~~~~~~~~ 10:03:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:03:11 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:03:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:03:11 [ 68%] Linking C shared library libcsdk.so 10:03:12 [ 68%] Built target csdk 10:03:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:03:12 [ 72%] Linking C executable template 10:03:12 [ 72%] Built target template 10:03:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:03:12 [ 76%] Linking C executable device-counter 10:03:12 [ 76%] Built target device-counter 10:03:12 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:03:12 [ 80%] Linking C executable device-random 10:03:12 [ 80%] Built target device-random 10:03:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:03:12 [ 84%] Linking C executable device-gyro 10:03:12 [ 84%] Built target device-gyro 10:03:12 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:03:12 [ 88%] Linking C executable device-bitfields 10:03:12 [ 88%] Built target device-bitfields 10:03:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:03:13 [ 92%] Linking C executable template-discovery 10:03:13 [ 92%] Built target template-discovery 10:03:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:03:13 [ 96%] Linking C executable device-file 10:03:13 [ 96%] Built target device-file 10:03:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:03:13 [100%] Linking C executable device-terminal 10:03:13 [100%] Built target device-terminal 10:03:13 Run CPack packaging tool... 10:03:13 CPack: Create package using TGZ 10:03:13 CPack: Install projects 10:03:13 CPack: - Run preinstall target for: Csdk 10:03:14 CPack: - Install project: Csdk [] 10:03:14 CPack: Create package 10:03:14 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.11.tar.gz generated. 10:03:14 + '[' false '=' true ] 10:03:14 + '[' false '=' true ] 10:03:14 + mkdir -p /tmp/sdk/build/debug 10:03:14 + cd /tmp/sdk/build/debug 10:03:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:03:14 -- The C compiler identification is GNU 12.2.1 10:03:14 -- Detecting C compiler ABI info 10:03:14 -- Detecting C compiler ABI info - done 10:03:14 -- Check for working C compiler: /usr/bin/cc - skipped 10:03:14 -- Detecting C compile features 10:03:14 -- Detecting C compile features - done 10:03:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:03:14 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:03:14 -- Found LIBYAML: /usr/lib/libyaml.so 10:03:14 -- Found LIBUUID: /usr/lib/libuuid.so 10:03:14 -- Found LIBCBOR: /usr/lib/libcbor.so 10:03:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:03:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:03:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:03:14 -- /opt/iotech/iot/1.5/include 10:03:14 -- C SDK 3.0.3-dev.11 for Linux 10:03:14 -- Performing Test CSDK_HAVE_ATOMIC 10:03:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:03:14 -- Found Curses: /usr/lib/libcurses.so 10:03:14 -- Configuring done (0.4s) 10:03:14 -- Generating done (0.0s) 10:03:14 -- Build files have been written to: /tmp/sdk/build/debug 10:03:14 + make 10:03:14 + tee debug.log 10:03:14 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:03:14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:03:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:03:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:03:14 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:03:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:03:14 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:03:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:03:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:03:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:03:15 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:03:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:03:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:03:15 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:03:15 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:03:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:03:15 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:03:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:03:15 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:03:15 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:03:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:03:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:03:16 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:03:16 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:03:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:03:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:03:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:03:16 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:03:16 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:03:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:03:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:03:16 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 10:03:16 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:03:16 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 10:03:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:03:16 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:03:16 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 10:03:16 | ^ 10:03:17 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:03:17 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:03:17 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:03:17 [ 68%] Linking C shared library libcsdk.so 10:03:17 [ 68%] Built target csdk 10:03:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:03:17 [ 72%] Linking C executable template 10:03:17 [ 72%] Built target template 10:03:17 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:03:17 [ 76%] Linking C executable device-counter 10:03:17 [ 76%] Built target device-counter 10:03:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:03:17 [ 80%] Linking C executable device-random 10:03:17 [ 80%] Built target device-random 10:03:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:03:17 [ 84%] Linking C executable device-gyro 10:03:18 [ 84%] Built target device-gyro 10:03:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:03:18 [ 88%] Linking C executable device-bitfields 10:03:18 [ 88%] Built target device-bitfields 10:03:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:03:18 [ 92%] Linking C executable template-discovery 10:03:18 [ 92%] Built target template-discovery 10:03:18 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:03:18 [ 96%] Linking C executable device-file 10:03:18 [ 96%] Built target device-file 10:03:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:03:18 [100%] Linking C executable device-terminal 10:03:18 [100%] Built target device-terminal 10:03:18 make: Entering directory '/tmp/sdk/build/release' 10:03:18 [ 68%] Built target csdk 10:03:18 [ 72%] Built target template 10:03:18 [ 76%] Built target device-counter 10:03:18 [ 80%] Built target device-random 10:03:18 [ 84%] Built target device-gyro 10:03:18 [ 88%] Built target device-bitfields 10:03:18 [ 92%] Built target template-discovery 10:03:18 [ 96%] Built target device-file 10:03:18 [100%] Built target device-terminal 10:03:18 Install the project... 10:03:18 -- Install configuration: "Release" 10:03:18 -- Installing: /usr/local/lib/libcsdk.so 10:03:18 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:03:18 -- Installing: /usr/local/include 10:03:18 -- Installing: /usr/local/include/devsdk 10:03:18 -- Installing: /usr/local/include/devsdk/devsdk.h 10:03:18 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:03:18 -- Installing: /usr/local/include/edgex 10:03:18 -- Installing: /usr/local/include/edgex/edgex.h 10:03:18 -- Installing: /usr/local/include/edgex/devices.h 10:03:18 -- Installing: /usr/local/include/edgex/profiles.h 10:03:18 -- Installing: /usr/local/include/edgex/edgex-base.h 10:03:18 -- Installing: /usr/local/include/edgex/rest-server.h 10:03:18 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:03:18 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:03:18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:03:18 make: Leaving directory '/tmp/sdk/build/release' 10:03:19 Removing intermediate container edb8da9ec83c 10:03:19 ---> 37b5fa12bf35 10:03:19 Step 14/21 : FROM ${BASE} 10:03:19 ---> 6605166a5db4 10:03:19 Step 15/21 : LABEL maintainer="IOTech " 10:03:19 ---> Running in 817d03f8f149 10:03:19 Removing intermediate container 817d03f8f149 10:03:19 ---> f046df673cf1 10:03:19 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 10:03:19 ---> Running in 4a2fa36417e4 10:03:19 Connecting to iotech.jfrog.io (34.246.139.145:443) 10:03:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:03:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:03:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:03:20 Removing intermediate container 4a2fa36417e4 10:03:20 ---> 757ca14427a1 10:03:20 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:03:20 ---> Running in 922f6c2a8360 10:03:21 Removing intermediate container 922f6c2a8360 10:03:21 ---> fce5618276af 10:03:21 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 10:03:21 ---> Running in 26ba17f6a5db 10:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:03:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:03:22 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 10:03:22 (2/9) Installing curl (8.5.0-r0) 10:03:22 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 10:03:22 (4/9) Installing hiredis (1.1.0-r2) 10:03:22 (5/9) Installing hiredis-dev (1.1.0-r2) 10:03:22 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) 10:03:23 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:03:23 (8/9) Installing libcbor (0.10.2-r1) 10:03:23 (9/9) Installing libuuid (2.38.1-r8) 10:03:23 Executing busybox-1.36.1-r4.trigger 10:03:23 OK: 331 MiB in 89 packages 10:03:24 Removing intermediate container 26ba17f6a5db 10:03:24 ---> 755cd41fe566 10:03:24 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:03:24 ---> 277eb2c19a67 10:03:24 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:03:24 ---> ca70d1f258dd 10:03:24 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:03:24 ---> 221bb144f46d 10:03:24 Successfully built 221bb144f46d 10:03:24 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 10:03:25 + docker inspect -f . ci-base-image-x86_64 10:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:25 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:25 $ docker top 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:26 + make test 10:03:26 echo "make test" 10:03:26 make test [Pipeline] } 10:03:26 $ docker stop --time=1 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 10:03:27 $ docker rm -f --volumes 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:03:28 + ls -al . 10:03:28 total 212 10:03:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 10:02 . 10:03:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 .. 10:03:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:02 .git 10:03:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 10:02 .github 10:03:28 -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 10:02 .gitignore 10:03:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 10:02 .semver 10:03:28 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 10:02 Attribution.txt 10:03:28 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 10:02 CHANGELOG.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 10:02 Doxyfile 10:03:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 10:02 GOVERNANCE.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 10:02 Jenkinsfile 10:03:28 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 10:02 LICENSE 10:03:28 -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 10:02 Makefile 10:03:28 -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 10:02 OWNERS.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 10:02 README.IOT.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 10:02 README.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 10:02 README.v3.md 10:03:28 -rw-rw-r-- 1 jenkins jenkins 12 Jan 25 10:02 VERSION 10:03:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:02 docs 10:03:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 include 10:03:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:02 scripts 10:03:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:28 + 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=9db6249cb5b64beed6f22149c866398dbcee266e --label arch=amd64 --label version=3.0.3-dev.11 . 10:03:28 Sending build context to Docker daemon 4.978MB 10:03:28 Step 1/17 : ARG BASE=alpine:3.18 10:03:28 Step 2/17 : FROM ${BASE} 10:03:28 ---> 221bb144f46d 10:03:28 Step 3/17 : LABEL maintainer="IOTech " 10:03:28 ---> Running in be95a521db16 10:03:28 Removing intermediate container be95a521db16 10:03:28 ---> ec0a210b6337 10:03:28 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 10:03:28 ---> Running in a16a557361d5 10:03:29 Connecting to iotech.jfrog.io (54.73.4.50:443) 10:03:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:03:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:03:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:03:29 Removing intermediate container a16a557361d5 10:03:29 ---> b8dcc47ffc98 10:03:29 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:03:29 ---> Running in 522e39129f85 10:03:30 Removing intermediate container 522e39129f85 10:03:30 ---> a4f78a006c2d 10:03:30 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:03:30 ---> Running in ddcdceb1528e 10:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:03:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:03:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:03:31 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) 10:03:31 (2/11) Installing libcbor-dev (0.10.2-r1) 10:03:31 (3/11) Installing libmenuw (6.4_p20230506-r0) 10:03:31 (4/11) Installing libpanelw (6.4_p20230506-r0) 10:03:31 (5/11) Installing libncurses++ (6.4_p20230506-r0) 10:03:31 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 10:03:31 (7/11) Installing libblkid (2.38.1-r8) 10:03:31 (8/11) Installing libfdisk (2.38.1-r8) 10:03:31 (9/11) Installing libmount (2.38.1-r8) 10:03:31 (10/11) Installing libsmartcols (2.38.1-r8) 10:03:31 (11/11) Installing util-linux-dev (2.38.1-r8) 10:03:31 Executing busybox-1.36.1-r4.trigger 10:03:31 OK: 336 MiB in 100 packages 10:03:32 Removing intermediate container ddcdceb1528e 10:03:32 ---> 4270dfd679be 10:03:32 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:03:32 ---> f2f126e019b2 10:03:32 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:03:32 ---> ee6945e9e267 10:03:32 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:03:32 ---> 5695ec732860 10:03:32 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:03:32 ---> ec43981a7ae8 10:03:32 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:03:33 ---> e7d463284fca 10:03:33 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:03:33 ---> 607e845761d3 10:03:33 Step 13/17 : WORKDIR /edgex-c-sdk 10:03:33 ---> Running in 33bc95255840 10:03:33 Removing intermediate container 33bc95255840 10:03:33 ---> 0e3abb34dde6 10:03:33 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:03:33 ---> Running in 36e000dc8235 10:03:33 Removing intermediate container 36e000dc8235 10:03:33 ---> a1f657521e0e 10:03:33 Step 15/17 : LABEL arch=amd64 10:03:33 ---> Running in dae3f7ddef2e 10:03:33 Removing intermediate container dae3f7ddef2e 10:03:33 ---> 21c6b68adeab 10:03:33 Step 16/17 : LABEL git_sha=9db6249cb5b64beed6f22149c866398dbcee266e 10:03:33 ---> Running in c755faed7865 10:03:33 Removing intermediate container c755faed7865 10:03:33 ---> 6a4bf8239ded 10:03:33 Step 17/17 : LABEL version=3.0.3-dev.11 10:03:33 ---> Running in 01e320a05002 10:03:33 Removing intermediate container 01e320a05002 10:03:33 ---> 06ea90551db5 10:03:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:03:33 Successfully built 06ea90551db5 10:03:33 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 10:03:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:34 10:03:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:34 latest: Pulling from edgex-lftools-log-publisher 10:03:34 5eb5b503b376: Pulling fs layer 10:03:34 5c69ac0246d0: Pulling fs layer 10:03:34 ec43610c2a17: Pulling fs layer 10:03:34 3a2ae6a8a46f: Pulling fs layer 10:03:34 33b1e0a273af: Pulling fs layer 10:03:34 5d3b04190fa2: Pulling fs layer 10:03:34 3a2ae6a8a46f: Waiting 10:03:34 33b1e0a273af: Waiting 10:03:34 2f39f015ded8: Pulling fs layer 10:03:34 5d3b04190fa2: Waiting 10:03:34 5c69ac0246d0: Verifying Checksum 10:03:34 5c69ac0246d0: Download complete 10:03:34 3a2ae6a8a46f: Verifying Checksum 10:03:34 3a2ae6a8a46f: Download complete 10:03:34 33b1e0a273af: Verifying Checksum 10:03:34 33b1e0a273af: Download complete 10:03:34 5d3b04190fa2: Verifying Checksum 10:03:34 5d3b04190fa2: Download complete 10:03:34 ec43610c2a17: Verifying Checksum 10:03:34 ec43610c2a17: Download complete 10:03:35 5eb5b503b376: Verifying Checksum 10:03:35 5eb5b503b376: Download complete 10:03:35 2f39f015ded8: Verifying Checksum 10:03:35 2f39f015ded8: Download complete 10:03:36 5eb5b503b376: Pull complete 10:03:36 5c69ac0246d0: Pull complete 10:03:37 ec43610c2a17: Pull complete 10:03:37 3a2ae6a8a46f: Pull complete 10:03:37 33b1e0a273af: Pull complete 10:03:37 5d3b04190fa2: Pull complete 10:03:41 2f39f015ded8: Pull complete 10:03:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:03:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:41 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:03:48 $ docker top 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:48 ---> job-cost.sh 10:03:48 lf-activate-venv: SKIPPING 10:03:48 INFO: No Stack... 10:03:49 INFO: Retrieving Pricing Info for: v3-standard-8 10:03:49 INFO: Archiving Costs [Pipeline] sh 10:03:49 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:03:49 + cut -d, -f6 [Pipeline] lock 10:03:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] 10:03:49 Resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] did not exist. Created. 10:03:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:03:50 + echo total: 0.2199999988079071 [Pipeline] stash 10:03:50 Stashed 1 file(s) [Pipeline] } 10:03:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 10:03:50 $ docker stop --time=1 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d 10:03:51 $ docker rm -f --volumes 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:04:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27885 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 10:04:49 Running in /w/workspace/device-sdk-c/71 [Pipeline] { [Pipeline] checkout 10:04:49 Selected Git installation does not exist. Using Default 10:04:49 The recommended git tool is: NONE 10:04:54 using credential edgex-jenkins-ssh 10:04:54 Cloning the remote Git repository 10:04:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:04:55 > git init /w/workspace/device-sdk-c/71 # timeout=10 10:04:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:04:55 > git --version # timeout=10 10:04:55 > git --version # 'git version 2.25.1' 10:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:57 Avoid second fetch 10:04:57 Checking out Revision 9db6249cb5b64beed6f22149c866398dbcee266e (main) 10:04:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:04:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:57 > git config core.sparsecheckout # timeout=10 10:04:57 Commit message: "fix: edgex_device_read does not read labels (#508)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:57 > git checkout -f 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 10:04:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:04:58 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:58 Dload Upload Total Spent Left Speed 10:04:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 10:04:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:04:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:04:59 + sudo tee /etc/docker/daemon.new 10:04:59 { 10:04:59 "registry-mirrors": [ 10:04:59 "https://nexus3.edgexfoundry.org:10001" 10:04:59 ], 10:04:59 "bip": "10.250.0.254/24", 10:04:59 "hosts": [ 10:04:59 "tcp://0.0.0.0:5555", 10:04:59 "unix:///var/run/docker.sock" 10:04:59 ], 10:04:59 "mtu": 1458, 10:04:59 "selinux-enabled": true, 10:04:59 "seccomp-profile": "/etc/docker/seccomp.json" 10:04:59 } [Pipeline] sh 10:04:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:05:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:18 provisioning config files... 10:05:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/71@tmp/config11399445779934211906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:19 ---> ****-login.sh 10:05:19 nexus3.edgexfoundry.org:10001 10:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:19 Configure a credential helper to remove this warning. See 10:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:19 10:05:19 Login Succeeded 10:05:19 nexus3.edgexfoundry.org:10002 10:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:19 Configure a credential helper to remove this warning. See 10:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:19 10:05:19 Login Succeeded 10:05:19 nexus3.edgexfoundry.org:10003 10:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:20 Configure a credential helper to remove this warning. See 10:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:20 10:05:20 Login Succeeded 10:05:20 nexus3.edgexfoundry.org:10004 10:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:20 Configure a credential helper to remove this warning. See 10:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:20 10:05:20 Login Succeeded 10:05:20 ****.io 10:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:20 Configure a credential helper to remove this warning. See 10:05:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:20 10:05:20 Login Succeeded 10:05:20 ---> ****-login.sh ends [Pipeline] } 10:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:21 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:05:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:21 ========================================================= 10:05:21 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:05:21 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:21 + 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 . 10:05:23 #0 building with "default" instance using docker driver 10:05:23 10:05:23 #1 [internal] load .dockerignore 10:05:23 #1 transferring context: 2B done 10:05:23 #1 DONE 0.1s 10:05:23 10:05:23 #2 [internal] load build definition from Dockerfile.alpine-base 10:05:23 #2 transferring dockerfile: 2.04kB done 10:05:23 #2 DONE 0.1s 10:05:23 10:05:23 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:05:23 #3 DONE 0.1s 10:05:23 10:05:23 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 10:05:23 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done 10:05:23 #4 ... 10:05:23 10:05:23 #5 [internal] load build context 10:05:23 #5 transferring context: 628.37kB 0.1s done 10:05:23 #5 DONE 0.2s 10:05:23 10:05:23 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 10:05:23 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 2.64MB / 3.33MB 0.2s 10:05:23 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 4.19MB / 109.51MB 0.2s 10:05:23 #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done 10:05:23 #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done 10:05:23 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done 10:05:23 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 9.70MB / 109.51MB 0.3s 10:05:23 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 10:05:23 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 15.73MB / 109.51MB 0.4s 10:05:23 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done 10:05:23 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 32.51MB / 109.51MB 0.7s 10:05:23 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 50.33MB / 109.51MB 1.0s 10:05:24 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 56.62MB / 109.51MB 1.1s 10:05:24 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 74.45MB / 109.51MB 1.4s 10:05:24 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 80.74MB / 109.51MB 1.5s 10:05:24 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 98.57MB / 109.51MB 1.8s 10:05:25 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 104.86MB / 109.51MB 1.9s 10:05:25 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10:05:25 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done 10:05:30 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s 10:05:37 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.6s 10:05:38 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.8s done 10:05:38 #4 DONE 15.4s 10:05:38 10:05:38 #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:05:39 #6 0.727 Connecting to iotech.jfrog.io (34.246.139.145:443) 10:05:39 #6 1.256 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:05:39 #6 1.256 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:05:39 #6 1.257 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:05:40 #6 DONE 2.0s 10:05:40 10:05:40 #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:05:41 #7 DONE 0.9s 10:05:41 10:05:41 #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 10:05:42 #8 0.954 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:42 #8 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:05:43 #8 1.854 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:44 #8 2.757 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:05:44 #8 2.801 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 10:05:44 #8 2.827 (2/9) Installing curl (8.5.0-r0) 10:05:44 #8 2.839 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 10:05:44 #8 2.859 (4/9) Installing hiredis (1.1.0-r2) 10:05:44 #8 2.865 (5/9) Installing hiredis-dev (1.1.0-r2) 10:05:44 #8 2.887 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) 10:05:45 #8 3.649 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:05:45 #8 3.877 (8/9) Installing libcbor (0.10.2-r1) 10:05:45 #8 3.884 (9/9) Installing libuuid (2.38.1-r8) 10:05:45 #8 3.892 Executing busybox-1.36.1-r4.trigger 10:05:45 #8 3.942 OK: 327 MiB in 89 packages 10:05:45 #8 DONE 4.3s 10:05:45 10:05:45 #9 [builder 4/12] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 10:05:45 #9 0.862 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:45 #9 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:05:45 #9 1.855 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 10:05:45 #9 2.747 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:05:45 #9 2.787 (1/17) Installing hiredis (1.1.0-r2) 10:05:45 #9 2.796 (2/17) Installing hiredis-dev (1.1.0-r2) 10:05:45 #9 2.822 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) 10:05:45 #9 3.583 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) 10:05:45 #9 3.705 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:05:45 #9 3.924 (6/17) Installing libcbor (0.10.2-r1) 10:05:45 #9 3.931 (7/17) Installing libcbor-dev (0.10.2-r1) 10:05:45 #9 3.954 (8/17) Installing libmenuw (6.4_p20230506-r0) 10:05:45 #9 3.963 (9/17) Installing libpanelw (6.4_p20230506-r0) 10:05:45 #9 3.971 (10/17) Installing libncurses++ (6.4_p20230506-r0) 10:05:45 #9 3.979 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 10:05:45 #9 4.008 (12/17) Installing libblkid (2.38.1-r8) 10:05:45 #9 4.024 (13/17) Installing libuuid (2.38.1-r8) 10:05:45 #9 4.033 (14/17) Installing libfdisk (2.38.1-r8) 10:05:45 #9 4.051 (15/17) Installing libmount (2.38.1-r8) 10:05:45 #9 4.066 (16/17) Installing libsmartcols (2.38.1-r8) 10:05:45 #9 4.077 (17/17) Installing util-linux-dev (2.38.1-r8) 10:05:45 #9 4.162 Executing busybox-1.36.1-r4.trigger 10:05:45 #9 4.213 OK: 333 MiB in 99 packages 10:05:45 #9 DONE 4.5s 10:05:45 10:05:45 #10 [builder 5/12] RUN mkdir /tmp/sdk 10:05:46 #10 DONE 0.7s 10:05:46 10:05:46 #11 [builder 6/12] COPY VERSION /tmp/sdk 10:05:46 #11 DONE 0.1s 10:05:46 10:05:46 #12 [builder 7/12] COPY src /tmp/sdk/src 10:05:47 #12 DONE 0.2s 10:05:47 10:05:47 #13 [builder 8/12] COPY include /tmp/sdk/include 10:05:47 #13 DONE 0.1s 10:05:47 10:05:47 #14 [builder 9/12] COPY scripts /tmp/sdk/scripts 10:05:47 #14 DONE 0.1s 10:05:47 10:05:47 #15 [builder 10/12] COPY LICENSE /tmp/sdk 10:05:47 #15 DONE 0.1s 10:05:47 10:05:47 #16 [builder 11/12] COPY Attribution.txt /tmp/sdk 10:05:47 #16 DONE 0.1s 10:05:47 10:05:47 #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:05:47 #17 0.599 + CPPCHECK=false 10:05:47 #17 0.599 + DOCGEN=false 10:05:47 #17 0.599 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:05:47 #17 0.600 + '[' 0 -gt 0 ] 10:05:47 #17 0.602 + readlink -f ./scripts/build.sh 10:05:47 #17 0.603 + dirname /tmp/sdk/scripts/build.sh 10:05:47 #17 0.605 + dirname /tmp/sdk/scripts 10:05:47 #17 0.607 + ROOT=/tmp/sdk 10:05:47 #17 0.607 + cd /tmp/sdk 10:05:47 #17 0.607 + mkdir -p /tmp/sdk/build/release 10:05:47 #17 0.610 + cd /tmp/sdk/build/release 10:05:47 #17 0.610 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:05:48 #17 0.926 -- The C compiler identification is GNU 12.2.1 10:05:48 #17 0.986 -- Detecting C compiler ABI info 10:05:48 #17 1.318 -- Detecting C compiler ABI info - done 10:05:48 #17 1.403 -- Check for working C compiler: /usr/bin/cc - skipped 10:05:48 #17 1.405 -- Detecting C compile features 10:05:48 #17 1.408 -- Detecting C compile features - done 10:05:48 #17 1.432 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:05:48 #17 1.615 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:05:48 #17 1.632 -- Found LIBYAML: /usr/lib/libyaml.so 10:05:48 #17 1.648 -- Found LIBUUID: /usr/lib/libuuid.so 10:05:48 #17 1.663 -- Found LIBCBOR: /usr/lib/libcbor.so 10:05:48 #17 1.678 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:05:48 #17 1.694 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:05:48 #17 1.713 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:05:48 #17 1.713 -- /opt/iotech/iot/1.5/include 10:05:48 #17 1.713 -- C SDK 3.0.3-dev.11 for Linux 10:05:48 #17 1.725 -- Performing Test CSDK_HAVE_ATOMIC 10:05:49 #17 2.058 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:05:49 #17 2.224 -- Found Curses: /usr/lib/libcurses.so 10:05:49 #17 2.333 -- Configuring done (1.7s) 10:05:49 #17 2.598 -- Generating done (0.2s) 10:05:50 #17 2.617 -- Build files have been written to: /tmp/sdk/build/release 10:05:50 #17 2.643 + make all+ tee release.log 10:05:50 #17 2.644 package 10:05:50 #17 2.767 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:05:50 #17 3.418 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:05:51 #17 4.257 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:05:52 #17 4.935 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:05:53 #17 5.710 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:05:53 #17 6.281 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:05:55 #17 8.205 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:05:56 #17 9.052 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 10:05:56 #17 9.054 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 10:05:56 #17 9.054 294 | while (privateConfig) 10:05:56 #17 9.054 | ^~~~~~~~~~~~~ 10:05:56 #17 9.054 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 10:05:56 #17 9.054 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 10:05:56 #17 9.054 | ^~~~~~~~~~~~~ 10:05:56 #17 9.054 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 10:05:56 #17 9.054 271 | while (result) 10:05:56 #17 9.054 | ^~~~~~ 10:05:56 #17 9.054 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 10:05:56 #17 9.054 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 10:05:56 #17 9.054 | ^~~~~~ 10:05:56 #17 9.386 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:05:57 #17 9.622 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:05:57 #17 10.50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:06:04 #17 12.37 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:06:04 #17 12.99 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:06:04 #17 13.85 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:06:04 #17 14.65 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:06:04 #17 15.12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:06:04 #17 16.18 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:06:04 #17 16.51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:06:06 #17 18.62 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:06:06 #17 18.95 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:06:06 #17 19.50 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:06:08 #17 20.72 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:06:15 #17 26.95 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:06:15 #17 27.55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:06:15 #17 27.93 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:06:15 #17 28.46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:06:16 #17 28.77 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:06:17 #17 30.18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:06:20 #17 32.30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:06:20 #17 32.74 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:06:21 #17 33.58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:06:21 #17 34.15 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:06:21 #17 34.43 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 10:06:21 #17 34.43 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:06:21 #17 34.43 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 10:06:21 #17 34.43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:06:21 #17 34.43 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:06:21 #17 34.43 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 10:06:21 #17 34.43 | ^ 10:06:23 #17 35.85 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 10:06:23 #17 35.85 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 10:06:23 #17 35.85 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:06:23 #17 35.85 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 10:06:23 #17 35.85 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 10:06:23 #17 35.85 | ^~~~~~~~~~~~~~~~~~~~~ 10:06:24 #17 36.85 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:06:24 #17 37.59 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:06:25 #17 37.93 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:06:25 #17 38.43 [ 68%] Linking C shared library libcsdk.so 10:06:25 #17 38.63 [ 68%] Built target csdk 10:06:25 #17 38.68 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:06:26 #17 39.46 [ 72%] Linking C executable template 10:06:26 #17 39.76 [ 72%] Built target template 10:06:27 #17 39.82 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:06:27 #17 40.32 [ 76%] Linking C executable device-counter 10:06:28 #17 40.63 [ 76%] Built target device-counter 10:06:28 #17 40.68 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:06:28 #17 41.17 [ 80%] Linking C executable device-random 10:06:28 #17 41.46 [ 80%] Built target device-random 10:06:28 #17 41.52 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:06:29 #17 41.96 [ 84%] Linking C executable device-gyro 10:06:29 #17 42.26 [ 84%] Built target device-gyro 10:06:29 #17 42.31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:06:30 #17 42.79 [ 88%] Linking C executable device-bitfields 10:06:30 #17 43.10 [ 88%] Built target device-bitfields 10:06:30 #17 43.15 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:06:31 #17 43.94 [ 92%] Linking C executable template-discovery 10:06:31 #17 44.24 [ 92%] Built target template-discovery 10:06:31 #17 44.30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:06:32 #17 44.98 [ 96%] Linking C executable device-file 10:06:32 #17 45.28 [ 96%] Built target device-file 10:06:32 #17 45.34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:06:33 #17 45.97 [100%] Linking C executable device-terminal 10:06:33 #17 46.32 [100%] Built target device-terminal 10:06:35 #17 47.56 Run CPack packaging tool... 10:06:35 #17 47.60 CPack: Create package using TGZ 10:06:35 #17 47.61 CPack: Install projects 10:06:35 #17 47.61 CPack: - Run preinstall target for: Csdk 10:06:35 #17 48.35 CPack: - Install project: Csdk [] 10:06:35 #17 48.39 CPack: Create package 10:06:35 #17 48.47 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.11.tar.gz generated. 10:06:35 #17 48.48 + '[' false '=' true ] 10:06:35 #17 48.48 + '[' false '=' true ] 10:06:35 #17 48.48 + mkdir -p /tmp/sdk/build/debug 10:06:35 #17 48.48 + cd /tmp/sdk/build/debug 10:06:35 #17 48.48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:06:36 #17 48.77 -- The C compiler identification is GNU 12.2.1 10:06:36 #17 48.82 -- Detecting C compiler ABI info 10:06:36 #17 49.14 -- Detecting C compiler ABI info - done 10:06:36 #17 49.22 -- Check for working C compiler: /usr/bin/cc - skipped 10:06:36 #17 49.22 -- Detecting C compile features 10:06:36 #17 49.22 -- Detecting C compile features - done 10:06:36 #17 49.24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:06:36 #17 49.42 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:06:36 #17 49.44 -- Found LIBYAML: /usr/lib/libyaml.so 10:06:36 #17 49.45 -- Found LIBUUID: /usr/lib/libuuid.so 10:06:36 #17 49.47 -- Found LIBCBOR: /usr/lib/libcbor.so 10:06:36 #17 49.48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:06:36 #17 49.50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:06:36 #17 49.51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:06:36 #17 49.51 -- /opt/iotech/iot/1.5/include 10:06:36 #17 49.51 -- C SDK 3.0.3-dev.11 for Linux 10:06:36 #17 49.52 -- Performing Test CSDK_HAVE_ATOMIC 10:06:37 #17 49.83 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:06:37 #17 49.98 -- Found Curses: /usr/lib/libcurses.so 10:06:37 #17 50.09 -- Configuring done (1.6s) 10:06:37 #17 50.33 -- Generating done (0.2s) 10:06:37 #17 50.35 -- Build files have been written to: /tmp/sdk/build/debug 10:06:37 #17 50.37 + make 10:06:37 #17 50.37 + tee debug.log 10:06:37 #17 50.48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:06:38 #17 50.86 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:06:38 #17 51.22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:06:38 #17 51.55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:06:39 #17 51.90 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:06:39 #17 52.28 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:06:40 #17 52.95 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:06:40 #17 53.39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:06:40 #17 53.55 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:06:41 #17 53.97 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:06:42 #17 54.61 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:06:42 #17 54.94 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:06:42 #17 55.33 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:06:42 #17 55.67 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:06:43 #17 55.99 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:06:43 #17 56.34 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:06:43 #17 56.56 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:06:44 #17 57.27 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:06:44 #17 57.50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:06:45 #17 57.71 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:06:45 #17 58.31 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:06:47 #17 59.40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:06:47 #17 59.74 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:06:47 #17 59.99 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:06:47 #17 60.30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:06:47 #17 60.56 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:06:48 #17 61.04 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:06:49 #17 62.32 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:06:49 #17 62.57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:06:50 #17 62.93 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:06:50 #17 63.28 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:06:50 #17 63.53 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 10:06:50 #17 63.53 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:06:50 #17 63.53 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 10:06:50 #17 63.53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:06:50 #17 63.53 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10:06:50 #17 63.53 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 10:06:50 #17 63.53 | ^ 10:06:51 #17 64.04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:06:51 #17 64.39 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:06:52 #17 64.66 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:06:52 #17 64.93 [ 68%] Linking C shared library libcsdk.so 10:06:52 #17 65.19 [ 68%] Built target csdk 10:06:52 #17 65.25 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:06:52 #17 65.58 [ 72%] Linking C executable template 10:06:53 #17 65.88 [ 72%] Built target template 10:06:53 #17 65.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:06:53 #17 66.23 [ 76%] Linking C executable device-counter 10:06:53 #17 66.53 [ 76%] Built target device-counter 10:06:53 #17 66.58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:06:54 #17 66.86 [ 80%] Linking C executable device-random 10:06:54 #17 67.16 [ 80%] Built target device-random 10:06:54 #17 67.21 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:06:54 #17 67.48 [ 84%] Linking C executable device-gyro 10:06:55 #17 67.85 [ 84%] Built target device-gyro 10:06:55 #17 67.90 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:06:55 #17 68.18 [ 88%] Linking C executable device-bitfields 10:06:55 #17 68.54 [ 88%] Built target device-bitfields 10:06:55 #17 68.59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:06:56 #17 68.93 [ 92%] Linking C executable template-discovery 10:06:56 #17 69.29 [ 92%] Built target template-discovery 10:06:56 #17 69.36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:06:57 #17 69.69 [ 96%] Linking C executable device-file 10:06:57 #17 70.04 [ 96%] Built target device-file 10:06:57 #17 70.10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:06:57 #17 70.51 [100%] Linking C executable device-terminal 10:06:58 #17 70.93 [100%] Built target device-terminal 10:06:58 #17 70.97 make: Entering directory '/tmp/sdk/build/release' 10:06:58 #17 71.13 [ 68%] Built target csdk 10:06:58 #17 71.19 [ 72%] Built target template 10:06:58 #17 71.25 [ 76%] Built target device-counter 10:06:58 #17 71.31 [ 80%] Built target device-random 10:06:58 #17 71.37 [ 84%] Built target device-gyro 10:06:58 #17 71.43 [ 88%] Built target device-bitfields 10:06:58 #17 71.50 [ 92%] Built target template-discovery 10:06:58 #17 71.55 [ 96%] Built target device-file 10:06:58 #17 71.62 [100%] Built target device-terminal 10:06:58 #17 71.68 Install the project... 10:06:59 #17 71.70 -- Install configuration: "Release" 10:06:59 #17 71.70 -- Installing: /usr/local/lib/libcsdk.so 10:06:59 #17 71.71 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:06:59 #17 71.71 -- Installing: /usr/local/include 10:06:59 #17 71.71 -- Installing: /usr/local/include/devsdk 10:06:59 #17 71.71 -- Installing: /usr/local/include/devsdk/devsdk.h 10:06:59 #17 71.71 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/rest-server.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/edgex.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/edgex-base.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/devices.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/profiles.h 10:06:59 #17 71.72 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:06:59 #17 71.72 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:06:59 #17 71.73 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:06:59 #17 71.74 make: Leaving directory '/tmp/sdk/build/release' 10:06:59 #17 DONE 71.9s 10:06:59 10:06:59 #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:06:59 #18 DONE 0.2s 10:06:59 10:06:59 #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib 10:06:59 #19 DONE 0.1s 10:06:59 10:06:59 #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:06:59 #20 DONE 0.1s 10:06:59 10:06:59 #21 exporting to image 10:06:59 #21 exporting layers 10:06:59 #21 exporting layers 0.3s done 10:06:59 #21 writing image sha256:0c1bb88447fe54819ce3cdc8a141bc14cf5065510b78f7bef2b38853ce515d0b done 10:06:59 #21 naming to docker.io/library/ci-base-image-arm64 0.0s done 10:06:59 #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:00 + docker inspect -f . ci-base-image-arm64 10:07:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:00 prd-ubuntu20.04-docker-arm64-4c-16g-27885 does not seem to be running inside a container 10:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/71 -v /w/workspace/device-sdk-c/71:/w/workspace/device-sdk-c/71:rw,z -v /w/workspace/device-sdk-c/71@tmp:/w/workspace/device-sdk-c/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:07:03 $ docker top 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:04 + make test 10:07:04 echo "make test" 10:07:04 make test [Pipeline] } 10:07:04 $ docker stop --time=1 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f 10:07:06 $ docker rm -f --volumes 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:07 + ls -al . 10:07:07 total 208 10:07:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:04 . 10:07:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 .. 10:07:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:04 .git 10:07:07 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 10:04 .github 10:07:07 -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 10:04 .gitignore 10:07:07 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 10:04 Attribution.txt 10:07:07 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 10:04 CHANGELOG.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 10:04 Doxyfile 10:07:07 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 10:04 GOVERNANCE.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 10:04 Jenkinsfile 10:07:07 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 10:04 LICENSE 10:07:07 -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 10:04 Makefile 10:07:07 -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 10:04 OWNERS.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 10:04 README.IOT.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 10:04 README.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 10:04 README.v3.md 10:07:07 -rw-rw-r-- 1 jenkins jenkins 12 Jan 25 10:02 VERSION 10:07:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:04 docs 10:07:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 include 10:07:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:04 scripts 10:07:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:07 + 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=9db6249cb5b64beed6f22149c866398dbcee266e --label arch=arm64 --label version=3.0.3-dev.11 . 10:07:08 #0 building with "default" instance using docker driver 10:07:08 10:07:08 #1 [internal] load .dockerignore 10:07:08 #1 transferring context: 2B done 10:07:08 #1 DONE 0.0s 10:07:08 10:07:08 #2 [internal] load build definition from Dockerfile.alpine 10:07:08 #2 transferring dockerfile: 1.44kB done 10:07:08 #2 DONE 0.0s 10:07:08 10:07:08 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 10:07:08 #3 DONE 0.0s 10:07:08 10:07:08 #4 [internal] load build context 10:07:08 #4 transferring context: 8.55kB 0.1s done 10:07:08 #4 DONE 0.1s 10:07:08 10:07:08 #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 10:07:08 #5 DONE 0.2s 10:07:08 10:07:08 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:07:08 #6 0.582 Connecting to iotech.jfrog.io (54.73.4.50:443) 10:07:09 #6 1.080 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:07:09 #6 1.081 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:07:09 #6 1.081 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:07:09 #6 DONE 1.2s 10:07:09 10:07:09 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:07:10 #7 DONE 0.8s 10:07:10 10:07:10 #8 [ 4/11] 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:07:10 #8 0.656 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:07:11 #8 1.034 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:07:11 #8 1.585 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 10:07:12 #8 2.464 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:07:12 #8 2.496 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) 10:07:13 #8 2.811 (2/11) Installing libcbor-dev (0.10.2-r1) 10:07:13 #8 2.828 (3/11) Installing libmenuw (6.4_p20230506-r0) 10:07:13 #8 2.835 (4/11) Installing libpanelw (6.4_p20230506-r0) 10:07:13 #8 2.840 (5/11) Installing libncurses++ (6.4_p20230506-r0) 10:07:13 #8 2.847 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 10:07:13 #8 2.875 (7/11) Installing libblkid (2.38.1-r8) 10:07:13 #8 2.891 (8/11) Installing libfdisk (2.38.1-r8) 10:07:13 #8 2.907 (9/11) Installing libmount (2.38.1-r8) 10:07:13 #8 2.920 (10/11) Installing libsmartcols (2.38.1-r8) 10:07:13 #8 2.931 (11/11) Installing util-linux-dev (2.38.1-r8) 10:07:13 #8 3.002 Executing busybox-1.36.1-r4.trigger 10:07:13 #8 3.044 OK: 333 MiB in 100 packages 10:07:13 #8 DONE 3.4s 10:07:13 10:07:13 #9 [ 5/11] COPY VERSION /edgex-c-sdk/ 10:07:13 #9 DONE 0.1s 10:07:13 10:07:13 #10 [ 6/11] COPY src /edgex-c-sdk/src/ 10:07:14 #10 DONE 0.2s 10:07:14 10:07:14 #11 [ 7/11] COPY include /edgex-c-sdk/include/ 10:07:14 #11 DONE 0.1s 10:07:14 10:07:14 #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts 10:07:14 #12 DONE 0.1s 10:07:14 10:07:14 #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ 10:07:14 #13 DONE 0.1s 10:07:14 10:07:14 #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ 10:07:14 #14 DONE 0.1s 10:07:14 10:07:14 #15 [11/11] WORKDIR /edgex-c-sdk 10:07:14 #15 DONE 0.1s 10:07:14 10:07:14 #16 exporting to image 10:07:14 #16 exporting layers 10:07:14 #16 exporting layers 0.4s done 10:07:14 #16 writing image sha256:9a0f1d7fdfa1caf2bf2e525c17fcaff8d3ff87bcc9aa25eb0621d192d1ab56bb done 10:07:14 #16 naming to docker.io/library/device-sdk-arm64 0.0s done 10:07:14 #16 DONE 0.5s [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 10:07:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:07:15 10:07:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:07:17 arm64: Pulling from edgex-lftools-log-publisher 10:07:17 8998bd30e6a1: Pulling fs layer 10:07:17 04944245beec: Pulling fs layer 10:07:17 699f458cf7ca: Pulling fs layer 10:07:17 765212b225bb: Pulling fs layer 10:07:17 f23df028b6ca: Pulling fs layer 10:07:17 d65c8cfc05b1: Pulling fs layer 10:07:17 2437ff75d9bd: Pulling fs layer 10:07:17 f23df028b6ca: Waiting 10:07:17 d65c8cfc05b1: Waiting 10:07:17 2437ff75d9bd: Waiting 10:07:17 765212b225bb: Waiting 10:07:17 04944245beec: Download complete 10:07:17 765212b225bb: Download complete 10:07:17 f23df028b6ca: Verifying Checksum 10:07:17 f23df028b6ca: Download complete 10:07:17 d65c8cfc05b1: Verifying Checksum 10:07:17 d65c8cfc05b1: Download complete 10:07:17 699f458cf7ca: Verifying Checksum 10:07:17 699f458cf7ca: Download complete 10:07:17 8998bd30e6a1: Verifying Checksum 10:07:17 8998bd30e6a1: Download complete 10:07:19 2437ff75d9bd: Verifying Checksum 10:07:19 2437ff75d9bd: Download complete 10:07:24 8998bd30e6a1: Pull complete 10:07:24 04944245beec: Pull complete 10:07:26 699f458cf7ca: Pull complete 10:07:26 765212b225bb: Pull complete 10:07:27 f23df028b6ca: Pull complete 10:07:27 d65c8cfc05b1: Pull complete 10:07:49 2437ff75d9bd: Pull complete 10:07:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:07:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:49 prd-ubuntu20.04-docker-arm64-4c-16g-27885 does not seem to be running inside a container 10:07:49 $ 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/71 -v /w/workspace/device-sdk-c/71:/w/workspace/device-sdk-c/71:rw,z -v /w/workspace/device-sdk-c/71@tmp:/w/workspace/device-sdk-c/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:07:51 $ docker top 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:51 ---> job-cost.sh 10:07:51 lf-activate-venv: SKIPPING 10:07:51 INFO: No Stack... 10:07:52 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:52 INFO: Archiving Costs [Pipeline] sh 10:07:53 + cut -d, -f6 10:07:53 + cat /w/workspace/device-sdk-c/71/archives/cost.csv [Pipeline] lock 10:07:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] 10:07:53 Resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] did not exist. Created. 10:07:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:07:53 /w/workspace/device-sdk-c/71@tmp/durable-7f88beb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:07:54 + echo total: 0.2199999988079071 [Pipeline] stash 10:07:54 Warning: overwriting stash ‘stack-cost’ 10:07:54 Stashed 1 file(s) [Pipeline] } 10:07:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 10:07:54 $ docker stop --time=1 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd 10:07:56 $ docker rm -f --volumes 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 10:07:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:57 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:07:58 $ docker top 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 -eo pid,comm 10:07:58 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). 10:07:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:58 [ssh-agent] Looking for ssh-agent implementation... 10:07:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:58 $ docker exec 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 ssh-agent 10:07:58 SSH_AUTH_SOCK=/tmp/ssh-MEHTlkBcsbyh/agent.32 10:07:58 SSH_AGENT_PID=38 10:07:58 Running ssh-add (command line suppressed) 10:07:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8091884846287501342.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8091884846287501342.key) 10:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:58 + git semver tag 10:07:59 2024-01-25 10:07:59,139 [run_tag] DEBUG tag force:False 10:07:59 2024-01-25 10:07:59,139 [check_head_tag] DEBUG check head tag 10:07:59 2024-01-25 10:07:59,140 [execute] INFO git cat-file --batch-check 10:07:59 2024-01-25 10:07:59,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:07:59 2024-01-25 10:07:59,143 [execute] INFO git cat-file --batch 10:07:59 2024-01-25 10:07:59,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:07:59 2024-01-25 10:07:59,157 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:07:59 2024-01-25 10:07:59,157 [execute] INFO git tag -a v3.0.3-dev.11 -m v3.0.3-dev.11 10:07:59 2024-01-25 10:07:59,157 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.11', '-m', 'v3.0.3-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:07:59 2024-01-25 10:07:59,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:07:59 3.0.3-dev.11 [Pipeline] } 10:07:59 $ docker exec --env ******** --env ******** 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 ssh-agent -k 10:07:59 unset SSH_AUTH_SOCK; 10:07:59 unset SSH_AGENT_PID; 10:07:59 echo Agent pid 38 killed; 10:07:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:59 + git semver [Pipeline] } 10:08:00 $ docker stop --time=1 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 10:08:01 $ docker rm -f --volumes 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:08:01 10:08:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:08:02 0.23.1-centos7: Pulling from edgex-lftools 10:08:02 ab5ef0e58194: Pulling fs layer 10:08:02 9712f1f96733: Pulling fs layer 10:08:02 63f879dbbcfc: Pulling fs layer 10:08:02 0d9ebad4ef96: Pulling fs layer 10:08:02 e9a5061849ea: Pulling fs layer 10:08:02 d747dcd14b5f: Pulling fs layer 10:08:02 2de7ff778b66: Pulling fs layer 10:08:02 0d9ebad4ef96: Waiting 10:08:02 d747dcd14b5f: Waiting 10:08:02 e9a5061849ea: Waiting 10:08:02 2de7ff778b66: Waiting 10:08:02 9712f1f96733: Verifying Checksum 10:08:02 9712f1f96733: Download complete 10:08:02 63f879dbbcfc: Verifying Checksum 10:08:02 63f879dbbcfc: Download complete 10:08:02 e9a5061849ea: Verifying Checksum 10:08:02 e9a5061849ea: Download complete 10:08:02 d747dcd14b5f: Verifying Checksum 10:08:02 d747dcd14b5f: Download complete 10:08:02 0d9ebad4ef96: Verifying Checksum 10:08:02 2de7ff778b66: Verifying Checksum 10:08:02 2de7ff778b66: Download complete 10:08:02 ab5ef0e58194: Verifying Checksum 10:08:02 ab5ef0e58194: Download complete 10:08:05 ab5ef0e58194: Pull complete 10:08:05 9712f1f96733: Pull complete 10:08:06 63f879dbbcfc: Pull complete 10:08:09 0d9ebad4ef96: Pull complete 10:08:09 e9a5061849ea: Pull complete 10:08:09 d747dcd14b5f: Pull complete 10:08:10 2de7ff778b66: Pull complete 10:08:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:11 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:08:18 $ docker top 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:08:18 provisioning config files... 10:08:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11313869220119069871tmp 10:08:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15050901672465528195tmp 10:08:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10211032275296377484tmp [Pipeline] { [Pipeline] echo 10:08:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:08:19 ---> sigul-configuration.sh 10:08:19 gpg: directory `/root/.gnupg' created 10:08:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:08:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:08:19 gpg: keyring `/root/.gnupg/secring.gpg' created 10:08:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:08:19 gpg: CAST5 encrypted data 10:08:19 gpg: encrypted with 1 passphrase 10:08:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:08:19 + mkdir /home/jenkins 10:08:19 + mkdir /home/jenkins/sigul [Pipeline] sh 10:08:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:08:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:08:20 ---> sigul-install.sh 10:08:20 Sigul already installed; skipping installation. [Pipeline] sh 10:08:20 + git tag --list 10:08:20 0.7.0 10:08:20 0.7.1 10:08:20 1.0.0 10:08:20 v1.0.1 10:08:20 v1.0.2 10:08:20 v1.0.3 10:08:20 v1.1.0 10:08:20 v1.1.1 10:08:20 v1.2.0 10:08:20 v1.2.1 10:08:20 v1.2.2 10:08:20 v1.3.0 10:08:20 v1.3.1 10:08:20 v2.0.0 10:08:20 v2.1.0 10:08:20 v2.2.0 10:08:20 v2.3.0 10:08:20 v3.0 10:08:20 v3.0.0 10:08:20 v3.0.1 10:08:20 v3.0.2 10:08:20 v3.0.3-dev.1 10:08:20 v3.0.3-dev.10 10:08:20 v3.0.3-dev.11 10:08:20 v3.0.3-dev.2 10:08:20 v3.0.3-dev.3 10:08:20 v3.0.3-dev.4 10:08:20 v3.0.3-dev.5 10:08:20 v3.0.3-dev.6 10:08:20 v3.0.3-dev.7 10:08:20 v3.0.3-dev.8 10:08:20 v3.0.3-dev.9 10:08:20 v3.1 10:08:20 v3.1.0 10:08:20 v3.1.0-dev.1 10:08:20 v3.1.0-dev.2 10:08:20 v3.1.0-dev.3 10:08:20 v3.1.0-dev.4 10:08:20 v3.1.0-dev.5 10:08:20 v3.1.0-dev.6 10:08:20 v3.1.0-dev.7 10:08:20 v3.1.0-dev.8 10:08:20 v3.1.0-dev.9 [Pipeline] sh 10:08:20 + lftools sign git-tag v3.0.3-dev.11 10:08:21 Signing Git tag with Sigul... 10:08:21 Signing v3.0.3-dev.11 [Pipeline] echo 10:08:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:08:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:08:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:08:22 $ docker stop --time=1 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac 10:08:23 $ docker rm -f --volumes 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:24 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:08:24 $ docker top e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 -eo pid,comm 10:08:24 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). 10:08:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:08:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:08:25 [ssh-agent] Looking for ssh-agent implementation... 10:08:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:08:25 $ docker exec e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 ssh-agent 10:08:25 SSH_AUTH_SOCK=/tmp/ssh-852QleUQUfpW/agent.32 10:08:25 SSH_AGENT_PID=38 10:08:25 Running ssh-add (command line suppressed) 10:08:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14725989600987029402.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14725989600987029402.key) 10:08:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:08:25 + git semver bump pre 10:08:25 2024-01-25 10:08:25,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:08:25 2024-01-25 10:08:25,898 [bump_version] DEBUG bumping version:3.0.3-dev.11 on axis:pre with prefix:dev 10:08:25 2024-01-25 10:08:25,898 [bump_version] DEBUG bumped version:3.0.3-dev.12 10:08:25 2024-01-25 10:08:25,898 [write_version] DEBUG write version:3.0.3-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 10:08:25 2024-01-25 10:08:25,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:08:25 2024-01-25 10:08:25,899 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:08:25 2024-01-25 10:08:25,901 [execute] INFO git cat-file --batch-check 10:08:25 2024-01-25 10:08:25,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:08:25 2024-01-25 10:08:25,907 [execute] INFO git cat-file --batch 10:08:25 2024-01-25 10:08:25,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:08:25 2024-01-25 10:08:25,912 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:08:25 3.0.3-dev.12 [Pipeline] } 10:08:25 $ docker exec --env ******** --env ******** e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 ssh-agent -k 10:08:26 unset SSH_AUTH_SOCK; 10:08:26 unset SSH_AGENT_PID; 10:08:26 echo Agent pid 38 killed; 10:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:08:26 + git semver [Pipeline] } 10:08:27 $ docker stop --time=1 e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 10:08:28 $ docker rm -f --volumes e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:29 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:08:29 $ docker top 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:08:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:08:29 [ssh-agent] Looking for ssh-agent implementation... 10:08:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:08:29 $ docker exec 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b ssh-agent 10:08:29 SSH_AUTH_SOCK=/tmp/ssh-QlaaaFJZ2WRp/agent.32 10:08:29 SSH_AGENT_PID=38 10:08:30 Running ssh-add (command line suppressed) 10:08:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12949858183580018366.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12949858183580018366.key) 10:08:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:08:30 + git semver push 10:08:30 2024-01-25 10:08:30,597 [run_push] DEBUG push 10:08:30 2024-01-25 10:08:30,598 [execute] INFO git cat-file --batch-check 10:08:30 2024-01-25 10:08:30,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:08:30 2024-01-25 10:08:30,602 [execute] INFO git rev-list a88f20c52a9123da868afe8163d8a54f8137a46e -- 10:08:30 2024-01-25 10:08:30,602 [execute] DEBUG Popen(['git', 'rev-list', 'a88f20c52a9123da868afe8163d8a54f8137a46e', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:08:30 2024-01-25 10:08:30,610 [execute] INFO git fetch -v origin 10:08:30 2024-01-25 10:08:30,611 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 10:08:31 2024-01-25 10:08:31,142 [run_push] DEBUG no remote changes detected 10:08:31 2024-01-25 10:08:31,142 [execute] INFO git push origin semver 10:08:31 2024-01-25 10:08:31,143 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:08:32 2024-01-25 10:08:31,893 [run_push] DEBUG push all version tags 10:08:32 2024-01-25 10:08:31,893 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:08:32 2024-01-25 10:08:31,894 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:08:32 2024-01-25 10:08:32,617 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:08:32 3.0.3-dev.12 [Pipeline] } 10:08:32 $ docker exec --env ******** --env ******** 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b ssh-agent -k 10:08:32 unset SSH_AUTH_SOCK; 10:08:32 unset SSH_AGENT_PID; 10:08:32 echo Agent pid 38 killed; 10:08:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:08:33 + git semver [Pipeline] } 10:08:33 $ docker stop --time=1 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b 10:08:34 $ docker rm -f --volumes 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:08:35 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 10:08:35 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:08:35 total 16 10:08:35 drwxr-xr-x 3 root root 4096 Jan 25 10:03 . 10:08:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 10:08 .. 10:08:35 drwxr-xr-x 2 root root 4096 Jan 25 10:03 cost 10:08:35 -rw-r--r-- 1 root root 83 Jan 25 10:03 cost.csv 10:08:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:08:35 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:08:35 total 16 10:08:35 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 10:03 . 10:08:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 10:08 .. 10:08:35 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 10:03 cost 10:08:35 -rw-r--r-- 1 jenkins jenkins 83 Jan 25 10:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:08:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:08:36 ---> package-listing.sh 10:08:36 ++ facter osfamily 10:08:36 ++ tr '[:upper:]' '[:lower:]' 10:08:37 + OS_FAMILY=debian 10:08:37 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 10:08:37 + START_PACKAGES=/tmp/packages_start.txt 10:08:37 + END_PACKAGES=/tmp/packages_end.txt 10:08:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:08:37 + PACKAGES=/tmp/packages_start.txt 10:08:37 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:08:37 + PACKAGES=/tmp/packages_end.txt 10:08:37 + case "${OS_FAMILY}" in 10:08:37 + dpkg -l 10:08:37 + grep '^ii' 10:08:37 + '[' -f /tmp/packages_start.txt ']' 10:08:37 + '[' -f /tmp/packages_end.txt ']' 10:08:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:08:37 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:08:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 10:08:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 10:08:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:08:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:08:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:38 prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container 10:08:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:08:38 $ docker top 12078bc8a9b63877f762d4fab5c88bcdc67a91023cda0e4c5f6a1f8639d4d007 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:38 + touch /tmp/pre-build-complete [Pipeline] sh 10:08:39 + mkdir -p /var/log/sysstat [Pipeline] sh 10:08:39 + ls /var/log/sa-host 10:08:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:08:39 provisioning config files... 10:08:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config140270937656955068tmp [Pipeline] { [Pipeline] echo 10:08:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:08:39 ---> create-netrc.sh [Pipeline] } 10:08:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:08:40 ---> python-tools-install.sh [Pipeline] echo 10:08:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:08:40 ---> sudo-logs.sh 10:08:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:08:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:08:41 ---> job-cost.sh 10:08:41 lf-activate-venv: SKIPPING 10:08:41 DEBUG: total: 0.2199999988079071 10:08:41 INFO: Retrieving Stack Cost... 10:08:41 INFO: Retrieving Pricing Info for: v3-standard-8 10:08:41 INFO: Archiving Costs [Pipeline] echo 10:08:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:08:41 ---> logs-deploy.sh 10:08:41 lf-activate-venv: SKIPPING 10:08:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/71 10:08:41 INFO: archiving workspace using pattern(s): 10:08:42 Archives upload complete. 10:08:42 INFO: archiving logs to Nexus