Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 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-ssh12244258926778563234.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-ssh17769070115096046144.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-ssh17246228008174362118.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-ssh6197918057838005460.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-ssh7276567744709271093.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7977 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 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (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 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 Commit message: "feat: upload secrets from file (#404)" > git rev-list --no-walk 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:21:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:21:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:21:45 ========================================================= 15:21:45 EdgeX Global Pipelines Version Info 15:21:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:21:45 ------------------- 15:21:45 stable info: 15:21:45 ------------------- 15:21:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:21:45 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:21:45 Message: update stable to v1.0.221 15:21:46 ------------------- 15:21:46 experimental info: 15:21:46 ------------------- 15:21:46 Commited By: **** collab-it+edgex@linuxfoundation.org 15:21:46 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:21:46 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f9fd7b [Pipeline] echo 15:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:46 provisioning config files... 15:21:46 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5782878796414541602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:47 ---> docker-login.sh 15:21:47 nexus3.edgexfoundry.org:10001 15:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:47 Configure a credential helper to remove this warning. See 15:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:47 15:21:47 Login Succeeded 15:21:47 nexus3.edgexfoundry.org:10002 15:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:47 Configure a credential helper to remove this warning. See 15:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:47 15:21:47 Login Succeeded 15:21:47 nexus3.edgexfoundry.org:10003 15:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:47 Configure a credential helper to remove this warning. See 15:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:47 15:21:47 Login Succeeded 15:21:47 nexus3.edgexfoundry.org:10004 15:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:47 Configure a credential helper to remove this warning. See 15:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:47 15:21:47 Login Succeeded 15:21:47 docker.io 15:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:48 Configure a credential helper to remove this warning. See 15:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:48 15:21:48 Login Succeeded 15:21:48 ---> docker-login.sh ends [Pipeline] } 15:21:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:21:48 + git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo 15:21:49 -----------> git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [false] [Pipeline] sh 15:21:49 + git log --format=format:%s -1 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo 15:21:49 ========================================================= 15:21:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:21:49 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:21:49 + git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo 15:21:49 -----------> git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [false] [Pipeline] sh 15:21:50 + git log --format=format:%s -1 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo 15:21:50 ========================================================= 15:21:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:21:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:21:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:50 + grep -v github /etc/ssh/ssh_known_hosts 15:21:50 + [ -e /tmp/ssh_known_hosts ] 15:21:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:21:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:21:50 + sudo tee -a /etc/ssh/ssh_known_hosts 15:21:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:51 15:21:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:21:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:51 latest: Pulling from edgex-devops/git-semver 15:21:51 a0d0a0d46f8b: Pulling fs layer 15:21:51 3e5f54012d9b: Pulling fs layer 15:21:51 4c7163046ea9: Pulling fs layer 15:21:51 0c2d73faf560: Pulling fs layer 15:21:51 0c2d73faf560: Waiting 15:21:51 3e5f54012d9b: Verifying Checksum 15:21:51 3e5f54012d9b: Download complete 15:21:51 a0d0a0d46f8b: Download complete 15:21:51 0c2d73faf560: Verifying Checksum 15:21:51 0c2d73faf560: Download complete 15:21:51 4c7163046ea9: Verifying Checksum 15:21:51 4c7163046ea9: Download complete 15:21:51 a0d0a0d46f8b: Pull complete 15:21:51 3e5f54012d9b: Pull complete 15:21:51 4c7163046ea9: Pull complete 15:21:52 0c2d73faf560: Pull complete 15:21:52 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:21:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:21:52 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:21:52 $ docker top a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:53 [ssh-agent] Looking for ssh-agent implementation... 15:21:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:53 $ docker exec a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent 15:21:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKdNcpI/agent.13 15:21:53 SSH_AGENT_PID=19 15:21:53 Running ssh-add (command line suppressed) 15:21:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9206152710117286386.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9206152710117286386.key) 15:21:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:53 + git tag --points-at HEAD [Pipeline] } 15:21:53 $ docker exec --env ******** --env ******** a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent -k 15:21:53 unset SSH_AUTH_SOCK; 15:21:53 unset SSH_AGENT_PID; 15:21:53 echo Agent pid 19 killed; 15:21:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:21:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:53 [ssh-agent] Looking for ssh-agent implementation... 15:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:54 $ docker exec a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent 15:21:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkNgIEh/agent.53 15:21:54 SSH_AGENT_PID=59 15:21:54 Running ssh-add (command line suppressed) 15:21:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7795722682095876816.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7795722682095876816.key) 15:21:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:54 + git semver init 15:21:54 # -> Open(): unable to determine branch for HEAD 15:21:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:21:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:21:54 # $SEMVER_REMOTE_NAME = origin 15:21:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:21:54 # $SEMVER_USER_NAME = edgex-jenkins 15:21:54 # $SEMVER_BRANCH = main 15:21:54 # $SEMVER_TEMP = /tmp/semver-566024001 15:21:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:21:55 # '/tmp/semver-566024001' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 15:21:55 # -> Force: false 15:21:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:21:55 $ docker exec --env ******** --env ******** a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent -k 15:21:55 unset SSH_AUTH_SOCK; 15:21:55 unset SSH_AGENT_PID; 15:21:55 echo Agent pid 59 killed; 15:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:55 + git semver [Pipeline] } 15:21:55 $ docker stop --time=1 a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a 15:21:57 $ docker rm -f a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a [Pipeline] // withDockerContainer [Pipeline] sh 15:21:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:21:57 Stashed 1 file(s) [Pipeline] echo 15:21:57 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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 15:21:58 provisioning config files... 15:21:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1308702983563490845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:58 ---> docker-login.sh 15:21:58 nexus3.edgexfoundry.org:10001 15:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:58 Configure a credential helper to remove this warning. See 15:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:58 15:21:58 Login Succeeded 15:21:58 nexus3.edgexfoundry.org:10002 15:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:58 Configure a credential helper to remove this warning. See 15:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:58 15:21:58 Login Succeeded 15:21:58 nexus3.edgexfoundry.org:10003 15:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:58 Configure a credential helper to remove this warning. See 15:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:58 15:21:58 Login Succeeded 15:21:58 nexus3.edgexfoundry.org:10004 15:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:58 Configure a credential helper to remove this warning. See 15:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:58 15:21:58 Login Succeeded 15:21:58 docker.io 15:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:59 Configure a credential helper to remove this warning. See 15:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:59 15:21:59 Login Succeeded 15:21:59 ---> docker-login.sh ends [Pipeline] } 15:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:59 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:21:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:59 ========================================================= 15:21:59 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:21:59 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:21:59 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 15:21:59 Sending build context to Docker daemon 4.498MB 15:21:59 Step 1/22 : ARG BASE=alpine:3.15 15:21:59 Step 2/22 : FROM ${BASE} as builder 15:21:59 latest: Pulling from edgex-devops/edgex-gcc-base 15:21:59 59bf1c3509f3: Pulling fs layer 15:21:59 c743a93c8381: Pulling fs layer 15:21:59 a2ad9f71ba65: Pulling fs layer 15:21:59 c743a93c8381: Verifying Checksum 15:21:59 c743a93c8381: Download complete 15:21:59 59bf1c3509f3: Verifying Checksum 15:21:59 59bf1c3509f3: Download complete 15:21:59 59bf1c3509f3: Pull complete 15:21:59 c743a93c8381: Pull complete 15:22:00 a2ad9f71ba65: Verifying Checksum 15:22:00 a2ad9f71ba65: Download complete 15:22:03 a2ad9f71ba65: Pull complete 15:22:03 Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 15:22:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:22:03 ---> c9e13ccc37c5 15:22:03 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 15:22:03 ---> Running in f8c9c6964f0d 15:22:04 Connecting to iotech.jfrog.io (52.49.191.191:443) 15:22:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:22:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:22:05 Removing intermediate container f8c9c6964f0d 15:22:05 ---> 8b95fb90fc57 15:22:05 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:22:05 ---> Running in 4c3907b2e39e 15:22:05 Removing intermediate container 4c3907b2e39e 15:22:05 ---> caefc95cd029 15:22: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 15:22:05 ---> Running in 3c4bda46fe57 15:22:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:22:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:07 (1/31) Installing hiredis (1.0.2-r0) 15:22:07 (2/31) Installing hiredis-dev (1.0.2-r0) 15:22:07 (3/31) Installing libcbor (0.8.0-r0) 15:22:07 (4/31) Installing libcbor-dev (0.8.0-r0) 15:22:07 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:22:07 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:22:08 (7/31) Installing util-linux (2.37.4-r0) 15:22:08 (8/31) Installing libblkid (2.37.4-r0) 15:22:08 (9/31) Installing libeconf (0.4.2-r0) 15:22:09 (10/31) Installing libuuid (2.37.4-r0) 15:22:09 (11/31) Installing libfdisk (2.37.4-r0) 15:22:09 (12/31) Installing libmount (2.37.4-r0) 15:22:09 (13/31) Installing libsmartcols (2.37.4-r0) 15:22:09 (14/31) Installing util-linux-misc (2.37.4-r0) 15:22:09 (15/31) Installing linux-pam (1.5.2-r0) 15:22:09 (16/31) Installing runuser (2.37.4-r0) 15:22:09 (17/31) Installing hexdump (2.37.4-r0) 15:22:09 (18/31) Installing uuidgen (2.37.4-r0) 15:22:10 (19/31) Installing blkid (2.37.4-r0) 15:22:10 (20/31) Installing sfdisk (2.37.4-r0) 15:22:10 (21/31) Installing mcookie (2.37.4-r0) 15:22:10 (22/31) Installing wipefs (2.37.4-r0) 15:22:10 (23/31) Installing cfdisk (2.37.4-r0) 15:22:10 (24/31) Installing flock (2.37.4-r0) 15:22:10 (25/31) Installing lsblk (2.37.4-r0) 15:22:10 (26/31) Installing libcap-ng (0.8.2-r1) 15:22:10 (27/31) Installing setpriv (2.37.4-r0) 15:22:10 (28/31) Installing logger (2.37.4-r0) 15:22:10 (29/31) Installing partx (2.37.4-r0) 15:22:11 (30/31) Installing findmnt (2.37.4-r0) 15:22:11 (31/31) Installing util-linux-dev (2.37.4-r0) 15:22:11 Executing busybox-1.34.1-r3.trigger 15:22:11 OK: 293 MiB in 108 packages 15:22:11 Removing intermediate container 3c4bda46fe57 15:22:11 ---> 65e4a5bb17ab 15:22:11 Step 6/22 : RUN mkdir /tmp/sdk 15:22:11 ---> Running in 96adf538046c 15:22:12 Removing intermediate container 96adf538046c 15:22:12 ---> de3060e82f24 15:22:12 Step 7/22 : COPY VERSION /tmp/sdk 15:22:12 ---> 8c12f29817df 15:22:12 Step 8/22 : COPY src /tmp/sdk/src 15:22:12 ---> 95a8eaef1b52 15:22:12 Step 9/22 : COPY include /tmp/sdk/include 15:22:12 ---> e8765662164d 15:22:12 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:22:13 Still waiting to schedule task 15:22:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:22:13 ---> 6bda93c90e61 15:22:13 Step 11/22 : COPY LICENSE /tmp/sdk 15:22:13 ---> 4fb470ad2e67 15:22:13 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:22:13 ---> 31fcdd65bef8 15:22:13 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:22:13 ---> Running in 9f7405599fbd 15:22:13 + CPPCHECK=false 15:22:13 + DOCGEN=false 15:22:13 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:22:13 + TOMLVER=SDK-0.2 15:22:13 + CUTILVER=1.2.2 15:22:13 + '[' 0 -gt 0 ] 15:22:13 + readlink -f ./scripts/build.sh 15:22:13 + dirname /tmp/sdk/scripts/build.sh 15:22:13 + dirname /tmp/sdk/scripts 15:22:13 + ROOT=/tmp/sdk 15:22:13 + cd /tmp/sdk 15:22:13 + '[' '!' -d deps ] 15:22:13 + mkdir deps 15:22:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:22:13 + tar -C deps -z -x -f - 15:22:13 Connecting to github.com (140.82.114.3:443) 15:22:13 Connecting to codeload.github.com (140.82.112.10:443) 15:22:14 writing to stdout 15:22:14 - 100% |********************************| 16451 0:00:00 ETA 15:22:14 written to stdout 15:22:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:22:14 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:22:14 + tar -C deps -z -x -f - 15:22:14 Connecting to github.com (140.82.114.3:443) 15:22:14 Connecting to codeload.github.com (140.82.112.10:443) 15:22:14 writing to stdout 15:22:14 - 100% |********************************| 189k 0:00:00 ETA 15:22:14 written to stdout 15:22:14 + mkdir -p src/c/iot 15:22:14 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:22:14 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:22:14 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:22:14 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:22:14 + mkdir -p include/iot 15:22:14 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:22:14 + mkdir -p include/iot/os 15:22:14 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:22:14 + mkdir -p /tmp/sdk/build/release 15:22:14 + cd /tmp/sdk/build/release 15:22:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:22:14 -- The C compiler identification is GNU 10.3.1 15:22:14 -- Detecting C compiler ABI info 15:22:14 -- Detecting C compiler ABI info - done 15:22:14 -- Check for working C compiler: /usr/bin/cc - skipped 15:22:14 -- Detecting C compile features 15:22:14 -- Detecting C compile features - done 15:22:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:22:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:22:14 -- Found LIBYAML: /usr/lib/libyaml.so 15:22:14 -- Found LIBUUID: /usr/lib/libuuid.so 15:22:14 -- Found LIBCBOR: /usr/lib/libcbor.so 15:22:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:22:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:22:14 -- C SDK 2.2.0-dev.5 for Linux 15:22:14 -- Performing Test CSDK_HAVE_ATOMIC 15:22:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:22:15 -- Found Curses: /usr/lib/libcurses.so 15:22:15 -- Configuring done 15:22:15 -- Generating done 15:22:15 -- Build files have been written to: /tmp/sdk/build/release 15:22:15 + make all package 15:22:15 + tee release.log 15:22:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:22:15 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:22:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:22:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:22:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:22:15 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:22:16 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:22:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:22:16 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:22:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:22:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:22:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:22:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:22:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:22:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:22:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:22:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:22:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:22:18 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:22:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:22:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:22:18 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:22:18 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:22:18 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:22:18 275 | const iot_component_factory_t * factory; 15:22:18 | ^~~~~~~ 15:22:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:22:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:22:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:22:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:22:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:22:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:22:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:22:19 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:22:19 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:22:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:22:20 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:22:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:22:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:22:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:22:20 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:22:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:22:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:22:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:22:22 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:22:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:22:22 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:22:22 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:22 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:22:22 | ^~~~~~~~~~~~~ 15:22:22 | | 15:22:22 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:22:22 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:22 /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 *)' 15:22:22 2784 | MHD_KeyValueIterator iterator, 15:22:22 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:22:22 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:22:22 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:22 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:22:22 | ^~~~~~~~~~~~ 15:22:22 | | 15:22:22 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:22:22 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:22 /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 **)'} 15:22:22 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:22:22 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:22:22 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:22 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:22:22 | ^~~~~~~~~~~~ 15:22:22 | | 15:22:22 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:22:22 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:22 /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 **)'} 15:22:22 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:22:22 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:22:22 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:22:22 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:22:22 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:22:22 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:22:22 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:22:23 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:22:23 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:22:24 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:22:24 [ 76%] Linking C shared library libcsdk.so 15:22:24 [ 76%] Built target csdk 15:22:24 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:22:24 [ 79%] Linking C executable template 15:22:24 [ 79%] Built target template 15:22:24 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:22:24 [ 82%] Linking C executable device-counter 15:22:24 [ 82%] Built target device-counter 15:22:24 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:22:24 [ 85%] Linking C executable device-random 15:22:24 [ 85%] Built target device-random 15:22:24 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:22:24 [ 88%] Linking C executable device-gyro 15:22:24 [ 88%] Built target device-gyro 15:22:24 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:22:25 [ 91%] Linking C executable device-bitfields 15:22:25 [ 91%] Built target device-bitfields 15:22:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:22:25 [ 94%] Linking C executable template-discovery 15:22:25 [ 94%] Built target template-discovery 15:22:25 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:22:25 [ 97%] Linking C executable device-file 15:22:25 [ 97%] Built target device-file 15:22:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:22:25 [100%] Linking C executable device-terminal 15:22:26 [100%] Built target device-terminal 15:22:26 Run CPack packaging tool... 15:22:26 CPack: Create package using TGZ 15:22:26 CPack: Install projects 15:22:26 CPack: - Run preinstall target for: Csdk 15:22:26 CPack: - Install project: Csdk [] 15:22:26 CPack: Create package 15:22:26 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.5.tar.gz generated. 15:22:26 + '[' false '=' true ] 15:22:26 + '[' false '=' true ] 15:22:26 + mkdir -p /tmp/sdk/build/debug 15:22:26 + cd /tmp/sdk/build/debug 15:22:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:22:26 -- The C compiler identification is GNU 10.3.1 15:22:26 -- Detecting C compiler ABI info 15:22:26 -- Detecting C compiler ABI info - done 15:22:26 -- Check for working C compiler: /usr/bin/cc - skipped 15:22:26 -- Detecting C compile features 15:22:26 -- Detecting C compile features - done 15:22:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:22:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:22:26 -- Found LIBYAML: /usr/lib/libyaml.so 15:22:26 -- Found LIBUUID: /usr/lib/libuuid.so 15:22:26 -- Found LIBCBOR: /usr/lib/libcbor.so 15:22:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:22:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:22:26 -- C SDK 2.2.0-dev.5 for Linux 15:22:26 -- Performing Test CSDK_HAVE_ATOMIC 15:22:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:22:26 -- Found Curses: /usr/lib/libcurses.so 15:22:26 -- Configuring done 15:22:26 -- Generating done 15:22:26 -- Build files have been written to: /tmp/sdk/build/debug 15:22:26 + + maketee 15:22:26 debug.log 15:22:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:22:26 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:22:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:22:27 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:22:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:22:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:22:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:22:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:22:27 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:22:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:22:27 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:22:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:22:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:22:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:22:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:22:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:22:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:22:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:22:28 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:22:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:22:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:22:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:22:28 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:22:28 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:22:28 275 | const iot_component_factory_t * factory; 15:22:28 | ^~~~~~~ 15:22:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:22:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:22:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:22:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:22:28 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:22:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:22:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:22:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:22:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:22:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:22:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:22:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:22:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:22:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:22:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:22:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:22:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:22:29 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:22:29 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:22:29 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:22:29 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:22:29 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:29 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:22:29 | ^~~~~~~~~~~~~ 15:22:29 | | 15:22:29 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:22:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:29 /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 *)' 15:22:29 2784 | MHD_KeyValueIterator iterator, 15:22:29 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:22:29 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:22:29 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:29 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:22:29 | ^~~~~~~~~~~~ 15:22:29 | | 15:22:29 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:22:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:29 /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 **)'} 15:22:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:22:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:22:29 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:22:29 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:22:29 | ^~~~~~~~~~~~ 15:22:29 | | 15:22:29 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:22:29 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:22:29 /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 **)'} 15:22:29 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:22:29 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:22:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:22:30 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:22:30 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:22:30 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:22:30 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:22:30 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:22:30 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:22:30 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:22:30 [ 76%] Linking C shared library libcsdk.so 15:22:30 [ 76%] Built target csdk 15:22:30 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:22:31 [ 79%] Linking C executable template 15:22:31 [ 79%] Built target template 15:22:31 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:22:31 [ 82%] Linking C executable device-counter 15:22:31 [ 82%] Built target device-counter 15:22:31 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:22:31 [ 85%] Linking C executable device-random 15:22:31 [ 85%] Built target device-random 15:22:31 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:22:31 [ 88%] Linking C executable device-gyro 15:22:31 [ 88%] Built target device-gyro 15:22:31 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:22:31 [ 91%] Linking C executable device-bitfields 15:22:31 [ 91%] Built target device-bitfields 15:22:31 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:22:31 [ 94%] Linking C executable template-discovery 15:22:32 [ 94%] Built target template-discovery 15:22:32 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:22:32 [ 97%] Linking C executable device-file 15:22:32 [ 97%] Built target device-file 15:22:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:22:32 [100%] Linking C executable device-terminal 15:22:32 [100%] Built target device-terminal 15:22:32 make: Entering directory '/tmp/sdk/build/release' 15:22:32 make[1]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 76%] Built target csdk 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 79%] Built target template 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 82%] Built target device-counter 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 85%] Built target device-random 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 88%] Built target device-gyro 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 91%] Built target device-bitfields 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 94%] Built target template-discovery 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [ 97%] Built target device-file 15:22:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:22:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:22:32 [100%] Built target device-terminal 15:22:32 make[1]: Leaving directory '/tmp/sdk/build/release' 15:22:32 Install the project... 15:22:32 -- Install configuration: "Release" 15:22:32 -- Installing: /usr/local/lib/libcsdk.so 15:22:32 -- Installing: /usr/local/include 15:22:32 -- Installing: /usr/local/include/edgex 15:22:32 -- Installing: /usr/local/include/edgex/profiles.h 15:22:32 -- Installing: /usr/local/include/edgex/edgex.h 15:22:32 -- Installing: /usr/local/include/edgex/rest-server.h 15:22:32 -- Installing: /usr/local/include/edgex/edgex-base.h 15:22:32 -- Installing: /usr/local/include/edgex/devices.h 15:22:32 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:22:32 -- Installing: /usr/local/include/devsdk 15:22:32 -- Installing: /usr/local/include/devsdk/devsdk.h 15:22:32 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:22:32 -- Installing: /usr/local/include/iot 15:22:32 -- Installing: /usr/local/include/iot/thread.h 15:22:32 -- Installing: /usr/local/include/iot/hash.h 15:22:32 -- Installing: /usr/local/include/iot/typecode.h 15:22:32 -- Installing: /usr/local/include/iot/threadpool.h 15:22:32 -- Installing: /usr/local/include/iot/uuid.h 15:22:32 -- Installing: /usr/local/include/iot/logger.h 15:22:32 -- Installing: /usr/local/include/iot/config.h 15:22:32 -- Installing: /usr/local/include/iot/os.h 15:22:32 -- Installing: /usr/local/include/iot/container.h 15:22:32 -- Installing: /usr/local/include/iot/scheduler.h 15:22:32 -- Installing: /usr/local/include/iot/defs.h 15:22:32 -- Installing: /usr/local/include/iot/iot.h 15:22:32 -- Installing: /usr/local/include/iot/component.h 15:22:32 -- Installing: /usr/local/include/iot/os 15:22:32 -- Installing: /usr/local/include/iot/os/linux.h 15:22:32 -- Installing: /usr/local/include/iot/os/zephyr.h 15:22:32 -- Installing: /usr/local/include/iot/os/macos.h 15:22:32 -- Installing: /usr/local/include/iot/base64.h 15:22:32 -- Installing: /usr/local/include/iot/time.h 15:22:32 -- Installing: /usr/local/include/iot/data.h 15:22:32 -- Installing: /usr/local/include/iot/json.h 15:22:32 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:22:32 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:22:32 make: Leaving directory '/tmp/sdk/build/release' 15:22:33 Removing intermediate container 9f7405599fbd 15:22:33 ---> d040c6af93d2 15:22:33 Step 14/22 : FROM ${BASE} 15:22:33 ---> c9e13ccc37c5 15:22:33 Step 15/22 : LABEL maintainer="IOTech " 15:22:33 ---> Running in 2721b60cd550 15:22:33 Removing intermediate container 2721b60cd550 15:22:33 ---> f42889545a24 15:22:33 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 15:22:33 ---> Running in 97ba056f06ef 15:22:33 Connecting to iotech.jfrog.io (34.246.230.219:443) 15:22:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:22:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:22:34 Removing intermediate container 97ba056f06ef 15:22:34 ---> f44fe50a373d 15:22:34 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:22:34 ---> Running in 246e82d87967 15:22:34 Removing intermediate container 246e82d87967 15:22:34 ---> 1709869d4ab4 15:22:34 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 15:22:34 ---> Running in a19f8b484bc6 15:22:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:22:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:36 (1/6) Installing curl (7.80.0-r0) 15:22:36 (2/6) Installing hiredis (1.0.2-r0) 15:22:36 (3/6) Installing hiredis-dev (1.0.2-r0) 15:22:36 (4/6) Installing libcbor (0.8.0-r0) 15:22:37 (5/6) Installing libuuid (2.37.4-r0) 15:22:37 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:22:37 Executing busybox-1.34.1-r3.trigger 15:22:37 OK: 283 MiB in 83 packages 15:22:38 Removing intermediate container a19f8b484bc6 15:22:38 ---> 3ce74bb8d4f9 15:22:38 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:22:38 ---> c93c8b5958da 15:22:38 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:22:38 ---> e866b90d82b6 15:22:38 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:22:38 ---> 74c5c403893d 15:22:38 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:22:38 ---> 414a1523973b 15:22:38 Successfully built 414a1523973b 15:22:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:39 + docker inspect -f . ci-base-image-x86_64 15:22:39 . [Pipeline] withDockerContainer 15:22:39 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:22:39 $ 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 15:22:39 $ docker top 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:39 + make test 15:22:39 echo "make test" 15:22:39 make test [Pipeline] } 15:22:39 $ docker stop --time=1 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e 15:22:41 $ docker rm -f 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:22:42 + ls -al . 15:22:42 total 208 15:22:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 15:21 . 15:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 .. 15:22:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:21 .git 15:22:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 15:21 .github 15:22:42 -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 15:21 .gitignore 15:22:42 drwx------ 3 jenkins jenkins 4096 Mar 18 15:21 .semver 15:22:42 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 15:21 Attribution.txt 15:22:42 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 15:21 CHANGES 15:22:42 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 15:21 Doxyfile 15:22:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 15:21 GOVERNANCE.md 15:22:42 -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 15:21 Jenkinsfile 15:22:42 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 15:21 LICENSE 15:22:42 -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 15:21 Makefile 15:22:42 -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 15:21 OWNERS.md 15:22:42 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 15:21 README.md 15:22:42 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 15:21 README.v2.md 15:22:42 -rw-rw-r-- 1 jenkins jenkins 11 Mar 18 15:21 VERSION 15:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:21 docs 15:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 include 15:22:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:21 scripts 15:22:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 src [Pipeline] isUnix [Pipeline] sh 15:22:43 + 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=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 --label arch=amd64 --label version=2.2.0-dev.5 . 15:22:43 Sending build context to Docker daemon 4.498MB 15:22:43 Step 1/17 : ARG BASE=alpine:3.15 15:22:43 Step 2/17 : FROM ${BASE} 15:22:43 ---> 414a1523973b 15:22:43 Step 3/17 : LABEL maintainer="IOTech " 15:22:43 ---> Running in eb08bad932f3 15:22:43 Removing intermediate container eb08bad932f3 15:22:43 ---> 444f2c5a4e28 15:22:43 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:22:43 ---> Running in e5f1f04f3f35 15:22:43 Connecting to iotech.jfrog.io (34.246.230.219:443) 15:22:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:22:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:22:44 Removing intermediate container e5f1f04f3f35 15:22:44 ---> 503363901a2b 15:22:44 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:22:44 ---> Running in f30d31d0435e 15:22:44 Removing intermediate container f30d31d0435e 15:22:44 ---> 6687beba2220 15:22:44 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 15:22:44 ---> Running in da785d656eaa 15:22:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:22:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:46 (1/26) Installing libcbor-dev (0.8.0-r0) 15:22:46 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:22:46 (3/26) Installing util-linux (2.37.4-r0) 15:22:46 (4/26) Installing libblkid (2.37.4-r0) 15:22:46 (5/26) Installing libeconf (0.4.2-r0) 15:22:47 (6/26) Installing libfdisk (2.37.4-r0) 15:22:47 (7/26) Installing libmount (2.37.4-r0) 15:22:47 (8/26) Installing libsmartcols (2.37.4-r0) 15:22:47 (9/26) Installing util-linux-misc (2.37.4-r0) 15:22:47 (10/26) Installing linux-pam (1.5.2-r0) 15:22:47 (11/26) Installing runuser (2.37.4-r0) 15:22:47 (12/26) Installing hexdump (2.37.4-r0) 15:22:47 (13/26) Installing uuidgen (2.37.4-r0) 15:22:47 (14/26) Installing blkid (2.37.4-r0) 15:22:47 (15/26) Installing sfdisk (2.37.4-r0) 15:22:48 (16/26) Installing mcookie (2.37.4-r0) 15:22:48 (17/26) Installing wipefs (2.37.4-r0) 15:22:48 (18/26) Installing cfdisk (2.37.4-r0) 15:22:48 (19/26) Installing flock (2.37.4-r0) 15:22:48 (20/26) Installing lsblk (2.37.4-r0) 15:22:48 (21/26) Installing libcap-ng (0.8.2-r1) 15:22:48 (22/26) Installing setpriv (2.37.4-r0) 15:22:48 (23/26) Installing logger (2.37.4-r0) 15:22:48 (24/26) Installing partx (2.37.4-r0) 15:22:48 (25/26) Installing findmnt (2.37.4-r0) 15:22:48 (26/26) Installing util-linux-dev (2.37.4-r0) 15:22:48 Executing busybox-1.34.1-r3.trigger 15:22:48 OK: 294 MiB in 109 packages 15:22:49 Removing intermediate container da785d656eaa 15:22:49 ---> 9ca8b057ed47 15:22:49 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:22:49 ---> defcf13ea5fb 15:22:49 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:22:49 ---> 6d16ba76bf38 15:22:49 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:22:50 ---> 0820c9237311 15:22:50 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:22:50 ---> 9cf6ed7fbb89 15:22:50 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:22:50 ---> 1515c8917be7 15:22:50 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:22:50 ---> 3616f0d0b0d4 15:22:50 Step 13/17 : WORKDIR /edgex-c-sdk 15:22:50 ---> Running in e34f41466f54 15:22:50 Removing intermediate container e34f41466f54 15:22:50 ---> 5c4778507fb5 15:22:50 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:22:50 ---> Running in ad10fd312181 15:22:50 Removing intermediate container ad10fd312181 15:22:50 ---> e3d54994c493 15:22:50 Step 15/17 : LABEL arch=amd64 15:22:50 ---> Running in 1fd094d1201f 15:22:50 Removing intermediate container 1fd094d1201f 15:22:50 ---> e5837cbb065e 15:22:50 Step 16/17 : LABEL git_sha=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 15:22:50 ---> Running in 321bee6808b1 15:22:50 Removing intermediate container 321bee6808b1 15:22:50 ---> 07d4717570fd 15:22:50 Step 17/17 : LABEL version=2.2.0-dev.5 15:22:50 ---> Running in 0e953a73a083 15:22:51 Removing intermediate container 0e953a73a083 15:22:51 ---> efec3724b7c8 15:22:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:22:51 Successfully built efec3724b7c8 15:22:51 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:51 15:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:51 latest: Pulling from edgex-lftools-log-publisher 15:22:51 5eb5b503b376: Pulling fs layer 15:22:51 5c69ac0246d0: Pulling fs layer 15:22:51 ec43610c2a17: Pulling fs layer 15:22:51 3a2ae6a8a46f: Pulling fs layer 15:22:51 33b1e0a273af: Pulling fs layer 15:22:51 5d3b04190fa2: Pulling fs layer 15:22:51 2f39f015ded8: Pulling fs layer 15:22:51 5d3b04190fa2: Waiting 15:22:51 33b1e0a273af: Waiting 15:22:51 3a2ae6a8a46f: Waiting 15:22:51 2f39f015ded8: Waiting 15:22:51 5c69ac0246d0: Verifying Checksum 15:22:51 5c69ac0246d0: Download complete 15:22:51 3a2ae6a8a46f: Verifying Checksum 15:22:51 3a2ae6a8a46f: Download complete 15:22:51 33b1e0a273af: Verifying Checksum 15:22:51 33b1e0a273af: Download complete 15:22:51 5d3b04190fa2: Download complete 15:22:51 ec43610c2a17: Verifying Checksum 15:22:51 ec43610c2a17: Download complete 15:22:52 5eb5b503b376: Verifying Checksum 15:22:52 5eb5b503b376: Download complete 15:22:52 2f39f015ded8: Download complete 15:22:53 5eb5b503b376: Pull complete 15:22:53 5c69ac0246d0: Pull complete 15:22:53 ec43610c2a17: Pull complete 15:22:53 3a2ae6a8a46f: Pull complete 15:22:54 33b1e0a273af: Pull complete 15:22:54 5d3b04190fa2: Pull complete 15:22:58 2f39f015ded8: Pull complete 15:22:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:22:58 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 15:22:59 $ docker top b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:00 ---> job-cost.sh 15:23:00 lf-activate-venv: SKIPPING 15:23:00 INFO: No Stack... 15:23:00 INFO: Retrieving Pricing Info for: v3-standard-8 15:23:00 INFO: Archiving Costs [Pipeline] sh 15:23:01 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 15:23:01 + cut -d, -f6 [Pipeline] lock 15:23:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] 15:23:01 Resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] did not exist. Created. 15:23:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:23:01 + echo total: 0.2199999988079071 [Pipeline] stash 15:23:01 Stashed 1 file(s) [Pipeline] } 15:23:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 15:23:01 $ docker stop --time=1 b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 15:23:02 $ docker rm -f b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:23:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7978 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 15:23:49 Running in /w/workspace/device-sdk-c/20 [Pipeline] { [Pipeline] checkout 15:23:49 Selected Git installation does not exist. Using Default 15:23:49 The recommended git tool is: NONE 15:23:56 using credential edgex-jenkins-ssh 15:23:56 Cloning the remote Git repository 15:23:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:23:56 > git init /w/workspace/device-sdk-c/20 # timeout=10 15:23:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:23:57 > git --version # timeout=10 15:23:57 > git --version # 'git version 2.25.1' 15:23:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:58 Avoid second fetch 15:23:58 Checking out Revision 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (main) 15:23:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:23:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:58 > git config core.sparsecheckout # timeout=10 15:23:58 > git checkout -f 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 15:24:03 Commit message: "feat: upload secrets from file (#404)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:24:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:24:04 Dload Upload Total Spent Left Speed 15:24:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43380 0 --:--:-- --:--:-- --:--:-- 43380 [Pipeline] sh 15:24:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:24:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:24:05 + sudo tee /etc/docker/daemon.new 15:24:05 { 15:24:05 "registry-mirrors": [ 15:24:05 "https://nexus3.edgexfoundry.org:10001" 15:24:05 ], 15:24:05 "bip": "10.250.0.254/24", 15:24:05 "hosts": [ 15:24:05 "tcp://0.0.0.0:5555", 15:24:05 "unix:///var/run/docker.sock" 15:24:05 ], 15:24:05 "mtu": 1458, 15:24:05 "selinux-enabled": true, 15:24:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:24:05 } [Pipeline] sh 15:24:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:24:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:24 provisioning config files... 15:24:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/20@tmp/config4672904499180319833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:25 ---> docker-login.sh 15:24:25 nexus3.edgexfoundry.org:10001 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:25 Configure a credential helper to remove this warning. See 15:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:25 15:24:25 Login Succeeded 15:24:25 nexus3.edgexfoundry.org:10002 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 nexus3.edgexfoundry.org:10003 15:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 nexus3.edgexfoundry.org:10004 15:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:27 Configure a credential helper to remove this warning. See 15:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:27 15:24:27 Login Succeeded 15:24:27 docker.io 15:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:28 Configure a credential helper to remove this warning. See 15:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:28 15:24:28 Login Succeeded 15:24:28 ---> docker-login.sh ends [Pipeline] } 15:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:28 ========================================================= 15:24:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:24:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:24:29 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 15:24:29 Sending build context to Docker daemon 2.738MB 15:24:29 Step 1/22 : ARG BASE=alpine:3.15 15:24:29 Step 2/22 : FROM ${BASE} as builder 15:24:29 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:24:29 9b3977197b4f: Pulling fs layer 15:24:29 2a93055cfd06: Pulling fs layer 15:24:29 ff5fdaca7850: Pulling fs layer 15:24:29 2a93055cfd06: Download complete 15:24:29 9b3977197b4f: Download complete 15:24:30 9b3977197b4f: Pull complete 15:24:30 2a93055cfd06: Pull complete 15:24:32 ff5fdaca7850: Verifying Checksum 15:24:32 ff5fdaca7850: Download complete 15:24:40 ff5fdaca7850: Pull complete 15:24:40 Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da 15:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:24:40 ---> 0af3d9908a83 15:24:40 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 15:24:40 ---> Running in 2b036f0ad42d 15:24:42 Connecting to iotech.jfrog.io (52.49.191.191:443) 15:24:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:24:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:24:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:24:43 Removing intermediate container 2b036f0ad42d 15:24:43 ---> 41cbafa7ce9c 15:24:43 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:24:43 ---> Running in 2f661ecc413b 15:24:45 Removing intermediate container 2f661ecc413b 15:24:45 ---> d0efdb11d2a8 15:24:45 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 15:24:45 ---> Running in 6afc0d601a96 15:24:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:24:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:24:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:24:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:48 (1/31) Installing hiredis (1.0.2-r0) 15:24:48 (2/31) Installing hiredis-dev (1.0.2-r0) 15:24:48 (3/31) Installing libcbor (0.8.0-r0) 15:24:48 (4/31) Installing libcbor-dev (0.8.0-r0) 15:24:48 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 15:24:48 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:24:49 (7/31) Installing util-linux (2.37.4-r0) 15:24:49 (8/31) Installing libblkid (2.37.4-r0) 15:24:49 (9/31) Installing libeconf (0.4.2-r0) 15:24:49 (10/31) Installing libuuid (2.37.4-r0) 15:24:49 (11/31) Installing libfdisk (2.37.4-r0) 15:24:49 (12/31) Installing libmount (2.37.4-r0) 15:24:49 (13/31) Installing libsmartcols (2.37.4-r0) 15:24:50 (14/31) Installing util-linux-misc (2.37.4-r0) 15:24:50 (15/31) Installing linux-pam (1.5.2-r0) 15:24:50 (16/31) Installing runuser (2.37.4-r0) 15:24:50 (17/31) Installing hexdump (2.37.4-r0) 15:24:50 (18/31) Installing uuidgen (2.37.4-r0) 15:24:50 (19/31) Installing blkid (2.37.4-r0) 15:24:50 (20/31) Installing sfdisk (2.37.4-r0) 15:24:50 (21/31) Installing mcookie (2.37.4-r0) 15:24:50 (22/31) Installing wipefs (2.37.4-r0) 15:24:51 (23/31) Installing cfdisk (2.37.4-r0) 15:24:51 (24/31) Installing flock (2.37.4-r0) 15:24:51 (25/31) Installing lsblk (2.37.4-r0) 15:24:51 (26/31) Installing libcap-ng (0.8.2-r1) 15:24:51 (27/31) Installing setpriv (2.37.4-r0) 15:24:51 (28/31) Installing logger (2.37.4-r0) 15:24:51 (29/31) Installing partx (2.37.4-r0) 15:24:51 (30/31) Installing findmnt (2.37.4-r0) 15:24:51 (31/31) Installing util-linux-dev (2.37.4-r0) 15:24:52 Executing busybox-1.34.1-r3.trigger 15:24:52 OK: 289 MiB in 108 packages 15:24:53 Removing intermediate container 6afc0d601a96 15:24:53 ---> 0abd034e1bc5 15:24:53 Step 6/22 : RUN mkdir /tmp/sdk 15:24:53 ---> Running in 9120808c9af1 15:24:55 Removing intermediate container 9120808c9af1 15:24:55 ---> 2048f5c4e6d6 15:24:55 Step 7/22 : COPY VERSION /tmp/sdk 15:24:55 ---> 429f759679df 15:24:55 Step 8/22 : COPY src /tmp/sdk/src 15:24:56 ---> 678417303dd7 15:24:56 Step 9/22 : COPY include /tmp/sdk/include 15:24:57 ---> 49c58cd36c85 15:24:57 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:24:57 ---> 752d5918754f 15:24:57 Step 11/22 : COPY LICENSE /tmp/sdk 15:24:58 ---> 855093a23ffc 15:24:58 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:24:58 ---> 23c6e68f17cf 15:24:58 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:24:58 ---> Running in c2aa4dbe9c8d 15:24:59 + CPPCHECK=false 15:24:59 + DOCGEN=false 15:24:59 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:24:59 + TOMLVER=SDK-0.2 15:24:59 + CUTILVER=1.2.2 15:24:59 + '[' 0 -gt 0 ] 15:24:59 + readlink -f ./scripts/build.sh 15:24:59 + dirname /tmp/sdk/scripts/build.sh 15:24:59 + dirname /tmp/sdk/scripts 15:24:59 + ROOT=/tmp/sdk 15:24:59 + cd /tmp/sdk 15:24:59 + '[' '!' -d deps ] 15:24:59 + mkdir deps 15:24:59 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:24:59 + tar -C deps -z -x -f - 15:24:59 Connecting to github.com (140.82.112.3:443) 15:25:00 Connecting to codeload.github.com (140.82.113.10:443) 15:25:00 writing to stdout 15:25:00 - 100% |********************************| 16451 0:00:00 ETA 15:25:00 written to stdout 15:25:00 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:25:00 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x 15:25:00 -f - 15:25:00 Connecting to github.com (140.82.112.3:443) 15:25:00 Connecting to codeload.github.com (140.82.113.10:443) 15:25:00 writing to stdout 15:25:00 - 100% |********************************| 189k 0:00:00 ETA 15:25:00 written to stdout 15:25:00 + mkdir -p src/c/iot 15:25:00 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 15:25:00 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:25:00 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:25:00 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:25:00 + mkdir -p include/iot 15:25:00 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 15:25:00 + mkdir -p include/iot/os 15:25:00 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 15:25:00 + mkdir -p /tmp/sdk/build/release 15:25:00 + cd /tmp/sdk/build/release 15:25:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:25:01 -- The C compiler identification is GNU 10.3.1 15:25:01 -- Detecting C compiler ABI info 15:25:01 -- Detecting C compiler ABI info - done 15:25:01 -- Check for working C compiler: /usr/bin/cc - skipped 15:25:01 -- Detecting C compile features 15:25:01 -- Detecting C compile features - done 15:25:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:25:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:25:02 -- Found LIBYAML: /usr/lib/libyaml.so 15:25:02 -- Found LIBUUID: /usr/lib/libuuid.so 15:25:02 -- Found LIBCBOR: /usr/lib/libcbor.so 15:25:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:25:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:25:02 -- C SDK 2.2.0-dev.5 for Linux 15:25:02 -- Performing Test CSDK_HAVE_ATOMIC 15:25:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:25:02 -- Found Curses: /usr/lib/libcurses.so 15:25:02 -- Configuring done 15:25:02 -- Generating done 15:25:02 -- Build files have been written to: /tmp/sdk/build/release 15:25:02 + make all package 15:25:02 + tee release.log 15:25:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:25:03 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:25:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:25:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:25:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:25:08 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:25:09 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:25:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:25:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:25:11 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:25:13 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:25:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:25:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:25:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:25:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:25:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:25:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:25:20 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:25:20 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:25:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:25:21 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:25:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:25:22 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:25:22 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:25:22 275 | const iot_component_factory_t * factory; 15:25:22 | ^~~~~~~ 15:25:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:25:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:25:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:25:28 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:25:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:25:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:25:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:25:31 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:25:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:25:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:25:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:25:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:25:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:25:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:25:37 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:25:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:25:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:25:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:25:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:25:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:25:44 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:25:44 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:25:44 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:25:44 | ^~~~~~~~~~~~~ 15:25:44 | | 15:25:44 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:25:44 /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 *)' 15:25:44 2784 | MHD_KeyValueIterator iterator, 15:25:44 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:25:44 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:25:44 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:25:44 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:25:44 | ^~~~~~~~~~~~ 15:25:44 | | 15:25:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:25:44 /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 **)'} 15:25:44 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:25:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:25:44 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:25:44 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:25:44 | ^~~~~~~~~~~~ 15:25:44 | | 15:25:44 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:25:44 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:25:44 /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 **)'} 15:25:44 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:25:44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:25:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:25:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:25:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:25:49 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:25:49 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:25:52 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:25:56 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:25:57 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:25:57 [ 76%] Linking C shared library libcsdk.so 15:25:58 [ 76%] Built target csdk 15:25:58 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:25:59 [ 79%] Linking C executable template 15:25:59 [ 79%] Built target template 15:25:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:25:59 [ 82%] Linking C executable device-counter 15:26:00 [ 82%] Built target device-counter 15:26:00 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:26:00 [ 85%] Linking C executable device-random 15:26:01 [ 85%] Built target device-random 15:26:01 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:26:01 [ 88%] Linking C executable device-gyro 15:26:01 [ 88%] Built target device-gyro 15:26:01 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:26:02 [ 91%] Linking C executable device-bitfields 15:26:02 [ 91%] Built target device-bitfields 15:26:02 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:26:03 [ 94%] Linking C executable template-discovery 15:26:04 [ 94%] Built target template-discovery 15:26:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:26:04 [ 97%] Linking C executable device-file 15:26:04 [ 97%] Built target device-file 15:26:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:26:05 [100%] Linking C executable device-terminal 15:26:06 [100%] Built target device-terminal 15:26:06 Run CPack packaging tool... 15:26:06 CPack: Create package using TGZ 15:26:06 CPack: Install projects 15:26:06 CPack: - Run preinstall target for: Csdk 15:26:07 CPack: - Install project: Csdk [] 15:26:07 CPack: Create package 15:26:07 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.5.tar.gz generated. 15:26:07 + '[' false '=' true ] 15:26:07 + '[' false '=' true ] 15:26:07 + mkdir -p /tmp/sdk/build/debug 15:26:07 + cd /tmp/sdk/build/debug 15:26:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:26:07 -- The C compiler identification is GNU 10.3.1 15:26:07 -- Detecting C compiler ABI info 15:26:07 -- Detecting C compiler ABI info - done 15:26:07 -- Check for working C compiler: /usr/bin/cc - skipped 15:26:07 -- Detecting C compile features 15:26:07 -- Detecting C compile features - done 15:26:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:26:08 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 15:26:08 -- Found LIBYAML: /usr/lib/libyaml.so 15:26:08 -- Found LIBUUID: /usr/lib/libuuid.so 15:26:08 -- Found LIBCBOR: /usr/lib/libcbor.so 15:26:08 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:26:08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:26:08 -- C SDK 2.2.0-dev.5 for Linux 15:26:08 -- Performing Test CSDK_HAVE_ATOMIC 15:26:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:26:08 -- Found Curses: /usr/lib/libcurses.so 15:26:08 -- Configuring done 15:26:08 -- Generating done 15:26:08 -- Build files have been written to: /tmp/sdk/build/debug 15:26:08 + + teemake debug.log 15:26:08 15:26:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:26:09 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:26:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:26:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:26:11 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:26:11 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:26:11 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:26:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:26:12 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:26:12 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:26:13 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:26:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:26:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:26:14 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:26:14 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:26:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:26:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:26:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:26:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:26:16 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:26:16 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:26:17 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:26:17 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:26:17 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:26:17 275 | const iot_component_factory_t * factory; 15:26:17 | ^~~~~~~ 15:26:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:26:18 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:26:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:26:19 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:26:19 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:26:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:26:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:26:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:26:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:26:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:26:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:26:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:26:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:26:21 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:26:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:26:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:26:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:26:24 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:26:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:26:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:26:25 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 15:26:25 /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] 15:26:25 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 15:26:25 | ^~~~~~~~~~~~~ 15:26:25 | | 15:26:25 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 15:26:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:26:25 /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 *)' 15:26:25 2784 | MHD_KeyValueIterator iterator, 15:26:25 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 15:26:25 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 15:26:25 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:26:25 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 15:26:25 | ^~~~~~~~~~~~ 15:26:25 | | 15:26:25 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:26:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:26:25 /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 **)'} 15:26:25 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:26:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:26:25 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 15:26:25 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 15:26:25 | ^~~~~~~~~~~~ 15:26:25 | | 15:26:25 | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} 15:26:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 15:26:25 /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 **)'} 15:26:25 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 15:26:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 15:26:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:26:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:26:27 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:26:27 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:26:27 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:26:28 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:26:29 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:26:29 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:26:30 [ 76%] Linking C shared library libcsdk.so 15:26:30 [ 76%] Built target csdk 15:26:30 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:26:30 [ 79%] Linking C executable template 15:26:31 [ 79%] Built target template 15:26:31 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:26:31 [ 82%] Linking C executable device-counter 15:26:31 [ 82%] Built target device-counter 15:26:31 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:26:32 [ 85%] Linking C executable device-random 15:26:32 [ 85%] Built target device-random 15:26:32 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:26:32 [ 88%] Linking C executable device-gyro 15:26:33 [ 88%] Built target device-gyro 15:26:33 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:26:33 [ 91%] Linking C executable device-bitfields 15:26:33 [ 91%] Built target device-bitfields 15:26:33 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:26:34 [ 94%] Linking C executable template-discovery 15:26:34 [ 94%] Built target template-discovery 15:26:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:26:34 [ 97%] Linking C executable device-file 15:26:34 [ 97%] Built target device-file 15:26:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:26:35 [100%] Linking C executable device-terminal 15:26:35 [100%] Built target device-terminal 15:26:35 make: Entering directory '/tmp/sdk/build/release' 15:26:35 make[1]: Entering directory '/tmp/sdk/build/release' 15:26:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:35 [ 76%] Built target csdk 15:26:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:35 [ 79%] Built target template 15:26:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:35 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:35 [ 82%] Built target device-counter 15:26:35 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [ 85%] Built target device-random 15:26:36 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [ 88%] Built target device-gyro 15:26:36 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [ 91%] Built target device-bitfields 15:26:36 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [ 94%] Built target template-discovery 15:26:36 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [ 97%] Built target device-file 15:26:36 make[2]: Entering directory '/tmp/sdk/build/release' 15:26:36 make[2]: Leaving directory '/tmp/sdk/build/release' 15:26:36 [100%] Built target device-terminal 15:26:36 make[1]: Leaving directory '/tmp/sdk/build/release' 15:26:36 Install the project... 15:26:36 -- Install configuration: "Release" 15:26:36 -- Installing: /usr/local/lib/libcsdk.so 15:26:36 -- Installing: /usr/local/include 15:26:36 -- Installing: /usr/local/include/devsdk 15:26:36 -- Installing: /usr/local/include/devsdk/devsdk.h 15:26:36 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:26:36 -- Installing: /usr/local/include/edgex 15:26:36 -- Installing: /usr/local/include/edgex/rest-server.h 15:26:36 -- Installing: /usr/local/include/edgex/edgex.h 15:26:36 -- Installing: /usr/local/include/edgex/edgex-base.h 15:26:36 -- Installing: /usr/local/include/edgex/devices.h 15:26:36 -- Installing: /usr/local/include/edgex/profiles.h 15:26:36 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:26:36 -- Installing: /usr/local/include/iot 15:26:36 -- Installing: /usr/local/include/iot/threadpool.h 15:26:36 -- Installing: /usr/local/include/iot/defs.h 15:26:36 -- Installing: /usr/local/include/iot/time.h 15:26:36 -- Installing: /usr/local/include/iot/base64.h 15:26:36 -- Installing: /usr/local/include/iot/component.h 15:26:36 -- Installing: /usr/local/include/iot/scheduler.h 15:26:36 -- Installing: /usr/local/include/iot/config.h 15:26:36 -- Installing: /usr/local/include/iot/container.h 15:26:36 -- Installing: /usr/local/include/iot/uuid.h 15:26:36 -- Installing: /usr/local/include/iot/os.h 15:26:36 -- Installing: /usr/local/include/iot/thread.h 15:26:36 -- Installing: /usr/local/include/iot/data.h 15:26:36 -- Installing: /usr/local/include/iot/typecode.h 15:26:36 -- Installing: /usr/local/include/iot/hash.h 15:26:36 -- Installing: /usr/local/include/iot/logger.h 15:26:36 -- Installing: /usr/local/include/iot/os 15:26:36 -- Installing: /usr/local/include/iot/os/zephyr.h 15:26:36 -- Installing: /usr/local/include/iot/os/macos.h 15:26:36 -- Installing: /usr/local/include/iot/os/linux.h 15:26:36 -- Installing: /usr/local/include/iot/json.h 15:26:36 -- Installing: /usr/local/include/iot/iot.h 15:26:36 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:26:36 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:26:36 make: Leaving directory '/tmp/sdk/build/release' 15:26:38 Removing intermediate container c2aa4dbe9c8d 15:26:38 ---> ff2156d63618 15:26:38 Step 14/22 : FROM ${BASE} 15:26:38 ---> 0af3d9908a83 15:26:38 Step 15/22 : LABEL maintainer="IOTech " 15:26:38 ---> Running in 41c450419d44 15:26:38 Removing intermediate container 41c450419d44 15:26:38 ---> f8aeaed1c3b0 15:26:38 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 15:26:38 ---> Running in 9a846b7a2552 15:26:39 Connecting to iotech.jfrog.io (34.246.230.219:443) 15:26:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:26:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:26:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:26:40 Removing intermediate container 9a846b7a2552 15:26:40 ---> 8b74d9e700aa 15:26:40 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:26:40 ---> Running in 86f0c8da3afa 15:26:42 Removing intermediate container 86f0c8da3afa 15:26:42 ---> b771ee5f2e02 15:26:42 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 15:26:42 ---> Running in 61e5c6230fa4 15:26:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:26:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:26:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:26:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:26:45 (1/6) Installing curl (7.80.0-r0) 15:26:45 (2/6) Installing hiredis (1.0.2-r0) 15:26:45 (3/6) Installing hiredis-dev (1.0.2-r0) 15:26:45 (4/6) Installing libcbor (0.8.0-r0) 15:26:45 (5/6) Installing libuuid (2.37.4-r0) 15:26:46 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:26:46 Executing busybox-1.34.1-r3.trigger 15:26:46 OK: 278 MiB in 83 packages 15:26:47 Removing intermediate container 61e5c6230fa4 15:26:47 ---> 4f25805846b9 15:26:47 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:26:48 ---> 7f5035f52c92 15:26:48 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:26:48 ---> 6f87277a08a5 15:26:48 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:26:49 ---> 02aee8676659 15:26:49 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:26:50 ---> 574e35da00fd 15:26:50 Successfully built 574e35da00fd 15:26:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:26:50 + docker inspect -f . ci-base-image-arm64 15:26:50 . [Pipeline] withDockerContainer 15:26:50 prd-ubuntu20.04-docker-arm64-4c-16g-7978 does not seem to be running inside a container 15:26:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:26:52 $ docker top 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:52 + make test 15:26:52 echo "make test" 15:26:52 make test [Pipeline] } 15:26:53 $ docker stop --time=1 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d 15:26:54 $ docker rm -f 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:55 + ls -al . 15:26:55 total 204 15:26:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:23 . 15:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 .. 15:26:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:24 .git 15:26:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 15:23 .github 15:26:55 -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 15:23 .gitignore 15:26:55 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 15:23 Attribution.txt 15:26:55 -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 15:23 CHANGES 15:26:55 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 15:23 Doxyfile 15:26:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 15:23 GOVERNANCE.md 15:26:55 -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 15:23 Jenkinsfile 15:26:55 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 15:23 LICENSE 15:26:55 -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 15:23 Makefile 15:26:55 -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 15:23 OWNERS.md 15:26:55 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 15:23 README.md 15:26:55 -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 15:23 README.v2.md 15:26:55 -rw-rw-r-- 1 jenkins jenkins 11 Mar 18 15:21 VERSION 15:26:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:23 docs 15:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 include 15:26:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:23 scripts 15:26:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 src [Pipeline] isUnix [Pipeline] sh 15:26:55 + 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=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 --label arch=arm64 --label version=2.2.0-dev.5 . 15:26:56 Sending build context to Docker daemon 2.738MB 15:26:56 Step 1/17 : ARG BASE=alpine:3.15 15:26:56 Step 2/17 : FROM ${BASE} 15:26:56 ---> 574e35da00fd 15:26:56 Step 3/17 : LABEL maintainer="IOTech " 15:26:56 ---> Running in 63c7f014306e 15:26:56 Removing intermediate container 63c7f014306e 15:26:56 ---> c71f3c250c2d 15:26:56 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:26:56 ---> Running in 093e9c464db2 15:26:57 Connecting to iotech.jfrog.io (52.30.156.103:443) 15:26:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:26:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:26:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:26:59 Removing intermediate container 093e9c464db2 15:26:59 ---> 5adea1fe4da2 15:26:59 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 15:26:59 ---> Running in 35cc8c7a82ac 15:27:01 Removing intermediate container 35cc8c7a82ac 15:27:01 ---> dcb3724e5770 15:27:01 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 15:27:01 ---> Running in 38d32fd038ea 15:27:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:27:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:27:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 15:27:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:27:03 (1/26) Installing libcbor-dev (0.8.0-r0) 15:27:04 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 15:27:04 (3/26) Installing util-linux (2.37.4-r0) 15:27:04 (4/26) Installing libblkid (2.37.4-r0) 15:27:04 (5/26) Installing libeconf (0.4.2-r0) 15:27:04 (6/26) Installing libfdisk (2.37.4-r0) 15:27:04 (7/26) Installing libmount (2.37.4-r0) 15:27:04 (8/26) Installing libsmartcols (2.37.4-r0) 15:27:04 (9/26) Installing util-linux-misc (2.37.4-r0) 15:27:04 (10/26) Installing linux-pam (1.5.2-r0) 15:27:05 (11/26) Installing runuser (2.37.4-r0) 15:27:05 (12/26) Installing hexdump (2.37.4-r0) 15:27:05 (13/26) Installing uuidgen (2.37.4-r0) 15:27:05 (14/26) Installing blkid (2.37.4-r0) 15:27:05 (15/26) Installing sfdisk (2.37.4-r0) 15:27:05 (16/26) Installing mcookie (2.37.4-r0) 15:27:05 (17/26) Installing wipefs (2.37.4-r0) 15:27:05 (18/26) Installing cfdisk (2.37.4-r0) 15:27:05 (19/26) Installing flock (2.37.4-r0) 15:27:05 (20/26) Installing lsblk (2.37.4-r0) 15:27:05 (21/26) Installing libcap-ng (0.8.2-r1) 15:27:06 (22/26) Installing setpriv (2.37.4-r0) 15:27:06 (23/26) Installing logger (2.37.4-r0) 15:27:06 (24/26) Installing partx (2.37.4-r0) 15:27:06 (25/26) Installing findmnt (2.37.4-r0) 15:27:06 (26/26) Installing util-linux-dev (2.37.4-r0) 15:27:06 Executing busybox-1.34.1-r3.trigger 15:27:06 OK: 290 MiB in 109 packages 15:27:08 Removing intermediate container 38d32fd038ea 15:27:08 ---> b5eb6b0fe7ca 15:27:08 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:27:08 ---> 94dc47c22303 15:27:08 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:27:09 ---> 8636408fd58e 15:27:09 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:27:10 ---> 42d22cca69ab 15:27:10 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:27:10 ---> 77ec29c327ce 15:27:10 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:27:10 ---> 38b7ffffe55b 15:27:10 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:27:11 ---> bdda6da459ef 15:27:11 Step 13/17 : WORKDIR /edgex-c-sdk 15:27:11 ---> Running in 7717c40b5f9d 15:27:11 Removing intermediate container 7717c40b5f9d 15:27:11 ---> 1d1bd84eb9dc 15:27:11 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:27:11 ---> Running in ccdcd249e9d3 15:27:12 Removing intermediate container ccdcd249e9d3 15:27:12 ---> 26674b4d1872 15:27:12 Step 15/17 : LABEL arch=arm64 15:27:12 ---> Running in 4635115db262 15:27:12 Removing intermediate container 4635115db262 15:27:12 ---> 0f468cf4832e 15:27:12 Step 16/17 : LABEL git_sha=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 15:27:12 ---> Running in 7635678c8d6f 15:27:12 Removing intermediate container 7635678c8d6f 15:27:12 ---> 89f162dc931e 15:27:12 Step 17/17 : LABEL version=2.2.0-dev.5 15:27:12 ---> Running in d0dd562eb130 15:27:13 Removing intermediate container d0dd562eb130 15:27:13 ---> c70c3b60f4c8 15:27:13 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:27:13 Successfully built c70c3b60f4c8 15:27:13 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:27:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:27:13 15:27:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:27:14 arm64: Pulling from edgex-lftools-log-publisher 15:27:14 8998bd30e6a1: Pulling fs layer 15:27:14 04944245beec: Pulling fs layer 15:27:14 699f458cf7ca: Pulling fs layer 15:27:14 765212b225bb: Pulling fs layer 15:27:14 f23df028b6ca: Pulling fs layer 15:27:14 d65c8cfc05b1: Pulling fs layer 15:27:14 2437ff75d9bd: Pulling fs layer 15:27:14 765212b225bb: Waiting 15:27:14 f23df028b6ca: Waiting 15:27:14 d65c8cfc05b1: Waiting 15:27:14 2437ff75d9bd: Waiting 15:27:14 04944245beec: Download complete 15:27:14 765212b225bb: Verifying Checksum 15:27:14 765212b225bb: Download complete 15:27:14 f23df028b6ca: Verifying Checksum 15:27:14 f23df028b6ca: Download complete 15:27:14 d65c8cfc05b1: Verifying Checksum 15:27:14 d65c8cfc05b1: Download complete 15:27:14 699f458cf7ca: Verifying Checksum 15:27:14 8998bd30e6a1: Verifying Checksum 15:27:14 8998bd30e6a1: Download complete 15:27:17 2437ff75d9bd: Verifying Checksum 15:27:17 2437ff75d9bd: Download complete 15:27:19 8998bd30e6a1: Pull complete 15:27:19 04944245beec: Pull complete 15:27:21 699f458cf7ca: Pull complete 15:27:21 765212b225bb: Pull complete 15:27:22 f23df028b6ca: Pull complete 15:27:22 d65c8cfc05b1: Pull complete 15:27:37 2437ff75d9bd: Pull complete 15:27:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:27:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:27:37 prd-ubuntu20.04-docker-arm64-4c-16g-7978 does not seem to be running inside a container 15:27:37 $ 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/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:27:40 $ docker top 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:41 ---> job-cost.sh 15:27:41 lf-activate-venv: SKIPPING 15:27:41 INFO: No Stack... 15:27:41 INFO: Retrieving Pricing Info for: v3-standard-4 15:27:42 INFO: Archiving Costs [Pipeline] sh 15:27:43 + cat /w/workspace/device-sdk-c/20/archives/cost.csv 15:27:43 + cut -d, -f6 [Pipeline] lock 15:27:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] 15:27:43 Resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] did not exist. Created. 15:27:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:44 /w/workspace/device-sdk-c/20@tmp/durable-ebd8c088/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:27:44 + echo total: 0.10999999940395355 [Pipeline] stash 15:27:44 Warning: overwriting stash ‘stack-cost’ 15:27:45 Stashed 1 file(s) [Pipeline] } 15:27:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 15:27:45 $ docker stop --time=1 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 15:27:47 $ docker rm -f 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 15:27:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:27:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:27:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:27:48 . [Pipeline] withDockerContainer 15:27:48 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:27:48 $ docker top 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:48 [ssh-agent] Looking for ssh-agent implementation... 15:27:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:48 $ docker exec 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 ssh-agent 15:27:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcggDfH/agent.13 15:27:48 SSH_AGENT_PID=20 15:27:48 Running ssh-add (command line suppressed) 15:27:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6916716853378227748.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6916716853378227748.key) 15:27:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:49 + git semver tag 15:27:49 # -> Open(): unable to determine branch for HEAD 15:27:49 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:27:49 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:27:49 # $SEMVER_REMOTE_NAME = origin 15:27:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:27:49 # $SEMVER_USER_NAME = edgex-jenkins 15:27:49 # $SEMVER_BRANCH = main 15:27:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:27:49 # 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 HEAD 15:27:49 # -> Force: false 15:27:49 # 2263604d63d29fda1df75f60c7d21b7f79c8cdbb refs/tags/v2.2.0-dev.5 [Pipeline] } 15:27:49 $ docker exec --env ******** --env ******** 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 ssh-agent -k 15:27:49 unset SSH_AUTH_SOCK; 15:27:49 unset SSH_AGENT_PID; 15:27:49 echo Agent pid 20 killed; 15:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:49 + git semver [Pipeline] } 15:27:49 $ docker stop --time=1 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 15:27:51 $ docker rm -f 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:27:51 15:27:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:27:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:27:51 0.23.1-centos7: Pulling from edgex-lftools 15:27:51 ab5ef0e58194: Pulling fs layer 15:27:51 9712f1f96733: Pulling fs layer 15:27:51 63f879dbbcfc: Pulling fs layer 15:27:51 0d9ebad4ef96: Pulling fs layer 15:27:51 e9a5061849ea: Pulling fs layer 15:27:51 d747dcd14b5f: Pulling fs layer 15:27:51 2de7ff778b66: Pulling fs layer 15:27:51 0d9ebad4ef96: Waiting 15:27:51 d747dcd14b5f: Waiting 15:27:51 2de7ff778b66: Waiting 15:27:51 e9a5061849ea: Waiting 15:27:51 9712f1f96733: Verifying Checksum 15:27:51 9712f1f96733: Download complete 15:27:51 63f879dbbcfc: Verifying Checksum 15:27:51 63f879dbbcfc: Download complete 15:27:52 0d9ebad4ef96: Verifying Checksum 15:27:52 0d9ebad4ef96: Download complete 15:27:52 d747dcd14b5f: Download complete 15:27:52 e9a5061849ea: Verifying Checksum 15:27:52 e9a5061849ea: Download complete 15:27:52 ab5ef0e58194: Verifying Checksum 15:27:52 ab5ef0e58194: Download complete 15:27:52 2de7ff778b66: Verifying Checksum 15:27:52 2de7ff778b66: Download complete 15:27:54 ab5ef0e58194: Pull complete 15:27:54 9712f1f96733: Pull complete 15:27:55 63f879dbbcfc: Pull complete 15:27:59 0d9ebad4ef96: Pull complete 15:27:59 e9a5061849ea: Pull complete 15:28:00 d747dcd14b5f: Pull complete 15:28:01 2de7ff778b66: Pull complete 15:28:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:28:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:28:01 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:28:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:28:03 $ docker top 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:28:03 provisioning config files... 15:28:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7232273213228615788tmp 15:28:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6387691453651304892tmp 15:28:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2794764449024507619tmp [Pipeline] { [Pipeline] echo 15:28:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:28:03 ---> sigul-configuration.sh 15:28:03 gpg: directory `/root/.gnupg' created 15:28:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:28:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:28:03 gpg: keyring `/root/.gnupg/secring.gpg' created 15:28:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:28:03 gpg: CAST5 encrypted data 15:28:03 gpg: encrypted with 1 passphrase 15:28:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:28:03 + mkdir /home/jenkins 15:28:03 + mkdir /home/jenkins/sigul [Pipeline] sh 15:28:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:28:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:28:04 ---> sigul-install.sh 15:28:04 Sigul already installed; skipping installation. [Pipeline] sh 15:28:04 + git tag --list 15:28:04 0.7.0 15:28:04 0.7.1 15:28:04 1.0.0 15:28:04 v1.0.1 15:28:04 v1.0.2 15:28:04 v1.0.3 15:28:04 v1.1.0 15:28:04 v1.1.1 15:28:04 v1.2.0 15:28:04 v1.2.1 15:28:04 v1.2.2 15:28:04 v1.3.0 15:28:04 v1.3.1 15:28:04 v2.0.0 15:28:04 v2.0.1-dev.1 15:28:04 v2.0.1-dev.10 15:28:04 v2.0.1-dev.11 15:28:04 v2.0.1-dev.12 15:28:04 v2.0.1-dev.13 15:28:04 v2.0.1-dev.2 15:28:04 v2.0.1-dev.3 15:28:04 v2.0.1-dev.4 15:28:04 v2.0.1-dev.5 15:28:04 v2.0.1-dev.6 15:28:04 v2.0.1-dev.7 15:28:04 v2.0.1-dev.8 15:28:04 v2.0.1-dev.9 15:28:04 v2.1.0 15:28:04 v2.2.0-dev.1 15:28:04 v2.2.0-dev.2 15:28:04 v2.2.0-dev.3 15:28:04 v2.2.0-dev.4 15:28:04 v2.2.0-dev.5 [Pipeline] sh 15:28:05 + lftools sign git-tag v2.2.0-dev.5 15:28:05 Signing Git tag with Sigul... 15:28:05 Signing v2.2.0-dev.5 [Pipeline] echo 15:28:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:28:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:28:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:28:06 $ docker stop --time=1 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 15:28:07 $ docker rm -f 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:28:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:28:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:28:08 . [Pipeline] withDockerContainer 15:28:08 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:28:08 $ docker top 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:28:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:08 [ssh-agent] Looking for ssh-agent implementation... 15:28:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:08 $ docker exec 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 ssh-agent 15:28:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhGEPcb/agent.14 15:28:09 SSH_AGENT_PID=20 15:28:09 Running ssh-add (command line suppressed) 15:28:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8996474717216250990.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8996474717216250990.key) 15:28:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:09 + git semver bump pre 15:28:09 # -> Open(): unable to determine branch for HEAD 15:28:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:28:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:28:09 # $SEMVER_REMOTE_NAME = origin 15:28:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:28:09 # $SEMVER_USER_NAME = edgex-jenkins 15:28:09 # $SEMVER_BRANCH = main 15:28:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:28:09 2.2.0-dev.6 [Pipeline] } 15:28:09 $ docker exec --env ******** --env ******** 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 ssh-agent -k 15:28:09 unset SSH_AUTH_SOCK; 15:28:09 unset SSH_AGENT_PID; 15:28:09 echo Agent pid 20 killed; 15:28:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:28:09 + git semver [Pipeline] } 15:28:09 $ docker stop --time=1 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 15:28:11 $ docker rm -f 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 [Pipeline] // withDockerContainer [Pipeline] sh 15:28:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:28:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:28:11 . [Pipeline] withDockerContainer 15:28:11 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:28:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:28:12 $ docker top 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:12 [ssh-agent] Looking for ssh-agent implementation... 15:28:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:12 $ docker exec 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 ssh-agent 15:28:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbLgChl/agent.14 15:28:12 SSH_AGENT_PID=20 15:28:12 Running ssh-add (command line suppressed) 15:28:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4853941804140226744.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4853941804140226744.key) 15:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:13 + git semver push 15:28:13 # -> Open(): unable to determine branch for HEAD 15:28:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 15:28:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 15:28:13 # $SEMVER_REMOTE_NAME = origin 15:28:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:28:13 # $SEMVER_USER_NAME = edgex-jenkins 15:28:13 # $SEMVER_BRANCH = main 15:28:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 15:28:15 $ docker exec --env ******** --env ******** 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 ssh-agent -k 15:28:15 unset SSH_AUTH_SOCK; 15:28:15 unset SSH_AGENT_PID; 15:28:15 echo Agent pid 20 killed; 15:28:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:28:15 + git semver [Pipeline] } 15:28:15 $ docker stop --time=1 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 15:28:16 $ docker rm -f 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:28:17 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 15:28:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:28:17 total 16 15:28:17 drwxr-xr-x 3 root root 4096 Mar 18 15:23 . 15:28:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 15:28 .. 15:28:17 drwxr-xr-x 2 root root 4096 Mar 18 15:23 cost 15:28:17 -rw-r--r-- 1 root root 82 Mar 18 15:23 cost.csv 15:28:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:28:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:28:17 total 16 15:28:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 15:23 . 15:28:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 15:28 .. 15:28:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 15:23 cost 15:28:17 -rw-r--r-- 1 jenkins jenkins 82 Mar 18 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:28:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:28:18 ---> package-listing.sh 15:28:18 ++ facter osfamily 15:28:18 ++ tr '[:upper:]' '[:lower:]' 15:28:18 + OS_FAMILY=debian 15:28:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 15:28:18 + START_PACKAGES=/tmp/packages_start.txt 15:28:18 + END_PACKAGES=/tmp/packages_end.txt 15:28:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:28:18 + PACKAGES=/tmp/packages_start.txt 15:28:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:28:18 + PACKAGES=/tmp/packages_end.txt 15:28:18 + case "${OS_FAMILY}" in 15:28:18 + dpkg -l 15:28:18 + grep '^ii' 15:28:18 + '[' -f /tmp/packages_start.txt ']' 15:28:18 + '[' -f /tmp/packages_end.txt ']' 15:28:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:28:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:28:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 15:28:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 15:28:18 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 15:28:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:28:19 . [Pipeline] withDockerContainer 15:28:19 prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container 15:28:19 $ 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 15:28:19 $ docker top 2a3dae75ae5bd41bfdfc608b1ba7e52afa6c73601312ef8ba72601a02f7a180a -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:20 + touch /tmp/pre-build-complete [Pipeline] sh 15:28:20 + mkdir -p /var/log/sysstat [Pipeline] sh 15:28:20 + ls /var/log/sa-host 15:28:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:21 provisioning config files... 15:28:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5996789552988604047tmp [Pipeline] { [Pipeline] echo 15:28:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:28:21 ---> create-netrc.sh [Pipeline] } 15:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:28:21 ---> python-tools-install.sh [Pipeline] echo 15:28:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:28:22 ---> sudo-logs.sh 15:28:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:28:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:28:22 ---> job-cost.sh 15:28:22 lf-activate-venv: SKIPPING 15:28:22 DEBUG: total: 0.2199999988079071 15:28:22 INFO: Retrieving Stack Cost... 15:28:22 INFO: Retrieving Pricing Info for: v3-standard-8 15:28:23 INFO: Archiving Costs [Pipeline] echo 15:28:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:28:23 ---> logs-deploy.sh 15:28:23 lf-activate-venv: SKIPPING 15:28:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/20 15:28:23 INFO: archiving workspace using pattern(s): 15:28:24 Archives upload complete. 15:28:24 INFO: archiving logs to Nexus