Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 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-ssh5959653995939549800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5610132483762175706.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh4034657830457731109.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6467351175685720262.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh8662077079034642919.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-8990 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (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 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314) (#405)" > git rev-list --no-walk 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:01:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:01:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:01:00 ========================================================= 08:01:00 EdgeX Global Pipelines Version Info 08:01:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:01:00 ------------------- 08:01:00 stable info: 08:01:00 ------------------- 08:01:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:01:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:01:00 Message: update stable to v1.0.221 08:01:01 ------------------- 08:01:01 experimental info: 08:01:01 ------------------- 08:01:01 Commited By: **** collab-it+edgex@linuxfoundation.org 08:01:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:01:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9af9a7b [Pipeline] echo 08:01:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:01 provisioning config files... 08:01:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1752675520224293927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:02 ---> docker-login.sh 08:01:02 nexus3.edgexfoundry.org:10001 08:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:02 Configure a credential helper to remove this warning. See 08:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:02 08:01:02 Login Succeeded 08:01:02 nexus3.edgexfoundry.org:10002 08:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:02 Configure a credential helper to remove this warning. See 08:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:02 08:01:02 Login Succeeded 08:01:02 nexus3.edgexfoundry.org:10003 08:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:02 Configure a credential helper to remove this warning. See 08:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:02 08:01:02 Login Succeeded 08:01:02 nexus3.edgexfoundry.org:10004 08:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:02 Configure a credential helper to remove this warning. See 08:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:02 08:01:02 Login Succeeded 08:01:02 docker.io 08:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:03 Configure a credential helper to remove this warning. See 08:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:03 08:01:03 Login Succeeded 08:01:03 ---> docker-login.sh ends [Pipeline] } 08:01:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 08:01:03 + git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo 08:01:03 -----------> git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [false] [Pipeline] sh 08:01:04 + git log --format=format:%s -1 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo 08:01:04 ========================================================= 08:01:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:01:04 ========================================================= 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 08:01:04 + git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo 08:01:04 -----------> git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [false] [Pipeline] sh 08:01:04 + git log --format=format:%s -1 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo 08:01:04 ========================================================= 08:01:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:01:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:01:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:01:05 + grep -v github /etc/ssh/ssh_known_hosts 08:01:05 + [ -e /tmp/ssh_known_hosts ] 08:01:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:01:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:01:05 + sudo tee -a /etc/ssh/ssh_known_hosts 08:01:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:01:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:05 08:01:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:01:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:06 latest: Pulling from edgex-devops/git-semver 08:01:06 a0d0a0d46f8b: Pulling fs layer 08:01:06 3e5f54012d9b: Pulling fs layer 08:01:06 4c7163046ea9: Pulling fs layer 08:01:06 0c2d73faf560: Pulling fs layer 08:01:06 0c2d73faf560: Waiting 08:01:06 3e5f54012d9b: Verifying Checksum 08:01:06 3e5f54012d9b: Download complete 08:01:06 a0d0a0d46f8b: Download complete 08:01:06 0c2d73faf560: Verifying Checksum 08:01:06 0c2d73faf560: Download complete 08:01:06 4c7163046ea9: Download complete 08:01:06 a0d0a0d46f8b: Pull complete 08:01:06 3e5f54012d9b: Pull complete 08:01:06 4c7163046ea9: Pull complete 08:01:07 0c2d73faf560: Pull complete 08:01:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:01:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:01:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:01:07 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:01:07 $ 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 08:01:07 $ docker top 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:01:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:08 [ssh-agent] Looking for ssh-agent implementation... 08:01:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:08 $ docker exec 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent 08:01:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXINEcJA/agent.14 08:01:08 SSH_AGENT_PID=21 08:01:08 Running ssh-add (command line suppressed) 08:01:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6590185865303201102.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6590185865303201102.key) 08:01:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:08 + git tag --points-at HEAD [Pipeline] } 08:01:08 $ docker exec --env ******** --env ******** 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent -k 08:01:08 unset SSH_AUTH_SOCK; 08:01:08 unset SSH_AGENT_PID; 08:01:08 echo Agent pid 21 killed; 08:01:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:01:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:08 [ssh-agent] Looking for ssh-agent implementation... 08:01:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:09 $ docker exec 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent 08:01:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlGfDML/agent.54 08:01:09 SSH_AGENT_PID=61 08:01:09 Running ssh-add (command line suppressed) 08:01:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1611102014236853612.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1611102014236853612.key) 08:01:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:09 + git semver init 08:01:09 # -> Open(): unable to determine branch for HEAD 08:01:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:01:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:01:09 # $SEMVER_REMOTE_NAME = origin 08:01:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:01:09 # $SEMVER_USER_NAME = edgex-jenkins 08:01:09 # $SEMVER_BRANCH = main 08:01:09 # $SEMVER_TEMP = /tmp/semver-248453770 08:01:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 08:01:10 # '/tmp/semver-248453770' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 08:01:10 # -> Force: false 08:01:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 08:01:10 $ docker exec --env ******** --env ******** 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent -k 08:01:10 unset SSH_AUTH_SOCK; 08:01:10 unset SSH_AGENT_PID; 08:01:10 echo Agent pid 61 killed; 08:01:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:01:10 + git semver [Pipeline] } 08:01:10 $ docker stop --time=1 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba 08:01:12 $ docker rm -f 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba [Pipeline] // withDockerContainer [Pipeline] sh 08:01:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:01:12 Stashed 1 file(s) [Pipeline] echo 08:01:12 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:13 provisioning config files... 08:01:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9035056030688587299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:13 ---> docker-login.sh 08:01:13 nexus3.edgexfoundry.org:10001 08:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:13 Configure a credential helper to remove this warning. See 08:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:13 08:01:13 Login Succeeded 08:01:13 nexus3.edgexfoundry.org:10002 08:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:13 Configure a credential helper to remove this warning. See 08:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:13 08:01:13 Login Succeeded 08:01:13 nexus3.edgexfoundry.org:10003 08:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:13 Configure a credential helper to remove this warning. See 08:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:13 08:01:13 Login Succeeded 08:01:13 nexus3.edgexfoundry.org:10004 08:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:13 Configure a credential helper to remove this warning. See 08:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:13 08:01:13 Login Succeeded 08:01:13 docker.io 08:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:14 Configure a credential helper to remove this warning. See 08:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:14 08:01:14 Login Succeeded 08:01:14 ---> docker-login.sh ends [Pipeline] } 08:01:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:14 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 08:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:14 ========================================================= 08:01:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 08:01:14 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:01:14 + 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 . 08:01:14 Sending build context to Docker daemon 4.505MB 08:01:14 Step 1/22 : ARG BASE=alpine:3.15 08:01:14 Step 2/22 : FROM ${BASE} as builder 08:01:14 latest: Pulling from edgex-devops/edgex-gcc-base 08:01:14 59bf1c3509f3: Pulling fs layer 08:01:14 c743a93c8381: Pulling fs layer 08:01:14 a2ad9f71ba65: Pulling fs layer 08:01:14 c743a93c8381: Verifying Checksum 08:01:14 c743a93c8381: Download complete 08:01:14 59bf1c3509f3: Verifying Checksum 08:01:14 59bf1c3509f3: Download complete 08:01:14 59bf1c3509f3: Pull complete 08:01:15 c743a93c8381: Pull complete 08:01:15 a2ad9f71ba65: Verifying Checksum 08:01:15 a2ad9f71ba65: Download complete 08:01:18 a2ad9f71ba65: Pull complete 08:01:18 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 08:01:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 08:01:18 ---> c9e13ccc37c5 08:01:18 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:01:19 ---> Running in fd433d5eed5d 08:01:19 Connecting to iotech.jfrog.io (52.30.156.103:443) 08:01:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:01:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:01:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:01:20 Removing intermediate container fd433d5eed5d 08:01:20 ---> 6ec8c39bd254 08:01:20 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:01:20 ---> Running in 33ab0245b268 08:01:20 Removing intermediate container 33ab0245b268 08:01:20 ---> 4f47516796ef 08:01:20 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 08:01:20 ---> Running in 980f9e32d421 08:01:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:01:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:01:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 08:01:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:01:23 (1/31) Installing hiredis (1.0.2-r0) 08:01:23 (2/31) Installing hiredis-dev (1.0.2-r0) 08:01:23 (3/31) Installing libcbor (0.8.0-r0) 08:01:23 (4/31) Installing libcbor-dev (0.8.0-r0) 08:01:23 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 08:01:23 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:01:24 (7/31) Installing util-linux (2.37.4-r0) 08:01:24 (8/31) Installing libblkid (2.37.4-r0) 08:01:24 (9/31) Installing libeconf (0.4.2-r0) 08:01:24 (10/31) Installing libuuid (2.37.4-r0) 08:01:24 (11/31) Installing libfdisk (2.37.4-r0) 08:01:24 (12/31) Installing libmount (2.37.4-r0) 08:01:24 (13/31) Installing libsmartcols (2.37.4-r0) 08:01:24 (14/31) Installing util-linux-misc (2.37.4-r0) 08:01:25 (15/31) Installing linux-pam (1.5.2-r0) 08:01:25 (16/31) Installing runuser (2.37.4-r0) 08:01:25 (17/31) Installing hexdump (2.37.4-r0) 08:01:25 (18/31) Installing uuidgen (2.37.4-r0) 08:01:25 (19/31) Installing blkid (2.37.4-r0) 08:01:25 (20/31) Installing sfdisk (2.37.4-r0) 08:01:25 (21/31) Installing mcookie (2.37.4-r0) 08:01:25 (22/31) Installing wipefs (2.37.4-r0) 08:01:25 (23/31) Installing cfdisk (2.37.4-r0) 08:01:25 (24/31) Installing flock (2.37.4-r0) 08:01:25 (25/31) Installing lsblk (2.37.4-r0) 08:01:25 (26/31) Installing libcap-ng (0.8.2-r1) 08:01:26 (27/31) Installing setpriv (2.37.4-r0) 08:01:26 (28/31) Installing logger (2.37.4-r0) 08:01:26 (29/31) Installing partx (2.37.4-r0) 08:01:26 (30/31) Installing findmnt (2.37.4-r0) 08:01:26 (31/31) Installing util-linux-dev (2.37.4-r0) 08:01:26 Executing busybox-1.34.1-r3.trigger 08:01:26 OK: 293 MiB in 108 packages 08:01:27 Removing intermediate container 980f9e32d421 08:01:27 ---> 617655c3f11d 08:01:27 Step 6/22 : RUN mkdir /tmp/sdk 08:01:27 ---> Running in b714c9afb51a 08:01:28 Still waiting to schedule task 08:01:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:01:28 Removing intermediate container b714c9afb51a 08:01:28 ---> ba961f80c3e6 08:01:28 Step 7/22 : COPY VERSION /tmp/sdk 08:01:28 ---> d2db8c1cfcda 08:01:28 Step 8/22 : COPY src /tmp/sdk/src 08:01:28 ---> c5abd5ff7201 08:01:28 Step 9/22 : COPY include /tmp/sdk/include 08:01:28 ---> 02c0e344e8c4 08:01:28 Step 10/22 : COPY scripts /tmp/sdk/scripts 08:01:28 ---> 3469880914c6 08:01:28 Step 11/22 : COPY LICENSE /tmp/sdk 08:01:28 ---> f8d2a5c6ab5b 08:01:28 Step 12/22 : COPY Attribution.txt /tmp/sdk 08:01:29 ---> 3ea99cf6d747 08:01:29 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:01:29 ---> Running in 23ed44463238 08:01:29 + CPPCHECK=false 08:01:29 + DOCGEN=false 08:01:29 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 08:01:29 + TOMLVER=SDK-0.2 08:01:29 + CUTILVER=1.2.2 08:01:29 + '[' 0 -gt 0 ] 08:01:29 + readlink -f ./scripts/build.sh 08:01:29 + dirname /tmp/sdk/scripts/build.sh 08:01:29 + dirname /tmp/sdk/scripts 08:01:29 + ROOT=/tmp/sdk 08:01:29 + cd /tmp/sdk 08:01:29 + '[' '!' -d deps ] 08:01:29 + mkdir deps 08:01:29 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:01:29 + tar -C deps -z -x -f - 08:01:29 Connecting to github.com (140.82.112.3:443) 08:01:29 Connecting to codeload.github.com (140.82.113.9:443) 08:01:29 writing to stdout 08:01:29 - 100% |********************************| 16451 0:00:00 ETA 08:01:29 written to stdout 08:01:29 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 08:01:29 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:01:29 + tar -C deps -z -x -f - 08:01:29 Connecting to github.com (140.82.112.3:443) 08:01:29 Connecting to codeload.github.com (140.82.113.9:443) 08:01:30 writing to stdout 08:01:30 - 100% |********************************| 189k 0:00:00 ETA 08:01:30 written to stdout 08:01:30 + mkdir -p src/c/iot 08:01:30 + 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 08:01:30 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 08:01:30 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 08:01:30 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 08:01:30 + mkdir -p include/iot 08:01:30 + 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 08:01:30 + mkdir -p include/iot/os 08:01:30 + 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 08:01:30 + mkdir -p /tmp/sdk/build/release 08:01:30 + cd /tmp/sdk/build/release 08:01:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:01:30 -- The C compiler identification is GNU 10.3.1 08:01:30 -- Detecting C compiler ABI info 08:01:30 -- Detecting C compiler ABI info - done 08:01:30 -- Check for working C compiler: /usr/bin/cc - skipped 08:01:30 -- Detecting C compile features 08:01:30 -- Detecting C compile features - done 08:01:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:01:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 08:01:30 -- Found LIBYAML: /usr/lib/libyaml.so 08:01:30 -- Found LIBUUID: /usr/lib/libuuid.so 08:01:30 -- Found LIBCBOR: /usr/lib/libcbor.so 08:01:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:01:30 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:01:30 -- C SDK 2.2.0-dev.6 for Linux 08:01:30 -- Performing Test CSDK_HAVE_ATOMIC 08:01:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:01:30 -- Found Curses: /usr/lib/libcurses.so 08:01:30 -- Configuring done 08:01:30 -- Generating done 08:01:30 -- Build files have been written to: /tmp/sdk/build/release 08:01:30 + make all package 08:01:30 + tee release.log 08:01:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:01:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:01:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:01:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:01:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:01:31 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:01:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:01:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:01:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:01:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:01:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:01:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:01:32 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:01:32 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:01:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:01:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:01:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:01:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:01:33 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:01:33 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:01:33 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:01:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:01:33 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:01:33 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:01:33 275 | const iot_component_factory_t * factory; 08:01:33 | ^~~~~~~ 08:01:34 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:01:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:01:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:01:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:01:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:01:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:01:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:01:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:01:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:01:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:01:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:01:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:01:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:01:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:01:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:01:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:01:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:01:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:01:37 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:01:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:01:37 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:01:37 /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] 08:01:37 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:01:37 | ^~~~~~~~~~~~~ 08:01:37 | | 08:01:37 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:01:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:37 /usr/include/microhttpd.h:2784: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 *)' 08:01:37 2784 | MHD_KeyValueIterator iterator, 08:01:37 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:01:37 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:01:37 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:01:37 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:01:37 | ^~~~~~~~~~~~ 08:01:37 | | 08:01:37 | 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 **)} 08:01:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:37 /usr/include/microhttpd.h:2480: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 **)'} 08:01:37 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:01:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:01:37 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:01:37 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:01:37 | ^~~~~~~~~~~~ 08:01:37 | | 08:01:37 | 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 **)} 08:01:37 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:37 /usr/include/microhttpd.h:2480: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 **)'} 08:01:37 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:01:37 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:01:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:01:38 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:01:38 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:01:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:01:38 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:01:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:01:39 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:01:39 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:01:39 [ 76%] Linking C shared library libcsdk.so 08:01:39 [ 76%] Built target csdk 08:01:40 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:01:40 [ 79%] Linking C executable template 08:01:40 [ 79%] Built target template 08:01:40 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:01:40 [ 82%] Linking C executable device-counter 08:01:40 [ 82%] Built target device-counter 08:01:40 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:01:40 [ 85%] Linking C executable device-random 08:01:40 [ 85%] Built target device-random 08:01:40 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:01:40 [ 88%] Linking C executable device-gyro 08:01:40 [ 88%] Built target device-gyro 08:01:40 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:01:40 [ 91%] Linking C executable device-bitfields 08:01:40 [ 91%] Built target device-bitfields 08:01:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:01:41 [ 94%] Linking C executable template-discovery 08:01:41 [ 94%] Built target template-discovery 08:01:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:01:41 [ 97%] Linking C executable device-file 08:01:41 [ 97%] Built target device-file 08:01:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:01:41 [100%] Linking C executable device-terminal 08:01:41 [100%] Built target device-terminal 08:01:41 Run CPack packaging tool... 08:01:41 CPack: Create package using TGZ 08:01:41 CPack: Install projects 08:01:41 CPack: - Run preinstall target for: Csdk 08:01:42 CPack: - Install project: Csdk [] 08:01:42 CPack: Create package 08:01:42 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.6.tar.gz generated. 08:01:42 + '[' false '=' true ] 08:01:42 + '[' false '=' true ] 08:01:42 + mkdir -p /tmp/sdk/build/debug 08:01:42 + cd /tmp/sdk/build/debug 08:01:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:01:42 -- The C compiler identification is GNU 10.3.1 08:01:42 -- Detecting C compiler ABI info 08:01:42 -- Detecting C compiler ABI info - done 08:01:42 -- Check for working C compiler: /usr/bin/cc - skipped 08:01:42 -- Detecting C compile features 08:01:42 -- Detecting C compile features - done 08:01:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:01:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 08:01:42 -- Found LIBYAML: /usr/lib/libyaml.so 08:01:42 -- Found LIBUUID: /usr/lib/libuuid.so 08:01:42 -- Found LIBCBOR: /usr/lib/libcbor.so 08:01:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:01:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:01:42 -- C SDK 2.2.0-dev.6 for Linux 08:01:42 -- Performing Test CSDK_HAVE_ATOMIC 08:01:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:01:42 -- Found Curses: /usr/lib/libcurses.so 08:01:42 -- Configuring done 08:01:42 -- Generating done 08:01:42 -- Build files have been written to: /tmp/sdk/build/debug 08:01:42 + make 08:01:42 + tee debug.log 08:01:42 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:01:42 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:01:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:01:42 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:01:42 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:01:42 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:01:42 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:01:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:01:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:01:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:01:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:01:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:01:43 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:01:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:01:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:01:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:01:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:01:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:01:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:01:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:01:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:01:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:01:44 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:01:44 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:01:44 275 | const iot_component_factory_t * factory; 08:01:44 | ^~~~~~~ 08:01:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:01:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:01:44 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:01:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:01:44 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:01:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:01:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:01:44 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:01:44 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:01:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:01:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:01:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:01:45 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:01:45 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:01:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:01:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:01:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:01:45 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:01:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:01:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:01:45 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:01:45 /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] 08:01:45 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:01:45 | ^~~~~~~~~~~~~ 08:01:45 | | 08:01:45 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:01:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:45 /usr/include/microhttpd.h:2784: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 *)' 08:01:45 2784 | MHD_KeyValueIterator iterator, 08:01:45 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:01:45 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:01:45 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:01:45 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:01:45 | ^~~~~~~~~~~~ 08:01:45 | | 08:01:45 | 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 **)} 08:01:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:45 /usr/include/microhttpd.h:2480: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 **)'} 08:01:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:01:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:01:45 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:01:45 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:01:45 | ^~~~~~~~~~~~ 08:01:45 | | 08:01:45 | 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 **)} 08:01:45 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:01:45 /usr/include/microhttpd.h:2480: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 **)'} 08:01:45 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:01:45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:01:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:01:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:01:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:01:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:01:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:01:46 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:01:46 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:01:46 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:01:46 [ 76%] Linking C shared library libcsdk.so 08:01:46 [ 76%] Built target csdk 08:01:46 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:01:46 [ 79%] Linking C executable template 08:01:46 [ 79%] Built target template 08:01:46 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:01:46 [ 82%] Linking C executable device-counter 08:01:46 [ 82%] Built target device-counter 08:01:46 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:01:47 [ 85%] Linking C executable device-random 08:01:47 [ 85%] Built target device-random 08:01:47 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:01:47 [ 88%] Linking C executable device-gyro 08:01:47 [ 88%] Built target device-gyro 08:01:47 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:01:47 [ 91%] Linking C executable device-bitfields 08:01:47 [ 91%] Built target device-bitfields 08:01:47 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:01:47 [ 94%] Linking C executable template-discovery 08:01:47 [ 94%] Built target template-discovery 08:01:47 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:01:47 [ 97%] Linking C executable device-file 08:01:47 [ 97%] Built target device-file 08:01:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:01:47 [100%] Linking C executable device-terminal 08:01:48 [100%] Built target device-terminal 08:01:48 make: Entering directory '/tmp/sdk/build/release' 08:01:48 make[1]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 76%] Built target csdk 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 79%] Built target template 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 82%] Built target device-counter 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 85%] Built target device-random 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 88%] Built target device-gyro 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 91%] Built target device-bitfields 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 94%] Built target template-discovery 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [ 97%] Built target device-file 08:01:48 make[2]: Entering directory '/tmp/sdk/build/release' 08:01:48 make[2]: Leaving directory '/tmp/sdk/build/release' 08:01:48 [100%] Built target device-terminal 08:01:48 make[1]: Leaving directory '/tmp/sdk/build/release' 08:01:48 Install the project... 08:01:48 -- Install configuration: "Release" 08:01:48 -- Installing: /usr/local/lib/libcsdk.so 08:01:48 -- Installing: /usr/local/include 08:01:48 -- Installing: /usr/local/include/edgex 08:01:48 -- Installing: /usr/local/include/edgex/profiles.h 08:01:48 -- Installing: /usr/local/include/edgex/edgex.h 08:01:48 -- Installing: /usr/local/include/edgex/rest-server.h 08:01:48 -- Installing: /usr/local/include/edgex/edgex-base.h 08:01:48 -- Installing: /usr/local/include/edgex/devices.h 08:01:48 -- Installing: /usr/local/include/edgex/csdk-defs.h 08:01:48 -- Installing: /usr/local/include/devsdk 08:01:48 -- Installing: /usr/local/include/devsdk/devsdk.h 08:01:48 -- Installing: /usr/local/include/devsdk/devsdk-base.h 08:01:48 -- Installing: /usr/local/include/iot 08:01:48 -- Installing: /usr/local/include/iot/thread.h 08:01:48 -- Installing: /usr/local/include/iot/hash.h 08:01:48 -- Installing: /usr/local/include/iot/typecode.h 08:01:48 -- Installing: /usr/local/include/iot/threadpool.h 08:01:48 -- Installing: /usr/local/include/iot/uuid.h 08:01:48 -- Installing: /usr/local/include/iot/logger.h 08:01:48 -- Installing: /usr/local/include/iot/config.h 08:01:48 -- Installing: /usr/local/include/iot/os.h 08:01:48 -- Installing: /usr/local/include/iot/container.h 08:01:48 -- Installing: /usr/local/include/iot/scheduler.h 08:01:48 -- Installing: /usr/local/include/iot/defs.h 08:01:48 -- Installing: /usr/local/include/iot/iot.h 08:01:48 -- Installing: /usr/local/include/iot/component.h 08:01:48 -- Installing: /usr/local/include/iot/os 08:01:48 -- Installing: /usr/local/include/iot/os/linux.h 08:01:48 -- Installing: /usr/local/include/iot/os/zephyr.h 08:01:48 -- Installing: /usr/local/include/iot/os/macos.h 08:01:48 -- Installing: /usr/local/include/iot/base64.h 08:01:48 -- Installing: /usr/local/include/iot/time.h 08:01:48 -- Installing: /usr/local/include/iot/data.h 08:01:48 -- Installing: /usr/local/include/iot/json.h 08:01:48 -- Installing: /usr/local/share/device-sdk-c/LICENSE 08:01:48 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 08:01:48 make: Leaving directory '/tmp/sdk/build/release' 08:01:48 Removing intermediate container 23ed44463238 08:01:48 ---> 2fd71f2e2193 08:01:48 Step 14/22 : FROM ${BASE} 08:01:48 ---> c9e13ccc37c5 08:01:48 Step 15/22 : LABEL maintainer="IOTech " 08:01:48 ---> Running in 2054617f612b 08:01:48 Removing intermediate container 2054617f612b 08:01:48 ---> 8d6a93597b66 08:01:48 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:01:48 ---> Running in 044bd4b477ce 08:01:49 Connecting to iotech.jfrog.io (52.30.156.103:443) 08:01:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:01:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:01:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:01:49 Removing intermediate container 044bd4b477ce 08:01:49 ---> e76e34d65a2c 08:01:49 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:01:49 ---> Running in 72f05c069ce8 08:01:50 Removing intermediate container 72f05c069ce8 08:01:50 ---> 451983a25b33 08:01:50 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 08:01:50 ---> Running in 9e586bb49730 08:01:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:01:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:01:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 08:01:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:01:52 (1/6) Installing curl (7.80.0-r0) 08:01:52 (2/6) Installing hiredis (1.0.2-r0) 08:01:52 (3/6) Installing hiredis-dev (1.0.2-r0) 08:01:52 (4/6) Installing libcbor (0.8.0-r0) 08:01:52 (5/6) Installing libuuid (2.37.4-r0) 08:01:52 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:01:53 Executing busybox-1.34.1-r3.trigger 08:01:53 OK: 283 MiB in 83 packages 08:01:53 Removing intermediate container 9e586bb49730 08:01:53 ---> 0b9c081d560d 08:01:53 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 08:01:53 ---> e9de30fded6b 08:01:53 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 08:01:54 ---> 46214fcc9f3f 08:01:54 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 08:01:54 ---> b16a48905300 08:01:54 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 08:01:54 ---> 80498b19c1a8 08:01:54 Successfully built 80498b19c1a8 08:01:54 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 08:01:54 + docker inspect -f . ci-base-image-x86_64 08:01:54 . [Pipeline] withDockerContainer 08:01:54 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:01:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:01:55 $ docker top 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:55 + make test 08:01:55 echo "make test" 08:01:55 make test [Pipeline] } 08:01:55 $ docker stop --time=1 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 08:01:57 $ docker rm -f 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:58 + ls -al . 08:01:58 total 208 08:01:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 08:01 . 08:01:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 .. 08:01:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:00 .git 08:01:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 08:00 .github 08:01:58 -rw-rw-r-- 1 jenkins jenkins 176 Mar 24 08:00 .gitignore 08:01:58 drwx------ 3 jenkins jenkins 4096 Mar 24 08:01 .semver 08:01:58 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 24 08:00 Attribution.txt 08:01:58 -rw-rw-r-- 1 jenkins jenkins 8302 Mar 24 08:00 CHANGES 08:01:58 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 24 08:00 Doxyfile 08:01:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 08:00 GOVERNANCE.md 08:01:58 -rw-rw-r-- 1 jenkins jenkins 784 Mar 24 08:00 Jenkinsfile 08:01:58 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 08:00 LICENSE 08:01:58 -rw-rw-r-- 1 jenkins jenkins 444 Mar 24 08:00 Makefile 08:01:58 -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 08:00 OWNERS.md 08:01:58 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 24 08:00 README.md 08:01:58 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 24 08:00 README.v2.md 08:01:58 -rw-rw-r-- 1 jenkins jenkins 11 Mar 24 08:01 VERSION 08:01:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:00 docs 08:01:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 include 08:01:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:00 scripts 08:01:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 src [Pipeline] isUnix [Pipeline] sh 08:01:58 + 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=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 --label arch=amd64 --label version=2.2.0-dev.6 . 08:01:58 Sending build context to Docker daemon 4.505MB 08:01:58 Step 1/17 : ARG BASE=alpine:3.15 08:01:58 Step 2/17 : FROM ${BASE} 08:01:58 ---> 80498b19c1a8 08:01:58 Step 3/17 : LABEL maintainer="IOTech " 08:01:58 ---> Running in 903ee9aeb3da 08:01:58 Removing intermediate container 903ee9aeb3da 08:01:58 ---> dc18de8041a3 08:01:58 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 08:01:58 ---> Running in 3d8416ac58c0 08:01:59 Connecting to iotech.jfrog.io (52.49.191.191:443) 08:01:59 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:01:59 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:01:59 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:01:59 Removing intermediate container 3d8416ac58c0 08:01:59 ---> 676c755c75dd 08:01:59 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:02:00 ---> Running in 6f7aba06793a 08:02:00 Removing intermediate container 6f7aba06793a 08:02:00 ---> dc9d15638442 08:02:00 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 08:02:00 ---> Running in 08b6f1cbc7e3 08:02:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:02:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:02:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 08:02:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:02:02 (1/26) Installing libcbor-dev (0.8.0-r0) 08:02:02 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 08:02:02 (3/26) Installing util-linux (2.37.4-r0) 08:02:02 (4/26) Installing libblkid (2.37.4-r0) 08:02:02 (5/26) Installing libeconf (0.4.2-r0) 08:02:02 (6/26) Installing libfdisk (2.37.4-r0) 08:02:02 (7/26) Installing libmount (2.37.4-r0) 08:02:02 (8/26) Installing libsmartcols (2.37.4-r0) 08:02:02 (9/26) Installing util-linux-misc (2.37.4-r0) 08:02:03 (10/26) Installing linux-pam (1.5.2-r0) 08:02:03 (11/26) Installing runuser (2.37.4-r0) 08:02:03 (12/26) Installing hexdump (2.37.4-r0) 08:02:03 (13/26) Installing uuidgen (2.37.4-r0) 08:02:03 (14/26) Installing blkid (2.37.4-r0) 08:02:03 (15/26) Installing sfdisk (2.37.4-r0) 08:02:03 (16/26) Installing mcookie (2.37.4-r0) 08:02:03 (17/26) Installing wipefs (2.37.4-r0) 08:02:03 (18/26) Installing cfdisk (2.37.4-r0) 08:02:03 (19/26) Installing flock (2.37.4-r0) 08:02:04 (20/26) Installing lsblk (2.37.4-r0) 08:02:04 (21/26) Installing libcap-ng (0.8.2-r1) 08:02:04 (22/26) Installing setpriv (2.37.4-r0) 08:02:04 (23/26) Installing logger (2.37.4-r0) 08:02:04 (24/26) Installing partx (2.37.4-r0) 08:02:04 (25/26) Installing findmnt (2.37.4-r0) 08:02:04 (26/26) Installing util-linux-dev (2.37.4-r0) 08:02:04 Executing busybox-1.34.1-r3.trigger 08:02:04 OK: 294 MiB in 109 packages 08:02:05 Removing intermediate container 08b6f1cbc7e3 08:02:05 ---> 2022c421e997 08:02:05 Step 7/17 : COPY VERSION /edgex-c-sdk/ 08:02:05 ---> e229fb6496e4 08:02:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 08:02:05 ---> b34793ee6f42 08:02:05 Step 9/17 : COPY include /edgex-c-sdk/include/ 08:02:05 ---> a37db778395e 08:02:05 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 08:02:06 ---> 60f1d1f5706f 08:02:06 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 08:02:06 ---> 21becca41cff 08:02:06 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 08:02:06 ---> cde4e7043051 08:02:06 Step 13/17 : WORKDIR /edgex-c-sdk 08:02:06 ---> Running in f48451030e90 08:02:06 Removing intermediate container f48451030e90 08:02:06 ---> c3622b1e8ee7 08:02:06 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 08:02:06 ---> Running in b1557ce6cc46 08:02:06 Removing intermediate container b1557ce6cc46 08:02:06 ---> 7db0e2f3221d 08:02:06 Step 15/17 : LABEL arch=amd64 08:02:06 ---> Running in b27da5d5448b 08:02:06 Removing intermediate container b27da5d5448b 08:02:06 ---> a7e317aeeef3 08:02:06 Step 16/17 : LABEL git_sha=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 08:02:06 ---> Running in 2f149e87184d 08:02:06 Removing intermediate container 2f149e87184d 08:02:06 ---> 731dda6e861b 08:02:06 Step 17/17 : LABEL version=2.2.0-dev.6 08:02:06 ---> Running in f8371cd6ff60 08:02:06 Removing intermediate container f8371cd6ff60 08:02:06 ---> 092bbc01ac26 08:02:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:02:06 Successfully built 092bbc01ac26 08:02:06 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 08:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:07 08:02:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:02:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:07 latest: Pulling from edgex-lftools-log-publisher 08:02:07 5eb5b503b376: Pulling fs layer 08:02:07 5c69ac0246d0: Pulling fs layer 08:02:07 ec43610c2a17: Pulling fs layer 08:02:07 3a2ae6a8a46f: Pulling fs layer 08:02:07 33b1e0a273af: Pulling fs layer 08:02:07 5d3b04190fa2: Pulling fs layer 08:02:07 2f39f015ded8: Pulling fs layer 08:02:07 3a2ae6a8a46f: Waiting 08:02:07 5d3b04190fa2: Waiting 08:02:07 33b1e0a273af: Waiting 08:02:07 2f39f015ded8: Waiting 08:02:07 5c69ac0246d0: Verifying Checksum 08:02:07 5c69ac0246d0: Download complete 08:02:07 3a2ae6a8a46f: Verifying Checksum 08:02:07 3a2ae6a8a46f: Download complete 08:02:07 33b1e0a273af: Verifying Checksum 08:02:07 33b1e0a273af: Download complete 08:02:07 5d3b04190fa2: Verifying Checksum 08:02:07 5d3b04190fa2: Download complete 08:02:07 ec43610c2a17: Verifying Checksum 08:02:07 ec43610c2a17: Download complete 08:02:07 5eb5b503b376: Verifying Checksum 08:02:07 5eb5b503b376: Download complete 08:02:08 2f39f015ded8: Download complete 08:02:08 5eb5b503b376: Pull complete 08:02:09 5c69ac0246d0: Pull complete 08:02:09 ec43610c2a17: Pull complete 08:02:09 3a2ae6a8a46f: Pull complete 08:02:10 33b1e0a273af: Pull complete 08:02:10 5d3b04190fa2: Pull complete 08:02:14 2f39f015ded8: Pull complete 08:02:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:02:14 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:02:16 $ docker top 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:02:16 ---> job-cost.sh 08:02:16 lf-activate-venv: SKIPPING 08:02:16 INFO: No Stack... 08:02:17 INFO: Retrieving Pricing Info for: v3-standard-8 08:02:17 INFO: Archiving Costs [Pipeline] sh 08:02:17 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 08:02:17 + cut -d, -f6 [Pipeline] lock 08:02:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] 08:02:17 Resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] did not exist. Created. 08:02:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:02:17 + echo total: 0.2199999988079071 [Pipeline] stash 08:02:17 Stashed 1 file(s) [Pipeline] } 08:02:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 08:02:18 $ docker stop --time=1 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 08:02:19 $ docker rm -f 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:03:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8991 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 08:03:10 Running in /w/workspace/device-sdk-c/21 [Pipeline] { [Pipeline] checkout 08:03:10 Selected Git installation does not exist. Using Default 08:03:10 The recommended git tool is: NONE 08:03:18 using credential edgex-jenkins-ssh 08:03:18 Cloning the remote Git repository 08:03:18 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 08:03:18 > git init /w/workspace/device-sdk-c/21 # timeout=10 08:03:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 08:03:18 > git --version # timeout=10 08:03:18 > git --version # 'git version 2.25.1' 08:03:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:20 Avoid second fetch 08:03:20 Checking out Revision 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (main) 08:03:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 08:03:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:20 > git config core.sparsecheckout # timeout=10 08:03:20 > git checkout -f 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 08:03:24 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314) (#405)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:03:25 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:25 Dload Upload Total Spent Left Speed 08:03:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45375 0 --:--:-- --:--:-- --:--:-- 45375 [Pipeline] sh 08:03:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:03:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:03:26 + sudo tee /etc/docker/daemon.new 08:03:26 { 08:03:26 "registry-mirrors": [ 08:03:26 "https://nexus3.edgexfoundry.org:10001" 08:03:26 ], 08:03:26 "bip": "10.250.0.254/24", 08:03:26 "hosts": [ 08:03:26 "tcp://0.0.0.0:5555", 08:03:26 "unix:///var/run/docker.sock" 08:03:26 ], 08:03:26 "mtu": 1458, 08:03:26 "selinux-enabled": true, 08:03:26 "seccomp-profile": "/etc/docker/seccomp.json" 08:03:26 } [Pipeline] sh 08:03:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:03:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:45 provisioning config files... 08:03:45 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/21@tmp/config3484511704092246266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:45 ---> docker-login.sh 08:03:45 nexus3.edgexfoundry.org:10001 08:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:46 Configure a credential helper to remove this warning. See 08:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:46 08:03:46 Login Succeeded 08:03:46 nexus3.edgexfoundry.org:10002 08:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:46 Configure a credential helper to remove this warning. See 08:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:46 08:03:47 Login Succeeded 08:03:47 nexus3.edgexfoundry.org:10003 08:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:47 Configure a credential helper to remove this warning. See 08:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:47 08:03:47 Login Succeeded 08:03:47 nexus3.edgexfoundry.org:10004 08:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:48 Configure a credential helper to remove this warning. See 08:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:48 08:03:48 Login Succeeded 08:03:48 docker.io 08:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:49 Configure a credential helper to remove this warning. See 08:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:49 08:03:49 Login Succeeded 08:03:49 ---> docker-login.sh ends [Pipeline] } 08:03:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 08:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:49 ========================================================= 08:03:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 08:03:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:03:49 + 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 . 08:03:50 Sending build context to Docker daemon 2.738MB 08:03:50 Step 1/22 : ARG BASE=alpine:3.15 08:03:50 Step 2/22 : FROM ${BASE} as builder 08:03:50 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 08:03:50 9b3977197b4f: Pulling fs layer 08:03:50 2a93055cfd06: Pulling fs layer 08:03:50 ff5fdaca7850: Pulling fs layer 08:03:50 2a93055cfd06: Download complete 08:03:50 9b3977197b4f: Download complete 08:03:51 9b3977197b4f: Pull complete 08:03:51 2a93055cfd06: Pull complete 08:03:52 ff5fdaca7850: Verifying Checksum 08:03:52 ff5fdaca7850: Download complete 08:04:02 ff5fdaca7850: Pull complete 08:04:02 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 08:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 08:04:02 ---> 0af3d9908a83 08:04:02 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:04:02 ---> Running in a6436b4dcf6d 08:04:03 Connecting to iotech.jfrog.io (52.49.191.191:443) 08:04:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:04:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:04:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:04:04 Removing intermediate container a6436b4dcf6d 08:04:04 ---> f3082cfd0e42 08:04:04 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:04:04 ---> Running in 7ab2478ac71d 08:04:05 Removing intermediate container 7ab2478ac71d 08:04:05 ---> 4999890d4afc 08:04:05 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 08:04:06 ---> Running in e163f3c3f61a 08:04:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:04:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:04:08 (1/31) Installing hiredis (1.0.2-r0) 08:04:09 (2/31) Installing hiredis-dev (1.0.2-r0) 08:04:09 (3/31) Installing libcbor (0.8.0-r0) 08:04:09 (4/31) Installing libcbor-dev (0.8.0-r0) 08:04:09 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 08:04:09 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:04:10 (7/31) Installing util-linux (2.37.4-r0) 08:04:10 (8/31) Installing libblkid (2.37.4-r0) 08:04:10 (9/31) Installing libeconf (0.4.2-r0) 08:04:10 (10/31) Installing libuuid (2.37.4-r0) 08:04:10 (11/31) Installing libfdisk (2.37.4-r0) 08:04:10 (12/31) Installing libmount (2.37.4-r0) 08:04:10 (13/31) Installing libsmartcols (2.37.4-r0) 08:04:11 (14/31) Installing util-linux-misc (2.37.4-r0) 08:04:11 (15/31) Installing linux-pam (1.5.2-r0) 08:04:11 (16/31) Installing runuser (2.37.4-r0) 08:04:11 (17/31) Installing hexdump (2.37.4-r0) 08:04:11 (18/31) Installing uuidgen (2.37.4-r0) 08:04:11 (19/31) Installing blkid (2.37.4-r0) 08:04:11 (20/31) Installing sfdisk (2.37.4-r0) 08:04:11 (21/31) Installing mcookie (2.37.4-r0) 08:04:11 (22/31) Installing wipefs (2.37.4-r0) 08:04:12 (23/31) Installing cfdisk (2.37.4-r0) 08:04:12 (24/31) Installing flock (2.37.4-r0) 08:04:12 (25/31) Installing lsblk (2.37.4-r0) 08:04:12 (26/31) Installing libcap-ng (0.8.2-r1) 08:04:12 (27/31) Installing setpriv (2.37.4-r0) 08:04:12 (28/31) Installing logger (2.37.4-r0) 08:04:12 (29/31) Installing partx (2.37.4-r0) 08:04:12 (30/31) Installing findmnt (2.37.4-r0) 08:04:12 (31/31) Installing util-linux-dev (2.37.4-r0) 08:04:13 Executing busybox-1.34.1-r3.trigger 08:04:13 OK: 289 MiB in 108 packages 08:04:14 Removing intermediate container e163f3c3f61a 08:04:14 ---> 3834dc4a0e4d 08:04:14 Step 6/22 : RUN mkdir /tmp/sdk 08:04:14 ---> Running in 29b4e309b041 08:04:15 Removing intermediate container 29b4e309b041 08:04:15 ---> 23466163fa50 08:04:15 Step 7/22 : COPY VERSION /tmp/sdk 08:04:16 ---> d87db796435f 08:04:16 Step 8/22 : COPY src /tmp/sdk/src 08:04:17 ---> a74402e493dd 08:04:17 Step 9/22 : COPY include /tmp/sdk/include 08:04:18 ---> d96dc60a4a48 08:04:18 Step 10/22 : COPY scripts /tmp/sdk/scripts 08:04:18 ---> 6d9170338b7d 08:04:18 Step 11/22 : COPY LICENSE /tmp/sdk 08:04:18 ---> 01a3204042fe 08:04:18 Step 12/22 : COPY Attribution.txt /tmp/sdk 08:04:19 ---> 2433c7aa59fc 08:04:19 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:04:19 ---> Running in 55ce809e73cf 08:04:20 + CPPCHECK=false 08:04:20 + DOCGEN=false 08:04:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 08:04:20 + TOMLVER=SDK-0.2 08:04:20 + CUTILVER=1.2.2 08:04:20 + '[' 0 -gt 0 ] 08:04:20 + readlink -f ./scripts/build.sh 08:04:20 + dirname /tmp/sdk/scripts/build.sh 08:04:20 + dirname /tmp/sdk/scripts 08:04:20 + ROOT=/tmp/sdk 08:04:20 + cd /tmp/sdk 08:04:20 + '[' '!' -d deps ] 08:04:20 + mkdir deps 08:04:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 08:04:20 + tar -C deps -z -x -f - 08:04:20 Connecting to github.com (140.82.112.3:443) 08:04:20 Connecting to codeload.github.com (140.82.114.9:443) 08:04:21 writing to stdout 08:04:21 - 100% |********************************| 16451 0:00:00 ETA 08:04:21 written to stdout 08:04:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 08:04:21 + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 08:04:21 tar -C deps -z -x -f - 08:04:21 Connecting to github.com (140.82.112.3:443) 08:04:21 Connecting to codeload.github.com (140.82.114.9:443) 08:04:21 writing to stdout 08:04:21 - 100% |********************************| 189k 0:00:00 ETA 08:04:21 written to stdout 08:04:21 + mkdir -p src/c/iot 08:04:21 + 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 08:04:21 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 08:04:21 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 08:04:21 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 08:04:21 + mkdir -p include/iot 08:04:21 + 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 08:04:21 + mkdir -p include/iot/os 08:04:21 + 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 08:04:21 + mkdir -p /tmp/sdk/build/release 08:04:21 + cd /tmp/sdk/build/release 08:04:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:04:21 -- The C compiler identification is GNU 10.3.1 08:04:21 -- Detecting C compiler ABI info 08:04:22 -- Detecting C compiler ABI info - done 08:04:22 -- Check for working C compiler: /usr/bin/cc - skipped 08:04:22 -- Detecting C compile features 08:04:22 -- Detecting C compile features - done 08:04:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:04:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 08:04:22 -- Found LIBYAML: /usr/lib/libyaml.so 08:04:22 -- Found LIBUUID: /usr/lib/libuuid.so 08:04:22 -- Found LIBCBOR: /usr/lib/libcbor.so 08:04:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:04:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:04:22 -- C SDK 2.2.0-dev.6 for Linux 08:04:22 -- Performing Test CSDK_HAVE_ATOMIC 08:04:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:04:23 -- Found Curses: /usr/lib/libcurses.so 08:04:23 -- Configuring done 08:04:23 -- Generating done 08:04:23 -- Build files have been written to: /tmp/sdk/build/release 08:04:23 + + maketee all release.log 08:04:23 package 08:04:23 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:04:24 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:04:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:04:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:04:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:04:29 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:04:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:04:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:04:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:04:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:04:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:04:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:04:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:04:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:04:37 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:04:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:04:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:04:41 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:04:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:04:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:04:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:04:43 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:04:43 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:04:43 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:04:43 275 | const iot_component_factory_t * factory; 08:04:43 | ^~~~~~~ 08:04:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:04:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:04:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:04:49 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:04:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:04:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:04:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:04:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:04:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:04:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:04:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:04:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:04:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:04:57 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:04:58 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:04:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:05:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:05:04 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:05:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:05:05 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:05:05 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:05:05 /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] 08:05:05 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:05:05 | ^~~~~~~~~~~~~ 08:05:05 | | 08:05:05 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:05:05 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:05 /usr/include/microhttpd.h:2784: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 *)' 08:05:05 2784 | MHD_KeyValueIterator iterator, 08:05:05 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:05:05 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:05:05 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:05 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:05:05 | ^~~~~~~~~~~~ 08:05:05 | | 08:05:05 | 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 **)} 08:05:05 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:05 /usr/include/microhttpd.h:2480: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 **)'} 08:05:05 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:05 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:05 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:05 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:05:05 | ^~~~~~~~~~~~ 08:05:05 | | 08:05:05 | 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 **)} 08:05:05 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:05 /usr/include/microhttpd.h:2480: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 **)'} 08:05:05 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:05 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:05:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:05:09 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:05:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:05:10 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:05:13 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:05:17 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:05:18 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:05:19 [ 76%] Linking C shared library libcsdk.so 08:05:19 [ 76%] Built target csdk 08:05:19 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:05:20 [ 79%] Linking C executable template 08:05:20 [ 79%] Built target template 08:05:20 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:05:21 [ 82%] Linking C executable device-counter 08:05:21 [ 82%] Built target device-counter 08:05:21 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:05:21 [ 85%] Linking C executable device-random 08:05:22 [ 85%] Built target device-random 08:05:22 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:05:22 [ 88%] Linking C executable device-gyro 08:05:23 [ 88%] Built target device-gyro 08:05:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:05:23 [ 91%] Linking C executable device-bitfields 08:05:23 [ 91%] Built target device-bitfields 08:05:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:05:24 [ 94%] Linking C executable template-discovery 08:05:25 [ 94%] Built target template-discovery 08:05:25 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:05:25 [ 97%] Linking C executable device-file 08:05:26 [ 97%] Built target device-file 08:05:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:05:27 [100%] Linking C executable device-terminal 08:05:27 [100%] Built target device-terminal 08:05:27 Run CPack packaging tool... 08:05:27 CPack: Create package using TGZ 08:05:27 CPack: Install projects 08:05:27 CPack: - Run preinstall target for: Csdk 08:05:28 CPack: - Install project: Csdk [] 08:05:28 CPack: Create package 08:05:28 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.6.tar.gz generated. 08:05:28 + '[' false '=' true ] 08:05:28 + '[' false '=' true ] 08:05:28 + mkdir -p /tmp/sdk/build/debug 08:05:28 + cd /tmp/sdk/build/debug 08:05:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:05:28 -- The C compiler identification is GNU 10.3.1 08:05:28 -- Detecting C compiler ABI info 08:05:28 -- Detecting C compiler ABI info - done 08:05:28 -- Check for working C compiler: /usr/bin/cc - skipped 08:05:28 -- Detecting C compile features 08:05:28 -- Detecting C compile features - done 08:05:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:05:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 08:05:29 -- Found LIBYAML: /usr/lib/libyaml.so 08:05:29 -- Found LIBUUID: /usr/lib/libuuid.so 08:05:29 -- Found LIBCBOR: /usr/lib/libcbor.so 08:05:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:05:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 08:05:29 -- C SDK 2.2.0-dev.6 for Linux 08:05:29 -- Performing Test CSDK_HAVE_ATOMIC 08:05:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:05:29 -- Found Curses: /usr/lib/libcurses.so 08:05:30 -- Configuring done 08:05:30 -- Generating done 08:05:30 -- Build files have been written to: /tmp/sdk/build/debug 08:05:30 + make 08:05:30 + tee debug.log 08:05:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:05:30 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 08:05:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 08:05:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 08:05:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 08:05:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 08:05:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 08:05:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 08:05:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 08:05:34 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 08:05:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 08:05:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 08:05:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 08:05:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 08:05:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 08:05:36 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 08:05:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 08:05:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 08:05:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 08:05:37 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 08:05:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 08:05:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 08:05:38 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 08:05:38 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 08:05:38 275 | const iot_component_factory_t * factory; 08:05:38 | ^~~~~~~ 08:05:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 08:05:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 08:05:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 08:05:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 08:05:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 08:05:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 08:05:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 08:05:41 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 08:05:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 08:05:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 08:05:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 08:05:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 08:05:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 08:05:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 08:05:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 08:05:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 08:05:45 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 08:05:45 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 08:05:46 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 08:05:46 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 08:05:46 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 08:05:46 /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] 08:05:46 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 08:05:46 | ^~~~~~~~~~~~~ 08:05:46 | | 08:05:46 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 08:05:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:46 /usr/include/microhttpd.h:2784: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 *)' 08:05:46 2784 | MHD_KeyValueIterator iterator, 08:05:46 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 08:05:46 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 08:05:46 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:46 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 08:05:46 | ^~~~~~~~~~~~ 08:05:46 | | 08:05:46 | 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 **)} 08:05:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:46 /usr/include/microhttpd.h:2480: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 **)'} 08:05:46 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:46 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 08:05:46 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 08:05:46 | ^~~~~~~~~~~~ 08:05:46 | | 08:05:46 | 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 **)} 08:05:46 In file included from /tmp/sdk/src/c/rest-server.c:21: 08:05:46 /usr/include/microhttpd.h:2480: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 **)'} 08:05:46 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 08:05:46 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 08:05:46 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 08:05:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 08:05:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 08:05:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 08:05:49 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 08:05:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 08:05:50 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 08:05:51 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 08:05:51 [ 76%] Linking C shared library libcsdk.so 08:05:51 [ 76%] Built target csdk 08:05:51 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 08:05:52 [ 79%] Linking C executable template 08:05:52 [ 79%] Built target template 08:05:52 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 08:05:52 [ 82%] Linking C executable device-counter 08:05:53 [ 82%] Built target device-counter 08:05:53 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 08:05:53 [ 85%] Linking C executable device-random 08:05:53 [ 85%] Built target device-random 08:05:53 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 08:05:53 [ 88%] Linking C executable device-gyro 08:05:54 [ 88%] Built target device-gyro 08:05:54 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 08:05:54 [ 91%] Linking C executable device-bitfields 08:05:54 [ 91%] Built target device-bitfields 08:05:54 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 08:05:55 [ 94%] Linking C executable template-discovery 08:05:55 [ 94%] Built target template-discovery 08:05:55 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 08:05:55 [ 97%] Linking C executable device-file 08:05:56 [ 97%] Built target device-file 08:05:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 08:05:56 [100%] Linking C executable device-terminal 08:05:56 [100%] Built target device-terminal 08:05:56 make: Entering directory '/tmp/sdk/build/release' 08:05:56 make[1]: Entering directory '/tmp/sdk/build/release' 08:05:56 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:56 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:56 [ 76%] Built target csdk 08:05:56 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:56 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:56 [ 79%] Built target template 08:05:56 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:56 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 82%] Built target device-counter 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 85%] Built target device-random 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 88%] Built target device-gyro 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 91%] Built target device-bitfields 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 94%] Built target template-discovery 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [ 97%] Built target device-file 08:05:57 make[2]: Entering directory '/tmp/sdk/build/release' 08:05:57 make[2]: Leaving directory '/tmp/sdk/build/release' 08:05:57 [100%] Built target device-terminal 08:05:57 make[1]: Leaving directory '/tmp/sdk/build/release' 08:05:57 Install the project... 08:05:57 -- Install configuration: "Release" 08:05:57 -- Installing: /usr/local/lib/libcsdk.so 08:05:57 -- Installing: /usr/local/include 08:05:57 -- Installing: /usr/local/include/devsdk 08:05:57 -- Installing: /usr/local/include/devsdk/devsdk.h 08:05:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 08:05:57 -- Installing: /usr/local/include/edgex 08:05:57 -- Installing: /usr/local/include/edgex/rest-server.h 08:05:57 -- Installing: /usr/local/include/edgex/edgex.h 08:05:57 -- Installing: /usr/local/include/edgex/edgex-base.h 08:05:57 -- Installing: /usr/local/include/edgex/devices.h 08:05:57 -- Installing: /usr/local/include/edgex/profiles.h 08:05:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 08:05:57 -- Installing: /usr/local/include/iot 08:05:57 -- Installing: /usr/local/include/iot/threadpool.h 08:05:57 -- Installing: /usr/local/include/iot/defs.h 08:05:57 -- Installing: /usr/local/include/iot/time.h 08:05:57 -- Installing: /usr/local/include/iot/base64.h 08:05:57 -- Installing: /usr/local/include/iot/component.h 08:05:57 -- Installing: /usr/local/include/iot/scheduler.h 08:05:57 -- Installing: /usr/local/include/iot/config.h 08:05:57 -- Installing: /usr/local/include/iot/container.h 08:05:57 -- Installing: /usr/local/include/iot/uuid.h 08:05:57 -- Installing: /usr/local/include/iot/os.h 08:05:57 -- Installing: /usr/local/include/iot/thread.h 08:05:57 -- Installing: /usr/local/include/iot/data.h 08:05:57 -- Installing: /usr/local/include/iot/typecode.h 08:05:57 -- Installing: /usr/local/include/iot/hash.h 08:05:57 -- Installing: /usr/local/include/iot/logger.h 08:05:57 -- Installing: /usr/local/include/iot/os 08:05:57 -- Installing: /usr/local/include/iot/os/zephyr.h 08:05:57 -- Installing: /usr/local/include/iot/os/macos.h 08:05:57 -- Installing: /usr/local/include/iot/os/linux.h 08:05:57 -- Installing: /usr/local/include/iot/json.h 08:05:57 -- Installing: /usr/local/include/iot/iot.h 08:05:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 08:05:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 08:05:57 make: Leaving directory '/tmp/sdk/build/release' 08:05:59 Removing intermediate container 55ce809e73cf 08:05:59 ---> 84fbab7ead71 08:05:59 Step 14/22 : FROM ${BASE} 08:05:59 ---> 0af3d9908a83 08:05:59 Step 15/22 : LABEL maintainer="IOTech " 08:05:59 ---> Running in 3d54e33e413a 08:05:59 Removing intermediate container 3d54e33e413a 08:05:59 ---> b837bfc01bbe 08:05:59 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 08:05:59 ---> Running in 5dc7b220407e 08:06:00 Connecting to iotech.jfrog.io (52.30.156.103:443) 08:06:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:06:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:06:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:06:01 Removing intermediate container 5dc7b220407e 08:06:01 ---> 77ae8d3e24d7 08:06:01 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:06:01 ---> Running in dd77f7c5eea2 08:06:03 Removing intermediate container dd77f7c5eea2 08:06:03 ---> 5ea4a81bc7c4 08:06:03 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 08:06:03 ---> Running in 89f6338f85c7 08:06:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:06:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:06:05 (1/6) Installing curl (7.80.0-r0) 08:06:06 (2/6) Installing hiredis (1.0.2-r0) 08:06:06 (3/6) Installing hiredis-dev (1.0.2-r0) 08:06:06 (4/6) Installing libcbor (0.8.0-r0) 08:06:06 (5/6) Installing libuuid (2.37.4-r0) 08:06:06 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 08:06:07 Executing busybox-1.34.1-r3.trigger 08:06:07 OK: 278 MiB in 83 packages 08:06:07 Removing intermediate container 89f6338f85c7 08:06:07 ---> b3f49dd828a1 08:06:07 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 08:06:08 ---> 2c3eba40182b 08:06:08 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 08:06:09 ---> 433fcd97b3b5 08:06:09 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 08:06:09 ---> 31989bfde06a 08:06:09 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 08:06:10 ---> cb22137fe9ea 08:06:10 Successfully built cb22137fe9ea 08:06:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:06:10 + docker inspect -f . ci-base-image-arm64 08:06:10 . [Pipeline] withDockerContainer 08:06:10 prd-ubuntu20.04-docker-arm64-4c-16g-8991 does not seem to be running inside a container 08:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:06:11 $ docker top 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:12 + make test 08:06:12 echo "make test" 08:06:12 make test [Pipeline] } 08:06:12 $ docker stop --time=1 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe 08:06:14 $ docker rm -f 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:06:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:06:15 + ls -al . 08:06:15 total 204 08:06:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:03 . 08:06:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 .. 08:06:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:03 .git 08:06:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 08:03 .github 08:06:15 -rw-rw-r-- 1 jenkins jenkins 176 Mar 24 08:03 .gitignore 08:06:15 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 24 08:03 Attribution.txt 08:06:15 -rw-rw-r-- 1 jenkins jenkins 8302 Mar 24 08:03 CHANGES 08:06:15 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 24 08:03 Doxyfile 08:06:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 08:03 GOVERNANCE.md 08:06:15 -rw-rw-r-- 1 jenkins jenkins 784 Mar 24 08:03 Jenkinsfile 08:06:15 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 08:03 LICENSE 08:06:15 -rw-rw-r-- 1 jenkins jenkins 444 Mar 24 08:03 Makefile 08:06:15 -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 08:03 OWNERS.md 08:06:15 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 24 08:03 README.md 08:06:15 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 24 08:03 README.v2.md 08:06:15 -rw-rw-r-- 1 jenkins jenkins 11 Mar 24 08:01 VERSION 08:06:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:03 docs 08:06:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 include 08:06:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:03 scripts 08:06:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 src [Pipeline] isUnix [Pipeline] sh 08:06:15 + 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=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 --label arch=arm64 --label version=2.2.0-dev.6 . 08:06:15 Sending build context to Docker daemon 2.738MB 08:06:16 Step 1/17 : ARG BASE=alpine:3.15 08:06:16 Step 2/17 : FROM ${BASE} 08:06:16 ---> cb22137fe9ea 08:06:16 Step 3/17 : LABEL maintainer="IOTech " 08:06:16 ---> Running in a0b0dea34f1c 08:06:16 Removing intermediate container a0b0dea34f1c 08:06:16 ---> 7810117bf4b7 08:06:16 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 08:06:16 ---> Running in 99c2c51c7573 08:06:17 Connecting to iotech.jfrog.io (52.18.159.91:443) 08:06:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:06:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:06:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:06:18 Removing intermediate container 99c2c51c7573 08:06:18 ---> e9232d7fde4b 08:06:18 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 08:06:18 ---> Running in cbf9dc8e0d62 08:06:20 Removing intermediate container cbf9dc8e0d62 08:06:20 ---> a75051f9701a 08:06:20 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 08:06:20 ---> Running in ce976154f4e0 08:06:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:06:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 08:06:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:06:23 (1/26) Installing libcbor-dev (0.8.0-r0) 08:06:23 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 08:06:23 (3/26) Installing util-linux (2.37.4-r0) 08:06:23 (4/26) Installing libblkid (2.37.4-r0) 08:06:23 (5/26) Installing libeconf (0.4.2-r0) 08:06:23 (6/26) Installing libfdisk (2.37.4-r0) 08:06:24 (7/26) Installing libmount (2.37.4-r0) 08:06:24 (8/26) Installing libsmartcols (2.37.4-r0) 08:06:24 (9/26) Installing util-linux-misc (2.37.4-r0) 08:06:24 (10/26) Installing linux-pam (1.5.2-r0) 08:06:24 (11/26) Installing runuser (2.37.4-r0) 08:06:24 (12/26) Installing hexdump (2.37.4-r0) 08:06:24 (13/26) Installing uuidgen (2.37.4-r0) 08:06:24 (14/26) Installing blkid (2.37.4-r0) 08:06:24 (15/26) Installing sfdisk (2.37.4-r0) 08:06:24 (16/26) Installing mcookie (2.37.4-r0) 08:06:25 (17/26) Installing wipefs (2.37.4-r0) 08:06:25 (18/26) Installing cfdisk (2.37.4-r0) 08:06:25 (19/26) Installing flock (2.37.4-r0) 08:06:25 (20/26) Installing lsblk (2.37.4-r0) 08:06:25 (21/26) Installing libcap-ng (0.8.2-r1) 08:06:25 (22/26) Installing setpriv (2.37.4-r0) 08:06:25 (23/26) Installing logger (2.37.4-r0) 08:06:25 (24/26) Installing partx (2.37.4-r0) 08:06:25 (25/26) Installing findmnt (2.37.4-r0) 08:06:25 (26/26) Installing util-linux-dev (2.37.4-r0) 08:06:25 Executing busybox-1.34.1-r3.trigger 08:06:25 OK: 290 MiB in 109 packages 08:06:27 Removing intermediate container ce976154f4e0 08:06:27 ---> 75da5be5c21f 08:06:27 Step 7/17 : COPY VERSION /edgex-c-sdk/ 08:06:27 ---> 4c3f90838ddc 08:06:27 Step 8/17 : COPY src /edgex-c-sdk/src/ 08:06:28 ---> c63c7af98e69 08:06:28 Step 9/17 : COPY include /edgex-c-sdk/include/ 08:06:29 ---> 084cdccac106 08:06:29 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 08:06:29 ---> 08902807cc95 08:06:29 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 08:06:30 ---> 3fc4eb364685 08:06:30 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 08:06:30 ---> 5c5e17678f08 08:06:30 Step 13/17 : WORKDIR /edgex-c-sdk 08:06:30 ---> Running in b8a010ecec2f 08:06:31 Removing intermediate container b8a010ecec2f 08:06:31 ---> 23cf2c3594dc 08:06:31 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 08:06:31 ---> Running in e119374ce656 08:06:31 Removing intermediate container e119374ce656 08:06:31 ---> eed47c99037f 08:06:31 Step 15/17 : LABEL arch=arm64 08:06:31 ---> Running in 0a2b487bb5e3 08:06:31 Removing intermediate container 0a2b487bb5e3 08:06:31 ---> ed2da5ab874e 08:06:32 Step 16/17 : LABEL git_sha=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 08:06:32 ---> Running in dd9447e757df 08:06:32 Removing intermediate container dd9447e757df 08:06:32 ---> 26c4f008573a 08:06:32 Step 17/17 : LABEL version=2.2.0-dev.6 08:06:32 ---> Running in 9e1cd3e12084 08:06:32 Removing intermediate container 9e1cd3e12084 08:06:32 ---> 40482355c1c2 08:06:32 [Warning] One or more build-args [MAKE ARCH] were not consumed 08:06:32 Successfully built 40482355c1c2 08:06:32 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 08:06:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:33 08:06:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:06:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:33 arm64: Pulling from edgex-lftools-log-publisher 08:06:33 8998bd30e6a1: Pulling fs layer 08:06:33 04944245beec: Pulling fs layer 08:06:33 699f458cf7ca: Pulling fs layer 08:06:33 765212b225bb: Pulling fs layer 08:06:33 f23df028b6ca: Pulling fs layer 08:06:33 d65c8cfc05b1: Pulling fs layer 08:06:33 2437ff75d9bd: Pulling fs layer 08:06:33 f23df028b6ca: Waiting 08:06:33 d65c8cfc05b1: Waiting 08:06:33 2437ff75d9bd: Waiting 08:06:33 765212b225bb: Waiting 08:06:33 04944245beec: Verifying Checksum 08:06:33 04944245beec: Download complete 08:06:33 765212b225bb: Verifying Checksum 08:06:33 765212b225bb: Download complete 08:06:33 f23df028b6ca: Verifying Checksum 08:06:33 f23df028b6ca: Download complete 08:06:33 d65c8cfc05b1: Verifying Checksum 08:06:33 d65c8cfc05b1: Download complete 08:06:33 699f458cf7ca: Verifying Checksum 08:06:34 8998bd30e6a1: Verifying Checksum 08:06:34 8998bd30e6a1: Download complete 08:06:36 2437ff75d9bd: Verifying Checksum 08:06:36 2437ff75d9bd: Download complete 08:06:38 8998bd30e6a1: Pull complete 08:06:39 04944245beec: Pull complete 08:06:40 699f458cf7ca: Pull complete 08:06:40 765212b225bb: Pull complete 08:06:41 f23df028b6ca: Pull complete 08:06:41 d65c8cfc05b1: Pull complete 08:06:56 2437ff75d9bd: Pull complete 08:06:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:06:57 prd-ubuntu20.04-docker-arm64-4c-16g-8991 does not seem to be running inside a container 08:06:57 $ 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/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:07:00 $ docker top 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:07:01 ---> job-cost.sh 08:07:01 lf-activate-venv: SKIPPING 08:07:01 INFO: No Stack... 08:07:01 INFO: Retrieving Pricing Info for: v3-standard-4 08:07:02 INFO: Archiving Costs [Pipeline] sh 08:07:02 + cat /w/workspace/device-sdk-c/21/archives/cost.csv 08:07:02 + cut -d, -f6 [Pipeline] lock 08:07:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] 08:07:03 Resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] did not exist. Created. 08:07:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:07:03 /w/workspace/device-sdk-c/21@tmp/durable-e1f5408b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:07:04 + echo total: 0.10999999940395355 [Pipeline] stash 08:07:04 Warning: overwriting stash ‘stack-cost’ 08:07:04 Stashed 1 file(s) [Pipeline] } 08:07:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 08:07:04 $ docker stop --time=1 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 08:07:06 $ docker rm -f 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 [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 08:07:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:07:07 . [Pipeline] withDockerContainer 08:07:07 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:07:07 $ 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 08:07:07 $ docker top b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:07 [ssh-agent] Looking for ssh-agent implementation... 08:07:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:08 $ docker exec b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e ssh-agent 08:07:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXifoMEc/agent.15 08:07:08 SSH_AGENT_PID=21 08:07:08 Running ssh-add (command line suppressed) 08:07:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7394052692628488199.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7394052692628488199.key) 08:07:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:08 + git semver tag 08:07:08 # -> Open(): unable to determine branch for HEAD 08:07:08 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:07:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:07:08 # $SEMVER_REMOTE_NAME = origin 08:07:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:08 # $SEMVER_USER_NAME = edgex-jenkins 08:07:08 # $SEMVER_BRANCH = main 08:07:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:07:08 # 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 HEAD 08:07:08 # -> Force: false 08:07:08 # 396fea9382ef26052bc89c5c45709ffff2c5c110 refs/tags/v2.2.0-dev.6 [Pipeline] } 08:07:08 $ docker exec --env ******** --env ******** b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e ssh-agent -k 08:07:08 unset SSH_AUTH_SOCK; 08:07:08 unset SSH_AGENT_PID; 08:07:08 echo Agent pid 21 killed; 08:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:09 + git semver [Pipeline] } 08:07:09 $ docker stop --time=1 b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e 08:07:10 $ docker rm -f b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:10 08:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:11 0.23.1-centos7: Pulling from edgex-lftools 08:07:11 ab5ef0e58194: Pulling fs layer 08:07:11 9712f1f96733: Pulling fs layer 08:07:11 63f879dbbcfc: Pulling fs layer 08:07:11 0d9ebad4ef96: Pulling fs layer 08:07:11 e9a5061849ea: Pulling fs layer 08:07:11 d747dcd14b5f: Pulling fs layer 08:07:11 2de7ff778b66: Pulling fs layer 08:07:11 e9a5061849ea: Waiting 08:07:11 d747dcd14b5f: Waiting 08:07:11 0d9ebad4ef96: Waiting 08:07:11 9712f1f96733: Verifying Checksum 08:07:11 9712f1f96733: Download complete 08:07:11 63f879dbbcfc: Verifying Checksum 08:07:11 63f879dbbcfc: Download complete 08:07:11 e9a5061849ea: Verifying Checksum 08:07:11 e9a5061849ea: Download complete 08:07:11 d747dcd14b5f: Verifying Checksum 08:07:11 d747dcd14b5f: Download complete 08:07:11 0d9ebad4ef96: Verifying Checksum 08:07:11 0d9ebad4ef96: Download complete 08:07:11 2de7ff778b66: Verifying Checksum 08:07:11 2de7ff778b66: Download complete 08:07:11 ab5ef0e58194: Verifying Checksum 08:07:11 ab5ef0e58194: Download complete 08:07:14 ab5ef0e58194: Pull complete 08:07:14 9712f1f96733: Pull complete 08:07:14 63f879dbbcfc: Pull complete 08:07:19 0d9ebad4ef96: Pull complete 08:07:19 e9a5061849ea: Pull complete 08:07:19 d747dcd14b5f: Pull complete 08:07:20 2de7ff778b66: Pull complete 08:07:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:07:20 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:07:20 $ 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 08:07:24 $ docker top 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:07:24 provisioning config files... 08:07:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6915751902247476422tmp 08:07:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4396366795971393686tmp 08:07:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6572472779909880501tmp [Pipeline] { [Pipeline] echo 08:07:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:07:25 ---> sigul-configuration.sh 08:07:25 gpg: directory `/root/.gnupg' created 08:07:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:07:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:07:25 gpg: keyring `/root/.gnupg/secring.gpg' created 08:07:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:07:25 gpg: CAST5 encrypted data 08:07:25 gpg: encrypted with 1 passphrase 08:07:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:07:25 + mkdir /home/jenkins 08:07:25 + mkdir /home/jenkins/sigul [Pipeline] sh 08:07:25 + 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 08:07:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:07:26 ---> sigul-install.sh 08:07:26 Sigul already installed; skipping installation. [Pipeline] sh 08:07:26 + git tag --list 08:07:26 0.7.0 08:07:26 0.7.1 08:07:26 1.0.0 08:07:26 v1.0.1 08:07:26 v1.0.2 08:07:26 v1.0.3 08:07:26 v1.1.0 08:07:26 v1.1.1 08:07:26 v1.2.0 08:07:26 v1.2.1 08:07:26 v1.2.2 08:07:26 v1.3.0 08:07:26 v1.3.1 08:07:26 v2.0.0 08:07:26 v2.0.1-dev.1 08:07:26 v2.0.1-dev.10 08:07:26 v2.0.1-dev.11 08:07:26 v2.0.1-dev.12 08:07:26 v2.0.1-dev.13 08:07:26 v2.0.1-dev.2 08:07:26 v2.0.1-dev.3 08:07:26 v2.0.1-dev.4 08:07:26 v2.0.1-dev.5 08:07:26 v2.0.1-dev.6 08:07:26 v2.0.1-dev.7 08:07:26 v2.0.1-dev.8 08:07:26 v2.0.1-dev.9 08:07:26 v2.1.0 08:07:26 v2.2.0-dev.1 08:07:26 v2.2.0-dev.2 08:07:26 v2.2.0-dev.3 08:07:26 v2.2.0-dev.4 08:07:26 v2.2.0-dev.5 08:07:26 v2.2.0-dev.6 [Pipeline] sh 08:07:26 + lftools sign git-tag v2.2.0-dev.6 08:07:27 Signing Git tag with Sigul... 08:07:27 Signing v2.2.0-dev.6 [Pipeline] echo 08:07:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:07:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:07:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:07:27 $ docker stop --time=1 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 08:07:29 $ docker rm -f 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:07:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:07:29 . [Pipeline] withDockerContainer 08:07:30 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:07:30 $ 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 08:07:30 $ docker top 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:30 [ssh-agent] Looking for ssh-agent implementation... 08:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:30 $ docker exec 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b ssh-agent 08:07:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpmhalC/agent.15 08:07:30 SSH_AGENT_PID=21 08:07:30 Running ssh-add (command line suppressed) 08:07:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5413489121775160500.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5413489121775160500.key) 08:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:31 + git semver bump pre 08:07:31 # -> Open(): unable to determine branch for HEAD 08:07:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:07:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:07:31 # $SEMVER_REMOTE_NAME = origin 08:07:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:31 # $SEMVER_USER_NAME = edgex-jenkins 08:07:31 # $SEMVER_BRANCH = main 08:07:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 08:07:31 2.2.0-dev.7 [Pipeline] } 08:07:31 $ docker exec --env ******** --env ******** 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b ssh-agent -k 08:07:31 unset SSH_AUTH_SOCK; 08:07:31 unset SSH_AGENT_PID; 08:07:31 echo Agent pid 21 killed; 08:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:31 + git semver [Pipeline] } 08:07:31 $ docker stop --time=1 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b 08:07:33 $ docker rm -f 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b [Pipeline] // withDockerContainer [Pipeline] sh 08:07:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:07:33 . [Pipeline] withDockerContainer 08:07:33 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:07:33 $ 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 08:07:34 $ docker top 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:34 [ssh-agent] Looking for ssh-agent implementation... 08:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:34 $ docker exec 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 ssh-agent 08:07:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdhBMNo/agent.14 08:07:34 SSH_AGENT_PID=21 08:07:34 Running ssh-add (command line suppressed) 08:07:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_57686689639606432.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_57686689639606432.key) 08:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:34 + git semver push 08:07:34 # -> Open(): unable to determine branch for HEAD 08:07:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 08:07:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 08:07:34 # $SEMVER_REMOTE_NAME = origin 08:07:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:07:34 # $SEMVER_USER_NAME = edgex-jenkins 08:07:34 # $SEMVER_BRANCH = main 08:07:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 08:07:36 $ docker exec --env ******** --env ******** 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 ssh-agent -k 08:07:37 unset SSH_AUTH_SOCK; 08:07:37 unset SSH_AGENT_PID; 08:07:37 echo Agent pid 21 killed; 08:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:37 + git semver [Pipeline] } 08:07:37 $ docker stop --time=1 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 08:07:38 $ docker rm -f 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 [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 08:07:39 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 08:07:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:07:39 total 16 08:07:39 drwxr-xr-x 3 root root 4096 Mar 24 08:02 . 08:07:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 08:07 .. 08:07:39 drwxr-xr-x 2 root root 4096 Mar 24 08:02 cost 08:07:39 -rw-r--r-- 1 root root 82 Mar 24 08:02 cost.csv 08:07:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:07:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 08:07:39 total 16 08:07:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 08:02 . 08:07:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 08:07 .. 08:07:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 08:02 cost 08:07:39 -rw-r--r-- 1 jenkins jenkins 82 Mar 24 08:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:40 ---> package-listing.sh 08:07:40 ++ facter osfamily 08:07:40 ++ tr '[:upper:]' '[:lower:]' 08:07:40 + OS_FAMILY=debian 08:07:40 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 08:07:40 + START_PACKAGES=/tmp/packages_start.txt 08:07:40 + END_PACKAGES=/tmp/packages_end.txt 08:07:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:40 + PACKAGES=/tmp/packages_start.txt 08:07:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:07:40 + PACKAGES=/tmp/packages_end.txt 08:07:40 + case "${OS_FAMILY}" in 08:07:40 + dpkg -l 08:07:40 + grep '^ii' 08:07:40 + '[' -f /tmp/packages_start.txt ']' 08:07:40 + '[' -f /tmp/packages_end.txt ']' 08:07:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 08:07:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 08:07:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 08:07:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:07:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:07:41 . [Pipeline] withDockerContainer 08:07:41 prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container 08:07:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:07:41 $ docker top b5efe0d7b9c994881554620786b368070546231b6c7a29b780bbcdecd9cb69c6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:42 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:42 + mkdir -p /var/log/sysstat [Pipeline] sh 08:07:42 + ls /var/log/sa-host 08:07:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:42 provisioning config files... 08:07:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7125001873641042173tmp [Pipeline] { [Pipeline] echo 08:07:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:43 ---> create-netrc.sh [Pipeline] } 08:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:07:43 ---> python-tools-install.sh [Pipeline] echo 08:07:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:43 ---> sudo-logs.sh 08:07:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:07:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:44 ---> job-cost.sh 08:07:44 lf-activate-venv: SKIPPING 08:07:44 DEBUG: total: 0.2199999988079071 08:07:44 INFO: Retrieving Stack Cost... 08:07:44 INFO: Retrieving Pricing Info for: v3-standard-8 08:07:45 INFO: Archiving Costs [Pipeline] echo 08:07:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:45 ---> logs-deploy.sh 08:07:45 lf-activate-venv: SKIPPING 08:07:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/21 08:07:45 INFO: archiving workspace using pattern(s): 08:07:46 Archives upload complete. 08:07:46 INFO: archiving logs to Nexus