Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 739477acbf421f4c8ab997665c0daf1f91507244 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-ssh9448604425057929489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh4573086868963618067.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7077824006690099198.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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 shared 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-ssh3143346595253485421.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh18206826401048099170.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-915 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.24.4' 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 /w/workspace/edgexfoundry_device-sdk-c_main@tmp/jenkins-gitclient-ssh4649766144354755052.key > 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 739477acbf421f4c8ab997665c0daf1f91507244 (main) > 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 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 Commit message: "docs: update issue templates to include required sections (#390)" > git rev-list --no-walk 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:38:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:38:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:38:10 ========================================================= 15:38:10 EdgeX Global Pipelines Version Info 15:38:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:38:11 ------------------- 15:38:11 stable info: 15:38:11 ------------------- 15:38:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:38:11 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 15:38:11 Message: update stable to v1.0.217 15:38:12 ------------------- 15:38:12 experimental info: 15:38:12 ------------------- 15:38:12 Commited By: **** collab-it+edgex@linuxfoundation.org 15:38:12 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 15:38:12 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 739477a [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:12 provisioning config files... 15:38:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2642533010549757275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:12 ---> docker-login.sh 15:38:12 nexus3.edgexfoundry.org:10001 15:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 nexus3.edgexfoundry.org:10002 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 nexus3.edgexfoundry.org:10003 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 nexus3.edgexfoundry.org:10004 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 docker.io 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 ---> docker-login.sh ends [Pipeline] } 15:38:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:38:14 + git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo 15:38:14 -----------> git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 739477acbf421f4c8ab997665c0daf1f91507244 [false] [Pipeline] sh 15:38:14 + git log --format=format:%s -1 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo 15:38:14 ========================================================= 15:38:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:14 ========================================================= 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 15:38:15 + git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo 15:38:15 -----------> git rev-list -1 --merges 739477acbf421f4c8ab997665c0daf1f91507244~1..739477acbf421f4c8ab997665c0daf1f91507244 739477acbf421f4c8ab997665c0daf1f91507244 [false] [Pipeline] sh 15:38:15 + git log --format=format:%s -1 739477acbf421f4c8ab997665c0daf1f91507244 [Pipeline] echo 15:38:15 ========================================================= 15:38:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:38:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:38:16 + grep -v github /etc/ssh/ssh_known_hosts 15:38:16 + '[' -e /tmp/ssh_known_hosts ']' 15:38:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:38:16 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:38:16 + sudo tee -a /etc/ssh/ssh_known_hosts 15:38:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:38:16 15:38:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:38:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:38:16 latest: Pulling from edgex-devops/git-semver 15:38:16 a0d0a0d46f8b: Pulling fs layer 15:38:16 3e5f54012d9b: Pulling fs layer 15:38:16 4c7163046ea9: Pulling fs layer 15:38:16 0c2d73faf560: Pulling fs layer 15:38:16 0c2d73faf560: Waiting 15:38:16 3e5f54012d9b: Download complete 15:38:16 a0d0a0d46f8b: Verifying Checksum 15:38:16 a0d0a0d46f8b: Download complete 15:38:16 4c7163046ea9: Verifying Checksum 15:38:16 4c7163046ea9: Download complete 15:38:16 0c2d73faf560: Verifying Checksum 15:38:16 0c2d73faf560: Download complete 15:38:17 a0d0a0d46f8b: Pull complete 15:38:17 3e5f54012d9b: Pull complete 15:38:17 4c7163046ea9: Pull complete 15:38:17 0c2d73faf560: Pull complete 15:38:17 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:38:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:38:17 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:38:18 $ docker top 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:18 [ssh-agent] Looking for ssh-agent implementation... 15:38:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:18 $ docker exec 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent 15:38:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJhiohk/agent.13 15:38:18 SSH_AGENT_PID=19 15:38:18 Running ssh-add (command line suppressed) 15:38:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2958933530557704979.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2958933530557704979.key) 15:38:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:19 + git tag --points-at HEAD [Pipeline] } 15:38:19 $ docker exec --env ******** --env ******** 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent -k 15:38:19 unset SSH_AUTH_SOCK; 15:38:19 unset SSH_AGENT_PID; 15:38:19 echo Agent pid 19 killed; 15:38:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:19 [ssh-agent] Looking for ssh-agent implementation... 15:38:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:19 $ docker exec 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent 15:38:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghpgGB/agent.52 15:38:19 SSH_AGENT_PID=58 15:38:19 Running ssh-add (command line suppressed) 15:38:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6841492813975782885.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6841492813975782885.key) 15:38:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:19 + git semver init 15:38:19 # -> Open(): unable to determine branch for HEAD 15:38:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:38:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:38:19 # $SEMVER_REMOTE_NAME = origin 15:38:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:38:19 # $SEMVER_USER_NAME = edgex-jenkins 15:38:19 # $SEMVER_BRANCH = main 15:38:19 # $SEMVER_TEMP = /tmp/semver-212145801 15:38:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:38:21 # '/tmp/semver-212145801' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 15:38:21 # -> Force: false 15:38:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:38:21 $ docker exec --env ******** --env ******** 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 ssh-agent -k 15:38:21 unset SSH_AUTH_SOCK; 15:38:21 unset SSH_AGENT_PID; 15:38:21 echo Agent pid 58 killed; 15:38:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:21 + git semver [Pipeline] } 15:38:21 $ docker stop --time=1 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 15:38:22 $ docker rm -f 6aa478bbcb98c60e1156f1c518ca565b3c9c77f8caada308f5b74d22f4f4b2a0 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:23 Stashed 1 file(s) [Pipeline] echo 15:38:23 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 15:38:38 Still waiting to schedule task 15:38:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-915’ 15:38:38 Still waiting to schedule task 15:38:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:40:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-916 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 15:40:09 Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout 15:40:09 Selected Git installation does not exist. Using Default 15:40:09 The recommended git tool is: NONE 15:40:13 using credential edgex-jenkins-ssh 15:40:13 Cloning the remote Git repository 15:40:13 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:40:13 > git init /w/workspace/device-sdk-c/15 # timeout=10 15:40:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:40:13 > git --version # timeout=10 15:40:13 > git --version # 'git version 2.17.1' 15:40:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:16 Avoid second fetch 15:40:16 Checking out Revision 739477acbf421f4c8ab997665c0daf1f91507244 (main) 15:40:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:40:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:16 > git config core.sparsecheckout # timeout=10 15:40:16 > git checkout -f 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 15:40:20 Commit message: "docs: update issue templates to include required sections (#390)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:40:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:40:21 Dload Upload Total Spent Left Speed 15:40:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 57120 0 --:--:-- --:--:-- --:--:-- 57120 [Pipeline] sh 15:40:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:40:22 + sudo tee /etc/docker/daemon.new 15:40:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:40:22 { 15:40:22 "registry-mirrors": [ 15:40:22 "https://nexus3.edgexfoundry.org:10001" 15:40:22 ], 15:40:22 "bip": "10.250.0.254/24", 15:40:22 "hosts": [ 15:40:22 "tcp://0.0.0.0:5555", 15:40:22 "unix:///var/run/docker.sock" 15:40:22 ], 15:40:22 "mtu": 1458, 15:40:22 "selinux-enabled": true, 15:40:22 "seccomp-profile": "/etc/docker/seccomp.json" 15:40:22 } [Pipeline] sh 15:40:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:40:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:41 provisioning config files... 15:40:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/15@tmp/config2099223126535270850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:41 ---> docker-login.sh 15:40:41 nexus3.edgexfoundry.org:10001 15:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:42 Configure a credential helper to remove this warning. See 15:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:42 15:40:42 Login Succeeded 15:40:42 nexus3.edgexfoundry.org:10002 15:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:43 Configure a credential helper to remove this warning. See 15:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:43 15:40:43 Login Succeeded 15:40:43 nexus3.edgexfoundry.org:10003 15:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:43 Running on prd-centos7-docker-4c-2g-917 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 15:40:43 Running in /w/workspace/device-sdk-c/15 [Pipeline] { [Pipeline] checkout 15:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:43 Configure a credential helper to remove this warning. See 15:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:43 15:40:43 Login Succeeded 15:40:43 nexus3.edgexfoundry.org:10004 15:40:43 Selected Git installation does not exist. Using Default 15:40:43 The recommended git tool is: NONE 15:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:43 Configure a credential helper to remove this warning. See 15:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:43 15:40:43 Login Succeeded 15:40:43 docker.io 15:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:44 Configure a credential helper to remove this warning. See 15:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:44 15:40:44 Login Succeeded 15:40:44 ---> docker-login.sh ends [Pipeline] } 15:40:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:40:45 using credential edgex-jenkins-ssh 15:40:45 Cloning the remote Git repository [Pipeline] echo 15:40:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:45 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:40:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:45 ========================================================= 15:40:45 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:40:45 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:40:45 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 15:40:45 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:40:45 > git init /w/workspace/device-sdk-c/15 # timeout=10 15:40:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:40:45 > git --version # timeout=10 15:40:45 > git --version # 'git version 2.24.4' 15:40:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:45 [INFO] Currently running in a labeled security context 15:40:45 [INFO] Currently SELinux is 'enforcing' on the host 15:40:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/15@tmp/jenkins-gitclient-ssh4285649157022792989.key 15:40:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:45 Sending build context to Docker daemon 2.724MB 15:40:46 Step 1/24 : ARG BASE=alpine:3.14 15:40:46 Step 2/24 : FROM ${BASE} as builder 15:40:46 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:40:46 552d1f2373af: Pulling fs layer 15:40:46 f2be2b6548c6: Pulling fs layer 15:40:46 ee4ac2fe028c: Pulling fs layer 15:40:46 f2be2b6548c6: Verifying Checksum 15:40:46 f2be2b6548c6: Download complete 15:40:46 552d1f2373af: Verifying Checksum 15:40:46 552d1f2373af: Download complete 15:40:47 552d1f2373af: Pull complete 15:40:47 f2be2b6548c6: Pull complete 15:40:48 ee4ac2fe028c: Download complete 15:40:51 Avoid second fetch 15:40:51 Checking out Revision 739477acbf421f4c8ab997665c0daf1f91507244 (main) 15:40:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:40:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:51 > git config core.sparsecheckout # timeout=10 15:40:51 > git checkout -f 739477acbf421f4c8ab997665c0daf1f91507244 # timeout=10 15:40:54 Commit message: "docs: update issue templates to include required sections (#390)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:55 provisioning config files... 15:40:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/15@tmp/config3872138812923262854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:55 ---> docker-login.sh 15:40:55 nexus3.edgexfoundry.org:10001 15:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:55 Configure a credential helper to remove this warning. See 15:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:55 15:40:55 Login Succeeded 15:40:55 nexus3.edgexfoundry.org:10002 15:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:55 Configure a credential helper to remove this warning. See 15:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:55 15:40:55 Login Succeeded 15:40:55 nexus3.edgexfoundry.org:10003 15:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:55 Configure a credential helper to remove this warning. See 15:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:55 15:40:55 Login Succeeded 15:40:55 nexus3.edgexfoundry.org:10004 15:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:56 Configure a credential helper to remove this warning. See 15:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:56 15:40:56 Login Succeeded 15:40:56 docker.io 15:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:56 ee4ac2fe028c: Pull complete 15:40:56 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 15:40:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:40:56 ---> b6d714ea7bf2 15:40:56 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:56 Configure a credential helper to remove this warning. See 15:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:56 15:40:56 Login Succeeded 15:40:56 ---> docker-login.sh ends [Pipeline] } 15:40:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:56 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:40:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:56 ========================================================= 15:40:56 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:40:56 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:40:57 ---> Running in e5833a9f1208 15:40:57 + 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 . 15:40:57 Sending build context to Docker daemon 2.725MB 15:40:57 Step 1/24 : ARG BASE=alpine:3.14 15:40:57 Step 2/24 : FROM ${BASE} as builder 15:40:57 latest: Pulling from edgex-devops/edgex-gcc-base 15:40:57 a0d0a0d46f8b: Pulling fs layer 15:40:57 39017ce70367: Pulling fs layer 15:40:57 dcf9283bb20a: Pulling fs layer 15:40:57 39017ce70367: Verifying Checksum 15:40:57 39017ce70367: Download complete 15:40:57 a0d0a0d46f8b: Verifying Checksum 15:40:57 a0d0a0d46f8b: Download complete 15:40:57 a0d0a0d46f8b: Pull complete 15:40:57 39017ce70367: Pull complete 15:40:57 dcf9283bb20a: Verifying Checksum 15:40:57 dcf9283bb20a: Download complete 15:40:58 Connecting to iotech.jfrog.io (54.229.110.245:443) 15:40:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:40:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:40:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:40:59 Removing intermediate container e5833a9f1208 15:40:59 ---> 0f7e893794c3 15:40:59 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:40:59 ---> Running in e8226788f7d2 15:41:00 Removing intermediate container e8226788f7d2 15:41:00 ---> 2feacc2a91a3 15:41:00 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:41:01 ---> Running in 9f70342eff12 15:41:01 dcf9283bb20a: Pull complete 15:41:01 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 15:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:41:01 ---> a4e04833b611 15:41:01 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:41:01 ---> Running in 14c11c63f63f 15:41:01 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:41:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:41:02 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:41:02 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:41:02 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:41:02 Removing intermediate container 14c11c63f63f 15:41:02 ---> df3dc95ed174 15:41:02 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:41:02 ---> Running in 9739ac3888d4 15:41:03 Removing intermediate container 9739ac3888d4 15:41:03 ---> afa997486683 15:41:03 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:41:03 ---> Running in dd30c1921665 15:41:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:41:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:41:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:41:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:41:04 (1/27) Installing hiredis (1.0.0-r0) 15:41:04 (2/27) Installing hiredis-dev (1.0.0-r0) 15:41:04 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 15:41:04 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:41:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:41:04 (1/27) Installing hiredis (1.0.0-r0) 15:41:04 (2/27) Installing hiredis-dev (1.0.0-r0) 15:41:04 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 15:41:04 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:41:05 (5/27) Installing libblkid (2.37.2-r0) 15:41:05 (6/27) Installing blkid (2.37.2-r0) 15:41:05 (7/27) Installing libcap-ng (0.8.2-r0) 15:41:05 (8/27) Installing setpriv (2.37.2-r0) 15:41:05 (9/27) Installing libmount (2.37.2-r0) 15:41:05 (10/27) Installing libsmartcols (2.37.2-r0) 15:41:05 (5/27) Installing libblkid (2.37.2-r0) 15:41:05 (6/27) Installing blkid (2.37.2-r0) 15:41:05 (7/27) Installing libcap-ng (0.8.2-r0) 15:41:05 (8/27) Installing setpriv (2.37.2-r0) 15:41:06 (9/27) Installing libmount (2.37.2-r0) 15:41:06 (10/27) Installing libsmartcols (2.37.2-r0) 15:41:06 (11/27) Installing findmnt (2.37.2-r0) 15:41:06 (11/27) Installing findmnt (2.37.2-r0) 15:41:06 (12/27) Installing mcookie (2.37.2-r0) 15:41:06 (13/27) Installing hexdump (2.37.2-r0) 15:41:06 (12/27) Installing mcookie (2.37.2-r0) 15:41:06 (13/27) Installing hexdump (2.37.2-r0) 15:41:06 (14/27) Installing lsblk (2.37.2-r0) 15:41:06 (14/27) Installing lsblk (2.37.2-r0) 15:41:06 (15/27) Installing libuuid (2.37.2-r0) 15:41:06 (16/27) Installing libfdisk (2.37.2-r0) 15:41:06 (15/27) Installing libuuid (2.37.2-r0) 15:41:06 (16/27) Installing libfdisk (2.37.2-r0) 15:41:06 (17/27) Installing sfdisk (2.37.2-r0) 15:41:06 (17/27) Installing sfdisk (2.37.2-r0) 15:41:06 (18/27) Installing cfdisk (2.37.2-r0) 15:41:06 (19/27) Installing partx (2.37.2-r0) 15:41:06 (18/27) Installing cfdisk (2.37.2-r0) 15:41:06 (19/27) Installing partx (2.37.2-r0) 15:41:06 (20/27) Installing flock (2.37.2-r0) 15:41:06 (20/27) Installing flock (2.37.2-r0) 15:41:06 (21/27) Installing logger (2.37.2-r0) 15:41:06 (22/27) Installing uuidgen (2.37.2-r0) 15:41:06 (23/27) Installing libeconf (0.3.8-r1) 15:41:07 (21/27) Installing logger (2.37.2-r0) 15:41:07 (22/27) Installing uuidgen (2.37.2-r0) 15:41:07 (23/27) Installing libeconf (0.3.8-r1) 15:41:07 (24/27) Installing util-linux (2.37.2-r0) 15:41:07 (24/27) Installing util-linux (2.37.2-r0) 15:41:07 (25/27) Installing util-linux-dev (2.37.2-r0) 15:41:07 (25/27) Installing util-linux-dev (2.37.2-r0) 15:41:07 (26/27) Installing libidn2 (2.3.1-r0) 15:41:07 (27/27) Installing wget (1.21.1-r1) 15:41:07 Executing busybox-1.33.1-r3.trigger 15:41:07 OK: 290 MiB in 104 packages 15:41:08 (26/27) Installing libidn2 (2.3.1-r0) 15:41:08 (27/27) Installing wget (1.21.1-r1) 15:41:08 Executing busybox-1.33.1-r3.trigger 15:41:08 OK: 286 MiB in 104 packages 15:41:08 Removing intermediate container dd30c1921665 15:41:08 ---> 4ff722808f2b 15:41:08 Step 6/24 : ENV CBOR_VERSION=0.5.0 15:41:08 ---> Running in b3e9756779ba 15:41:08 Removing intermediate container b3e9756779ba 15:41:08 ---> 47ad3fdba405 15:41:08 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:41:08 ---> Running in dcf6d6ab36fa 15:41:08 --2021-12-15 15:41:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:41:08 Resolving github.com (github.com)... 140.82.112.4 15:41:08 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:41:09 HTTP request sent, awaiting response... 302 Found 15:41:09 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:41:09 --2021-12-15 15:41:09-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:41:09 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:09 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:09 HTTP request sent, awaiting response... 200 OK 15:41:09 Length: unspecified [application/x-gzip] 15:41:09 Saving to: 'STDOUT' 15:41:09  15:41:09 0K .......... .......... .......... .......... .......... 886K 15:41:09 50K .......... .......... .......... .......... .......... 1.86M 15:41:09 100K .......... .......... .......... .......... .......... 24.1M 15:41:09 150K .......... .......... .......... .......... .......... 26.3M 15:41:09 200K .......... .......... .......... .......... .......... 1.85M 15:41:09 250K .......... .......... .......... .......... .......... 5.94M 15:41:09 300K .......... .......... .......... .......... .......... 31.8M 15:41:09 350K .......... .......... .......... .......... .......... 17.8M 15:41:09 400K .......... .......... .......... .......... .......... 1.06M 15:41:09 450K .......... .......... .......... .......... .......... 17.2M 15:41:09 500K .......... .......... .......... .......... .......... 19.3M 15:41:09 550K .......... .......... .......... .......... .......... 8.34M 15:41:09 600K .......... .......... .......... .......... .......... 4.20M 15:41:09 650K .......... .......... .......... .......... .......... 4.92M 15:41:09 700K .. 47.3M=0.2s 15:41:09 15:41:09 2021-12-15 15:41:09 (3.36 MB/s) - written to stdout [719348] 15:41:09 15:41:09 -- The C compiler identification is GNU 10.3.1 15:41:09 -- The CXX compiler identification is GNU 10.3.1 15:41:09 -- Detecting C compiler ABI info 15:41:09 -- Detecting C compiler ABI info - done 15:41:09 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:09 -- Detecting C compile features 15:41:09 -- Detecting C compile features - done 15:41:09 -- Detecting CXX compiler ABI info 15:41:09 -- Detecting CXX compiler ABI info - done 15:41:09 -- Check for working CXX compiler: /usr/bin/c++ - skipped 15:41:09 -- Detecting CXX compile features 15:41:09 -- Detecting CXX compile features - done 15:41:09 -- Looking for include file endian.h 15:41:09 Removing intermediate container 9f70342eff12 15:41:09 ---> 651952bf6a23 15:41:09 Step 6/24 : ENV CBOR_VERSION=0.5.0 15:41:09 ---> Running in b033669d9a7e 15:41:10 -- Looking for include file endian.h - found 15:41:10 -- Looking for sys/types.h 15:41:10 -- Looking for sys/types.h - found 15:41:10 -- Looking for stdint.h 15:41:10 -- Looking for stdint.h - found 15:41:10 -- Looking for stddef.h 15:41:10 -- Looking for stddef.h - found 15:41:10 -- Check size of size_t 15:41:10 Removing intermediate container b033669d9a7e 15:41:10 ---> dc5d2a3ed742 15:41:10 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:41:10 -- Check size of size_t - done 15:41:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:41:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:41:10 asked CMake to find a package configuration file provided by "cJSON", but 15:41:10 CMake did not find one. 15:41:10 15:41:10 Could not find a package configuration file provided by "cJSON" with any of 15:41:10 the following names: 15:41:10 15:41:10 cJSONConfig.cmake 15:41:10 cjson-config.cmake 15:41:10 15:41:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:41:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:41:10 provides a separate development package or SDK, be sure it has been 15:41:10 installed. 15:41:10 15:41:10 15:41:10 -- Configuring done 15:41:10 -- Generating done 15:41:10 -- Build files have been written to: /tmp/cbor 15:41:10 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:41:10 ---> Running in 0440ce39057d 15:41:10 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:41:10 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:41:10 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:41:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:41:10 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:41:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:41:11 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:41:11 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:41:11 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:41:11 --2021-12-15 15:41:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:41:11 Resolving github.com (github.com)... 140.82.112.4 15:41:11 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:41:11 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:41:11 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:41:11 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:41:11 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:41:11 HTTP request sent, awaiting response... 302 Found 15:41:11 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:41:11 --2021-12-15 15:41:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:41:11 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:11 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:11 HTTP request sent, awaiting response... 200 OK 15:41:11 Length: unspecified [application/x-gzip] 15:41:11 Saving to: 'STDOUT' 15:41:11 15:41:11 0K .......... .......... .......... .......... .......... 834K 15:41:11 50K .......... .......... .......... .......... .......... 1.73M 15:41:11 100K .......... .......... .......... .......... .......... 11.4M 15:41:11 150K .......... .......... .......... .......... .......... 2.32M 15:41:11 200K .......... .......... .......... .......... .......... 7.76M 15:41:11 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:41:11 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:41:11 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:41:11 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:41:11 250K .......... .......... .......... .......... .......... 3.07M 15:41:11 300K .......... .......... .......... .......... .......... 6.22M 15:41:11 350K .......... .......... .......... .......... .......... 3.25M 15:41:11 400K .......... .......... .......... .......... .......... 4.31M 15:41:11 450K .......... .......... .......... .......... .......... 3.63M 15:41:11 500K .......... .......... .......... .......... .......... 11.5M 15:41:11 550K .......... .......... .......... .......... .......... 7.09M 15:41:11 600K .......... .......... .......... .......... .......... 866K 15:41:11 650K .......... .......... .......... .......... .......... 2.74M 15:41:11 700K .. 4.63T=0.3s 15:41:11 15:41:11 2021-12-15 15:41:11 (2.54 MB/s) - written to stdout [719348] 15:41:11 15:41:12 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:41:12 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:41:12 [ 40%] Linking C shared library libcbor.so 15:41:12 [ 40%] Built target cbor_shared 15:41:12 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:41:12 -- The C compiler identification is GNU 10.3.1 15:41:12 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:41:12 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:41:12 -- The CXX compiler identification is GNU 10.3.1 15:41:12 -- Detecting C compiler ABI info 15:41:12 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:41:12 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:41:12 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:41:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:41:12 -- Detecting C compiler ABI info - done 15:41:12 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:12 -- Detecting C compile features 15:41:12 -- Detecting C compile features - done 15:41:13 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:41:13 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:41:13 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:41:13 -- Detecting CXX compiler ABI info 15:41:13 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:41:13 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:41:13 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:41:13 -- Detecting CXX compiler ABI info - done 15:41:13 -- Check for working CXX compiler: /usr/bin/c++ - skipped 15:41:13 -- Detecting CXX compile features 15:41:13 -- Detecting CXX compile features - done 15:41:13 -- Looking for include file endian.h 15:41:13 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:41:13 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:41:13 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:41:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:41:13 -- Looking for include file endian.h - found 15:41:13 -- Looking for sys/types.h 15:41:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:41:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:41:13 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:41:13 [ 80%] Linking C static library libcbor.a 15:41:13 -- Looking for sys/types.h - found 15:41:13 -- Looking for stdint.h 15:41:14 [ 80%] Built target cbor 15:41:14 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:41:14 [ 84%] Linking C executable readfile 15:41:14 [ 84%] Built target readfile 15:41:14 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:41:14 [ 88%] Linking C executable create_items 15:41:14 [ 88%] Built target create_items 15:41:14 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:41:14 [ 92%] Linking C executable sort 15:41:14 -- Looking for stdint.h - found 15:41:14 -- Looking for stddef.h 15:41:14 [ 92%] Built target sort 15:41:14 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:41:14 [ 96%] Linking C executable hello 15:41:14 [ 96%] Built target hello 15:41:14 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:41:14 [100%] Linking C executable streaming_parser 15:41:14 [100%] Built target streaming_parser 15:41:14 Install the project... 15:41:14 -- Install configuration: "Release" 15:41:14 -- Installing: /usr/local/include/cbor/configuration.h 15:41:14 -- Installing: /usr/local/lib/libcbor.a 15:41:14 -- Installing: /usr/local/lib/libcbor.so.0.0.0 15:41:14 -- Installing: /usr/local/lib/libcbor.so.0 15:41:14 -- Installing: /usr/local/lib/libcbor.so 15:41:14 -- Up-to-date: /usr/local/include/cbor 15:41:14 -- Installing: /usr/local/include/cbor/arrays.h 15:41:14 -- Installing: /usr/local/include/cbor/bytestrings.h 15:41:14 -- Installing: /usr/local/include/cbor/callbacks.h 15:41:14 -- Installing: /usr/local/include/cbor/common.h 15:41:14 -- Installing: /usr/local/include/cbor/data.h 15:41:14 -- Installing: /usr/local/include/cbor/encoding.h 15:41:14 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:41:14 -- Installing: /usr/local/include/cbor/internal 15:41:14 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:41:14 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:41:14 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:41:14 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:41:14 -- Installing: /usr/local/include/cbor/internal/stack.h 15:41:14 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:41:14 -- Installing: /usr/local/include/cbor/ints.h 15:41:14 -- Installing: /usr/local/include/cbor/maps.h 15:41:14 -- Installing: /usr/local/include/cbor/serialization.h 15:41:14 -- Installing: /usr/local/include/cbor/streaming.h 15:41:14 -- Installing: /usr/local/include/cbor/strings.h 15:41:14 -- Installing: /usr/local/include/cbor/tags.h 15:41:14 -- Installing: /usr/local/include/cbor.h 15:41:14 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 15:41:14 -- Looking for stddef.h - found 15:41:14 -- Check size of size_t 15:41:14 -- Check size of size_t - done 15:41:14 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:41:14 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:41:14 asked CMake to find a package configuration file provided by "cJSON", but 15:41:14 CMake did not find one. 15:41:14 15:41:14 Could not find a package configuration file provided by "cJSON" with any of 15:41:14 the following names: 15:41:14 15:41:14 cJSONConfig.cmake 15:41:14 cjson-config.cmake 15:41:14 15:41:14 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:41:14 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:41:14 provides a separate development package or SDK, be sure it has been 15:41:14 installed. 15:41:14 15:41:14 15:41:14 -- Configuring done 15:41:14 Removing intermediate container dcf6d6ab36fa 15:41:14 ---> 2e766ad28a8f 15:41:14 Step 8/24 : RUN mkdir /tmp/sdk 15:41:15 -- Generating done 15:41:15 -- Build files have been written to: /tmp/cbor 15:41:15 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:41:15 ---> Running in 4db84981db3b 15:41:15 Removing intermediate container 4db84981db3b 15:41:15 ---> 1f2f9f15bcdc 15:41:15 Step 9/24 : COPY VERSION /tmp/sdk 15:41:15 ---> 49824138599e 15:41:15 Step 10/24 : COPY src /tmp/sdk/src 15:41:15 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:41:16 ---> f0790dc0e5a7 15:41:16 Step 11/24 : COPY include /tmp/sdk/include 15:41:16 ---> c64ab6a83258 15:41:16 Step 12/24 : COPY scripts /tmp/sdk/scripts 15:41:16 ---> ab4699b2b737 15:41:16 Step 13/24 : COPY LICENSE /tmp/sdk 15:41:16 ---> 17e45766f0d0 15:41:16 Step 14/24 : COPY Attribution.txt /tmp/sdk 15:41:16 ---> 7ddc8b2f00aa 15:41:16 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:41:16 ---> Running in 9c84e61482e3 15:41:16 + CPPCHECK=false 15:41:16 + DOCGEN=false 15:41:16 + TOMLVER=SDK-0.2 15:41:16 + CUTILVER=1.2.2 15:41:16 + '[' 0 -gt 0 ] 15:41:16 + readlink -f ./scripts/build.sh 15:41:16 + dirname /tmp/sdk/scripts/build.sh 15:41:16 + dirname /tmp/sdk/scripts 15:41:16 + ROOT=/tmp/sdk 15:41:16 + cd /tmp/sdk 15:41:16 + '[' '!' -d deps ] 15:41:16 + mkdir deps 15:41:16 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:41:16 --2021-12-15 15:41:16-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:41:16 + tar -C deps -z -x -f - 15:41:16 Resolving github.com (github.com)... 140.82.112.4 15:41:16 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:41:16 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:41:16 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:41:17 HTTP request sent, awaiting response... 302 Found 15:41:17 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:41:17 --2021-12-15 15:41:16-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:41:17 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:17 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:17 HTTP request sent, awaiting response... 200 OK 15:41:17 Length: unspecified [application/x-gzip] 15:41:17 Saving to: 'STDOUT' 15:41:17 15:41:17 0K .......... ...... 533K=0.03s 15:41:17 15:41:17 2021-12-15 15:41:17 (533 KB/s) - written to stdout [16451] 15:41:17 15:41:17 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:41:17 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:41:17 --2021-12-15 15:41:17-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:41:17 + tar -C deps -z -x -f - 15:41:17 Resolving github.com (github.com)... 140.82.112.4 15:41:17 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:41:17 HTTP request sent, awaiting response... 302 Found 15:41:17 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:41:17 --2021-12-15 15:41:17-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:41:17 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:17 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:17 HTTP request sent, awaiting response... 200 OK 15:41:17 Length: unspecified [application/x-gzip] 15:41:17 Saving to: 'STDOUT' 15:41:17 15:41:17 0K .......... .......... .......... .......... .......... 838K 15:41:17 50K .......... .......... .......... .......... .......... 1.69M 15:41:17 100K .......... .......... .......... .......... .......... 27.5M 15:41:17 150K .......... .......... .......... ......... 3.65M=0.1s 15:41:17 15:41:17 2021-12-15 15:41:17 (1.83 MB/s) - written to stdout [193961] 15:41:17 15:41:17 + mkdir -p src/c/iot 15:41:17 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:41:17 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:41:17 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:41:17 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:41:17 + mkdir -p include/iot 15:41:17 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:41:17 + mkdir -p include/iot/os 15:41:17 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:41:17 + mkdir -p /tmp/sdk/build/release 15:41:17 + cd /tmp/sdk/build/release 15:41:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:41:17 -- The C compiler identification is GNU 10.3.1 15:41:17 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:41:17 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:41:18 -- Detecting C compiler ABI info 15:41:18 -- Detecting C compiler ABI info - done 15:41:18 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:18 -- Detecting C compile features 15:41:18 -- Detecting C compile features - done 15:41:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:41:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:41:18 -- Found LIBYAML: /usr/lib/libyaml.so 15:41:18 -- Found LIBUUID: /usr/lib/libuuid.so 15:41:18 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:41:18 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:41:18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:41:18 -- C SDK 2.2.0-dev.1 for Linux 15:41:18 -- Performing Test CSDK_HAVE_ATOMIC 15:41:18 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:41:18 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:41:18 -- Found Curses: /usr/lib/libcurses.so 15:41:18 -- Configuring done 15:41:18 -- Generating done 15:41:18 -- Build files have been written to: /tmp/sdk/build/release 15:41:18 + make all package 15:41:18 + tee release.log 15:41:18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:41:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:41:18 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:41:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:41:18 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:41:18 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:41:19 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:41:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:41:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:41:19 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:41:19 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:41:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:41:19 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:41:19 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:41:19 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:41:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:41:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:41:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:41:20 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:41:20 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:41:20 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:41:20 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:41:20 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:41:21 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:41:21 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:41:21 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:41:21 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:41:21 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:41:21 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:41:21 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:41:21 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:41:21 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:41:21 275 | const iot_component_factory_t * factory; 15:41:21 | ^~~~~~~ 15:41:21 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:41:21 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:41:21 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:41:22 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:41:22 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:41:22 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:41:22 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:41:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:41:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:41:22 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:41:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:41:22 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:41:22 [ 40%] Linking C shared library libcbor.so 15:41:22 [ 40%] Built target cbor_shared 15:41:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:41:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:41:23 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:41:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:41:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:41:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:41:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:41:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:41:24 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:41:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:41:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:41:24 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:41:25 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:41:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:41:25 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:41:25 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:41:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:41:25 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:41:25 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:25 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:41:25 | ^~~~~~~~~~~~~ 15:41:25 | | 15:41:25 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:41:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:25 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:41:25 2714 | MHD_KeyValueIterator iterator, 15:41:25 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:41:25 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:41:25 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:25 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:41:25 | ^~~~~~~~~~~~ 15:41:25 | | 15:41:25 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:41:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:25 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:41:25 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:25 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:25 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:41:25 | ^~~~~~~~~~~~ 15:41:25 | | 15:41:25 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:41:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:25 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:41:25 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:41:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:41:26 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:41:26 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:41:26 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:41:26 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:41:27 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:41:27 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:41:27 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:41:27 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:41:27 [ 76%] Linking C shared library libcsdk.so 15:41:27 [ 76%] Built target csdk 15:41:27 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:41:27 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:41:27 [ 79%] Linking C executable template 15:41:27 [ 79%] Built target template 15:41:27 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:41:27 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:41:27 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:41:28 [ 82%] Linking C executable device-counter 15:41:28 [ 82%] Built target device-counter 15:41:28 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:41:28 [ 85%] Linking C executable device-random 15:41:28 [ 85%] Built target device-random 15:41:28 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:41:28 [ 88%] Linking C executable device-gyro 15:41:28 [ 88%] Built target device-gyro 15:41:28 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:41:28 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:41:28 [ 91%] Linking C executable device-bitfields 15:41:28 [ 91%] Built target device-bitfields 15:41:28 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:41:28 [ 94%] Linking C executable template-discovery 15:41:28 [ 94%] Built target template-discovery 15:41:28 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:41:28 [ 97%] Linking C executable device-file 15:41:28 [ 97%] Built target device-file 15:41:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:41:29 [100%] Linking C executable device-terminal 15:41:29 [100%] Built target device-terminal 15:41:29 Run CPack packaging tool... 15:41:29 CPack: Create package using TGZ 15:41:29 CPack: Install projects 15:41:29 CPack: - Run preinstall target for: Csdk 15:41:29 CPack: - Install project: Csdk [] 15:41:29 CPack: Create package 15:41:29 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.1.tar.gz generated. 15:41:29 + '[' false '=' true ] 15:41:29 + '[' false '=' true ] 15:41:29 + mkdir -p /tmp/sdk/build/debug 15:41:29 + cd /tmp/sdk/build/debug 15:41:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:41:29 -- The C compiler identification is GNU 10.3.1 15:41:29 -- Detecting C compiler ABI info 15:41:29 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:41:29 -- Detecting C compiler ABI info - done 15:41:29 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:29 -- Detecting C compile features 15:41:29 -- Detecting C compile features - done 15:41:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:41:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:41:29 -- Found LIBYAML: /usr/lib/libyaml.so 15:41:29 -- Found LIBUUID: /usr/lib/libuuid.so 15:41:29 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:41:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:41:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:41:29 -- C SDK 2.2.0-dev.1 for Linux 15:41:29 -- Performing Test CSDK_HAVE_ATOMIC 15:41:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:41:29 -- Found Curses: /usr/lib/libcurses.so 15:41:29 -- Configuring done 15:41:29 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:41:29 -- Generating done 15:41:29 -- Build files have been written to: /tmp/sdk/build/debug 15:41:29 + tee debug.log 15:41:29 + make 15:41:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:41:29 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:41:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:41:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:41:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:41:30 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:41:30 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:41:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:41:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:41:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:41:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:41:30 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:41:30 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:41:30 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:41:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:41:30 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:41:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:41:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:41:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:41:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:41:31 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:41:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:41:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:41:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:41:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:41:31 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:41:31 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:41:31 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:41:31 275 | const iot_component_factory_t * factory; 15:41:31 | ^~~~~~~ 15:41:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:41:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:41:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:41:31 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:41:31 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:41:31 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:41:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:41:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:41:31 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:41:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:41:31 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:41:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:41:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:41:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:41:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:41:32 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:41:32 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:41:32 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:41:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:41:32 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:41:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:41:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:41:32 [ 80%] Linking C static library libcbor.a 15:41:32 [ 80%] Built target cbor 15:41:32 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:41:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:41:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:41:33 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:41:33 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:33 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:41:33 | ^~~~~~~~~~~~~ 15:41:33 | | 15:41:33 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:41:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:33 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:41:33 2714 | MHD_KeyValueIterator iterator, 15:41:33 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:41:33 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:41:33 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:33 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:41:33 | ^~~~~~~~~~~~ 15:41:33 | | 15:41:33 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:41:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:33 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:41:33 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:33 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:41:33 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:41:33 | ^~~~~~~~~~~~ 15:41:33 | | 15:41:33 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:41:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:41:33 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:41:33 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:41:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:41:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:41:33 [ 84%] Linking C executable readfile 15:41:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:41:33 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:41:33 [ 84%] Built target readfile 15:41:33 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:41:33 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:41:33 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:41:33 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:41:33 [ 88%] Linking C executable create_items 15:41:33 [ 88%] Built target create_items 15:41:33 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:41:33 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:41:33 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:41:33 [ 76%] Linking C shared library libcsdk.so 15:41:33 [ 92%] Linking C executable sort 15:41:33 [ 92%] Built target sort 15:41:33 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:41:34 [ 76%] Built target csdk 15:41:34 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:41:34 [ 79%] Linking C executable template 15:41:34 [ 79%] Built target template 15:41:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:41:34 [ 82%] Linking C executable device-counter 15:41:34 [ 96%] Linking C executable hello 15:41:34 [ 96%] Built target hello 15:41:34 [ 82%] Built target device-counter 15:41:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:41:34 [ 85%] Linking C executable device-random 15:41:34 [ 85%] Built target device-random 15:41:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:41:34 [ 88%] Linking C executable device-gyro 15:41:34 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:41:34 [ 88%] Built target device-gyro 15:41:34 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:41:34 [ 91%] Linking C executable device-bitfields 15:41:34 [ 91%] Built target device-bitfields 15:41:34 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:41:34 [ 94%] Linking C executable template-discovery 15:41:34 [100%] Linking C executable streaming_parser 15:41:34 [100%] Built target streaming_parser 15:41:34 Install the project... 15:41:34 -- Install configuration: "Release" 15:41:34 -- Installing: /usr/local/include/cbor/configuration.h 15:41:34 -- Installing: /usr/local/lib/libcbor.a 15:41:34 -- Installing: /usr/local/lib/libcbor.so.0.0.0 15:41:34 -- Installing: /usr/local/lib/libcbor.so.0 15:41:34 -- Installing: /usr/local/lib/libcbor.so 15:41:34 -- Up-to-date: /usr/local/include/cbor 15:41:34 -- Installing: /usr/local/include/cbor/data.h 15:41:34 -- Installing: /usr/local/include/cbor/callbacks.h 15:41:34 -- Installing: /usr/local/include/cbor/ints.h 15:41:34 -- Installing: /usr/local/include/cbor/arrays.h 15:41:34 -- Installing: /usr/local/include/cbor/maps.h 15:41:34 -- Installing: /usr/local/include/cbor/tags.h 15:41:34 -- Installing: /usr/local/include/cbor/serialization.h 15:41:34 -- Installing: /usr/local/include/cbor/common.h 15:41:34 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:41:34 -- Installing: /usr/local/include/cbor/internal 15:41:34 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:41:34 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:41:34 -- Installing: /usr/local/include/cbor/internal/stack.h 15:41:34 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:41:34 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:41:34 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:41:34 -- Installing: /usr/local/include/cbor/bytestrings.h 15:41:34 -- Installing: /usr/local/include/cbor/encoding.h 15:41:34 -- Installing: /usr/local/include/cbor/streaming.h 15:41:34 -- Installing: /usr/local/include/cbor/strings.h 15:41:34 -- Installing: /usr/local/include/cbor.h 15:41:34 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 15:41:34 [ 94%] Built target template-discovery 15:41:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:41:34 [ 97%] Linking C executable device-file 15:41:34 [ 97%] Built target device-file 15:41:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:41:34 [100%] Linking C executable device-terminal 15:41:35 [100%] Built target device-terminal 15:41:35 make: Entering directory '/tmp/sdk/build/release' 15:41:35 make[1]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 76%] Built target csdk 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 79%] Built target template 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 82%] Built target device-counter 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 85%] Built target device-random 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 88%] Built target device-gyro 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 91%] Built target device-bitfields 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 94%] Built target template-discovery 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [ 97%] Built target device-file 15:41:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:41:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:41:35 [100%] Built target device-terminal 15:41:35 make[1]: Leaving directory '/tmp/sdk/build/release' 15:41:35 Install the project... 15:41:35 -- Install configuration: "Release" 15:41:35 -- Installing: /usr/local/lib/libcsdk.so 15:41:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:41:35 -- Up-to-date: /usr/local/include 15:41:35 -- Installing: /usr/local/include/devsdk 15:41:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:41:35 -- Installing: /usr/local/include/devsdk/devsdk.h 15:41:35 -- Installing: /usr/local/include/edgex 15:41:35 -- Installing: /usr/local/include/edgex/devices.h 15:41:35 -- Installing: /usr/local/include/edgex/edgex-base.h 15:41:35 -- Installing: /usr/local/include/edgex/edgex.h 15:41:35 -- Installing: /usr/local/include/edgex/profiles.h 15:41:35 -- Installing: /usr/local/include/edgex/rest-server.h 15:41:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:41:35 -- Installing: /usr/local/include/iot 15:41:35 -- Installing: /usr/local/include/iot/base64.h 15:41:35 -- Installing: /usr/local/include/iot/component.h 15:41:35 -- Installing: /usr/local/include/iot/config.h 15:41:35 -- Installing: /usr/local/include/iot/container.h 15:41:35 -- Installing: /usr/local/include/iot/data.h 15:41:35 -- Installing: /usr/local/include/iot/hash.h 15:41:35 -- Installing: /usr/local/include/iot/iot.h 15:41:35 -- Installing: /usr/local/include/iot/json.h 15:41:35 -- Installing: /usr/local/include/iot/logger.h 15:41:35 -- Installing: /usr/local/include/iot/os.h 15:41:35 -- Installing: /usr/local/include/iot/scheduler.h 15:41:35 -- Installing: /usr/local/include/iot/thread.h 15:41:35 -- Installing: /usr/local/include/iot/threadpool.h 15:41:35 -- Installing: /usr/local/include/iot/time.h 15:41:35 -- Installing: /usr/local/include/iot/typecode.h 15:41:35 -- Installing: /usr/local/include/iot/uuid.h 15:41:35 -- Installing: /usr/local/include/iot/os 15:41:35 -- Installing: /usr/local/include/iot/os/linux.h 15:41:35 -- Installing: /usr/local/include/iot/os/macos.h 15:41:35 -- Installing: /usr/local/include/iot/os/zephyr.h 15:41:35 -- Installing: /usr/local/include/iot/defs.h 15:41:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:41:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:41:35 make: Leaving directory '/tmp/sdk/build/release' 15:41:35 Removing intermediate container 9c84e61482e3 15:41:35 ---> cab0556d2a07 15:41:35 Step 16/24 : FROM ${BASE} 15:41:35 ---> a4e04833b611 15:41:35 Step 17/24 : LABEL maintainer="IOTech " 15:41:35 ---> Running in bff32b6dfc81 15:41:35 Removing intermediate container bff32b6dfc81 15:41:35 ---> fceb301bd3a4 15:41:35 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:41:35 ---> Running in 822707c57c83 15:41:36 Connecting to iotech.jfrog.io (54.74.239.58:443) 15:41:36 Removing intermediate container 0440ce39057d 15:41:36 ---> 27233a796c80 15:41:36 Step 8/24 : RUN mkdir /tmp/sdk 15:41:36 ---> Running in 1f050e488884 15:41:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:41:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:41:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:41:36 Removing intermediate container 822707c57c83 15:41:36 ---> 5704d7095fde 15:41:36 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:41:36 ---> Running in 456046a7721f 15:41:37 Removing intermediate container 456046a7721f 15:41:37 ---> a0fbd30a1970 15:41:37 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 15:41:37 ---> Running in 2026aabbc92e 15:41:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:41:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:38 Removing intermediate container 1f050e488884 15:41:38 ---> 443eeb8eb248 15:41:38 Step 9/24 : COPY VERSION /tmp/sdk 15:41:38 ---> 9f9faee79c44 15:41:38 Step 10/24 : COPY src /tmp/sdk/src 15:41:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:41:39 (1/7) Installing curl (7.79.1-r0) 15:41:39 (2/7) Installing hiredis (1.0.0-r0) 15:41:39 (3/7) Installing hiredis-dev (1.0.0-r0) 15:41:39 (4/7) Installing libuuid (2.37.2-r0) 15:41:39 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:41:39 ---> 7934f1ea655d 15:41:39 Step 11/24 : COPY include /tmp/sdk/include 15:41:40 (6/7) Installing libidn2 (2.3.1-r0) 15:41:40 (7/7) Installing wget (1.21.1-r1) 15:41:40 ---> 50f073b2fbd6 15:41:40 Step 12/24 : COPY scripts /tmp/sdk/scripts 15:41:40 Executing busybox-1.33.1-r3.trigger 15:41:40 OK: 281 MiB in 84 packages 15:41:40 Removing intermediate container 2026aabbc92e 15:41:40 ---> a8dbf02357a5 15:41:40 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:41:40 ---> 52d9e64fac1b 15:41:40 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:41:41 ---> 42a23530bba1 15:41:41 Step 13/24 : COPY LICENSE /tmp/sdk 15:41:41 ---> f1159b9d6006 15:41:41 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 15:41:41 ---> 632a16db9fb2 15:41:41 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:41:41 ---> 2496565af49a 15:41:41 Step 14/24 : COPY Attribution.txt /tmp/sdk 15:41:41 ---> d4b1cce3d3fe 15:41:41 Successfully built d4b1cce3d3fe 15:41:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:41:41 + docker inspect -f . ci-base-image-x86_64 15:41:41 . [Pipeline] withDockerContainer 15:41:41 prd-centos7-docker-4c-2g-917 does not seem to be running inside a container 15:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:41:41 ---> 29691d2cb81c 15:41:41 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:41:42 ---> Running in a44dadcfe3b0 15:41:42 $ docker top 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:42 + make test 15:41:42 echo "make test" 15:41:42 make test [Pipeline] } 15:41:42 $ docker stop --time=1 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 15:41:43 + CPPCHECK=false 15:41:43 + DOCGEN=false 15:41:43 + TOMLVER=SDK-0.2 15:41:43 + CUTILVER=1.2.2 15:41:43 + '[' 0 -gt 0 ] 15:41:43 + readlink -f ./scripts/build.sh 15:41:43 + dirname /tmp/sdk/scripts/build.sh 15:41:43 + dirname /tmp/sdk/scripts 15:41:43 + ROOT=/tmp/sdk 15:41:43 + cd /tmp/sdk 15:41:43 + '[' '!' -d deps ] 15:41:43 + mkdir deps 15:41:43 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:41:43 + tar -C deps -z -x -f - 15:41:43 --2021-12-15 15:41:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:41:43 Resolving github.com (github.com)... 140.82.113.4 15:41:43 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:41:43 HTTP request sent, awaiting response... 302 Found 15:41:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:41:43 --2021-12-15 15:41:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:41:43 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:43 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:43 HTTP request sent, awaiting response... 200 OK 15:41:43 Length: unspecified [application/x-gzip] 15:41:43 Saving to: 'STDOUT' 15:41:43  15:41:43 0K .......... ......   585K=0.03s 15:41:43 15:41:43 2021-12-15 15:41:43 (585 KB/s) - written to stdout [16451] 15:41:43 15:41:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:41:43 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 15:41:43 -x -f - 15:41:43 --2021-12-15 15:41:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:41:43 Resolving github.com (github.com)... 140.82.113.4 15:41:43 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:41:43 HTTP request sent, awaiting response... 302 Found 15:41:43 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:41:43 --2021-12-15 15:41:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:41:43 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 15:41:43 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 15:41:43 $ docker rm -f 82b4910ba90480073b90b2e3985c509121b9491c1c0f04afd4e9ef10caacf855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:41:44 HTTP request sent, awaiting response... 200 OK 15:41:44 Length: unspecified [application/x-gzip] 15:41:44 Saving to: 'STDOUT' 15:41:44 15:41:44 0K .......... .......... .......... .......... .......... 878K 15:41:44 50K .......... .......... .......... .......... .......... 3.47M 15:41:44 100K .......... .......... .......... .......... .......... 2.68M 15:41:44 150K .......... .......... .......... ......... 2.93M=0.1s 15:41:44 15:41:44 2021-12-15 15:41:43 (1.81 MB/s) - written to stdout [193961] 15:41:44 15:41:44 + mkdir -p src/c/iot 15:41:44 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:41:44 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:41:44 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:41:44 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:41:44 + mkdir -p include/iot 15:41:44 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:41:44 + mkdir -p include/iot/os 15:41:44 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:41:44 + mkdir -p /tmp/sdk/build/release 15:41:44 + cd /tmp/sdk/build/release 15:41:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [Pipeline] script [Pipeline] { 15:41:44 -- The C compiler identification is GNU 10.3.1 15:41:44 -- Detecting C compiler ABI info 15:41:44 -- Detecting C compiler ABI info - done 15:41:44 -- Check for working C compiler: /usr/bin/cc - skipped 15:41:44 -- Detecting C compile features 15:41:44 -- Detecting C compile features - done 15:41:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [Pipeline] sh 15:41:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:41:45 -- Found LIBYAML: /usr/lib/libyaml.so 15:41:45 -- Found LIBUUID: /usr/lib/libuuid.so 15:41:45 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:41:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:41:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:41:45 -- C SDK 2.2.0-dev.1 for Linux 15:41:45 -- Performing Test CSDK_HAVE_ATOMIC 15:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:41:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:41:45 -- Found Curses: /usr/lib/libcurses.so 15:41:45 + ls -al . 15:41:45 total 172 15:41:45 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 15 15:40 . 15:41:45 drwxrwxr-x. 4 jenkins jenkins 30 Dec 15 15:40 .. 15:41:45 -rw-rw-r--. 1 jenkins jenkins 3104 Dec 15 15:40 Attribution.txt 15:41:45 -rw-rw-r--. 1 jenkins jenkins 7880 Dec 15 15:40 CHANGES 15:41:45 drwxrwxr-x. 2 jenkins jenkins 121 Dec 15 15:40 docs 15:41:45 -rw-rw-r--. 1 jenkins jenkins 108574 Dec 15 15:40 Doxyfile 15:41:45 drwxrwxr-x. 8 jenkins jenkins 162 Dec 15 15:40 .git 15:41:45 drwxrwxr-x. 3 jenkins jenkins 103 Dec 15 15:40 .github 15:41:45 -rw-rw-r--. 1 jenkins jenkins 176 Dec 15 15:40 .gitignore 15:41:45 -rw-rw-r--. 1 jenkins jenkins 677 Dec 15 15:40 GOVERNANCE.md 15:41:45 drwxrwxr-x. 4 jenkins jenkins 33 Dec 15 15:40 include 15:41:45 -rw-rw-r--. 1 jenkins jenkins 784 Dec 15 15:40 Jenkinsfile 15:41:45 -rw-rw-r--. 1 jenkins jenkins 10174 Dec 15 15:40 LICENSE 15:41:45 -rw-rw-r--. 1 jenkins jenkins 444 Dec 15 15:40 Makefile 15:41:45 -rw-rw-r--. 1 jenkins jenkins 618 Dec 15 15:40 OWNERS.md 15:41:45 -rw-rw-r--. 1 jenkins jenkins 4086 Dec 15 15:40 README.md 15:41:45 -rw-rw-r--. 1 jenkins jenkins 7422 Dec 15 15:40 README.v2.md 15:41:45 drwxrwxr-x. 2 jenkins jenkins 98 Dec 15 15:40 scripts 15:41:45 drwxrwxr-x. 4 jenkins jenkins 50 Dec 15 15:40 src 15:41:45 -rw-rw-r--. 1 jenkins jenkins 11 Dec 15 15:38 VERSION [Pipeline] isUnix [Pipeline] sh 15:41:45 -- Configuring done 15:41:45 + 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=739477acbf421f4c8ab997665c0daf1f91507244 --label arch=amd64 --label version=2.2.0-dev.1 . 15:41:45 Sending build context to Docker daemon 2.725MB 15:41:45 Step 1/17 : ARG BASE=alpine:3.14 15:41:45 Step 2/17 : FROM ${BASE} 15:41:45 ---> d4b1cce3d3fe 15:41:45 Step 3/17 : LABEL maintainer="IOTech " 15:41:45 ---> Running in c13ba43401f8 15:41:45 Removing intermediate container c13ba43401f8 15:41:45 ---> fe5f3ec54ef3 15:41:45 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:41:45 -- Generating done 15:41:45 -- Build files have been written to: /tmp/sdk/build/release 15:41:45 + make all package 15:41:45 + tee release.log 15:41:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:41:46 ---> Running in 902e9074df2c 15:41:46 --2021-12-15 15:41:46-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:41:46 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 34.243.182.113, ... 15:41:46 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:41:46 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:41:46 HTTP request sent, awaiting response... 200 OK 15:41:46 Length: unspecified [application/json] 15:41:46 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:41:46  15:41:46 0K  176M=0s 15:41:46 15:41:46 2021-12-15 15:41:46 (176 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:41:46 15:41:46 Removing intermediate container 902e9074df2c 15:41:46 ---> 57fa56499d47 15:41:46 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:41:46 ---> Running in c26c62d33e4a 15:41:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:41:47 Removing intermediate container c26c62d33e4a 15:41:47 ---> ade2586b353f 15:41:47 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 15:41:47 ---> Running in 69ab1927f12b 15:41:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:41:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:41:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:41:49 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 15:41:49 (2/21) Installing libblkid (2.37.2-r0) 15:41:49 (3/21) Installing blkid (2.37.2-r0) 15:41:49 (4/21) Installing libcap-ng (0.8.2-r0) 15:41:49 (5/21) Installing setpriv (2.37.2-r0) 15:41:49 (6/21) Installing libmount (2.37.2-r0) 15:41:49 (7/21) Installing libsmartcols (2.37.2-r0) 15:41:49 (8/21) Installing findmnt (2.37.2-r0) 15:41:49 (9/21) Installing mcookie (2.37.2-r0) 15:41:49 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:41:49 (10/21) Installing hexdump (2.37.2-r0) 15:41:49 (11/21) Installing lsblk (2.37.2-r0) 15:41:49 (12/21) Installing libfdisk (2.37.2-r0) 15:41:50 (13/21) Installing sfdisk (2.37.2-r0) 15:41:50 (14/21) Installing cfdisk (2.37.2-r0) 15:41:50 (15/21) Installing partx (2.37.2-r0) 15:41:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:41:50 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:41:50 (16/21) Installing flock (2.37.2-r0) 15:41:50 (17/21) Installing logger (2.37.2-r0) 15:41:50 (18/21) Installing uuidgen (2.37.2-r0) 15:41:50 (19/21) Installing libeconf (0.3.8-r1) 15:41:50 (20/21) Installing util-linux (2.37.2-r0) 15:41:50 (21/21) Installing util-linux-dev (2.37.2-r0) 15:41:50 Executing busybox-1.33.1-r3.trigger 15:41:50 OK: 291 MiB in 105 packages 15:41:51 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:41:51 Removing intermediate container 69ab1927f12b 15:41:51 ---> a5e705a3c61a 15:41:51 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:41:51 ---> 1beb67e149a0 15:41:51 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:41:51 ---> af3d5604c577 15:41:51 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:41:51 ---> 31710c18c4e2 15:41:51 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:41:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:41:52 ---> cdd05b492143 15:41:52 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:41:52 ---> d7228498f07c 15:41:52 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:41:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:41:52 ---> a7421bc6ce46 15:41:52 Step 13/17 : WORKDIR /edgex-c-sdk 15:41:52 ---> Running in 5cfd201201e9 15:41:52 Removing intermediate container 5cfd201201e9 15:41:52 ---> 925f162b39e8 15:41:52 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:41:52 ---> Running in 64210fd4a58a 15:41:52 Removing intermediate container 64210fd4a58a 15:41:52 ---> 6af4f1b37bc8 15:41:52 Step 15/17 : LABEL arch=amd64 15:41:52 ---> Running in bd3ae5171696 15:41:52 Removing intermediate container bd3ae5171696 15:41:52 ---> 31be1b7c3130 15:41:52 Step 16/17 : LABEL git_sha=739477acbf421f4c8ab997665c0daf1f91507244 15:41:52 ---> Running in be76f4202173 15:41:52 Removing intermediate container be76f4202173 15:41:52 ---> 0bc5ef7c4236 15:41:52 Step 17/17 : LABEL version=2.2.0-dev.1 15:41:52 ---> Running in 5ed6315fff43 15:41:52 Removing intermediate container 5ed6315fff43 15:41:52 ---> 093a1db57f75 15:41:52 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:41:52 Successfully built 093a1db57f75 15:41:52 Successfully tagged device-sdk:latest [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] sh 15:41:53 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:53 15:41:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:41:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:53 latest: Pulling from edgex-lftools-log-publisher 15:41:53 b4d181a07f80: Pulling fs layer 15:41:53 a1111a8f2ec3: Pulling fs layer 15:41:53 ed53099fbce6: Pulling fs layer 15:41:53 dc539afda2c1: Pulling fs layer 15:41:53 77bc0d833cb6: Pulling fs layer 15:41:53 9065ff56babe: Pulling fs layer 15:41:53 d287ab97295c: Pulling fs layer 15:41:53 77bc0d833cb6: Waiting 15:41:53 9065ff56babe: Waiting 15:41:53 d287ab97295c: Waiting 15:41:53 dc539afda2c1: Waiting 15:41:53 a1111a8f2ec3: Verifying Checksum 15:41:53 a1111a8f2ec3: Download complete 15:41:53 dc539afda2c1: Verifying Checksum 15:41:53 dc539afda2c1: Download complete 15:41:54 ed53099fbce6: Verifying Checksum 15:41:54 ed53099fbce6: Download complete 15:41:54 77bc0d833cb6: Verifying Checksum 15:41:54 77bc0d833cb6: Download complete 15:41:54 9065ff56babe: Verifying Checksum 15:41:54 9065ff56babe: Download complete 15:41:54 b4d181a07f80: Verifying Checksum 15:41:54 b4d181a07f80: Download complete 15:41:54 d287ab97295c: Verifying Checksum 15:41:54 d287ab97295c: Download complete 15:41:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:41:55 b4d181a07f80: Pull complete 15:41:55 a1111a8f2ec3: Pull complete 15:41:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:41:56 ed53099fbce6: Pull complete 15:41:56 dc539afda2c1: Pull complete 15:41:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:41:56 77bc0d833cb6: Pull complete 15:41:56 9065ff56babe: Pull complete 15:41:57 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:41:57 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:41:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:41:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:42:01 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:42:01 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:42:02 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:42:02 d287ab97295c: Pull complete 15:42:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:42:02 prd-centos7-docker-4c-2g-917 does not seem to be running inside a container 15:42:02 $ 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/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@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 15:42:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:42:03 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:42:03 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:42:03 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:42:03 275 | const iot_component_factory_t * factory; 15:42:03 | ^~~~~~~ 15:42:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:42:04 $ docker top 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:05 ---> job-cost.sh 15:42:05 lf-activate-venv: SKIPPING 15:42:05 INFO: No Stack... 15:42:05 INFO: Retrieving Pricing Info for: v3-standard-2 15:42:06 INFO: Archiving Costs [Pipeline] sh 15:42:06 + cat /w/workspace/device-sdk-c/15/archives/cost.csv 15:42:06 + cut -d, -f6 [Pipeline] lock 15:42:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] 15:42:06 Resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] did not exist. Created. 15:42:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:42:06 + echo total: 0.05999999865889549 [Pipeline] stash 15:42:06 Stashed 1 file(s) [Pipeline] } 15:42:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 15:42:07 $ docker stop --time=1 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb 15:42:08 $ docker rm -f 5ca2c237d4c15dc3d08c95a1f1158fca337bea6ae723540ff539ede10bb730eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:42:09 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:42:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:42:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:42:09 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:42:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:42:10 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:42:11 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:42:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:42:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:42:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:42:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:42:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:42:16 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:42:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:42:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:42:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:42:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:42:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:42:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:42:24 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:42:24 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:42:24 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:42:24 | ^~~~~~~~~~~~~ 15:42:24 | | 15:42:24 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:42:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:24 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:42:24 2714 | MHD_KeyValueIterator iterator, 15:42:24 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:42:24 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:42:24 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:42:24 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:42:24 | ^~~~~~~~~~~~ 15:42:24 | | 15:42:24 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:42:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:24 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:42:24 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:42:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:42:24 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:42:24 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:42:24 | ^~~~~~~~~~~~ 15:42:24 | | 15:42:24 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:42:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:42:24 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:42:24 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:42:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:42:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:42:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:42:27 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:42:28 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:42:28 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:42:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:42:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:42:35 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:42:36 [ 76%] Linking C shared library libcsdk.so 15:42:36 [ 76%] Built target csdk 15:42:36 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:42:37 [ 79%] Linking C executable template 15:42:37 [ 79%] Built target template 15:42:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:42:37 [ 82%] Linking C executable device-counter 15:42:38 [ 82%] Built target device-counter 15:42:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:42:38 [ 85%] Linking C executable device-random 15:42:38 [ 85%] Built target device-random 15:42:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:42:39 [ 88%] Linking C executable device-gyro 15:42:39 [ 88%] Built target device-gyro 15:42:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:42:40 [ 91%] Linking C executable device-bitfields 15:42:40 [ 91%] Built target device-bitfields 15:42:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:42:41 [ 94%] Linking C executable template-discovery 15:42:41 [ 94%] Built target template-discovery 15:42:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:42:42 [ 97%] Linking C executable device-file 15:42:42 [ 97%] Built target device-file 15:42:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:42:42 [100%] Linking C executable device-terminal 15:42:43 [100%] Built target device-terminal 15:42:43 Run CPack packaging tool... 15:42:43 CPack: Create package using TGZ 15:42:43 CPack: Install projects 15:42:43 CPack: - Run preinstall target for: Csdk 15:42:44 CPack: - Install project: Csdk [] 15:42:44 CPack: Create package 15:42:44 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.1.tar.gz generated. 15:42:44 + '[' false '=' true ] 15:42:44 + '[' false '=' true ] 15:42:44 + mkdir -p /tmp/sdk/build/debug 15:42:44 + cd /tmp/sdk/build/debug 15:42:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:42:44 -- The C compiler identification is GNU 10.3.1 15:42:44 -- Detecting C compiler ABI info 15:42:44 -- Detecting C compiler ABI info - done 15:42:44 -- Check for working C compiler: /usr/bin/cc - skipped 15:42:44 -- Detecting C compile features 15:42:44 -- Detecting C compile features - done 15:42:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:42:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 15:42:45 -- Found LIBYAML: /usr/lib/libyaml.so 15:42:45 -- Found LIBUUID: /usr/lib/libuuid.so 15:42:45 -- Found LIBCBOR: /usr/local/lib/libcbor.so 15:42:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:42:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:42:45 -- C SDK 2.2.0-dev.1 for Linux 15:42:45 -- Performing Test CSDK_HAVE_ATOMIC 15:42:45 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:42:45 -- Found Curses: /usr/lib/libcurses.so 15:42:45 -- Configuring done 15:42:45 -- Generating done 15:42:45 -- Build files have been written to: /tmp/sdk/build/debug 15:42:46 + make 15:42:46 + tee debug.log 15:42:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:42:46 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:42:46 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:42:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:42:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:42:47 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:42:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:42:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:42:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:42:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:42:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:42:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:42:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:42:50 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:42:50 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:42:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:42:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:42:52 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:42:52 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:42:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:42:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:42:53 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:42:53 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:42:53 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:42:53 275 | const iot_component_factory_t * factory; 15:42:53 | ^~~~~~~ 15:42:53 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:42:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:42:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:42:54 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:42:55 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:42:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:42:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:42:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:42:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:42:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:42:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:42:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:42:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:42:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:42:58 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:42:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:42:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:42:59 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:43:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:43:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:43:00 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:43:00 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:43:00 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:43:00 | ^~~~~~~~~~~~~ 15:43:00 | | 15:43:00 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:43:00 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 15:43:00 2714 | MHD_KeyValueIterator iterator, 15:43:00 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:43:00 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:43:00 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:43:00 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:43:00 | ^~~~~~~~~~~~ 15:43:00 | | 15:43:00 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:43:00 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:43:00 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:43:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:43:00 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:43:00 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:43:00 | ^~~~~~~~~~~~ 15:43:00 | | 15:43:00 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:43:00 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:43:00 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 15:43:00 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:43:00 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:43:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:43:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:43:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:43:02 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:43:03 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:43:03 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:43:04 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:43:04 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:43:05 [ 76%] Linking C shared library libcsdk.so 15:43:05 [ 76%] Built target csdk 15:43:05 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:43:05 [ 79%] Linking C executable template 15:43:06 [ 79%] Built target template 15:43:06 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:43:06 [ 82%] Linking C executable device-counter 15:43:06 [ 82%] Built target device-counter 15:43:06 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:43:06 [ 85%] Linking C executable device-random 15:43:07 [ 85%] Built target device-random 15:43:07 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:43:07 [ 88%] Linking C executable device-gyro 15:43:07 [ 88%] Built target device-gyro 15:43:07 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:43:07 [ 91%] Linking C executable device-bitfields 15:43:08 [ 91%] Built target device-bitfields 15:43:08 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:43:08 [ 94%] Linking C executable template-discovery 15:43:08 [ 94%] Built target template-discovery 15:43:08 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:43:09 [ 97%] Linking C executable device-file 15:43:09 [ 97%] Built target device-file 15:43:09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:43:09 [100%] Linking C executable device-terminal 15:43:09 [100%] Built target device-terminal 15:43:10 make: Entering directory '/tmp/sdk/build/release' 15:43:10 make[1]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 76%] Built target csdk 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 79%] Built target template 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 82%] Built target device-counter 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 85%] Built target device-random 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 88%] Built target device-gyro 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 91%] Built target device-bitfields 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 94%] Built target template-discovery 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [ 97%] Built target device-file 15:43:10 make[2]: Entering directory '/tmp/sdk/build/release' 15:43:10 make[2]: Leaving directory '/tmp/sdk/build/release' 15:43:10 [100%] Built target device-terminal 15:43:10 make[1]: Leaving directory '/tmp/sdk/build/release' 15:43:10 Install the project... 15:43:10 -- Install configuration: "Release" 15:43:10 -- Installing: /usr/local/lib/libcsdk.so 15:43:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:43:10 -- Up-to-date: /usr/local/include 15:43:10 -- Installing: /usr/local/include/edgex 15:43:10 -- Installing: /usr/local/include/edgex/edgex-base.h 15:43:10 -- Installing: /usr/local/include/edgex/devices.h 15:43:10 -- Installing: /usr/local/include/edgex/rest-server.h 15:43:10 -- Installing: /usr/local/include/edgex/profiles.h 15:43:10 -- Installing: /usr/local/include/edgex/edgex.h 15:43:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:43:10 -- Installing: /usr/local/include/devsdk 15:43:10 -- Installing: /usr/local/include/devsdk/devsdk.h 15:43:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:43:10 -- Installing: /usr/local/include/iot 15:43:10 -- Installing: /usr/local/include/iot/data.h 15:43:10 -- Installing: /usr/local/include/iot/config.h 15:43:10 -- Installing: /usr/local/include/iot/container.h 15:43:10 -- Installing: /usr/local/include/iot/typecode.h 15:43:10 -- Installing: /usr/local/include/iot/thread.h 15:43:10 -- Installing: /usr/local/include/iot/hash.h 15:43:10 -- Installing: /usr/local/include/iot/iot.h 15:43:10 -- Installing: /usr/local/include/iot/defs.h 15:43:10 -- Installing: /usr/local/include/iot/uuid.h 15:43:10 -- Installing: /usr/local/include/iot/component.h 15:43:10 -- Installing: /usr/local/include/iot/threadpool.h 15:43:10 -- Installing: /usr/local/include/iot/time.h 15:43:10 -- Installing: /usr/local/include/iot/logger.h 15:43:10 -- Installing: /usr/local/include/iot/os 15:43:10 -- Installing: /usr/local/include/iot/os/zephyr.h 15:43:10 -- Installing: /usr/local/include/iot/os/macos.h 15:43:10 -- Installing: /usr/local/include/iot/os/linux.h 15:43:10 -- Installing: /usr/local/include/iot/json.h 15:43:10 -- Installing: /usr/local/include/iot/scheduler.h 15:43:10 -- Installing: /usr/local/include/iot/base64.h 15:43:10 -- Installing: /usr/local/include/iot/os.h 15:43:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:43:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:43:10 make: Leaving directory '/tmp/sdk/build/release' 15:43:12 Removing intermediate container a44dadcfe3b0 15:43:12 ---> dd2de8c4350c 15:43:12 Step 16/24 : FROM ${BASE} 15:43:12 ---> b6d714ea7bf2 15:43:12 Step 17/24 : LABEL maintainer="IOTech " 15:43:12 ---> Running in 01f9c3dc2f3e 15:43:13 Removing intermediate container 01f9c3dc2f3e 15:43:13 ---> 9f5f4cf1569e 15:43:13 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:43:13 ---> Running in 9d3ee4fb46f1 15:43:14 Connecting to iotech.jfrog.io (34.243.182.113:443) 15:43:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:43:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:43:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:43:15 Removing intermediate container 9d3ee4fb46f1 15:43:15 ---> c31249856601 15:43:15 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:43:15 ---> Running in 4873b45a48ed 15:43:16 Removing intermediate container 4873b45a48ed 15:43:16 ---> df57c3093d83 15:43:16 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 15:43:17 ---> Running in dac8e99f760d 15:43:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:43:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:43:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:43:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:43:20 (1/7) Installing curl (7.79.1-r0) 15:43:20 (2/7) Installing hiredis (1.0.0-r0) 15:43:20 (3/7) Installing hiredis-dev (1.0.0-r0) 15:43:20 (4/7) Installing libuuid (2.37.2-r0) 15:43:20 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:43:21 (6/7) Installing libidn2 (2.3.1-r0) 15:43:21 (7/7) Installing wget (1.21.1-r1) 15:43:21 Executing busybox-1.33.1-r3.trigger 15:43:21 OK: 276 MiB in 84 packages 15:43:22 Removing intermediate container dac8e99f760d 15:43:22 ---> a5275579d8e7 15:43:22 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:43:23 ---> 9e2d0da40f03 15:43:23 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:43:23 ---> 88ac1f6e8a0e 15:43:23 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 15:43:24 ---> dc67b939c6a5 15:43:24 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:43:25 ---> 57dd8c77fe51 15:43:25 Successfully built 57dd8c77fe51 15:43:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:25 + docker inspect -f . ci-base-image-arm64 15:43:25 . [Pipeline] withDockerContainer 15:43:26 prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container 15:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:43:27 $ docker top 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:28 + make test 15:43:28 echo "make test" 15:43:28 make test [Pipeline] } 15:43:28 $ docker stop --time=1 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b 15:43:30 $ docker rm -f 4c04a9b5419e03f1901fcb5f4d30f25c318d76a807f63184094b3bd9e7bbf75b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:31 + ls -al . 15:43:31 total 200 15:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 15:40 . 15:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 .. 15:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 15:40 .git 15:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 15:40 .github 15:43:31 -rw-rw-r-- 1 jenkins jenkins 176 Dec 15 15:40 .gitignore 15:43:31 -rw-rw-r-- 1 jenkins jenkins 3104 Dec 15 15:40 Attribution.txt 15:43:31 -rw-rw-r-- 1 jenkins jenkins 7880 Dec 15 15:40 CHANGES 15:43:31 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 15 15:40 Doxyfile 15:43:31 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 15:40 GOVERNANCE.md 15:43:31 -rw-rw-r-- 1 jenkins jenkins 784 Dec 15 15:40 Jenkinsfile 15:43:31 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 15 15:40 LICENSE 15:43:31 -rw-rw-r-- 1 jenkins jenkins 444 Dec 15 15:40 Makefile 15:43:31 -rw-rw-r-- 1 jenkins jenkins 618 Dec 15 15:40 OWNERS.md 15:43:31 -rw-rw-r-- 1 jenkins jenkins 4086 Dec 15 15:40 README.md 15:43:31 -rw-rw-r-- 1 jenkins jenkins 7422 Dec 15 15:40 README.v2.md 15:43:31 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 15:38 VERSION 15:43:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 15:40 docs 15:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 include 15:43:31 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 15:40 scripts 15:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 15:40 src [Pipeline] isUnix [Pipeline] sh 15:43:31 + 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=739477acbf421f4c8ab997665c0daf1f91507244 --label arch=arm64 --label version=2.2.0-dev.1 . 15:43:31 Sending build context to Docker daemon 2.724MB 15:43:31 Step 1/17 : ARG BASE=alpine:3.14 15:43:31 Step 2/17 : FROM ${BASE} 15:43:31 ---> 57dd8c77fe51 15:43:31 Step 3/17 : LABEL maintainer="IOTech " 15:43:31 ---> Running in 1f795eb6f0f7 15:43:32 Removing intermediate container 1f795eb6f0f7 15:43:32 ---> 50439f163640 15:43:32 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:43:32 ---> Running in c1c5601a3c5b 15:43:33 --2021-12-15 15:43:33-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:43:33 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 34.243.182.113, 54.170.66.44, ... 15:43:33 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. 15:43:33 HTTP request sent, awaiting response... 200 OK 15:43:33 Length: unspecified [application/json] 15:43:33 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:43:33  15:43:33 0K   46.1M=0s 15:43:33 15:43:33 2021-12-15 15:43:33 (46.1 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:43:33 15:43:34 Removing intermediate container c1c5601a3c5b 15:43:34 ---> 0335ab06082d 15:43:34 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:43:34 ---> Running in cb522bb18a48 15:43:36 Removing intermediate container cb522bb18a48 15:43:36 ---> f16ad5bad24c 15:43:36 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 15:43:36 ---> Running in ee06be2b023c 15:43:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:43:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:43:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:43:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:43:39 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 15:43:39 (2/21) Installing libblkid (2.37.2-r0) 15:43:39 (3/21) Installing blkid (2.37.2-r0) 15:43:39 (4/21) Installing libcap-ng (0.8.2-r0) 15:43:39 (5/21) Installing setpriv (2.37.2-r0) 15:43:39 (6/21) Installing libmount (2.37.2-r0) 15:43:39 (7/21) Installing libsmartcols (2.37.2-r0) 15:43:39 (8/21) Installing findmnt (2.37.2-r0) 15:43:40 (9/21) Installing mcookie (2.37.2-r0) 15:43:40 (10/21) Installing hexdump (2.37.2-r0) 15:43:40 (11/21) Installing lsblk (2.37.2-r0) 15:43:40 (12/21) Installing libfdisk (2.37.2-r0) 15:43:40 (13/21) Installing sfdisk (2.37.2-r0) 15:43:40 (14/21) Installing cfdisk (2.37.2-r0) 15:43:40 (15/21) Installing partx (2.37.2-r0) 15:43:40 (16/21) Installing flock (2.37.2-r0) 15:43:40 (17/21) Installing logger (2.37.2-r0) 15:43:40 (18/21) Installing uuidgen (2.37.2-r0) 15:43:40 (19/21) Installing libeconf (0.3.8-r1) 15:43:40 (20/21) Installing util-linux (2.37.2-r0) 15:43:41 (21/21) Installing util-linux-dev (2.37.2-r0) 15:43:41 Executing busybox-1.33.1-r3.trigger 15:43:41 OK: 286 MiB in 105 packages 15:43:42 Removing intermediate container ee06be2b023c 15:43:42 ---> b194f2f7cc2d 15:43:42 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:43:43 ---> 696600bd4d0a 15:43:43 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:43:44 ---> 5b98973169e6 15:43:44 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:43:44 ---> ce721ee2b2c6 15:43:44 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:43:45 ---> 5834f19981ee 15:43:45 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:43:45 ---> 717bd799d96f 15:43:45 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:43:46 ---> ffe71332b436 15:43:46 Step 13/17 : WORKDIR /edgex-c-sdk 15:43:46 ---> Running in 848a873aa101 15:43:47 Removing intermediate container 848a873aa101 15:43:47 ---> 2217857908b5 15:43:47 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:43:47 ---> Running in d0110389a558 15:43:47 Removing intermediate container d0110389a558 15:43:47 ---> 2d77dd400658 15:43:47 Step 15/17 : LABEL arch=arm64 15:43:47 ---> Running in cb981c052f1e 15:43:47 Removing intermediate container cb981c052f1e 15:43:47 ---> c6f053063cee 15:43:47 Step 16/17 : LABEL git_sha=739477acbf421f4c8ab997665c0daf1f91507244 15:43:47 ---> Running in 9a8488a9af98 15:43:48 Removing intermediate container 9a8488a9af98 15:43:48 ---> 396bc160f616 15:43:48 Step 17/17 : LABEL version=2.2.0-dev.1 15:43:48 ---> Running in 40945837ad27 15:43:48 Removing intermediate container 40945837ad27 15:43:48 ---> f7daebcc8ba9 15:43:48 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:43:48 Successfully built f7daebcc8ba9 15:43:48 Successfully tagged device-sdk-arm64:latest [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] sh 15:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:49 15:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:50 arm64: Pulling from edgex-lftools-log-publisher 15:43:50 448f6bf000e3: Pulling fs layer 15:43:50 f757da607395: Pulling fs layer 15:43:50 05883995daec: Pulling fs layer 15:43:50 8603b9c90790: Pulling fs layer 15:43:50 1560dd03e051: Pulling fs layer 15:43:50 27f5ce0e4adf: Pulling fs layer 15:43:50 c2d8d7efcc4b: Pulling fs layer 15:43:50 8603b9c90790: Waiting 15:43:50 1560dd03e051: Waiting 15:43:50 27f5ce0e4adf: Waiting 15:43:50 c2d8d7efcc4b: Waiting 15:43:50 f757da607395: Verifying Checksum 15:43:50 f757da607395: Download complete 15:43:50 8603b9c90790: Verifying Checksum 15:43:50 8603b9c90790: Download complete 15:43:50 1560dd03e051: Verifying Checksum 15:43:50 1560dd03e051: Download complete 15:43:50 27f5ce0e4adf: Verifying Checksum 15:43:50 27f5ce0e4adf: Download complete 15:43:50 05883995daec: Verifying Checksum 15:43:50 05883995daec: Download complete 15:43:50 448f6bf000e3: Verifying Checksum 15:43:50 448f6bf000e3: Download complete 15:43:53 c2d8d7efcc4b: Verifying Checksum 15:43:53 c2d8d7efcc4b: Download complete 15:43:54 448f6bf000e3: Pull complete 15:43:54 f757da607395: Pull complete 15:43:56 05883995daec: Pull complete 15:43:56 8603b9c90790: Pull complete 15:43:57 1560dd03e051: Pull complete 15:43:57 27f5ce0e4adf: Pull complete 15:44:12 c2d8d7efcc4b: Pull complete 15:44:12 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:44:12 prd-ubuntu18.04-docker-arm64-4c-16g-916 does not seem to be running inside a container 15:44:12 $ 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/15 -v /w/workspace/device-sdk-c/15:/w/workspace/device-sdk-c/15:rw,z -v /w/workspace/device-sdk-c/15@tmp:/w/workspace/device-sdk-c/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:44:15 $ docker top 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:16 ---> job-cost.sh 15:44:16 lf-activate-venv: SKIPPING 15:44:16 INFO: No Stack... 15:44:16 INFO: Retrieving Pricing Info for: v3-standard-4 15:44:16 INFO: Archiving Costs [Pipeline] sh 15:44:17 + cat /w/workspace/device-sdk-c/15/archives/cost.csv 15:44:17 + cut -d, -f6 [Pipeline] lock 15:44:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] 15:44:17 Resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] did not exist. Created. 15:44:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:18 /w/workspace/device-sdk-c/15@tmp/durable-ce94d250/script.sh: 1: /w/workspace/device-sdk-c/15@tmp/durable-ce94d250/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:44:19 + echo total: 0.10999999940395355 [Pipeline] stash 15:44:19 Warning: overwriting stash ‘stack-cost’ 15:44:19 Stashed 1 file(s) [Pipeline] } 15:44:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:19 $ docker stop --time=1 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c 15:44:21 $ docker rm -f 0b8d46422023d7d5b4d2eb4000359e83611e0dc99c761ea8f7465975077ec14c [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 15:44:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:44:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:22 . [Pipeline] withDockerContainer 15:44:22 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:44:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:44:22 $ docker top 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:22 [ssh-agent] Looking for ssh-agent implementation... 15:44:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:22 $ docker exec 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 ssh-agent 15:44:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXONpJOg/agent.14 15:44:22 SSH_AGENT_PID=20 15:44:23 Running ssh-add (command line suppressed) 15:44:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7335004344077083655.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7335004344077083655.key) 15:44:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:23 + git semver tag 15:44:23 # -> Open(): unable to determine branch for HEAD 15:44:23 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:44:23 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:44:23 # $SEMVER_REMOTE_NAME = origin 15:44:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:44:23 # $SEMVER_USER_NAME = edgex-jenkins 15:44:23 # $SEMVER_BRANCH = main 15:44:23 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:44:23 # 739477acbf421f4c8ab997665c0daf1f91507244 HEAD 15:44:23 # -> Force: false 15:44:23 # 3bd8419bf502ec549a1a309f350746f3826984a9 refs/tags/v2.2.0-dev.1 [Pipeline] } 15:44:23 $ docker exec --env ******** --env ******** 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 ssh-agent -k 15:44:23 unset SSH_AUTH_SOCK; 15:44:23 unset SSH_AGENT_PID; 15:44:23 echo Agent pid 20 killed; 15:44:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:23 + git semver [Pipeline] } 15:44:23 $ docker stop --time=1 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 15:44:25 $ docker rm -f 8e3d0b160e3aed0145c6297bc52c65454debb1e9feed6899c22e6acbc7181e24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:25 15:44:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:25 0.23.1-centos7: Pulling from edgex-lftools 15:44:25 ab5ef0e58194: Pulling fs layer 15:44:25 9712f1f96733: Pulling fs layer 15:44:25 63f879dbbcfc: Pulling fs layer 15:44:25 0d9ebad4ef96: Pulling fs layer 15:44:25 e9a5061849ea: Pulling fs layer 15:44:25 d747dcd14b5f: Pulling fs layer 15:44:25 2de7ff778b66: Pulling fs layer 15:44:25 0d9ebad4ef96: Waiting 15:44:25 e9a5061849ea: Waiting 15:44:25 d747dcd14b5f: Waiting 15:44:25 2de7ff778b66: Waiting 15:44:25 9712f1f96733: Verifying Checksum 15:44:25 9712f1f96733: Download complete 15:44:26 63f879dbbcfc: Verifying Checksum 15:44:26 63f879dbbcfc: Download complete 15:44:26 ab5ef0e58194: Verifying Checksum 15:44:26 ab5ef0e58194: Download complete 15:44:26 d747dcd14b5f: Verifying Checksum 15:44:26 d747dcd14b5f: Download complete 15:44:26 0d9ebad4ef96: Verifying Checksum 15:44:26 0d9ebad4ef96: Download complete 15:44:26 e9a5061849ea: Verifying Checksum 15:44:26 e9a5061849ea: Download complete 15:44:26 2de7ff778b66: Verifying Checksum 15:44:26 2de7ff778b66: Download complete 15:44:29 ab5ef0e58194: Pull complete 15:44:29 9712f1f96733: Pull complete 15:44:29 63f879dbbcfc: Pull complete 15:44:34 0d9ebad4ef96: Pull complete 15:44:34 e9a5061849ea: Pull complete 15:44:34 d747dcd14b5f: Pull complete 15:44:35 2de7ff778b66: Pull complete 15:44:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:44:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:44:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:44:35 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:44:38 $ docker top f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:44:38 provisioning config files... 15:44:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7189251501840632577tmp 15:44:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8085603894542124201tmp 15:44:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2536389238106147012tmp [Pipeline] { [Pipeline] echo 15:44:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:44:39 ---> sigul-configuration.sh 15:44:39 gpg: directory `/root/.gnupg' created 15:44:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:44:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:44:39 gpg: keyring `/root/.gnupg/secring.gpg' created 15:44:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:44:39 gpg: CAST5 encrypted data 15:44:39 gpg: encrypted with 1 passphrase 15:44:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:44:39 + mkdir /home/jenkins 15:44:39 + mkdir /home/jenkins/sigul [Pipeline] sh 15:44:39 + 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 15:44:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:44:39 ---> sigul-install.sh 15:44:39 Sigul already installed; skipping installation. [Pipeline] sh 15:44:40 + git tag --list 15:44:40 0.7.0 15:44:40 0.7.1 15:44:40 1.0.0 15:44:40 v1.0.1 15:44:40 v1.0.2 15:44:40 v1.0.3 15:44:40 v1.1.0 15:44:40 v1.1.1 15:44:40 v1.2.0 15:44:40 v1.2.1 15:44:40 v1.2.2 15:44:40 v1.3.0 15:44:40 v1.3.1 15:44:40 v2.0.0 15:44:40 v2.0.1-dev.1 15:44:40 v2.0.1-dev.10 15:44:40 v2.0.1-dev.11 15:44:40 v2.0.1-dev.12 15:44:40 v2.0.1-dev.13 15:44:40 v2.0.1-dev.2 15:44:40 v2.0.1-dev.3 15:44:40 v2.0.1-dev.4 15:44:40 v2.0.1-dev.5 15:44:40 v2.0.1-dev.6 15:44:40 v2.0.1-dev.7 15:44:40 v2.0.1-dev.8 15:44:40 v2.0.1-dev.9 15:44:40 v2.1.0 15:44:40 v2.2.0-dev.1 [Pipeline] sh 15:44:40 + lftools sign git-tag v2.2.0-dev.1 15:44:41 Signing Git tag with Sigul... 15:44:41 Signing v2.2.0-dev.1 [Pipeline] echo 15:44:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:44:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:44:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:44:42 $ docker stop --time=1 f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 15:44:43 $ docker rm -f f5501065f12707db0aaa5f2f75a1c0e0f8c2c5e7dd2bb693f2c184af8ece1e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:44:44 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:44:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:44 . [Pipeline] withDockerContainer 15:44:44 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:44:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:44:44 $ docker top 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:44 [ssh-agent] Looking for ssh-agent implementation... 15:44:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:45 $ docker exec 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 ssh-agent 15:44:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGCnLHo/agent.14 15:44:45 SSH_AGENT_PID=20 15:44:45 Running ssh-add (command line suppressed) 15:44:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3724907622593181104.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3724907622593181104.key) 15:44:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:45 + git semver bump pre 15:44:45 # -> Open(): unable to determine branch for HEAD 15:44:45 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:44:45 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:44:45 # $SEMVER_REMOTE_NAME = origin 15:44:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:44:45 # $SEMVER_USER_NAME = edgex-jenkins 15:44:45 # $SEMVER_BRANCH = main 15:44:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:44:45 2.2.0-dev.2 [Pipeline] } 15:44:45 $ docker exec --env ******** --env ******** 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 ssh-agent -k 15:44:45 unset SSH_AUTH_SOCK; 15:44:45 unset SSH_AGENT_PID; 15:44:45 echo Agent pid 20 killed; 15:44:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:46 + git semver [Pipeline] } 15:44:46 $ docker stop --time=1 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 15:44:47 $ docker rm -f 1976a538f9ec7932e0680e34e2bb7d3b03cb1ec7ff63e14e89a1b5e77f4071d3 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:47 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:44:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:47 . [Pipeline] withDockerContainer 15:44:47 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:44:48 $ docker top 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:48 [ssh-agent] Looking for ssh-agent implementation... 15:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:48 $ docker exec 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 ssh-agent 15:44:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXabCmbk/agent.13 15:44:48 SSH_AGENT_PID=19 15:44:48 Running ssh-add (command line suppressed) 15:44:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6127420740064197979.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6127420740064197979.key) 15:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:49 + git semver push 15:44:49 # -> Open(): unable to determine branch for HEAD 15:44:49 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:44:49 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:44:49 # $SEMVER_REMOTE_NAME = origin 15:44:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:44:49 # $SEMVER_USER_NAME = edgex-jenkins 15:44:49 # $SEMVER_BRANCH = main 15:44:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:44:50 $ docker exec --env ******** --env ******** 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 ssh-agent -k 15:44:51 unset SSH_AUTH_SOCK; 15:44:51 unset SSH_AGENT_PID; 15:44:51 echo Agent pid 19 killed; 15:44:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:51 + git semver [Pipeline] } 15:44:51 $ docker stop --time=1 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 15:44:52 $ docker rm -f 5dd4e78da99af4bed4da6959a943422140a8142df1c1da0a305ed5e3cf6fafa5 [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 15:44:53 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:44:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:44:54 ---> package-listing.sh 15:44:54 ++ facter osfamily 15:44:54 ++ tr '[:upper:]' '[:lower:]' 15:44:54 + OS_FAMILY=redhat 15:44:54 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 15:44:54 + START_PACKAGES=/tmp/packages_start.txt 15:44:54 + END_PACKAGES=/tmp/packages_end.txt 15:44:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:44:54 + PACKAGES=/tmp/packages_start.txt 15:44:54 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:44:54 + PACKAGES=/tmp/packages_end.txt 15:44:54 + case "${OS_FAMILY}" in 15:44:54 + rpm -qa 15:44:54 + sort 15:44:55 + '[' -f /tmp/packages_start.txt ']' 15:44:55 + '[' -f /tmp/packages_end.txt ']' 15:44:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:44:55 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:44:55 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 15:44:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 15:44:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 15:44:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:56 15:44:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:44:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:56 latest: Pulling from edgex-lftools-log-publisher 15:44:56 b4d181a07f80: Pulling fs layer 15:44:56 a1111a8f2ec3: Pulling fs layer 15:44:56 ed53099fbce6: Pulling fs layer 15:44:56 dc539afda2c1: Pulling fs layer 15:44:56 77bc0d833cb6: Pulling fs layer 15:44:56 9065ff56babe: Pulling fs layer 15:44:56 d287ab97295c: Pulling fs layer 15:44:56 77bc0d833cb6: Waiting 15:44:56 9065ff56babe: Waiting 15:44:56 d287ab97295c: Waiting 15:44:56 dc539afda2c1: Waiting 15:44:56 a1111a8f2ec3: Verifying Checksum 15:44:56 a1111a8f2ec3: Download complete 15:44:56 dc539afda2c1: Verifying Checksum 15:44:56 dc539afda2c1: Download complete 15:44:56 ed53099fbce6: Verifying Checksum 15:44:56 ed53099fbce6: Download complete 15:44:56 9065ff56babe: Verifying Checksum 15:44:56 9065ff56babe: Download complete 15:44:56 77bc0d833cb6: Verifying Checksum 15:44:56 77bc0d833cb6: Download complete 15:44:56 b4d181a07f80: Verifying Checksum 15:44:56 b4d181a07f80: Download complete 15:44:57 d287ab97295c: Verifying Checksum 15:44:57 d287ab97295c: Download complete 15:44:57 b4d181a07f80: Pull complete 15:44:58 a1111a8f2ec3: Pull complete 15:44:58 ed53099fbce6: Pull complete 15:44:58 dc539afda2c1: Pull complete 15:44:58 77bc0d833cb6: Pull complete 15:44:59 9065ff56babe: Pull complete 15:45:04 d287ab97295c: Pull complete 15:45:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:45:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:45:04 prd-centos7-docker-4c-2g-915 does not seem to be running inside a container 15:45:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:06 $ docker top 7292769429fcd64cfd0962f0f74137c72c440c1facdfedfa6cb1dc3a03d7acc4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:06 + touch /tmp/pre-build-complete [Pipeline] sh 15:45:07 + mkdir -p /var/log/sysstat [Pipeline] sh 15:45:07 + ls /var/log/sa-host 15:45:07 + sadf -c /var/log/sa-host/sa15 15:45:07 file_magic: OK 15:45:07 HZ: Using current value: 100 15:45:07 file_header: OK 15:45:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:45:07 Statistics: 15:45:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:45:07 File successfully converted to sysstat format version 12.0.3 15:45:07 + sadf -c /var/log/sa-host/sa17 15:45:07 file_magic: OK 15:45:07 HZ: Using current value: 100 15:45:07 file_header: OK 15:45:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:45:07 Statistics: 15:45:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:45:07 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:07 provisioning config files... 15:45:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8140462213763019250tmp [Pipeline] { [Pipeline] echo 15:45:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:45:07 ---> create-netrc.sh [Pipeline] } 15:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:45:08 ---> python-tools-install.sh [Pipeline] echo 15:45:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:45:08 ---> sudo-logs.sh 15:45:08 Archiving 'sudo' log.. 15:45:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-915.novalocal: Name or service not known 15:45:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-915.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:45:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:45:08 ---> job-cost.sh 15:45:08 lf-activate-venv: SKIPPING 15:45:08 DEBUG: total: 0.10999999940395355 15:45:08 INFO: Retrieving Stack Cost... 15:45:09 INFO: Retrieving Pricing Info for: v3-standard-2 15:45:10 INFO: Archiving Costs [Pipeline] echo 15:45:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:45:10 ---> logs-deploy.sh 15:45:10 lf-activate-venv: SKIPPING 15:45:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/15 15:45:10 INFO: archiving workspace using pattern(s): 15:45:10 Archives upload complete. 15:45:11 INFO: archiving logs to Nexus