Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c093d915178364b5ad4a5f89c558c84b05f4943 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2861189924930359327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8982587739076779917.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3036491064920934389.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-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-ssh4394192767016116866.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8738420863878473732.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27924 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_main@tmp/jenkins-gitclient-ssh5118470115768573660.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9c093d915178364b5ad4a5f89c558c84b05f4943 (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 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 Commit message: "docs: bump VERSION (#386)" > git rev-list --no-walk f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:14:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:35 ========================================================= 09:14:35 EdgeX Global Pipelines Version Info 09:14:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:36 ------------------- 09:14:36 stable info: 09:14:36 ------------------- 09:14:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:14:36 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 09:14:36 Message: update stable to v1.0.211 09:14:36 ------------------- 09:14:36 experimental info: 09:14:36 ------------------- 09:14:36 Commited By: **** collab-it+edgex@linuxfoundation.org 09:14:36 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 09:14:36 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c093d915178364b5ad4a5f89c558c84b05f4943 [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c093d9 [Pipeline] echo 09:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:37 provisioning config files... 09:14:37 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6560167429000331721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:37 ---> docker-login.sh 09:14:37 nexus3.edgexfoundry.org:10001 09:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:37 Configure a credential helper to remove this warning. See 09:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:37 09:14:37 Login Succeeded 09:14:37 nexus3.edgexfoundry.org:10002 09:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 nexus3.edgexfoundry.org:10003 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 nexus3.edgexfoundry.org:10004 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 docker.io 09:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:38 Configure a credential helper to remove this warning. See 09:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:38 09:14:38 Login Succeeded 09:14:38 ---> docker-login.sh ends [Pipeline] } 09:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 09:14:39 + git rev-list -1 --merges 9c093d915178364b5ad4a5f89c558c84b05f4943~1..9c093d915178364b5ad4a5f89c558c84b05f4943 [Pipeline] echo 09:14:39 -----------> git rev-list -1 --merges 9c093d915178364b5ad4a5f89c558c84b05f4943~1..9c093d915178364b5ad4a5f89c558c84b05f4943 9c093d915178364b5ad4a5f89c558c84b05f4943 [false] [Pipeline] sh 09:14:39 + git log --format=format:%s -1 9c093d915178364b5ad4a5f89c558c84b05f4943 [Pipeline] echo 09:14:39 ========================================================= 09:14:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:39 ========================================================= 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 09:14:39 + git rev-list -1 --merges 9c093d915178364b5ad4a5f89c558c84b05f4943~1..9c093d915178364b5ad4a5f89c558c84b05f4943 [Pipeline] echo 09:14:39 -----------> git rev-list -1 --merges 9c093d915178364b5ad4a5f89c558c84b05f4943~1..9c093d915178364b5ad4a5f89c558c84b05f4943 9c093d915178364b5ad4a5f89c558c84b05f4943 [false] [Pipeline] sh 09:14:40 + git log --format=format:%s -1 9c093d915178364b5ad4a5f89c558c84b05f4943 [Pipeline] echo 09:14:40 ========================================================= 09:14:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:40 09:14:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:14:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:41 latest: Pulling from edgex-devops/git-semver 09:14:41 a0d0a0d46f8b: Pulling fs layer 09:14:41 3e5f54012d9b: Pulling fs layer 09:14:41 4c7163046ea9: Pulling fs layer 09:14:41 0c2d73faf560: Pulling fs layer 09:14:41 0c2d73faf560: Waiting 09:14:41 3e5f54012d9b: Verifying Checksum 09:14:41 3e5f54012d9b: Download complete 09:14:41 a0d0a0d46f8b: Verifying Checksum 09:14:41 a0d0a0d46f8b: Download complete 09:14:41 0c2d73faf560: Verifying Checksum 09:14:41 0c2d73faf560: Download complete 09:14:41 4c7163046ea9: Verifying Checksum 09:14:41 4c7163046ea9: Download complete 09:14:41 a0d0a0d46f8b: Pull complete 09:14:41 3e5f54012d9b: Pull complete 09:14:41 4c7163046ea9: Pull complete 09:14:41 0c2d73faf560: Pull complete 09:14:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:14:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:14:41 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:14:42 $ docker top db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:42 [ssh-agent] Looking for ssh-agent implementation... 09:14:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:42 $ docker exec db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 ssh-agent 09:14:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaPBNnh/agent.13 09:14:42 SSH_AGENT_PID=19 09:14:42 Running ssh-add (command line suppressed) 09:14:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2704362761779714204.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2704362761779714204.key) 09:14:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:43 + git tag --points-at HEAD [Pipeline] } 09:14:43 $ docker exec --env ******** --env ******** db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 ssh-agent -k 09:14:43 unset SSH_AUTH_SOCK; 09:14:43 unset SSH_AGENT_PID; 09:14:43 echo Agent pid 19 killed; 09:14:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:43 [ssh-agent] Looking for ssh-agent implementation... 09:14:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:43 $ docker exec db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 ssh-agent 09:14:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpkaoMH/agent.54 09:14:43 SSH_AGENT_PID=60 09:14:43 Running ssh-add (command line suppressed) 09:14:43 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7994177300579498153.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7994177300579498153.key) 09:14:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:44 + git semver init 09:14:44 # -> Open(): unable to determine branch for HEAD 09:14:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 09:14:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 09:14:44 # $SEMVER_REMOTE_NAME = origin 09:14:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:14:44 # $SEMVER_USER_NAME = edgex-jenkins 09:14:44 # $SEMVER_BRANCH = main 09:14:44 # $SEMVER_TEMP = /tmp/semver-185227385 09:14:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:14:44 # '/tmp/semver-185227385' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' 09:14:44 # -> Force: false 09:14:44 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 09:14:44 $ docker exec --env ******** --env ******** db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 ssh-agent -k 09:14:45 unset SSH_AUTH_SOCK; 09:14:45 unset SSH_AGENT_PID; 09:14:45 echo Agent pid 60 killed; 09:14:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:45 + git semver [Pipeline] } 09:14:45 $ docker stop --time=1 db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 09:14:46 $ docker rm -f db506c56520e2dd7538c977f39752367023e6b774cc036898cb9a89f1fa0b955 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:47 Stashed 1 file(s) [Pipeline] echo 09:14:47 [edgeXSemver]: initialized semver on version 2.0.1-dev.13 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:15:02 Still waiting to schedule task 09:15:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:15:02 Still waiting to schedule task 09:15:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-27922’ is offline 09:16:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27925 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 09:16:48 Running in /w/workspace/device-sdk-c/14 [Pipeline] { [Pipeline] checkout 09:16:48 Selected Git installation does not exist. Using Default 09:16:48 The recommended git tool is: NONE 09:16:53 using credential edgex-jenkins-ssh 09:16:53 Cloning the remote Git repository 09:16:53 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:16:53 > git init /w/workspace/device-sdk-c/14 # timeout=10 09:16:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:16:53 > git --version # timeout=10 09:16:53 > git --version # 'git version 2.17.1' 09:16:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:54 Avoid second fetch 09:16:54 Checking out Revision 9c093d915178364b5ad4a5f89c558c84b05f4943 (main) 09:16:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:16:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:54 > git config core.sparsecheckout # timeout=10 09:16:54 > git checkout -f 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 09:16:59 Commit message: "docs: bump VERSION (#386)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:17:00 % Total % Received % Xferd Average Speed Time Time Time Current 09:17:00 Dload Upload Total Spent Left Speed 09:17:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 60948 0 --:--:-- --:--:-- --:--:-- 60948 [Pipeline] sh 09:17:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:17:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:17:00 + sudo tee /etc/docker/daemon.new 09:17:00 { 09:17:00 "registry-mirrors": [ 09:17:00 "https://nexus3.edgexfoundry.org:10001" 09:17:00 ], 09:17:00 "bip": "10.250.0.254/24", 09:17:00 "hosts": [ 09:17:00 "tcp://0.0.0.0:5555", 09:17:00 "unix:///var/run/docker.sock" 09:17:00 ], 09:17:00 "mtu": 1458, 09:17:00 "selinux-enabled": true, 09:17:00 "seccomp-profile": "/etc/docker/seccomp.json" 09:17:00 } [Pipeline] sh 09:17:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:17:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:19 provisioning config files... 09:17:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/14@tmp/config3859638566393048858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:21 ---> docker-login.sh 09:17:21 nexus3.edgexfoundry.org:10001 09:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:21 Configure a credential helper to remove this warning. See 09:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:21 09:17:21 Login Succeeded 09:17:21 nexus3.edgexfoundry.org:10002 09:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:21 Configure a credential helper to remove this warning. See 09:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:21 09:17:21 Login Succeeded 09:17:21 nexus3.edgexfoundry.org:10003 09:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:22 Configure a credential helper to remove this warning. See 09:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:22 09:17:22 Login Succeeded 09:17:22 nexus3.edgexfoundry.org:10004 09:17:22 Running on prd-centos7-docker-4c-2g-27926 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 09:17:22 Running in /w/workspace/device-sdk-c/14 [Pipeline] { [Pipeline] checkout 09:17:22 Selected Git installation does not exist. Using Default 09:17:22 The recommended git tool is: NONE 09:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:23 Configure a credential helper to remove this warning. See 09:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:23 09:17:23 Login Succeeded 09:17:23 docker.io 09:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:23 Configure a credential helper to remove this warning. See 09:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:23 09:17:23 Login Succeeded 09:17:23 ---> docker-login.sh ends [Pipeline] } 09:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:17:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:17:23 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 09:17:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:17:23 ========================================================= 09:17:23 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:17:23 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:17:24 + 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 . 09:17:24 Sending build context to Docker daemon 2.712MB 09:17:24 Step 1/24 : ARG BASE=alpine:3.14 09:17:24 Step 2/24 : FROM ${BASE} as builder 09:17:24 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:17:24 552d1f2373af: Pulling fs layer 09:17:24 f2be2b6548c6: Pulling fs layer 09:17:24 ee4ac2fe028c: Pulling fs layer 09:17:24 f2be2b6548c6: Download complete 09:17:24 using credential edgex-jenkins-ssh 09:17:24 Cloning the remote Git repository 09:17:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:17:24 > git init /w/workspace/device-sdk-c/14 # timeout=10 09:17:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:17:24 > git --version # timeout=10 09:17:25 552d1f2373af: Verifying Checksum 09:17:25 552d1f2373af: Download complete 09:17:25 552d1f2373af: Pull complete 09:17:25 Avoid second fetch 09:17:25 Checking out Revision 9c093d915178364b5ad4a5f89c558c84b05f4943 (main) 09:17:25 f2be2b6548c6: Pull complete 09:17:24 > git --version # 'git version 2.24.4' 09:17:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:17:24 [INFO] Currently running in a labeled security context 09:17:24 [INFO] Currently SELinux is 'enforcing' on the host 09:17:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/14@tmp/jenkins-gitclient-ssh3212924298787620495.key 09:17:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:17:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:17:25 > git config core.sparsecheckout # timeout=10 09:17:25 > git checkout -f 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 09:17:26 ee4ac2fe028c: Verifying Checksum 09:17:26 ee4ac2fe028c: Download complete 09:17:29 Commit message: "docs: bump VERSION (#386)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:29 provisioning config files... 09:17:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/14@tmp/config7598710448291180387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:30 ---> docker-login.sh 09:17:30 nexus3.edgexfoundry.org:10001 09:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:30 Configure a credential helper to remove this warning. See 09:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:30 09:17:30 Login Succeeded 09:17:30 nexus3.edgexfoundry.org:10002 09:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:30 Configure a credential helper to remove this warning. See 09:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:30 09:17:30 Login Succeeded 09:17:30 nexus3.edgexfoundry.org:10003 09:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:30 Configure a credential helper to remove this warning. See 09:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:30 09:17:30 Login Succeeded 09:17:30 nexus3.edgexfoundry.org:10004 09:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:30 Configure a credential helper to remove this warning. See 09:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:30 09:17:30 Login Succeeded 09:17:30 docker.io 09:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:30 Configure a credential helper to remove this warning. See 09:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:30 09:17:30 Login Succeeded 09:17:30 ---> docker-login.sh ends [Pipeline] } 09:17:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:17:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:17:31 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 09:17:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:17:31 ========================================================= 09:17:31 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:17:31 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:17:31 + 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 . 09:17:31 Sending build context to Docker daemon 2.713MB 09:17:31 Step 1/24 : ARG BASE=alpine:3.14 09:17:31 Step 2/24 : FROM ${BASE} as builder 09:17:31 latest: Pulling from edgex-devops/edgex-gcc-base 09:17:31 a0d0a0d46f8b: Pulling fs layer 09:17:31 39017ce70367: Pulling fs layer 09:17:31 dcf9283bb20a: Pulling fs layer 09:17:31 39017ce70367: Verifying Checksum 09:17:31 39017ce70367: Download complete 09:17:31 a0d0a0d46f8b: Verifying Checksum 09:17:31 a0d0a0d46f8b: Download complete 09:17:31 a0d0a0d46f8b: Pull complete 09:17:31 39017ce70367: Pull complete 09:17:31 dcf9283bb20a: Verifying Checksum 09:17:31 dcf9283bb20a: Download complete 09:17:35 ee4ac2fe028c: Pull complete 09:17:35 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 09:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:17:35 ---> b6d714ea7bf2 09:17:35 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 09:17:35 dcf9283bb20a: Pull complete 09:17:35 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 09:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:17:35 ---> a4e04833b611 09:17:35 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 09:17:35 ---> Running in 1e08210d9ca8 09:17:36 ---> Running in cf42eceb9aef 09:17:36 Connecting to iotech.jfrog.io (54.170.66.44:443) 09:17:36 Connecting to iotech.jfrog.io (54.170.66.44:443) 09:17:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:17:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:17:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:17:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:17:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:17:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:17:37 Removing intermediate container cf42eceb9aef 09:17:37 ---> 438d46ea3339 09:17:37 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:17:37 ---> Running in 5d5996cdf5ed 09:17:37 Removing intermediate container 5d5996cdf5ed 09:17:37 ---> f612801831d7 09:17:37 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 09:17:37 ---> Running in cbffa4e99760 09:17:37 Removing intermediate container 1e08210d9ca8 09:17:37 ---> e13013c86199 09:17:37 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:17:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:17:38 ---> Running in 704e6793bae5 09:17:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:17:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 09:17:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:17:39 (1/27) Installing hiredis (1.0.0-r0) 09:17:39 (2/27) Installing hiredis-dev (1.0.0-r0) 09:17:39 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 09:17:39 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:17:40 Removing intermediate container 704e6793bae5 09:17:40 ---> d31f251208f7 09:17:40 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 09:17:40 ---> Running in d65f03bfc7e3 09:17:40 (5/27) Installing libblkid (2.37.2-r0) 09:17:40 (6/27) Installing blkid (2.37.2-r0) 09:17:40 (7/27) Installing libcap-ng (0.8.2-r0) 09:17:40 (8/27) Installing setpriv (2.37.2-r0) 09:17:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:17:41 (9/27) Installing libmount (2.37.2-r0) 09:17:41 (10/27) Installing libsmartcols (2.37.2-r0) 09:17:41 (11/27) Installing findmnt (2.37.2-r0) 09:17:41 (12/27) Installing mcookie (2.37.2-r0) 09:17:41 (13/27) Installing hexdump (2.37.2-r0) 09:17:41 (14/27) Installing lsblk (2.37.2-r0) 09:17:41 (15/27) Installing libuuid (2.37.2-r0) 09:17:41 (16/27) Installing libfdisk (2.37.2-r0) 09:17:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:17:41 (17/27) Installing sfdisk (2.37.2-r0) 09:17:41 (18/27) Installing cfdisk (2.37.2-r0) 09:17:41 (19/27) Installing partx (2.37.2-r0) 09:17:42 (20/27) Installing flock (2.37.2-r0) 09:17:42 (21/27) Installing logger (2.37.2-r0) 09:17:42 (22/27) Installing uuidgen (2.37.2-r0) 09:17:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 09:17:42 (23/27) Installing libeconf (0.3.8-r1) 09:17:42 (24/27) Installing util-linux (2.37.2-r0) 09:17:42 (25/27) Installing util-linux-dev (2.37.2-r0) 09:17:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:17:42 (1/27) Installing hiredis (1.0.0-r0) 09:17:43 (26/27) Installing libidn2 (2.3.1-r0) 09:17:43 (27/27) Installing wget (1.21.1-r1) 09:17:43 Executing busybox-1.33.1-r3.trigger 09:17:43 OK: 291 MiB in 104 packages 09:17:43 (2/27) Installing hiredis-dev (1.0.0-r0) 09:17:43 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 09:17:43 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:17:43 Removing intermediate container cbffa4e99760 09:17:43 ---> 32d6c7ff25f5 09:17:43 Step 6/24 : ENV CBOR_VERSION=0.5.0 09:17:43 ---> Running in 6db620f1522d 09:17:43 Removing intermediate container 6db620f1522d 09:17:43 ---> 529870dab288 09:17:43 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:17:43 ---> Running in c80876dec5f4 09:17:44 --2021-11-08 09:17:44-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:17:44 Resolving github.com (github.com)... 140.82.114.3 09:17:44 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:17:44 (5/27) Installing libblkid (2.37.2-r0) 09:17:44 HTTP request sent, awaiting response... 302 Found 09:17:44 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:17:44 --2021-11-08 09:17:44-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:17:44 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:17:44 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:17:44 (6/27) Installing blkid (2.37.2-r0) 09:17:44 (7/27) Installing libcap-ng (0.8.2-r0) 09:17:44 (8/27) Installing setpriv (2.37.2-r0) 09:17:44 HTTP request sent, awaiting response... 200 OK 09:17:44 Length: unspecified [application/x-gzip] 09:17:44 Saving to: 'STDOUT' 09:17:44  09:17:44 0K .......... .......... .......... .......... .......... 1.27M 09:17:44 50K .......... .......... .......... .......... .......... 2.53M 09:17:44 100K .......... .......... .......... .......... .......... 56.7M 09:17:44 150K .......... .......... .......... .......... .......... 2.70M 09:17:44 200K .......... .......... .......... .......... .......... 74.0M 09:17:44 250K .......... .......... .......... .......... .......... 8.46M 09:17:44 300K .......... .......... .......... .......... .......... 9.49M 09:17:44 350K .......... .......... .......... .......... .......... 11.7M 09:17:44 400K .......... .......... .......... .......... .......... 9.68M 09:17:44 450K .......... .......... .......... .......... .......... 7.70M 09:17:44 500K .......... .......... .......... .......... .......... 20.6M 09:17:44 550K .......... .......... .......... .......... .......... 4.94M 09:17:44 600K .......... .......... .......... .......... .......... 2.74M 09:17:44 650K .......... .......... .......... .......... .......... 4.55M 09:17:44 700K .. 73.8M=0.1s 09:17:44 09:17:44 2021-11-08 09:17:44 (4.74 MB/s) - written to stdout [719348] 09:17:44 09:17:44 -- The C compiler identification is GNU 10.3.1 09:17:44 (9/27) Installing libmount (2.37.2-r0) 09:17:44 (10/27) Installing libsmartcols (2.37.2-r0) 09:17:44 (11/27) Installing findmnt (2.37.2-r0) 09:17:44 -- The CXX compiler identification is GNU 10.3.1 09:17:44 -- Detecting C compiler ABI info 09:17:44 -- Detecting C compiler ABI info - done 09:17:44 -- Check for working C compiler: /usr/bin/cc - skipped 09:17:44 -- Detecting C compile features 09:17:44 -- Detecting C compile features - done 09:17:44 -- Detecting CXX compiler ABI info 09:17:44 -- Detecting CXX compiler ABI info - done 09:17:44 -- Check for working CXX compiler: /usr/bin/c++ - skipped 09:17:44 -- Detecting CXX compile features 09:17:44 -- Detecting CXX compile features - done 09:17:44 -- Looking for include file endian.h 09:17:45 (12/27) Installing mcookie (2.37.2-r0) 09:17:45 (13/27) Installing hexdump (2.37.2-r0) 09:17:45 (14/27) Installing lsblk (2.37.2-r0) 09:17:45 -- Looking for include file endian.h - found 09:17:45 -- Looking for sys/types.h 09:17:45 -- Looking for sys/types.h - found 09:17:45 -- Looking for stdint.h 09:17:45 -- Looking for stdint.h - found 09:17:45 -- Looking for stddef.h 09:17:45 (15/27) Installing libuuid (2.37.2-r0) 09:17:45 (16/27) Installing libfdisk (2.37.2-r0) 09:17:45 (17/27) Installing sfdisk (2.37.2-r0) 09:17:45 -- Looking for stddef.h - found 09:17:45 -- Check size of size_t 09:17:45 -- Check size of size_t - done 09:17:45 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:17:45 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:17:45 asked CMake to find a package configuration file provided by "cJSON", but 09:17:45 CMake did not find one. 09:17:45 09:17:45 Could not find a package configuration file provided by "cJSON" with any of 09:17:45 the following names: 09:17:45 09:17:45 cJSONConfig.cmake 09:17:45 cjson-config.cmake 09:17:45 09:17:45 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:17:45 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:17:45 provides a separate development package or SDK, be sure it has been 09:17:45 installed. 09:17:45 09:17:45 09:17:45 -- Configuring done 09:17:45 -- Generating done 09:17:45 -- Build files have been written to: /tmp/cbor 09:17:45 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:17:45 (18/27) Installing cfdisk (2.37.2-r0) 09:17:45 (19/27) Installing partx (2.37.2-r0) 09:17:45 (20/27) Installing flock (2.37.2-r0) 09:17:45 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:17:45 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:17:45 (21/27) Installing logger (2.37.2-r0) 09:17:45 (22/27) Installing uuidgen (2.37.2-r0) 09:17:45 (23/27) Installing libeconf (0.3.8-r1) 09:17:45 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:17:45 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:17:45 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:17:46 (24/27) Installing util-linux (2.37.2-r0) 09:17:46 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:17:46 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:17:46 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:17:46 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:17:46 (25/27) Installing util-linux-dev (2.37.2-r0) 09:17:46 (26/27) Installing libidn2 (2.3.1-r0) 09:17:46 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:17:46 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:17:46 (27/27) Installing wget (1.21.1-r1) 09:17:46 Executing busybox-1.33.1-r3.trigger 09:17:46 OK: 286 MiB in 104 packages 09:17:46 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:17:46 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:17:46 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:17:46 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:17:47 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:17:47 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:17:47 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:17:47 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:17:47 [ 40%] Linking C shared library libcbor.so 09:17:47 [ 40%] Built target cbor_shared 09:17:47 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:17:47 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:17:47 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:17:47 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:17:48 Removing intermediate container d65f03bfc7e3 09:17:48 ---> c0f6f9f792e8 09:17:48 Step 6/24 : ENV CBOR_VERSION=0.5.0 09:17:48 ---> Running in 6b66130aad55 09:17:48 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:17:48 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:17:48 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:17:48 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:17:48 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:17:48 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:17:48 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:17:48 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:17:48 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:17:48 Removing intermediate container 6b66130aad55 09:17:48 ---> 3b6a9ad053bc 09:17:48 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:17:48 ---> Running in a2d078b93ec4 09:17:48 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:17:48 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:17:48 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:17:48 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:17:49 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:17:49 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:17:49 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:17:49 [ 80%] Linking C static library libcbor.a 09:17:49 [ 80%] Built target cbor 09:17:49 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:17:49 [ 84%] Linking C executable readfile 09:17:49 [ 84%] Built target readfile 09:17:49 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:17:49 [ 88%] Linking C executable create_items 09:17:49 [ 88%] Built target create_items 09:17:49 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:17:49 [ 92%] Linking C executable sort 09:17:49 [ 92%] Built target sort 09:17:49 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:17:49 [ 96%] Linking C executable hello 09:17:49 [ 96%] Built target hello 09:17:49 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:17:49 [100%] Linking C executable streaming_parser 09:17:49 [100%] Built target streaming_parser 09:17:49 Install the project... 09:17:49 -- Install configuration: "Release" 09:17:49 -- Installing: /usr/local/include/cbor/configuration.h 09:17:49 -- Installing: /usr/local/lib/libcbor.a 09:17:49 -- Installing: /usr/local/lib/libcbor.so.0.0.0 09:17:49 -- Installing: /usr/local/lib/libcbor.so.0 09:17:49 -- Installing: /usr/local/lib/libcbor.so 09:17:49 -- Up-to-date: /usr/local/include/cbor 09:17:49 -- Installing: /usr/local/include/cbor/arrays.h 09:17:49 -- Installing: /usr/local/include/cbor/bytestrings.h 09:17:49 -- Installing: /usr/local/include/cbor/callbacks.h 09:17:49 -- Installing: /usr/local/include/cbor/common.h 09:17:49 -- Installing: /usr/local/include/cbor/data.h 09:17:49 -- Installing: /usr/local/include/cbor/encoding.h 09:17:49 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:17:49 -- Installing: /usr/local/include/cbor/internal 09:17:49 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:17:49 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:17:49 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:17:49 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:17:49 -- Installing: /usr/local/include/cbor/internal/stack.h 09:17:49 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:17:49 -- Installing: /usr/local/include/cbor/ints.h 09:17:49 -- Installing: /usr/local/include/cbor/maps.h 09:17:49 -- Installing: /usr/local/include/cbor/serialization.h 09:17:49 -- Installing: /usr/local/include/cbor/streaming.h 09:17:49 -- Installing: /usr/local/include/cbor/strings.h 09:17:49 -- Installing: /usr/local/include/cbor/tags.h 09:17:49 -- Installing: /usr/local/include/cbor.h 09:17:49 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 09:17:50 --2021-11-08 09:17:49-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:17:50 Resolving github.com (github.com)... 140.82.114.3 09:17:50 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:17:50 HTTP request sent, awaiting response... 302 Found 09:17:50 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:17:50 --2021-11-08 09:17:49-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:17:50 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:17:50 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:17:50 HTTP request sent, awaiting response... 200 OK 09:17:50 Length: unspecified [application/x-gzip] 09:17:50 Saving to: 'STDOUT' 09:17:50  09:17:50 0K .......... .......... .......... .......... .......... 1.23M 09:17:50 50K .......... .......... .......... .......... .......... 2.29M 09:17:50 100K .......... .......... .......... .......... .......... 16.6M 09:17:50 150K .......... .......... .......... .......... .......... 2.64M 09:17:50 200K .......... .......... .......... .......... .......... 13.4M 09:17:50 250K .......... .......... .......... .......... .......... 3.29M 09:17:50 300K .......... .......... .......... .......... .......... 4.57M 09:17:50 350K .......... .......... .......... .......... .......... 6.42M 09:17:50 400K .......... .......... .......... .......... .......... 3.57M 09:17:50 450K .......... .......... .......... .......... .......... 4.73M 09:17:50 500K .......... .......... .......... .......... .......... 12.8M 09:17:50 550K .......... .......... .......... .......... .......... 3.39M 09:17:50 600K .......... .......... .......... .......... .......... 774K 09:17:50 650K .......... .......... .......... .......... .......... 2.00M 09:17:50 700K ..     3.97M=0.3s 09:17:50 09:17:50 2021-11-08 09:17:50 (2.73 MB/s) - written to stdout [719348] 09:17:50 09:17:50 Removing intermediate container c80876dec5f4 09:17:50 ---> 5c59e9d7416a 09:17:50 Step 8/24 : RUN mkdir /tmp/sdk 09:17:50 -- The C compiler identification is GNU 10.3.1 09:17:50 ---> Running in ea287fca1fa4 09:17:50 -- The CXX compiler identification is GNU 10.3.1 09:17:50 -- Detecting C compiler ABI info 09:17:51 -- Detecting C compiler ABI info - done 09:17:51 -- Check for working C compiler: /usr/bin/cc - skipped 09:17:51 -- Detecting C compile features 09:17:51 -- Detecting C compile features - done 09:17:51 -- Detecting CXX compiler ABI info 09:17:51 Removing intermediate container ea287fca1fa4 09:17:51 ---> f0f0e653d57b 09:17:51 Step 9/24 : COPY VERSION /tmp/sdk 09:17:51 ---> e494aa22ee59 09:17:51 Step 10/24 : COPY src /tmp/sdk/src 09:17:51 -- Detecting CXX compiler ABI info - done 09:17:51 ---> b1900327fe9d 09:17:51 Step 11/24 : COPY include /tmp/sdk/include 09:17:51 -- Check for working CXX compiler: /usr/bin/c++ - skipped 09:17:51 -- Detecting CXX compile features 09:17:51 -- Detecting CXX compile features - done 09:17:51 -- Looking for include file endian.h 09:17:51 ---> 56274d6af56b 09:17:51 Step 12/24 : COPY scripts /tmp/sdk/scripts 09:17:51 ---> e00a1220b9de 09:17:51 Step 13/24 : COPY LICENSE /tmp/sdk 09:17:52 -- Looking for include file endian.h - found 09:17:52 -- Looking for sys/types.h 09:17:52 ---> 03eb1038388d 09:17:52 Step 14/24 : COPY Attribution.txt /tmp/sdk 09:17:52 ---> 442732ced489 09:17:52 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:17:52 ---> Running in 8b797bad784d 09:17:52 -- Looking for sys/types.h - found 09:17:52 -- Looking for stdint.h 09:17:52 + CPPCHECK=false 09:17:52 + DOCGEN=false 09:17:52 + TOMLVER=SDK-0.2 09:17:52 + CUTILVER=1.2.2 09:17:52 + '[' 0 -gt 0 ] 09:17:52 + readlink -f ./scripts/build.sh 09:17:52 + dirname /tmp/sdk/scripts/build.sh 09:17:52 + dirname /tmp/sdk/scripts 09:17:52 + ROOT=/tmp/sdk 09:17:52 + cd /tmp/sdk 09:17:52 + '[' '!' -d deps ] 09:17:52 + mkdir deps 09:17:52 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:17:52 + tar -C deps -z -x -f - 09:17:52 --2021-11-08 09:17:52-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:17:52 Resolving github.com (github.com)... 140.82.114.3 09:17:52 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:17:52 -- Looking for stdint.h - found 09:17:52 -- Looking for stddef.h 09:17:52 HTTP request sent, awaiting response... 302 Found 09:17:52 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:17:52 --2021-11-08 09:17:52-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:17:52 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:17:52 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:17:52 -- Looking for stddef.h - found 09:17:52 -- Check size of size_t 09:17:52 HTTP request sent, awaiting response... 200 OK 09:17:52 Length: unspecified [application/x-gzip] 09:17:52 Saving to: 'STDOUT' 09:17:52 09:17:52 0K .......... ...... 829K=0.02s 09:17:52 09:17:52 2021-11-08 09:17:52 (829 KB/s) - written to stdout [16451] 09:17:52 09:17:52 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:17:52 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:17:52 + tar -C deps -z -x -f - 09:17:52 --2021-11-08 09:17:52-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:17:52 Resolving github.com (github.com)... 140.82.114.3 09:17:52 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:17:52 HTTP request sent, awaiting response... 302 Found 09:17:52 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 09:17:52 --2021-11-08 09:17:52-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 09:17:52 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:17:52 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:17:53 -- Check size of size_t - done 09:17:53 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:17:53 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:17:53 asked CMake to find a package configuration file provided by "cJSON", but 09:17:53 CMake did not find one. 09:17:53 09:17:53 Could not find a package configuration file provided by "cJSON" with any of 09:17:53 the following names: 09:17:53 09:17:53 cJSONConfig.cmake 09:17:53 cjson-config.cmake 09:17:53 09:17:53 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:17:53 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:17:53 provides a separate development package or SDK, be sure it has been 09:17:53 installed. 09:17:53 09:17:53 09:17:53 -- Configuring done 09:17:53 HTTP request sent, awaiting response... 200 OK 09:17:53 Length: unspecified [application/x-gzip] 09:17:53 Saving to: 'STDOUT' 09:17:53 09:17:53 0K .......... .......... .......... .......... .......... 1.26M 09:17:53 50K .......... .......... .......... .......... .......... 2.58M 09:17:53 100K .......... .......... .......... .......... .......... 43.0M 09:17:53 150K .......... .......... .......... ......... 3.56M=0.07s 09:17:53 09:17:53 2021-11-08 09:17:53 (2.65 MB/s) - written to stdout [193961] 09:17:53 09:17:53 + mkdir -p src/c/iot 09:17:53 + 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 09:17:53 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 09:17:53 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 09:17:53 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 09:17:53 + mkdir -p include/iot 09:17:53 + 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 09:17:53 + mkdir -p include/iot/os 09:17:53 + 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 09:17:53 + mkdir -p /tmp/sdk/build/release 09:17:53 + cd /tmp/sdk/build/release 09:17:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:17:53 -- The C compiler identification is GNU 10.3.1 09:17:53 -- Detecting C compiler ABI info 09:17:53 -- Detecting C compiler ABI info - done 09:17:53 -- Check for working C compiler: /usr/bin/cc - skipped 09:17:53 -- Detecting C compile features 09:17:53 -- Generating done 09:17:53 -- Detecting C compile features - done 09:17:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:17:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 09:17:53 -- Found LIBYAML: /usr/lib/libyaml.so 09:17:53 -- Found LIBUUID: /usr/lib/libuuid.so 09:17:53 -- Build files have been written to: /tmp/cbor 09:17:53 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:17:53 -- Found LIBCBOR: /usr/local/lib/libcbor.so 09:17:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:17:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:17:53 -- C SDK 2.0.1-dev.13 for Linux 09:17:53 -- Performing Test CSDK_HAVE_ATOMIC 09:17:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:17:53 -- Found Curses: /usr/lib/libcurses.so 09:17:53 -- Configuring done 09:17:53 -- Generating done 09:17:53 -- Build files have been written to: /tmp/sdk/build/release 09:17:53 + tee release.log 09:17:53 + make all package 09:17:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:17:53 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:17:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:17:54 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:17:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:17:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:17:54 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:17:54 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:17:54 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:17:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:17:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:17:55 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:17:55 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:17:55 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:17:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:17:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:17:55 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:17:55 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:17:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:17:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:17:56 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:17:56 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:17:56 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:17:56 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:17:56 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:17:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:17:56 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:17:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:17:57 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:17:57 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:17:57 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:17:57 275 | const iot_component_factory_t * factory; 09:17:57 | ^~~~~~~ 09:17:57 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:17:57 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:17:57 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:17:58 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:17:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:17:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:17:58 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:17:58 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:17:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:17:58 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:17:58 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:17:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:17:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:17:58 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:17:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:17:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:17:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:17:59 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:17:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:17:59 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:17:59 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:17:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:17:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:18:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:18:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:18:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:18:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:18:00 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:18:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:18:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:18:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:18:01 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 09:18:01 /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] 09:18:01 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 09:18:01 | ^~~~~~~~~~~~~ 09:18:01 | | 09:18:01 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 09:18:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:01 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 09:18:01 2714 | MHD_KeyValueIterator iterator, 09:18:01 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 09:18:01 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 09:18:01 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:18:01 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 09:18:01 | ^~~~~~~~~~~~ 09:18:01 | | 09:18:01 | 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 **)} 09:18:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:18:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:18:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:18:01 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:18:01 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 09:18:01 | ^~~~~~~~~~~~ 09:18:01 | | 09:18:01 | 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 **)} 09:18:01 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:01 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:18:01 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:18:01 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:18:01 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:18:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:18:01 [ 40%] Linking C shared library libcbor.so 09:18:01 [ 40%] Built target cbor_shared 09:18:01 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:18:01 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:18:01 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:18:01 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:18:01 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:18:02 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:18:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:18:03 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:18:03 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:18:03 [ 76%] Linking C shared library libcsdk.so 09:18:03 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:18:03 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:18:03 [ 76%] Built target csdk 09:18:03 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:18:03 [ 79%] Linking C executable template 09:18:03 [ 79%] Built target template 09:18:03 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:18:03 [ 82%] Linking C executable device-counter 09:18:03 [ 82%] Built target device-counter 09:18:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:18:04 [ 85%] Linking C executable device-random 09:18:04 [ 85%] Built target device-random 09:18:04 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:18:04 [ 88%] Linking C executable device-gyro 09:18:04 [ 88%] Built target device-gyro 09:18:04 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:18:04 [ 91%] Linking C executable device-bitfields 09:18:04 [ 91%] Built target device-bitfields 09:18:04 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:18:04 [ 94%] Linking C executable template-discovery 09:18:04 [ 94%] Built target template-discovery 09:18:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:18:04 [ 97%] Linking C executable device-file 09:18:04 [ 97%] Built target device-file 09:18:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:18:04 [100%] Linking C executable device-terminal 09:18:05 [100%] Built target device-terminal 09:18:05 Run CPack packaging tool... 09:18:05 CPack: Create package using TGZ 09:18:05 CPack: Install projects 09:18:05 CPack: - Run preinstall target for: Csdk 09:18:05 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:18:05 CPack: - Install project: Csdk [] 09:18:05 CPack: Create package 09:18:05 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.13.tar.gz generated. 09:18:05 + '[' false '=' true ] 09:18:05 + '[' false '=' true ] 09:18:05 + mkdir -p /tmp/sdk/build/debug 09:18:05 + cd /tmp/sdk/build/debug 09:18:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:18:05 -- The C compiler identification is GNU 10.3.1 09:18:05 -- Detecting C compiler ABI info 09:18:05 -- Detecting C compiler ABI info - done 09:18:05 -- Check for working C compiler: /usr/bin/cc - skipped 09:18:05 -- Detecting C compile features 09:18:05 -- Detecting C compile features - done 09:18:05 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:18:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:18:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 09:18:05 -- Found LIBYAML: /usr/lib/libyaml.so 09:18:05 -- Found LIBUUID: /usr/lib/libuuid.so 09:18:05 -- Found LIBCBOR: /usr/local/lib/libcbor.so 09:18:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:18:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:18:05 -- C SDK 2.0.1-dev.13 for Linux 09:18:05 -- Performing Test CSDK_HAVE_ATOMIC 09:18:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:18:05 -- Found Curses: /usr/lib/libcurses.so 09:18:05 -- Configuring done 09:18:05 -- Generating done 09:18:05 -- Build files have been written to: /tmp/sdk/build/debug 09:18:05 + make 09:18:05 + tee debug.log 09:18:05 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:18:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:18:06 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:18:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:18:06 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:18:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:18:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:18:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:18:06 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:18:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:18:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:18:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:18:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:18:06 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:18:06 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:18:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:18:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:18:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:18:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:18:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:18:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:18:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:18:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:18:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:18:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:18:07 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:18:07 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:18:07 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:18:07 275 | const iot_component_factory_t * factory; 09:18:07 | ^~~~~~~ 09:18:07 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:18:07 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:18:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:18:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:18:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:18:08 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:18:08 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:18:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:18:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:18:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:18:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:18:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:18:08 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:18:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:18:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:18:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:18:08 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:18:08 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:18:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:18:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:18:09 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:18:09 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:18:09 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:18:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:18:09 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 09:18:09 /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] 09:18:09 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 09:18:09 | ^~~~~~~~~~~~~ 09:18:09 | | 09:18:09 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 09:18:09 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:09 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 09:18:09 2714 | MHD_KeyValueIterator iterator, 09:18:09 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 09:18:09 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 09:18:09 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:18:09 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 09:18:09 | ^~~~~~~~~~~~ 09:18:09 | | 09:18:09 | 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 **)} 09:18:09 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:09 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:18:09 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:18:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:18:09 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:18:09 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 09:18:09 | ^~~~~~~~~~~~ 09:18:09 | | 09:18:09 | 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 **)} 09:18:09 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:18:09 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:18:09 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:18:09 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:18:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:18:09 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:18:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:18:10 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:18:10 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:18:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:18:10 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:18:10 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:18:10 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:18:10 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:18:10 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:18:10 [ 76%] Linking C shared library libcsdk.so 09:18:10 [ 76%] Built target csdk 09:18:10 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:18:10 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:18:10 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:18:10 [ 79%] Linking C executable template 09:18:10 [ 79%] Built target template 09:18:10 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:18:10 [ 82%] Linking C executable device-counter 09:18:10 [ 82%] Built target device-counter 09:18:11 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:18:11 [ 85%] Linking C executable device-random 09:18:11 [ 85%] Built target device-random 09:18:11 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:18:11 [ 88%] Linking C executable device-gyro 09:18:11 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:18:11 [ 80%] Linking C static library libcbor.a 09:18:11 [ 80%] Built target cbor 09:18:11 [ 88%] Built target device-gyro 09:18:11 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:18:11 [ 91%] Linking C executable device-bitfields 09:18:11 [ 91%] Built target device-bitfields 09:18:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:18:11 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:18:11 [ 94%] Linking C executable template-discovery 09:18:11 [ 94%] Built target template-discovery 09:18:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:18:11 [ 97%] Linking C executable device-file 09:18:11 [ 97%] Built target device-file 09:18:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:18:11 [ 84%] Linking C executable readfile 09:18:11 [ 84%] Built target readfile 09:18:11 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:18:11 [100%] Linking C executable device-terminal 09:18:11 [100%] Built target device-terminal 09:18:11 make: Entering directory '/tmp/sdk/build/release' 09:18:11 make[1]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:11 [ 76%] Built target csdk 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:11 [ 79%] Built target template 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:11 [ 82%] Built target device-counter 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:11 [ 85%] Built target device-random 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:11 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:11 [ 88%] Built target device-gyro 09:18:11 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:12 [ 88%] Linking C executable create_items 09:18:12 [ 88%] Built target create_items 09:18:12 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:18:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:12 [ 91%] Built target device-bitfields 09:18:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:12 [ 94%] Built target template-discovery 09:18:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:12 [ 97%] Built target device-file 09:18:12 make[2]: Entering directory '/tmp/sdk/build/release' 09:18:12 make[2]: Leaving directory '/tmp/sdk/build/release' 09:18:12 [100%] Built target device-terminal 09:18:12 make[1]: Leaving directory '/tmp/sdk/build/release' 09:18:12 Install the project... 09:18:12 -- Install configuration: "Release" 09:18:12 -- Installing: /usr/local/lib/libcsdk.so 09:18:12 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:18:12 -- Up-to-date: /usr/local/include 09:18:12 -- Installing: /usr/local/include/devsdk 09:18:12 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:18:12 -- Installing: /usr/local/include/devsdk/devsdk.h 09:18:12 -- Installing: /usr/local/include/edgex 09:18:12 -- Installing: /usr/local/include/edgex/devices.h 09:18:12 -- Installing: /usr/local/include/edgex/edgex-base.h 09:18:12 -- Installing: /usr/local/include/edgex/edgex.h 09:18:12 -- Installing: /usr/local/include/edgex/profiles.h 09:18:12 -- Installing: /usr/local/include/edgex/rest-server.h 09:18:12 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:18:12 -- Installing: /usr/local/include/iot 09:18:12 -- Installing: /usr/local/include/iot/base64.h 09:18:12 -- Installing: /usr/local/include/iot/component.h 09:18:12 -- Installing: /usr/local/include/iot/config.h 09:18:12 -- Installing: /usr/local/include/iot/container.h 09:18:12 -- Installing: /usr/local/include/iot/data.h 09:18:12 -- Installing: /usr/local/include/iot/hash.h 09:18:12 -- Installing: /usr/local/include/iot/iot.h 09:18:12 -- Installing: /usr/local/include/iot/json.h 09:18:12 -- Installing: /usr/local/include/iot/logger.h 09:18:12 -- Installing: /usr/local/include/iot/os.h 09:18:12 -- Installing: /usr/local/include/iot/scheduler.h 09:18:12 -- Installing: /usr/local/include/iot/thread.h 09:18:12 -- Installing: /usr/local/include/iot/threadpool.h 09:18:12 -- Installing: /usr/local/include/iot/time.h 09:18:12 -- Installing: /usr/local/include/iot/typecode.h 09:18:12 -- Installing: /usr/local/include/iot/uuid.h 09:18:12 -- Installing: /usr/local/include/iot/os 09:18:12 -- Installing: /usr/local/include/iot/os/linux.h 09:18:12 -- Installing: /usr/local/include/iot/os/macos.h 09:18:12 -- Installing: /usr/local/include/iot/os/zephyr.h 09:18:12 -- Installing: /usr/local/include/iot/defs.h 09:18:12 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:18:12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:18:12 make: Leaving directory '/tmp/sdk/build/release' 09:18:12 [ 92%] Linking C executable sort 09:18:12 [ 92%] Built target sort 09:18:12 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:18:12 Removing intermediate container 8b797bad784d 09:18:12 ---> ab9e71f8b5db 09:18:12 Step 16/24 : FROM ${BASE} 09:18:12 ---> a4e04833b611 09:18:12 Step 17/24 : LABEL maintainer="IOTech " 09:18:12 [ 96%] Linking C executable hello 09:18:12 [ 96%] Built target hello 09:18:12 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:18:12 ---> Running in db12f3ff23d5 09:18:12 Removing intermediate container db12f3ff23d5 09:18:12 ---> 7341ea7f385f 09:18:12 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 09:18:12 ---> Running in 56453860f68d 09:18:13 [100%] Linking C executable streaming_parser 09:18:13 [100%] Built target streaming_parser 09:18:13 Connecting to iotech.jfrog.io (34.243.182.113:443) 09:18:13 Install the project... 09:18:13 -- Install configuration: "Release" 09:18:13 -- Installing: /usr/local/include/cbor/configuration.h 09:18:13 -- Installing: /usr/local/lib/libcbor.a 09:18:13 -- Installing: /usr/local/lib/libcbor.so.0.0.0 09:18:13 -- Installing: /usr/local/lib/libcbor.so.0 09:18:13 -- Installing: /usr/local/lib/libcbor.so 09:18:13 -- Up-to-date: /usr/local/include/cbor 09:18:13 -- Installing: /usr/local/include/cbor/streaming.h 09:18:13 -- Installing: /usr/local/include/cbor/ints.h 09:18:13 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:18:13 -- Installing: /usr/local/include/cbor/bytestrings.h 09:18:13 -- Installing: /usr/local/include/cbor/encoding.h 09:18:13 -- Installing: /usr/local/include/cbor/serialization.h 09:18:13 -- Installing: /usr/local/include/cbor/data.h 09:18:13 -- Installing: /usr/local/include/cbor/common.h 09:18:13 -- Installing: /usr/local/include/cbor/callbacks.h 09:18:13 -- Installing: /usr/local/include/cbor/strings.h 09:18:13 -- Installing: /usr/local/include/cbor/tags.h 09:18:13 -- Installing: /usr/local/include/cbor/internal 09:18:13 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:18:13 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:18:13 -- Installing: /usr/local/include/cbor/internal/stack.h 09:18:13 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:18:13 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:18:13 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:18:13 -- Installing: /usr/local/include/cbor/arrays.h 09:18:13 -- Installing: /usr/local/include/cbor/maps.h 09:18:13 -- Installing: /usr/local/include/cbor.h 09:18:13 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 09:18:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:18:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:18:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:18:13 Removing intermediate container 56453860f68d 09:18:13 ---> 40866667a43c 09:18:13 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:18:13 ---> Running in e51fdbcc3afd 09:18:14 Removing intermediate container e51fdbcc3afd 09:18:14 ---> 14ca9938efbd 09:18:14 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 09:18:14 ---> Running in fabe5d6ab433 09:18:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:18:15 Removing intermediate container a2d078b93ec4 09:18:15 ---> 122625525532 09:18:15 Step 8/24 : RUN mkdir /tmp/sdk 09:18:15 ---> Running in a55d2be51a1e 09:18:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:18:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 09:18:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:18:16 (1/7) Installing curl (7.79.1-r0) 09:18:16 (2/7) Installing hiredis (1.0.0-r0) 09:18:16 (3/7) Installing hiredis-dev (1.0.0-r0) 09:18:16 (4/7) Installing libuuid (2.37.2-r0) 09:18:16 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:18:17 Removing intermediate container a55d2be51a1e 09:18:17 ---> 2d9057b50640 09:18:17 Step 9/24 : COPY VERSION /tmp/sdk 09:18:17 (6/7) Installing libidn2 (2.3.1-r0) 09:18:17 (7/7) Installing wget (1.21.1-r1) 09:18:17 ---> b0245c8c2301 09:18:17 Step 10/24 : COPY src /tmp/sdk/src 09:18:17 Executing busybox-1.33.1-r3.trigger 09:18:17 OK: 282 MiB in 84 packages 09:18:18 Removing intermediate container fabe5d6ab433 09:18:18 ---> 39e6b1237a77 09:18:18 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:18:18 ---> 36ef3b340843 09:18:18 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:18:18 ---> fa1d1be9d7b9 09:18:18 Step 11/24 : COPY include /tmp/sdk/include 09:18:18 ---> 614ee2ef5cb1 09:18:18 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 09:18:18 ---> 47c6e2555946 09:18:18 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:18:18 ---> e42a430b690e 09:18:18 Successfully built e42a430b690e 09:18:18 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 09:18:19 ---> d3c0c392ef46 09:18:19 Step 12/24 : COPY scripts /tmp/sdk/scripts 09:18:19 + docker inspect -f . ci-base-image-x86_64 09:18:19 . [Pipeline] withDockerContainer 09:18:19 prd-centos7-docker-4c-2g-27926 does not seem to be running inside a container 09:18:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/14 -v /w/workspace/device-sdk-c/14:/w/workspace/device-sdk-c/14:rw,z -v /w/workspace/device-sdk-c/14@tmp:/w/workspace/device-sdk-c/14@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 09:18:19 $ docker top ffa76b8cc8e0dda7abc1ef27c728ac1aeb221c398ce6e029bf2233242168bf13 -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:20 ---> 9ef7a5e2004d 09:18:20 Step 13/24 : COPY LICENSE /tmp/sdk 09:18:20 + make test 09:18:20 echo "make test" 09:18:20 make test [Pipeline] } 09:18:20 $ docker stop --time=1 ffa76b8cc8e0dda7abc1ef27c728ac1aeb221c398ce6e029bf2233242168bf13 09:18:20 ---> 29690f1ef01e 09:18:20 Step 14/24 : COPY Attribution.txt /tmp/sdk 09:18:21 ---> afe793e9b5b0 09:18:21 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:18:21 ---> Running in 0471224ea330 09:18:21 $ docker rm -f ffa76b8cc8e0dda7abc1ef27c728ac1aeb221c398ce6e029bf2233242168bf13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:18:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:18:22 + CPPCHECK=false 09:18:22 + DOCGEN=false 09:18:22 + TOMLVER=SDK-0.2 09:18:22 + CUTILVER=1.2.2 09:18:22 + '[' 0 -gt 0 ] 09:18:22 + readlink -f ./scripts/build.sh 09:18:22 + dirname /tmp/sdk/scripts/build.sh 09:18:22 + dirname /tmp/sdk/scripts 09:18:22 + ROOT=/tmp/sdk 09:18:22 + cd /tmp/sdk 09:18:22 + '[' '!' -d deps ] 09:18:22 + mkdir deps 09:18:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:18:22 + tar -C deps -z -x -f - 09:18:22 --2021-11-08 09:18:22-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:18:22 Resolving github.com (github.com)... 140.82.114.3 09:18:22 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:18:22 HTTP request sent, awaiting response... 302 Found 09:18:22 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:18:22 --2021-11-08 09:18:22-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:18:22 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:18:22 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:18:22 HTTP request sent, awaiting response... 200 OK 09:18:22 Length: unspecified [application/x-gzip] 09:18:22 Saving to: 'STDOUT' 09:18:22 09:18:22 0K .......... ...... 868K=0.02s 09:18:22 09:18:22 2021-11-08 09:18:22 (868 KB/s) - written to stdout [16451] 09:18:22 09:18:22 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:18:22 + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:18:22 tar -C deps -z -x -f - 09:18:22 --2021-11-08 09:18:22-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:18:22 Resolving github.com (github.com)... 140.82.114.3 09:18:22 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 09:18:23 + ls -al . 09:18:23 total 172 09:18:23 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 8 09:17 . 09:18:23 drwxrwxr-x. 4 jenkins jenkins 30 Nov 8 09:17 .. 09:18:23 -rw-rw-r--. 1 jenkins jenkins 3104 Nov 8 09:17 Attribution.txt 09:18:23 -rw-rw-r--. 1 jenkins jenkins 7880 Nov 8 09:17 CHANGES 09:18:23 drwxrwxr-x. 2 jenkins jenkins 121 Nov 8 09:17 docs 09:18:23 -rw-rw-r--. 1 jenkins jenkins 108574 Nov 8 09:17 Doxyfile 09:18:23 drwxrwxr-x. 8 jenkins jenkins 162 Nov 8 09:17 .git 09:18:23 drwxrwxr-x. 3 jenkins jenkins 103 Nov 8 09:17 .github 09:18:23 -rw-rw-r--. 1 jenkins jenkins 176 Nov 8 09:17 .gitignore 09:18:23 -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 09:17 GOVERNANCE.md 09:18:23 drwxrwxr-x. 4 jenkins jenkins 33 Nov 8 09:17 include 09:18:23 -rw-rw-r--. 1 jenkins jenkins 784 Nov 8 09:17 Jenkinsfile 09:18:23 -rw-rw-r--. 1 jenkins jenkins 10174 Nov 8 09:17 LICENSE 09:18:23 -rw-rw-r--. 1 jenkins jenkins 444 Nov 8 09:17 Makefile 09:18:23 -rw-rw-r--. 1 jenkins jenkins 618 Nov 8 09:17 OWNERS.md 09:18:23 -rw-rw-r--. 1 jenkins jenkins 4086 Nov 8 09:17 README.md 09:18:23 -rw-rw-r--. 1 jenkins jenkins 7422 Nov 8 09:17 README.v2.md 09:18:23 drwxrwxr-x. 2 jenkins jenkins 98 Nov 8 09:17 scripts 09:18:23 drwxrwxr-x. 4 jenkins jenkins 50 Nov 8 09:17 src 09:18:23 -rw-rw-r--. 1 jenkins jenkins 12 Nov 8 09:14 VERSION 09:18:23 HTTP request sent, awaiting response... 302 Found 09:18:23 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 09:18:23 --2021-11-08 09:18:22-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 09:18:23 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 09:18:23 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 09:18:23 HTTP request sent, awaiting response... 200 OK 09:18:23 Length: unspecified [application/x-gzip] 09:18:23 Saving to: 'STDOUT' 09:18:23  09:18:23 0K .......... .......... .......... .......... .......... 1.25M 09:18:23 50K .......... .......... .......... .......... .......... 5.20M 09:18:23 100K .......... .......... .......... .......... .......... 2.51M 09:18:23 150K .......... .......... .......... ......... 1.59M=0.09s 09:18:23 09:18:23 2021-11-08 09:18:23 (2.01 MB/s) - written to stdout [193961] 09:18:23 [Pipeline] isUnix [Pipeline] sh 09:18:23 + mkdir -p src/c/iot 09:18:23 + 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 09:18:23 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 09:18:23 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 09:18:23 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 09:18:23 + mkdir -p include/iot 09:18:23 + 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 09:18:23 + mkdir -p include/iot/os 09:18:23 + 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 09:18:23 + mkdir -p /tmp/sdk/build/release 09:18:23 + cd /tmp/sdk/build/release 09:18:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:18:23 + 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=9c093d915178364b5ad4a5f89c558c84b05f4943 --label arch=amd64 --label version=2.0.1-dev.13 . 09:18:23 Sending build context to Docker daemon 2.713MB 09:18:23 Step 1/17 : ARG BASE=alpine:3.14 09:18:23 Step 2/17 : FROM ${BASE} 09:18:23 ---> e42a430b690e 09:18:23 Step 3/17 : LABEL maintainer="IOTech " 09:18:23 ---> Running in b65a5dca0907 09:18:23 -- The C compiler identification is GNU 10.3.1 09:18:23 -- Detecting C compiler ABI info 09:18:23 Removing intermediate container b65a5dca0907 09:18:23 ---> 0aab98389478 09:18:23 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 09:18:23 ---> Running in c89d16cec10f 09:18:23 -- Detecting C compiler ABI info - done 09:18:23 -- Check for working C compiler: /usr/bin/cc - skipped 09:18:23 -- Detecting C compile features 09:18:23 -- Detecting C compile features - done 09:18:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:18:23 --2021-11-08 09:18:23-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 09:18:23 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.74.239.58, ... 09:18:24 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 09:18:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 09:18:24 -- Found LIBYAML: /usr/lib/libyaml.so 09:18:24 -- Found LIBUUID: /usr/lib/libuuid.so 09:18:24 -- Found LIBCBOR: /usr/local/lib/libcbor.so 09:18:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:18:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:18:24 -- C SDK 2.0.1-dev.13 for Linux 09:18:24 -- Performing Test CSDK_HAVE_ATOMIC 09:18:24 HTTP request sent, awaiting response... 200 OK 09:18:24 Length: unspecified [application/json] 09:18:24 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 09:18:24  09:18:24 0K  82.7M=0s 09:18:24 09:18:24 2021-11-08 09:18:24 (82.7 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 09:18:24 09:18:24 Removing intermediate container c89d16cec10f 09:18:24 ---> c97db35be54a 09:18:24 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:18:24 ---> Running in 0694686118c0 09:18:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:18:24 -- Found Curses: /usr/lib/libcurses.so 09:18:24 -- Configuring done 09:18:25 -- Generating done 09:18:25 -- Build files have been written to: /tmp/sdk/build/release 09:18:25 + + make alltee package release.log 09:18:25 09:18:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:18:25 Removing intermediate container 0694686118c0 09:18:25 ---> 1ea587ecc958 09:18:25 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 09:18:25 ---> Running in 0cd408fd1622 09:18:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:18:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:18:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:18:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:18:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 09:18:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:18:27 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 09:18:27 (2/21) Installing libblkid (2.37.2-r0) 09:18:27 (3/21) Installing blkid (2.37.2-r0) 09:18:27 (4/21) Installing libcap-ng (0.8.2-r0) 09:18:27 (5/21) Installing setpriv (2.37.2-r0) 09:18:27 (6/21) Installing libmount (2.37.2-r0) 09:18:27 (7/21) Installing libsmartcols (2.37.2-r0) 09:18:27 (8/21) Installing findmnt (2.37.2-r0) 09:18:27 (9/21) Installing mcookie (2.37.2-r0) 09:18:27 (10/21) Installing hexdump (2.37.2-r0) 09:18:27 (11/21) Installing lsblk (2.37.2-r0) 09:18:27 (12/21) Installing libfdisk (2.37.2-r0) 09:18:28 (13/21) Installing sfdisk (2.37.2-r0) 09:18:28 (14/21) Installing cfdisk (2.37.2-r0) 09:18:28 (15/21) Installing partx (2.37.2-r0) 09:18:28 (16/21) Installing flock (2.37.2-r0) 09:18:28 (17/21) Installing logger (2.37.2-r0) 09:18:28 (18/21) Installing uuidgen (2.37.2-r0) 09:18:28 (19/21) Installing libeconf (0.3.8-r1) 09:18:28 (20/21) Installing util-linux (2.37.2-r0) 09:18:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:18:28 (21/21) Installing util-linux-dev (2.37.2-r0) 09:18:29 Executing busybox-1.33.1-r3.trigger 09:18:29 OK: 291 MiB in 105 packages 09:18:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:18:29 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:18:29 Removing intermediate container 0cd408fd1622 09:18:29 ---> 12f4d1129735 09:18:29 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:18:29 ---> a047c4c74bd8 09:18:29 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:18:29 ---> d8bc7e43ad24 09:18:29 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:18:30 ---> 6c94ba9adb1f 09:18:30 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:18:30 ---> 58a2ea5b9832 09:18:30 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:18:30 ---> 707fe39cf1f2 09:18:30 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:18:30 ---> 08166a745144 09:18:30 Step 13/17 : WORKDIR /edgex-c-sdk 09:18:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:18:30 ---> Running in bfe3b6a8bd1c 09:18:30 Removing intermediate container bfe3b6a8bd1c 09:18:30 ---> 11ef1b85d674 09:18:30 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:18:30 ---> Running in c5e1fc7d9faa 09:18:30 Removing intermediate container c5e1fc7d9faa 09:18:30 ---> 588ffc358248 09:18:30 Step 15/17 : LABEL arch=amd64 09:18:30 ---> Running in acc25fe2b0a5 09:18:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:18:31 Removing intermediate container acc25fe2b0a5 09:18:31 ---> 2029c23f53ad 09:18:31 Step 16/17 : LABEL git_sha=9c093d915178364b5ad4a5f89c558c84b05f4943 09:18:31 ---> Running in 822c69ce9b31 09:18:31 Removing intermediate container 822c69ce9b31 09:18:31 ---> f4066e892819 09:18:31 Step 17/17 : LABEL version=2.0.1-dev.13 09:18:31 ---> Running in 2fa1baa4c1c0 09:18:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:18:31 Removing intermediate container 2fa1baa4c1c0 09:18:31 ---> c0aa8b1721b1 09:18:31 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:18:31 Successfully built c0aa8b1721b1 09:18:31 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 09:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:18:32 09:18:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:18:32 latest: Pulling from edgex-lftools-log-publisher 09:18:32 b4d181a07f80: Pulling fs layer 09:18:32 a1111a8f2ec3: Pulling fs layer 09:18:32 ed53099fbce6: Pulling fs layer 09:18:32 dc539afda2c1: Pulling fs layer 09:18:32 77bc0d833cb6: Pulling fs layer 09:18:32 9065ff56babe: Pulling fs layer 09:18:32 d287ab97295c: Pulling fs layer 09:18:32 dc539afda2c1: Waiting 09:18:32 77bc0d833cb6: Waiting 09:18:32 9065ff56babe: Waiting 09:18:32 d287ab97295c: Waiting 09:18:32 a1111a8f2ec3: Verifying Checksum 09:18:32 a1111a8f2ec3: Download complete 09:18:32 dc539afda2c1: Verifying Checksum 09:18:32 dc539afda2c1: Download complete 09:18:32 ed53099fbce6: Verifying Checksum 09:18:32 ed53099fbce6: Download complete 09:18:32 77bc0d833cb6: Verifying Checksum 09:18:32 77bc0d833cb6: Download complete 09:18:32 9065ff56babe: Verifying Checksum 09:18:32 9065ff56babe: Download complete 09:18:32 b4d181a07f80: Verifying Checksum 09:18:32 b4d181a07f80: Download complete 09:18:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:18:33 d287ab97295c: Verifying Checksum 09:18:33 d287ab97295c: Download complete 09:18:34 b4d181a07f80: Pull complete 09:18:34 a1111a8f2ec3: Pull complete 09:18:34 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:18:34 ed53099fbce6: Pull complete 09:18:35 dc539afda2c1: Pull complete 09:18:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:18:35 77bc0d833cb6: Pull complete 09:18:35 9065ff56babe: Pull complete 09:18:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:18:36 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:18:37 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:18:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:18:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:18:40 d287ab97295c: Pull complete 09:18:40 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:18:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:18:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:18:40 prd-centos7-docker-4c-2g-27926 does not seem to be running inside a container 09:18:40 $ 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/14 -v /w/workspace/device-sdk-c/14:/w/workspace/device-sdk-c/14:rw,z -v /w/workspace/device-sdk-c/14@tmp:/w/workspace/device-sdk-c/14@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 09:18:41 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:18:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:18:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:18:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:18:42 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:18:42 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:18:42 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:18:42 275 | const iot_component_factory_t * factory; 09:18:42 | ^~~~~~~ 09:18:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:18:43 $ docker top a2a6e46d030561d4ee6330a6f9c0845575b11ee10c6e8426d363d63a2e2382a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:18:44 ---> job-cost.sh 09:18:44 lf-activate-venv: SKIPPING 09:18:44 INFO: No Stack... 09:18:44 INFO: Retrieving Pricing Info for: v3-standard-2 09:18:45 INFO: Archiving Costs [Pipeline] sh 09:18:45 + cat /w/workspace/device-sdk-c/14/archives/cost.csv 09:18:45 + cut -d, -f6 [Pipeline] lock 09:18:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] 09:18:45 Resource [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] did not exist. Created. 09:18:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:18:45 + echo total: 0.05999999865889549 [Pipeline] stash 09:18:45 Stashed 1 file(s) [Pipeline] } 09:18:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 09:18:45 $ docker stop --time=1 a2a6e46d030561d4ee6330a6f9c0845575b11ee10c6e8426d363d63a2e2382a2 09:18:47 $ docker rm -f a2a6e46d030561d4ee6330a6f9c0845575b11ee10c6e8426d363d63a2e2382a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:18:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:18:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:18:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:18:48 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:18:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:18:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:18:51 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:18:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:18:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:18:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:18:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:18:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:18:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:18:56 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:18:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:19:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:19:02 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:19:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:19:03 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:19:03 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 09:19:03 /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] 09:19:03 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 09:19:03 | ^~~~~~~~~~~~~ 09:19:03 | | 09:19:03 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 09:19:03 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:03 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 09:19:03 2714 | MHD_KeyValueIterator iterator, 09:19:03 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 09:19:03 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 09:19:03 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:19:03 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 09:19:03 | ^~~~~~~~~~~~ 09:19:03 | | 09:19:03 | 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 **)} 09:19:03 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:03 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:19:03 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:19:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:19:03 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:19:03 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 09:19:03 | ^~~~~~~~~~~~ 09:19:03 | | 09:19:03 | 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 **)} 09:19:03 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:03 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:19:03 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:19:03 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:19:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:19:06 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:19:06 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:19:07 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:19:07 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:19:10 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:19:14 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:19:14 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:19:15 [ 76%] Linking C shared library libcsdk.so 09:19:15 [ 76%] Built target csdk 09:19:15 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:19:16 [ 79%] Linking C executable template 09:19:16 [ 79%] Built target template 09:19:16 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:19:17 [ 82%] Linking C executable device-counter 09:19:17 [ 82%] Built target device-counter 09:19:17 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:19:17 [ 85%] Linking C executable device-random 09:19:18 [ 85%] Built target device-random 09:19:18 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:19:18 [ 88%] Linking C executable device-gyro 09:19:18 [ 88%] Built target device-gyro 09:19:19 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:19:19 [ 91%] Linking C executable device-bitfields 09:19:19 [ 91%] Built target device-bitfields 09:19:19 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:19:20 [ 94%] Linking C executable template-discovery 09:19:20 [ 94%] Built target template-discovery 09:19:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:19:21 [ 97%] Linking C executable device-file 09:19:21 [ 97%] Built target device-file 09:19:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:19:22 [100%] Linking C executable device-terminal 09:19:22 [100%] Built target device-terminal 09:19:22 Run CPack packaging tool... 09:19:22 CPack: Create package using TGZ 09:19:22 CPack: Install projects 09:19:22 CPack: - Run preinstall target for: Csdk 09:19:23 CPack: - Install project: Csdk [] 09:19:23 CPack: Create package 09:19:23 CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.13.tar.gz generated. 09:19:23 + '[' false '=' true ] 09:19:23 + '[' false '=' true ] 09:19:23 + mkdir -p /tmp/sdk/build/debug 09:19:23 + cd /tmp/sdk/build/debug 09:19:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:19:23 -- The C compiler identification is GNU 10.3.1 09:19:23 -- Detecting C compiler ABI info 09:19:24 -- Detecting C compiler ABI info - done 09:19:24 -- Check for working C compiler: /usr/bin/cc - skipped 09:19:24 -- Detecting C compile features 09:19:24 -- Detecting C compile features - done 09:19:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:19:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 09:19:24 -- Found LIBYAML: /usr/lib/libyaml.so 09:19:24 -- Found LIBUUID: /usr/lib/libuuid.so 09:19:24 -- Found LIBCBOR: /usr/local/lib/libcbor.so 09:19:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:19:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:19:24 -- C SDK 2.0.1-dev.13 for Linux 09:19:24 -- Performing Test CSDK_HAVE_ATOMIC 09:19:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:19:25 -- Found Curses: /usr/lib/libcurses.so 09:19:25 -- Configuring done 09:19:25 -- Generating done 09:19:25 -- Build files have been written to: /tmp/sdk/build/debug 09:19:25 + + teemake 09:19:25 debug.log 09:19:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:19:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:19:26 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:19:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:19:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:19:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:19:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:19:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:19:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:19:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:19:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:19:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:19:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:19:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:19:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:19:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:19:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:19:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:19:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:19:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:19:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:19:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:19:33 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:19:33 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:19:33 275 | const iot_component_factory_t * factory; 09:19:33 | ^~~~~~~ 09:19:33 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:19:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:19:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:19:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:19:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:19:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:19:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:19:35 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:19:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:19:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:19:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:19:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:19:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:19:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:19:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:19:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:19:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:19:39 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:19:39 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:19:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:19:40 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 09:19:40 /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] 09:19:40 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 09:19:40 | ^~~~~~~~~~~~~ 09:19:40 | | 09:19:40 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 09:19:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:40 /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' 09:19:40 2714 | MHD_KeyValueIterator iterator, 09:19:40 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 09:19:40 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 09:19:40 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:19:40 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 09:19:40 | ^~~~~~~~~~~~ 09:19:40 | | 09:19:40 | 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 **)} 09:19:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:40 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:19:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:19:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:19:40 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 09:19:40 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 09:19:40 | ^~~~~~~~~~~~ 09:19:40 | | 09:19:40 | 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 **)} 09:19:40 In file included from /tmp/sdk/src/c/rest-server.c:21: 09:19:40 /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 09:19:40 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 09:19:40 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 09:19:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:19:42 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:19:42 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:19:42 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:19:42 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:19:43 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:19:44 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:19:44 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:19:45 [ 76%] Linking C shared library libcsdk.so 09:19:45 [ 76%] Built target csdk 09:19:45 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:19:45 [ 79%] Linking C executable template 09:19:45 [ 79%] Built target template 09:19:45 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:19:46 [ 82%] Linking C executable device-counter 09:19:46 [ 82%] Built target device-counter 09:19:46 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:19:46 [ 85%] Linking C executable device-random 09:19:47 [ 85%] Built target device-random 09:19:47 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:19:47 [ 88%] Linking C executable device-gyro 09:19:47 [ 88%] Built target device-gyro 09:19:47 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:19:47 [ 91%] Linking C executable device-bitfields 09:19:48 [ 91%] Built target device-bitfields 09:19:48 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:19:48 [ 94%] Linking C executable template-discovery 09:19:48 [ 94%] Built target template-discovery 09:19:48 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:19:49 [ 97%] Linking C executable device-file 09:19:49 [ 97%] Built target device-file 09:19:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:19:49 [100%] Linking C executable device-terminal 09:19:50 [100%] Built target device-terminal 09:19:50 make: Entering directory '/tmp/sdk/build/release' 09:19:50 make[1]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 76%] Built target csdk 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 79%] Built target template 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 82%] Built target device-counter 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 85%] Built target device-random 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 88%] Built target device-gyro 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 91%] Built target device-bitfields 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 94%] Built target template-discovery 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [ 97%] Built target device-file 09:19:50 make[2]: Entering directory '/tmp/sdk/build/release' 09:19:50 make[2]: Leaving directory '/tmp/sdk/build/release' 09:19:50 [100%] Built target device-terminal 09:19:50 make[1]: Leaving directory '/tmp/sdk/build/release' 09:19:50 Install the project... 09:19:50 -- Install configuration: "Release" 09:19:50 -- Installing: /usr/local/lib/libcsdk.so 09:19:50 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:19:50 -- Up-to-date: /usr/local/include 09:19:50 -- Installing: /usr/local/include/edgex 09:19:50 -- Installing: /usr/local/include/edgex/rest-server.h 09:19:50 -- Installing: /usr/local/include/edgex/edgex-base.h 09:19:50 -- Installing: /usr/local/include/edgex/edgex.h 09:19:50 -- Installing: /usr/local/include/edgex/devices.h 09:19:50 -- Installing: /usr/local/include/edgex/profiles.h 09:19:50 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:19:50 -- Installing: /usr/local/include/devsdk 09:19:50 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:19:50 -- Installing: /usr/local/include/devsdk/devsdk.h 09:19:50 -- Installing: /usr/local/include/iot 09:19:50 -- Installing: /usr/local/include/iot/json.h 09:19:50 -- Installing: /usr/local/include/iot/container.h 09:19:50 -- Installing: /usr/local/include/iot/component.h 09:19:50 -- Installing: /usr/local/include/iot/typecode.h 09:19:50 -- Installing: /usr/local/include/iot/iot.h 09:19:50 -- Installing: /usr/local/include/iot/uuid.h 09:19:50 -- Installing: /usr/local/include/iot/time.h 09:19:50 -- Installing: /usr/local/include/iot/hash.h 09:19:50 -- Installing: /usr/local/include/iot/logger.h 09:19:50 -- Installing: /usr/local/include/iot/os 09:19:50 -- Installing: /usr/local/include/iot/os/zephyr.h 09:19:50 -- Installing: /usr/local/include/iot/os/linux.h 09:19:50 -- Installing: /usr/local/include/iot/os/macos.h 09:19:50 -- Installing: /usr/local/include/iot/scheduler.h 09:19:50 -- Installing: /usr/local/include/iot/data.h 09:19:50 -- Installing: /usr/local/include/iot/thread.h 09:19:50 -- Installing: /usr/local/include/iot/os.h 09:19:50 -- Installing: /usr/local/include/iot/base64.h 09:19:50 -- Installing: /usr/local/include/iot/defs.h 09:19:50 -- Installing: /usr/local/include/iot/threadpool.h 09:19:50 -- Installing: /usr/local/include/iot/config.h 09:19:50 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:19:50 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:19:50 make: Leaving directory '/tmp/sdk/build/release' 09:19:52 Removing intermediate container 0471224ea330 09:19:52 ---> c207f29a3ded 09:19:52 Step 16/24 : FROM ${BASE} 09:19:52 ---> b6d714ea7bf2 09:19:52 Step 17/24 : LABEL maintainer="IOTech " 09:19:52 ---> Running in 87d225a1a95a 09:19:53 Removing intermediate container 87d225a1a95a 09:19:53 ---> 137f05454058 09:19:53 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 09:19:53 ---> Running in 1a95c6404c64 09:19:54 Connecting to iotech.jfrog.io (54.74.239.58:443) 09:19:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:19:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:19:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:19:55 Removing intermediate container 1a95c6404c64 09:19:55 ---> f1ec34721705 09:19:55 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:19:55 ---> Running in aa85a7a5383a 09:19:57 Removing intermediate container aa85a7a5383a 09:19:57 ---> 2200a37be7ed 09:19:57 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 09:19:57 ---> Running in a68df9c9ac6b 09:19:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:19:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:19:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 09:20:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:20:00 (1/7) Installing curl (7.79.1-r0) 09:20:00 (2/7) Installing hiredis (1.0.0-r0) 09:20:00 (3/7) Installing hiredis-dev (1.0.0-r0) 09:20:01 (4/7) Installing libuuid (2.37.2-r0) 09:20:01 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:20:02 (6/7) Installing libidn2 (2.3.1-r0) 09:20:02 (7/7) Installing wget (1.21.1-r1) 09:20:02 Executing busybox-1.33.1-r3.trigger 09:20:02 OK: 276 MiB in 84 packages 09:20:03 Removing intermediate container a68df9c9ac6b 09:20:03 ---> 55e5a25f0a56 09:20:03 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:20:04 ---> 96e1ac89272a 09:20:04 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:20:04 ---> 52570c5e2d74 09:20:04 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 09:20:05 ---> 556af367f638 09:20:05 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:20:06 ---> 5b51ce3f46bb 09:20:06 Successfully built 5b51ce3f46bb 09:20:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:20:06 + docker inspect -f . ci-base-image-arm64 09:20:06 . [Pipeline] withDockerContainer 09:20:07 prd-ubuntu18.04-docker-arm64-4c-16g-27925 does not seem to be running inside a container 09:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/14 -v /w/workspace/device-sdk-c/14:/w/workspace/device-sdk-c/14:rw,z -v /w/workspace/device-sdk-c/14@tmp:/w/workspace/device-sdk-c/14@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 09:20:08 $ docker top 8bab6954fdc289e84e270b1007d1292d99fd323aab94a7f03939516af8a3f549 -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:09 + make test 09:20:09 echo "make test" 09:20:09 make test [Pipeline] } 09:20:09 $ docker stop --time=1 8bab6954fdc289e84e270b1007d1292d99fd323aab94a7f03939516af8a3f549 09:20:11 $ docker rm -f 8bab6954fdc289e84e270b1007d1292d99fd323aab94a7f03939516af8a3f549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:12 + ls -al . 09:20:12 total 200 09:20:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 09:16 . 09:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 09:16 .. 09:20:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 09:16 .git 09:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 09:16 .github 09:20:12 -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 09:16 .gitignore 09:20:12 -rw-rw-r-- 1 jenkins jenkins 3104 Nov 8 09:16 Attribution.txt 09:20:12 -rw-rw-r-- 1 jenkins jenkins 7880 Nov 8 09:16 CHANGES 09:20:12 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 09:16 Doxyfile 09:20:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 09:16 GOVERNANCE.md 09:20:12 -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 09:16 Jenkinsfile 09:20:12 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 09:16 LICENSE 09:20:12 -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 09:16 Makefile 09:20:12 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 09:16 OWNERS.md 09:20:12 -rw-rw-r-- 1 jenkins jenkins 4086 Nov 8 09:16 README.md 09:20:12 -rw-rw-r-- 1 jenkins jenkins 7422 Nov 8 09:16 README.v2.md 09:20:12 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 09:14 VERSION 09:20:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 09:16 docs 09:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 09:16 include 09:20:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 09:16 scripts 09:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 09:16 src [Pipeline] isUnix [Pipeline] sh 09:20:12 + 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=9c093d915178364b5ad4a5f89c558c84b05f4943 --label arch=arm64 --label version=2.0.1-dev.13 . 09:20:13 Sending build context to Docker daemon 2.712MB 09:20:13 Step 1/17 : ARG BASE=alpine:3.14 09:20:13 Step 2/17 : FROM ${BASE} 09:20:13 ---> 5b51ce3f46bb 09:20:13 Step 3/17 : LABEL maintainer="IOTech " 09:20:13 ---> Running in 8b3514b8886c 09:20:14 Removing intermediate container 8b3514b8886c 09:20:14 ---> 395ff850023f 09:20:14 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 09:20:14 ---> Running in dffbffb829ea 09:20:15 --2021-11-08 09:20:14-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 09:20:15 Resolving iotech.jfrog.io (iotech.jfrog.io)... 34.243.182.113, 54.74.239.58, 54.229.110.245, ... 09:20:15 Connecting to iotech.jfrog.io (iotech.jfrog.io)|34.243.182.113|:443... connected. 09:20:15 HTTP request sent, awaiting response... 200 OK 09:20:15 Length: unspecified [application/json] 09:20:15 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 09:20:15  09:20:15 0K    49.0M=0s 09:20:15 09:20:15 2021-11-08 09:20:15 (49.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 09:20:15 09:20:16 Removing intermediate container dffbffb829ea 09:20:16 ---> bb0236ab48a7 09:20:16 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:20:16 ---> Running in 5932d01cb087 09:20:18 Removing intermediate container 5932d01cb087 09:20:18 ---> a1d00531fbe3 09:20:18 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 09:20:18 ---> Running in 867618ab03d4 09:20:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:20:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:20:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 09:20:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:20:21 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 09:20:21 (2/21) Installing libblkid (2.37.2-r0) 09:20:21 (3/21) Installing blkid (2.37.2-r0) 09:20:21 (4/21) Installing libcap-ng (0.8.2-r0) 09:20:21 (5/21) Installing setpriv (2.37.2-r0) 09:20:22 (6/21) Installing libmount (2.37.2-r0) 09:20:22 (7/21) Installing libsmartcols (2.37.2-r0) 09:20:22 (8/21) Installing findmnt (2.37.2-r0) 09:20:22 (9/21) Installing mcookie (2.37.2-r0) 09:20:22 (10/21) Installing hexdump (2.37.2-r0) 09:20:22 (11/21) Installing lsblk (2.37.2-r0) 09:20:22 (12/21) Installing libfdisk (2.37.2-r0) 09:20:22 (13/21) Installing sfdisk (2.37.2-r0) 09:20:22 (14/21) Installing cfdisk (2.37.2-r0) 09:20:22 (15/21) Installing partx (2.37.2-r0) 09:20:22 (16/21) Installing flock (2.37.2-r0) 09:20:22 (17/21) Installing logger (2.37.2-r0) 09:20:22 (18/21) Installing uuidgen (2.37.2-r0) 09:20:23 (19/21) Installing libeconf (0.3.8-r1) 09:20:23 (20/21) Installing util-linux (2.37.2-r0) 09:20:23 (21/21) Installing util-linux-dev (2.37.2-r0) 09:20:23 Executing busybox-1.33.1-r3.trigger 09:20:23 OK: 287 MiB in 105 packages 09:20:25 Removing intermediate container 867618ab03d4 09:20:25 ---> f544e271e0f5 09:20:25 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:20:25 ---> 58ea1fea9240 09:20:25 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:20:26 ---> ec408e6983d8 09:20:26 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:20:27 ---> e324725ada7f 09:20:27 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:20:27 ---> 2c6dc53e3d3c 09:20:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:20:28 ---> e146ac429e23 09:20:28 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:20:29 ---> 79b24e74e013 09:20:29 Step 13/17 : WORKDIR /edgex-c-sdk 09:20:29 ---> Running in 9018403fac14 09:20:29 Removing intermediate container 9018403fac14 09:20:29 ---> 8219c4e5db6f 09:20:29 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:20:29 ---> Running in 56d556f8f579 09:20:30 Removing intermediate container 56d556f8f579 09:20:30 ---> 72943f0a6615 09:20:30 Step 15/17 : LABEL arch=arm64 09:20:30 ---> Running in 41b8b39d3df1 09:20:30 Removing intermediate container 41b8b39d3df1 09:20:30 ---> 6dde89ed88f0 09:20:30 Step 16/17 : LABEL git_sha=9c093d915178364b5ad4a5f89c558c84b05f4943 09:20:31 ---> Running in 597246cbfff2 09:20:31 Removing intermediate container 597246cbfff2 09:20:31 ---> 64af26a7a1ed 09:20:31 Step 17/17 : LABEL version=2.0.1-dev.13 09:20:31 ---> Running in 39f5b5dd41b3 09:20:31 Removing intermediate container 39f5b5dd41b3 09:20:31 ---> 3b3e33f80f3b 09:20:31 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:20:31 Successfully built 3b3e33f80f3b 09:20:31 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 09:20:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:20:32 09:20:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:20:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:20:33 arm64: Pulling from edgex-lftools-log-publisher 09:20:33 448f6bf000e3: Pulling fs layer 09:20:33 f757da607395: Pulling fs layer 09:20:33 05883995daec: Pulling fs layer 09:20:33 8603b9c90790: Pulling fs layer 09:20:33 1560dd03e051: Pulling fs layer 09:20:33 27f5ce0e4adf: Pulling fs layer 09:20:33 c2d8d7efcc4b: Pulling fs layer 09:20:33 1560dd03e051: Waiting 09:20:33 8603b9c90790: Waiting 09:20:33 27f5ce0e4adf: Waiting 09:20:33 c2d8d7efcc4b: Waiting 09:20:33 f757da607395: Verifying Checksum 09:20:33 f757da607395: Download complete 09:20:33 8603b9c90790: Verifying Checksum 09:20:33 8603b9c90790: Download complete 09:20:33 1560dd03e051: Verifying Checksum 09:20:33 1560dd03e051: Download complete 09:20:33 27f5ce0e4adf: Verifying Checksum 09:20:33 27f5ce0e4adf: Download complete 09:20:33 05883995daec: Verifying Checksum 09:20:33 05883995daec: Download complete 09:20:33 448f6bf000e3: Verifying Checksum 09:20:33 448f6bf000e3: Download complete 09:20:36 c2d8d7efcc4b: Verifying Checksum 09:20:36 c2d8d7efcc4b: Download complete 09:20:38 448f6bf000e3: Pull complete 09:20:39 f757da607395: Pull complete 09:20:40 05883995daec: Pull complete 09:20:40 8603b9c90790: Pull complete 09:20:41 1560dd03e051: Pull complete 09:20:41 27f5ce0e4adf: Pull complete 09:20:56 c2d8d7efcc4b: Pull complete 09:20:56 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:20:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:20:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:20:57 prd-ubuntu18.04-docker-arm64-4c-16g-27925 does not seem to be running inside a container 09:20:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/14 -v /w/workspace/device-sdk-c/14:/w/workspace/device-sdk-c/14:rw,z -v /w/workspace/device-sdk-c/14@tmp:/w/workspace/device-sdk-c/14@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 09:20:59 $ docker top 00bbc755507fadf32fada5c00e85a408500816b4e48b05ddc8cae4663341ba0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:00 ---> job-cost.sh 09:21:00 lf-activate-venv: SKIPPING 09:21:00 INFO: No Stack... 09:21:01 INFO: Retrieving Pricing Info for: v3-standard-4 09:21:01 INFO: Archiving Costs [Pipeline] sh 09:21:02 + cat /w/workspace/device-sdk-c/14/archives/cost.csv 09:21:02 + cut -d, -f6 [Pipeline] lock 09:21:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] 09:21:02 Resource [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] did not exist. Created. 09:21:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:21:03 /w/workspace/device-sdk-c/14@tmp/durable-d0e90f11/script.sh: 1: /w/workspace/device-sdk-c/14@tmp/durable-d0e90f11/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:21:03 + echo total: 0.10999999940395355 [Pipeline] stash 09:21:03 Warning: overwriting stash ‘stack-cost’ 09:21:04 Stashed 1 file(s) [Pipeline] } 09:21:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 09:21:04 $ docker stop --time=1 00bbc755507fadf32fada5c00e85a408500816b4e48b05ddc8cae4663341ba0b 09:21:05 $ docker rm -f 00bbc755507fadf32fada5c00e85a408500816b4e48b05ddc8cae4663341ba0b [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] isUnix [Pipeline] sh 09:21:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:06 . [Pipeline] withDockerContainer 09:21:06 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:21:07 $ docker top 0ebccb666e6567ae8f907af032c48445c79500dfdab05a780d82865aba0a592d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:07 [ssh-agent] Looking for ssh-agent implementation... 09:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:07 $ docker exec 0ebccb666e6567ae8f907af032c48445c79500dfdab05a780d82865aba0a592d ssh-agent 09:21:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgCofNb/agent.14 09:21:07 SSH_AGENT_PID=21 09:21:07 Running ssh-add (command line suppressed) 09:21:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1521790402196259693.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1521790402196259693.key) 09:21:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:07 + git semver tag 09:21:07 # -> Open(): unable to determine branch for HEAD 09:21:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 09:21:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 09:21:07 # $SEMVER_REMOTE_NAME = origin 09:21:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:21:07 # $SEMVER_USER_NAME = edgex-jenkins 09:21:07 # $SEMVER_BRANCH = main 09:21:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 09:21:07 # 9c093d915178364b5ad4a5f89c558c84b05f4943 HEAD 09:21:07 # -> Force: false 09:21:07 # 47bed86f3c2b2f251fcf202a13712006030f59ea refs/tags/v2.0.1-dev.13 [Pipeline] } 09:21:07 $ docker exec --env ******** --env ******** 0ebccb666e6567ae8f907af032c48445c79500dfdab05a780d82865aba0a592d ssh-agent -k 09:21:07 unset SSH_AUTH_SOCK; 09:21:07 unset SSH_AGENT_PID; 09:21:07 echo Agent pid 21 killed; 09:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:08 + git semver [Pipeline] } 09:21:08 $ docker stop --time=1 0ebccb666e6567ae8f907af032c48445c79500dfdab05a780d82865aba0a592d 09:21:09 $ docker rm -f 0ebccb666e6567ae8f907af032c48445c79500dfdab05a780d82865aba0a592d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:21:09 09:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:21:10 0.23.1-centos7: Pulling from edgex-lftools 09:21:10 ab5ef0e58194: Pulling fs layer 09:21:10 9712f1f96733: Pulling fs layer 09:21:10 63f879dbbcfc: Pulling fs layer 09:21:10 0d9ebad4ef96: Pulling fs layer 09:21:10 e9a5061849ea: Pulling fs layer 09:21:10 d747dcd14b5f: Pulling fs layer 09:21:10 2de7ff778b66: Pulling fs layer 09:21:10 0d9ebad4ef96: Waiting 09:21:10 e9a5061849ea: Waiting 09:21:10 d747dcd14b5f: Waiting 09:21:10 2de7ff778b66: Waiting 09:21:10 9712f1f96733: Download complete 09:21:10 63f879dbbcfc: Verifying Checksum 09:21:10 63f879dbbcfc: Download complete 09:21:10 ab5ef0e58194: Verifying Checksum 09:21:10 ab5ef0e58194: Download complete 09:21:10 d747dcd14b5f: Verifying Checksum 09:21:10 d747dcd14b5f: Download complete 09:21:10 e9a5061849ea: Verifying Checksum 09:21:10 e9a5061849ea: Download complete 09:21:10 0d9ebad4ef96: Verifying Checksum 09:21:10 0d9ebad4ef96: Download complete 09:21:10 2de7ff778b66: Verifying Checksum 09:21:10 2de7ff778b66: Download complete 09:21:14 ab5ef0e58194: Pull complete 09:21:14 9712f1f96733: Pull complete 09:21:14 63f879dbbcfc: Pull complete 09:21:18 0d9ebad4ef96: Pull complete 09:21:19 e9a5061849ea: Pull complete 09:21:19 d747dcd14b5f: Pull complete 09:21:20 2de7ff778b66: Pull complete 09:21:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:21:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:21:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:21:20 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:21:24 $ docker top 7d1025aebbeb1a570466a0665a532a078d2f3042cb17114598b28f066449a59e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:21:24 provisioning config files... 09:21:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5692646432051563643tmp 09:21:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9209074038638250161tmp 09:21:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1778782000863999556tmp [Pipeline] { [Pipeline] echo 09:21:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:21:24 ---> sigul-configuration.sh 09:21:24 gpg: directory `/root/.gnupg' created 09:21:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:21:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:21:24 gpg: keyring `/root/.gnupg/secring.gpg' created 09:21:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:21:24 gpg: CAST5 encrypted data 09:21:24 gpg: encrypted with 1 passphrase 09:21:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:21:25 + mkdir /home/jenkins 09:21:25 + mkdir /home/jenkins/sigul [Pipeline] sh 09:21:25 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:21:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:21:25 ---> sigul-install.sh 09:21:25 Sigul already installed; skipping installation. [Pipeline] sh 09:21:25 + git tag --list 09:21:25 0.7.0 09:21:25 0.7.1 09:21:25 1.0.0 09:21:25 v1.0.1 09:21:25 v1.0.2 09:21:25 v1.0.3 09:21:25 v1.1.0 09:21:25 v1.1.1 09:21:25 v1.2.0 09:21:25 v1.2.1 09:21:25 v1.2.2 09:21:25 v1.3.0 09:21:25 v1.3.1 09:21:25 v2.0.0 09:21:25 v2.0.1-dev.1 09:21:25 v2.0.1-dev.10 09:21:25 v2.0.1-dev.11 09:21:25 v2.0.1-dev.12 09:21:25 v2.0.1-dev.13 09:21:25 v2.0.1-dev.2 09:21:25 v2.0.1-dev.3 09:21:25 v2.0.1-dev.4 09:21:25 v2.0.1-dev.5 09:21:25 v2.0.1-dev.6 09:21:25 v2.0.1-dev.7 09:21:25 v2.0.1-dev.8 09:21:25 v2.0.1-dev.9 [Pipeline] sh 09:21:26 + lftools sign git-tag v2.0.1-dev.13 09:21:26 Signing Git tag with Sigul... 09:21:26 Signing v2.0.1-dev.13 [Pipeline] echo 09:21:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:21:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:21:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:21:28 $ docker stop --time=1 7d1025aebbeb1a570466a0665a532a078d2f3042cb17114598b28f066449a59e 09:21:29 $ docker rm -f 7d1025aebbeb1a570466a0665a532a078d2f3042cb17114598b28f066449a59e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:21:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:29 . [Pipeline] withDockerContainer 09:21:29 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:21:30 $ docker top 4fbe1840a7c5fef5f6d1f0b0977691566bd4b846b62b907e943c85df8add3a75 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:30 [ssh-agent] Looking for ssh-agent implementation... 09:21:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:30 $ docker exec 4fbe1840a7c5fef5f6d1f0b0977691566bd4b846b62b907e943c85df8add3a75 ssh-agent 09:21:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXicHeCH/agent.13 09:21:30 SSH_AGENT_PID=19 09:21:30 Running ssh-add (command line suppressed) 09:21:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2593615268512949616.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2593615268512949616.key) 09:21:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:31 + git semver bump pre 09:21:31 # -> Open(): unable to determine branch for HEAD 09:21:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 09:21:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 09:21:31 # $SEMVER_REMOTE_NAME = origin 09:21:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:21:31 # $SEMVER_USER_NAME = edgex-jenkins 09:21:31 # $SEMVER_BRANCH = main 09:21:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver 09:21:31 2.0.1-dev.14 [Pipeline] } 09:21:31 $ docker exec --env ******** --env ******** 4fbe1840a7c5fef5f6d1f0b0977691566bd4b846b62b907e943c85df8add3a75 ssh-agent -k 09:21:31 unset SSH_AUTH_SOCK; 09:21:31 unset SSH_AGENT_PID; 09:21:31 echo Agent pid 19 killed; 09:21:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:31 + git semver [Pipeline] } 09:21:31 $ docker stop --time=1 4fbe1840a7c5fef5f6d1f0b0977691566bd4b846b62b907e943c85df8add3a75 09:21:32 $ docker rm -f 4fbe1840a7c5fef5f6d1f0b0977691566bd4b846b62b907e943c85df8add3a75 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:21:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:21:33 . [Pipeline] withDockerContainer 09:21:33 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:21:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:21:33 $ docker top 9b75a97500c3f996ebcbd2b9070d05e440c155c87bab399d8cbe6e8223b4502d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:33 [ssh-agent] Looking for ssh-agent implementation... 09:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:33 $ docker exec 9b75a97500c3f996ebcbd2b9070d05e440c155c87bab399d8cbe6e8223b4502d ssh-agent 09:21:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjOInOO/agent.14 09:21:33 SSH_AGENT_PID=20 09:21:33 Running ssh-add (command line suppressed) 09:21:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2521009091619273789.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2521009091619273789.key) 09:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:34 + git semver push 09:21:34 # -> Open(): unable to determine branch for HEAD 09:21:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git 09:21:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main 09:21:34 # $SEMVER_REMOTE_NAME = origin 09:21:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:21:34 # $SEMVER_USER_NAME = edgex-jenkins 09:21:34 # $SEMVER_BRANCH = main 09:21:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } 09:21:36 $ docker exec --env ******** --env ******** 9b75a97500c3f996ebcbd2b9070d05e440c155c87bab399d8cbe6e8223b4502d ssh-agent -k 09:21:36 unset SSH_AUTH_SOCK; 09:21:36 unset SSH_AGENT_PID; 09:21:36 echo Agent pid 20 killed; 09:21:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:36 + git semver [Pipeline] } 09:21:36 $ docker stop --time=1 9b75a97500c3f996ebcbd2b9070d05e440c155c87bab399d8cbe6e8223b4502d 09:21:37 $ docker rm -f 9b75a97500c3f996ebcbd2b9070d05e440c155c87bab399d8cbe6e8223b4502d [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 09:21:38 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:21:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:21:39 ---> package-listing.sh 09:21:39 ++ facter osfamily 09:21:39 ++ tr '[:upper:]' '[:lower:]' 09:21:39 + OS_FAMILY=redhat 09:21:39 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 09:21:39 + START_PACKAGES=/tmp/packages_start.txt 09:21:39 + END_PACKAGES=/tmp/packages_end.txt 09:21:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:21:39 + PACKAGES=/tmp/packages_start.txt 09:21:39 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 09:21:39 + PACKAGES=/tmp/packages_end.txt 09:21:39 + case "${OS_FAMILY}" in 09:21:39 + rpm -qa 09:21:39 + sort 09:21:40 + '[' -f /tmp/packages_start.txt ']' 09:21:40 + '[' -f /tmp/packages_end.txt ']' 09:21:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:21:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 09:21:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 09:21:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 09:21:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:21:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:41 09:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:41 latest: Pulling from edgex-lftools-log-publisher 09:21:41 b4d181a07f80: Pulling fs layer 09:21:41 a1111a8f2ec3: Pulling fs layer 09:21:41 ed53099fbce6: Pulling fs layer 09:21:41 dc539afda2c1: Pulling fs layer 09:21:41 77bc0d833cb6: Pulling fs layer 09:21:41 9065ff56babe: Pulling fs layer 09:21:41 d287ab97295c: Pulling fs layer 09:21:41 dc539afda2c1: Waiting 09:21:41 77bc0d833cb6: Waiting 09:21:41 9065ff56babe: Waiting 09:21:41 d287ab97295c: Waiting 09:21:41 a1111a8f2ec3: Verifying Checksum 09:21:41 a1111a8f2ec3: Download complete 09:21:41 dc539afda2c1: Verifying Checksum 09:21:41 dc539afda2c1: Download complete 09:21:41 ed53099fbce6: Verifying Checksum 09:21:41 ed53099fbce6: Download complete 09:21:42 9065ff56babe: Verifying Checksum 09:21:42 9065ff56babe: Download complete 09:21:42 77bc0d833cb6: Verifying Checksum 09:21:42 77bc0d833cb6: Download complete 09:21:42 b4d181a07f80: Verifying Checksum 09:21:42 b4d181a07f80: Download complete 09:21:42 d287ab97295c: Verifying Checksum 09:21:42 d287ab97295c: Download complete 09:21:43 b4d181a07f80: Pull complete 09:21:43 a1111a8f2ec3: Pull complete 09:21:44 ed53099fbce6: Pull complete 09:21:44 dc539afda2c1: Pull complete 09:21:45 77bc0d833cb6: Pull complete 09:21:45 9065ff56babe: Pull complete 09:21:51 d287ab97295c: Pull complete 09:21:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:21:51 prd-centos7-docker-4c-2g-27924 does not seem to be running inside a container 09:21:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:21:54 $ docker top 6b29b48242cb3c6e9b851beb1a1d36a448f27276d5c4c975af74c97464225d77 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:55 + touch /tmp/pre-build-complete [Pipeline] sh 09:21:55 + mkdir -p /var/log/sysstat [Pipeline] sh 09:21:55 + ls /var/log/sa-host 09:21:55 + sadf -c /var/log/sa-host/sa08 09:21:55 file_magic: OK 09:21:55 HZ: Using current value: 100 09:21:55 file_header: OK 09:21:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:21:55 Statistics: 09:21:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:21:55 File successfully converted to sysstat format version 12.0.3 09:21:55 + sadf -c /var/log/sa-host/sa30 09:21:55 file_magic: OK 09:21:55 HZ: Using current value: 100 09:21:55 file_header: OK 09:21:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:21:55 Statistics: 09:21:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:21:55 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:55 provisioning config files... 09:21:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7223405312441474956tmp [Pipeline] { [Pipeline] echo 09:21:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:21:56 ---> create-netrc.sh [Pipeline] } 09:21:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:21:56 ---> python-tools-install.sh [Pipeline] echo 09:21:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:21:56 ---> sudo-logs.sh 09:21:56 Archiving 'sudo' log.. 09:21:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-27924.novalocal: Name or service not known 09:21:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-27924.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:21:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:21:57 ---> job-cost.sh 09:21:57 lf-activate-venv: SKIPPING 09:21:57 DEBUG: total: 0.10999999940395355 09:21:57 INFO: Retrieving Stack Cost... 09:21:57 INFO: Retrieving Pricing Info for: v3-standard-2 09:21:57 INFO: Archiving Costs [Pipeline] echo 09:21:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:21:58 ---> logs-deploy.sh 09:21:58 lf-activate-venv: SKIPPING 09:21:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/14 09:21:58 INFO: archiving workspace using pattern(s): 09:21:59 Archives upload complete. 09:21:59 INFO: archiving logs to Nexus 09:21:59 ---> uname -a: 09:21:59 Linux prd-centos7-docker-4c-2g-27924.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 09:21:59 09:21:59 09:21:59 ---> lscpu: 09:21:59 Architecture: x86_64 09:21:59 CPU op-mode(s): 32-bit, 64-bit 09:21:59 Byte Order: Little Endian 09:21:59 Address sizes: 40 bits physical, 48 bits virtual 09:21:59 CPU(s): 2 09:21:59 On-line CPU(s) list: 0,1 09:21:59 Thread(s) per core: 1 09:21:59 Core(s) per socket: 1 09:21:59 Socket(s): 2 09:21:59 NUMA node(s): 1 09:21:59 Vendor ID: AuthenticAMD 09:21:59 CPU family: 23 09:21:59 Model: 49 09:21:59 Model name: AMD EPYC-Rome Processor 09:21:59 Stepping: 0 09:21:59 CPU MHz: 2799.998 09:21:59 BogoMIPS: 5599.99 09:21:59 Virtualization: AMD-V 09:21:59 Hypervisor vendor: KVM 09:21:59 Virtualization type: full 09:21:59 L1d cache: 32K 09:21:59 L1i cache: 32K 09:21:59 L2 cache: 512K 09:21:59 L3 cache: 16384K 09:21:59 NUMA node0 CPU(s): 0,1 09:21:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 09:21:59 09:21:59 09:21:59 ---> nproc: 09:21:59 2 09:21:59 09:21:59 09:21:59 ---> df -h: 09:21:59 Filesystem Size Used Avail Use% Mounted on 09:21:59 overlay 40G 8.3G 32G 21% / 09:21:59 tmpfs 64M 0 64M 0% /dev 09:21:59 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 09:21:59 shm 64M 0 64M 0% /dev/shm 09:21:59 /dev/vda1 40G 8.3G 32G 21% /facter-os 09:21:59 09:21:59 09:21:59 ---> sar -b -r -n DEV: 09:21:59 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/08/21 _x86_64_ (2 CPU) 09:21:59 09:21:59 09:13:58 LINUX RESTART (2 CPU) 09:21:59 09:21:59 09:15:01 tps rtps wtps bread/s bwrtn/s 09:21:59 09:16:01 0.83 0.02 0.82 0.53 20.72 09:21:59 09:17:01 0.32 0.00 0.32 0.00 4.96 09:21:59 09:18:01 0.28 0.00 0.28 0.00 2.72 09:21:59 09:19:01 0.25 0.00 0.25 0.00 3.61 09:21:59 09:20:01 0.30 0.00 0.30 0.00 4.53 09:21:59 09:21:01 0.27 0.00 0.27 0.00 4.03 09:21:59 Average: 0.37 0.00 0.37 0.09 6.76 09:21:59 09:21:59 09:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:21:59 09:16:01 5685956 0 621136 7.76 2620 1699220 1413968 15.61 566308 1524320 28 09:21:59 09:17:01 5683704 0 623380 7.78 2620 1699228 1420604 15.68 567560 1524572 8 09:21:59 09:18:01 5681496 0 625588 7.81 2620 1699228 1420472 15.68 570400 1524572 12 09:21:59 09:19:01 5684288 0 622788 7.78 2620 1699236 1413752 15.61 567088 1525420 8 09:21:59 09:20:01 5687848 0 619224 7.73 2620 1699240 1413848 15.61 564128 1525420 8 09:21:59 09:21:01 5687888 0 619180 7.73 2620 1699244 1413824 15.61 563900 1525468 8 09:21:59 Average: 5685197 0 621883 7.76 2620 1699233 1416078 15.63 566564 1524962 12 09:21:59 09:21:59 09:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:21:59 09:16:01 eth0 0.60 0.08 0.05 0.08 0.00 0.00 0.00 0.00 09:21:59 09:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:17:01 eth0 4.05 2.18 3.21 0.29 0.00 0.00 0.00 0.00 09:21:59 09:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:18:01 eth0 0.53 0.30 0.32 0.23 0.00 0.00 0.00 0.00 09:21:59 09:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:19:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 09:21:59 09:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:20:01 eth0 0.27 0.23 0.09 0.07 0.00 0.00 0.00 0.00 09:21:59 09:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:21:01 eth0 0.12 0.07 0.06 0.00 0.00 0.00 0.00 0.00 09:21:59 09:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 Average: eth0 0.95 0.49 0.62 0.11 0.00 0.00 0.00 0.00 09:21:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:21:59 09:21:59 09:21:59 ---> sar -P ALL: 09:21:59 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/08/21 _x86_64_ (2 CPU) 09:21:59 09:21:59 09:13:58 LINUX RESTART (2 CPU) 09:21:59 09:21:59 09:15:01 CPU %user %nice %system %iowait %steal %idle 09:21:59 09:16:01 all 0.23 0.00 0.08 0.00 0.03 99.67 09:21:59 09:16:01 0 0.05 0.00 0.07 0.00 0.02 99.87 09:21:59 09:16:01 1 0.40 0.00 0.08 0.00 0.03 99.48 09:21:59 09:17:01 all 0.28 0.00 0.08 0.00 0.02 99.63 09:21:59 09:17:01 0 0.08 0.00 0.05 0.00 0.00 99.87 09:21:59 09:17:01 1 0.47 0.00 0.10 0.00 0.03 99.40 09:21:59 09:18:01 all 0.23 0.00 0.05 0.00 0.02 99.70 09:21:59 09:18:01 0 0.03 0.00 0.02 0.00 0.02 99.93 09:21:59 09:18:01 1 0.43 0.00 0.08 0.00 0.02 99.47 09:21:59 09:19:01 all 0.24 0.00 0.05 0.00 0.03 99.68 09:21:59 09:19:01 0 0.33 0.00 0.03 0.00 0.02 99.62 09:21:59 09:19:01 1 0.15 0.00 0.07 0.00 0.03 99.75 09:21:59 09:20:01 all 0.25 0.00 0.06 0.00 0.02 99.67 09:21:59 09:20:01 0 0.40 0.00 0.03 0.00 0.00 99.57 09:21:59 09:20:01 1 0.10 0.00 0.08 0.00 0.03 99.78 09:21:59 09:21:01 all 0.17 0.00 0.04 0.00 0.02 99.77 09:21:59 09:21:01 0 0.27 0.00 0.02 0.00 0.02 99.70 09:21:59 09:21:01 1 0.07 0.00 0.07 0.00 0.02 99.85 09:21:59 Average: all 0.23 0.00 0.06 0.00 0.02 99.69 09:21:59 Average: 0 0.19 0.00 0.04 0.00 0.01 99.76 09:21:59 Average: 1 0.27 0.00 0.08 0.00 0.03 99.62 09:21:59 09:21:59 09:21:59