Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9cc441c845f7b3b136fda20b0bd590713aa9127 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-ssh1954392144227566886.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7317993829419682064.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh715789394860935144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh3289649008787598008.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-ssh1268630162845386215.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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-896 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-ssh8049730355640553954.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 f9cc441c845f7b3b136fda20b0bd590713aa9127 (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 f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" > git rev-list --no-walk 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-21T08:02:29.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-21T08:02:29.048Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-21T08:02:29.062Z] ========================================================= [2021-10-21T08:02:29.062Z] EdgeX Global Pipelines Version Info [2021-10-21T08:02:29.062Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:02:30.205Z] ------------------- [2021-10-21T08:02:30.205Z] stable info: [2021-10-21T08:02:30.205Z] ------------------- [2021-10-21T08:02:30.205Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-21T08:02:30.205Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T08:02:30.205Z] Message: update stable to v1.0.210 [2021-10-21T08:02:30.778Z] ------------------- [2021-10-21T08:02:30.778Z] experimental info: [2021-10-21T08:02:30.778Z] ------------------- [2021-10-21T08:02:30.778Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-21T08:02:30.778Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-21T08:02:30.778Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-21T08:02:30.852Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-10-21T08:02:30.862Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-10-21T08:02:30.896Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-21T08:02:30.907Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-21T08:02:30.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-21T08:02:30.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-10-21T08:02:30.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-10-21T08:02:30.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-10-21T08:02:30.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-21T08:02:30.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-21T08:02:30.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-10-21T08:02:30.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-21T08:02:30.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-21T08:02:30.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-21T08:02:31.003Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-21T08:02:31.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-21T08:02:31.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-21T08:02:31.033Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-21T08:02:31.041Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-21T08:02:31.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-21T08:02:31.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-21T08:02:31.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9cc441c845f7b3b136fda20b0bd590713aa9127 [Pipeline] echo [2021-10-21T08:02:31.073Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9cc441 [Pipeline] echo [2021-10-21T08:02:31.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T08:02:31.122Z] provisioning config files... [2021-10-21T08:02:31.137Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5900016052000366351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:02:31.455Z] ---> docker-login.sh [2021-10-21T08:02:31.455Z] nexus3.edgexfoundry.org:10001 [2021-10-21T08:02:31.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:02:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:02:31.718Z] Configure a credential helper to remove this warning. See [2021-10-21T08:02:31.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:02:31.718Z] [2021-10-21T08:02:31.718Z] Login Succeeded [2021-10-21T08:02:31.718Z] nexus3.edgexfoundry.org:10002 [2021-10-21T08:02:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:02:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:02:31.718Z] Configure a credential helper to remove this warning. See [2021-10-21T08:02:31.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:02:31.718Z] [2021-10-21T08:02:31.718Z] Login Succeeded [2021-10-21T08:02:31.718Z] nexus3.edgexfoundry.org:10003 [2021-10-21T08:02:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:02:31.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:02:31.979Z] Configure a credential helper to remove this warning. See [2021-10-21T08:02:31.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:02:31.979Z] [2021-10-21T08:02:31.979Z] Login Succeeded [2021-10-21T08:02:31.979Z] nexus3.edgexfoundry.org:10004 [2021-10-21T08:02:31.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:02:31.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:02:31.979Z] Configure a credential helper to remove this warning. See [2021-10-21T08:02:31.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:02:31.979Z] [2021-10-21T08:02:31.979Z] Login Succeeded [2021-10-21T08:02:31.979Z] docker.io [2021-10-21T08:02:31.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:02:32.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:02:32.555Z] Configure a credential helper to remove this warning. See [2021-10-21T08:02:32.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:02:32.555Z] [2021-10-21T08:02:32.555Z] Login Succeeded [2021-10-21T08:02:32.555Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T08:02:32.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:02:33.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:02:33.568Z] [2021-10-21T08:02:33.568Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:02:33.877Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:02:33.877Z] latest: Pulling from edgex-devops/git-semver [2021-10-21T08:02:33.877Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T08:02:33.877Z] 3e5f54012d9b: Pulling fs layer [2021-10-21T08:02:33.877Z] 4c7163046ea9: Pulling fs layer [2021-10-21T08:02:33.877Z] 0c2d73faf560: Pulling fs layer [2021-10-21T08:02:33.877Z] 0c2d73faf560: Waiting [2021-10-21T08:02:33.877Z] 3e5f54012d9b: Verifying Checksum [2021-10-21T08:02:33.877Z] 3e5f54012d9b: Download complete [2021-10-21T08:02:33.877Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T08:02:33.877Z] a0d0a0d46f8b: Download complete [2021-10-21T08:02:33.877Z] 0c2d73faf560: Verifying Checksum [2021-10-21T08:02:33.877Z] 0c2d73faf560: Download complete [2021-10-21T08:02:33.877Z] 4c7163046ea9: Verifying Checksum [2021-10-21T08:02:33.877Z] 4c7163046ea9: Download complete [2021-10-21T08:02:34.141Z] a0d0a0d46f8b: Pull complete [2021-10-21T08:02:34.141Z] 3e5f54012d9b: Pull complete [2021-10-21T08:02:34.411Z] 4c7163046ea9: Pull complete [2021-10-21T08:02:34.672Z] 0c2d73faf560: Pull complete [2021-10-21T08:02:34.672Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-21T08:02:34.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:02:34.672Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-21T08:02:34.757Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:02:34.803Z] $ 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 [2021-10-21T08:02:35.394Z] $ docker top f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T08:02:35.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T08:02:35.511Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T08:02:35.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T08:02:35.618Z] $ docker exec f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent [2021-10-21T08:02:35.723Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGPcdBM/agent.14 [2021-10-21T08:02:35.723Z] SSH_AGENT_PID=21 [2021-10-21T08:02:35.730Z] Running ssh-add (command line suppressed) [2021-10-21T08:02:35.835Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3391531873716955134.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3391531873716955134.key) [2021-10-21T08:02:35.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T08:02:36.140Z] + git tag --points-at HEAD [Pipeline] } [2021-10-21T08:02:36.164Z] $ docker exec --env ******** --env ******** f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent -k [2021-10-21T08:02:36.250Z] unset SSH_AUTH_SOCK; [2021-10-21T08:02:36.250Z] unset SSH_AGENT_PID; [2021-10-21T08:02:36.250Z] echo Agent pid 21 killed; [2021-10-21T08:02:36.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-21T08:02:36.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T08:02:36.289Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T08:02:36.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T08:02:36.395Z] $ docker exec f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent [2021-10-21T08:02:36.490Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFjFeON/agent.54 [2021-10-21T08:02:36.490Z] SSH_AGENT_PID=60 [2021-10-21T08:02:36.495Z] Running ssh-add (command line suppressed) [2021-10-21T08:02:36.591Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1852906554715918613.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1852906554715918613.key) [2021-10-21T08:02:36.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T08:02:36.904Z] + git semver init [2021-10-21T08:02:36.904Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T08:02:36.904Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-21T08:02:36.904Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-21T08:02:36.904Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T08:02:36.904Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T08:02:36.904Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T08:02:36.904Z] # $SEMVER_BRANCH = main [2021-10-21T08:02:36.904Z] # $SEMVER_TEMP = /tmp/semver-796481781 [2021-10-21T08:02:36.904Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-10-21T08:02:37.847Z] # '/tmp/semver-796481781' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2021-10-21T08:02:37.847Z] # -> Force: false [2021-10-21T08:02:37.847Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-10-21T08:02:37.856Z] $ docker exec --env ******** --env ******** f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 ssh-agent -k [2021-10-21T08:02:37.955Z] unset SSH_AUTH_SOCK; [2021-10-21T08:02:37.956Z] unset SSH_AGENT_PID; [2021-10-21T08:02:37.956Z] echo Agent pid 60 killed; [2021-10-21T08:02:37.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T08:02:38.272Z] + git semver [Pipeline] } [2021-10-21T08:02:38.288Z] $ docker stop --time=1 f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 [2021-10-21T08:02:39.532Z] $ docker rm -f f7bc82dd67a4c7fc960f5c64f22db6c36816a815598fd0b7cfb6ecbdd9d31ad5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-21T08:02:39.887Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-21T08:02:40.115Z] Stashed 1 file(s) [Pipeline] echo [2021-10-21T08:02:40.117Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.12 [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 [2021-10-21T08:02:55.231Z] Still waiting to schedule task [2021-10-21T08:02:55.231Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-896’ [2021-10-21T08:02:55.233Z] Still waiting to schedule task [2021-10-21T08:02:55.233Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-21T08:05:10.002Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-897 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-10-21T08:05:10.013Z] Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout [2021-10-21T08:05:10.232Z] Selected Git installation does not exist. Using Default [2021-10-21T08:05:10.232Z] The recommended git tool is: NONE [2021-10-21T08:05:16.812Z] using credential edgex-jenkins-ssh [2021-10-21T08:05:16.831Z] Cloning the remote Git repository [2021-10-21T08:05:16.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-21T08:05:17.059Z] > git init /w/workspace/device-sdk-c/13 # timeout=10 [2021-10-21T08:05:17.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-21T08:05:17.175Z] > git --version # timeout=10 [2021-10-21T08:05:17.204Z] > git --version # 'git version 2.17.1' [2021-10-21T08:05:17.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T08:05:17.295Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T08:05:18.578Z] Avoid second fetch [2021-10-21T08:05:18.579Z] Checking out Revision f9cc441c845f7b3b136fda20b0bd590713aa9127 (main) [2021-10-21T08:05:18.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-21T08:05:18.566Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T08:05:18.610Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T08:05:18.641Z] > git checkout -f f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [2021-10-21T08:05:19.860Z] Running on prd-centos7-docker-4c-2g-899 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-10-21T08:05:19.871Z] Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout [2021-10-21T08:05:19.976Z] Selected Git installation does not exist. Using Default [2021-10-21T08:05:19.976Z] The recommended git tool is: NONE [2021-10-21T08:05:21.928Z] using credential edgex-jenkins-ssh [2021-10-21T08:05:21.946Z] Cloning the remote Git repository [2021-10-21T08:05:21.978Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-21T08:05:22.035Z] > git init /w/workspace/device-sdk-c/13 # timeout=10 [2021-10-21T08:05:22.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-21T08:05:22.064Z] > git --version # timeout=10 [2021-10-21T08:05:22.079Z] > git --version # 'git version 2.24.4' [2021-10-21T08:05:22.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-21T08:05:22.108Z] [INFO] Currently running in a labeled security context [2021-10-21T08:05:22.108Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-21T08:05:22.108Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/13@tmp/jenkins-gitclient-ssh2232172300947017050.key [2021-10-21T08:05:22.149Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T08:05:23.002Z] Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" [2021-10-21T08:05:23.052Z] Avoid second fetch [2021-10-21T08:05:23.053Z] Checking out Revision f9cc441c845f7b3b136fda20b0bd590713aa9127 (main) [2021-10-21T08:05:23.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-21T08:05:23.045Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-21T08:05:23.064Z] > git config core.sparsecheckout # timeout=10 [2021-10-21T08:05:23.073Z] > git checkout -f f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T08:05:24.033Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-21T08:05:24.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-21T08:05:24.033Z] Dload Upload Total Spent Left Speed [2021-10-21T08:05:25.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 11824 100 11824 0 0 9060 0 0:00:01 0:00:01 --:--:-- 9060 [Pipeline] sh [2021-10-21T08:05:25.729Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-21T08:05:26.093Z] + sudo tee /etc/docker/daemon.new [2021-10-21T08:05:26.093Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-21T08:05:26.093Z] { [2021-10-21T08:05:26.093Z] "registry-mirrors": [ [2021-10-21T08:05:26.093Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-21T08:05:26.093Z] ], [2021-10-21T08:05:26.093Z] "bip": "10.250.0.254/24", [2021-10-21T08:05:26.093Z] "hosts": [ [2021-10-21T08:05:26.093Z] "tcp://0.0.0.0:5555", [2021-10-21T08:05:26.093Z] "unix:///var/run/docker.sock" [2021-10-21T08:05:26.093Z] ], [2021-10-21T08:05:26.093Z] "mtu": 1458, [2021-10-21T08:05:26.093Z] "selinux-enabled": true, [2021-10-21T08:05:26.093Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-21T08:05:26.093Z] } [Pipeline] sh [2021-10-21T08:05:26.521Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-21T08:05:26.745Z] Commit message: "Fix: Remove trailing null from MQTT message envelope (383) (#384)" [2021-10-21T08:05:26.888Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T08:05:27.096Z] provisioning config files... [2021-10-21T08:05:27.110Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/13@tmp/config2228757282921731143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:05:27.502Z] ---> docker-login.sh [2021-10-21T08:05:27.502Z] nexus3.edgexfoundry.org:10001 [2021-10-21T08:05:27.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:27.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:27.766Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:27.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:27.766Z] [2021-10-21T08:05:27.766Z] Login Succeeded [2021-10-21T08:05:27.766Z] nexus3.edgexfoundry.org:10002 [2021-10-21T08:05:27.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:27.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:27.766Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:27.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:27.766Z] [2021-10-21T08:05:27.766Z] Login Succeeded [2021-10-21T08:05:27.766Z] nexus3.edgexfoundry.org:10003 [2021-10-21T08:05:27.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:28.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:28.027Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:28.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:28.027Z] [2021-10-21T08:05:28.027Z] Login Succeeded [2021-10-21T08:05:28.027Z] nexus3.edgexfoundry.org:10004 [2021-10-21T08:05:28.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:28.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:28.027Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:28.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:28.027Z] [2021-10-21T08:05:28.027Z] Login Succeeded [2021-10-21T08:05:28.027Z] docker.io [2021-10-21T08:05:28.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:28.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:28.600Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:28.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:28.600Z] [2021-10-21T08:05:28.600Z] Login Succeeded [2021-10-21T08:05:28.600Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T08:05:28.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T08:05:28.756Z] ========================================================= [2021-10-21T08:05:28.756Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-10-21T08:05:28.756Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:05:29.054Z] + 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 . [2021-10-21T08:05:29.054Z] Sending build context to Docker daemon 2.71MB [2021-10-21T08:05:29.054Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-10-21T08:05:29.054Z] Step 2/24 : FROM ${BASE} as builder [2021-10-21T08:05:29.054Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-10-21T08:05:29.054Z] a0d0a0d46f8b: Pulling fs layer [2021-10-21T08:05:29.054Z] 39017ce70367: Pulling fs layer [2021-10-21T08:05:29.054Z] dcf9283bb20a: Pulling fs layer [2021-10-21T08:05:29.054Z] 39017ce70367: Verifying Checksum [2021-10-21T08:05:29.054Z] 39017ce70367: Download complete [2021-10-21T08:05:29.316Z] a0d0a0d46f8b: Verifying Checksum [2021-10-21T08:05:29.316Z] a0d0a0d46f8b: Download complete [2021-10-21T08:05:29.579Z] a0d0a0d46f8b: Pull complete [2021-10-21T08:05:29.579Z] 39017ce70367: Pull complete [2021-10-21T08:05:29.579Z] dcf9283bb20a: Verifying Checksum [2021-10-21T08:05:29.579Z] dcf9283bb20a: Download complete [2021-10-21T08:05:32.934Z] dcf9283bb20a: Pull complete [2021-10-21T08:05:32.934Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-10-21T08:05:32.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-21T08:05:32.934Z] ---> a4e04833b611 [2021-10-21T08:05:32.934Z] 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 [2021-10-21T08:05:34.328Z] ---> Running in e9609246f26d [2021-10-21T08:05:34.588Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-10-21T08:05:34.850Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:05:34.850Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T08:05:34.850Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T08:05:35.110Z] Removing intermediate container e9609246f26d [2021-10-21T08:05:35.110Z] ---> 13dd7fb83d87 [2021-10-21T08:05:35.110Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:05:35.110Z] ---> Running in 9fe632f33d4e [2021-10-21T08:05:35.692Z] Removing intermediate container 9fe632f33d4e [2021-10-21T08:05:35.692Z] ---> ce68f86967c0 [2021-10-21T08:05:35.692Z] 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 [2021-10-21T08:05:35.692Z] ---> Running in aa8864d0dcab [2021-10-21T08:05:35.952Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:05:36.893Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-21T08:05:37.153Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:05:37.730Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:05:37.730Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-21T08:05:37.730Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-21T08:05:37.730Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T08:05:37.991Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T08:05:38.930Z] (5/27) Installing libblkid (2.37-r0) [2021-10-21T08:05:38.930Z] (6/27) Installing blkid (2.37-r0) [2021-10-21T08:05:38.930Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-21T08:05:39.193Z] (8/27) Installing setpriv (2.37-r0) [2021-10-21T08:05:39.193Z] (9/27) Installing libmount (2.37-r0) [2021-10-21T08:05:39.193Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-21T08:05:39.452Z] (11/27) Installing findmnt (2.37-r0) [2021-10-21T08:05:39.452Z] (12/27) Installing mcookie (2.37-r0) [2021-10-21T08:05:39.452Z] (13/27) Installing hexdump (2.37-r0) [2021-10-21T08:05:39.711Z] (14/27) Installing lsblk (2.37-r0) [2021-10-21T08:05:39.711Z] (15/27) Installing libuuid (2.37-r0) [2021-10-21T08:05:39.711Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-21T08:05:39.973Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-21T08:05:39.973Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-21T08:05:39.973Z] (19/27) Installing partx (2.37-r0) [2021-10-21T08:05:40.233Z] (20/27) Installing flock (2.37-r0) [2021-10-21T08:05:40.233Z] (21/27) Installing logger (2.37-r0) [2021-10-21T08:05:40.233Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-21T08:05:40.499Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-21T08:05:40.499Z] (24/27) Installing util-linux (2.37-r0) [2021-10-21T08:05:40.759Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-21T08:05:41.020Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-21T08:05:41.020Z] (27/27) Installing wget (1.21.1-r1) [2021-10-21T08:05:41.020Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:05:41.020Z] OK: 291 MiB in 104 packages [2021-10-21T08:05:41.595Z] Removing intermediate container aa8864d0dcab [2021-10-21T08:05:41.595Z] ---> d50c3e2db274 [2021-10-21T08:05:41.595Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-10-21T08:05:41.595Z] ---> Running in 010350ed946d [2021-10-21T08:05:41.854Z] Removing intermediate container 010350ed946d [2021-10-21T08:05:41.854Z] ---> 4a91f3e08be2 [2021-10-21T08:05:41.854Z] 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 [2021-10-21T08:05:41.854Z] ---> Running in d2f8103093dc [2021-10-21T08:05:42.116Z] --2021-10-21 08:05:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-21T08:05:42.116Z] Resolving github.com (github.com)... 140.82.113.4 [2021-10-21T08:05:42.116Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-10-21T08:05:42.116Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:05:42.116Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-21T08:05:42.116Z] --2021-10-21 08:05:42-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-21T08:05:42.116Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-21T08:05:42.116Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-21T08:05:42.377Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:05:42.377Z] Length: unspecified [application/x-gzip] [2021-10-21T08:05:42.377Z] Saving to: 'STDOUT' [2021-10-21T08:05:42.377Z] [2021-10-21T08:05:42.377Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-10-21T08:05:42.377Z] 50K .......... .......... .......... .......... .......... 2.49M [2021-10-21T08:05:42.377Z] 100K .......... .......... .......... .......... .......... 48.7M [2021-10-21T08:05:42.377Z] 150K .......... .......... .......... .......... .......... 2.71M [2021-10-21T08:05:42.377Z] 200K .......... .......... .......... .......... .......... 24.7M [2021-10-21T08:05:42.377Z] 250K .......... .......... .......... .......... .......... 8.86M [2021-10-21T08:05:42.377Z] 300K .......... .......... .......... .......... .......... 10.3M [2021-10-21T08:05:42.377Z] 350K .......... .......... .......... .......... .......... 6.55M [2021-10-21T08:05:42.377Z] 400K .......... .......... .......... .......... .......... 24.0M [2021-10-21T08:05:42.377Z] 450K .......... .......... .......... .......... .......... 8.05M [2021-10-21T08:05:42.377Z] 500K .......... .......... .......... .......... .......... 23.2M [2021-10-21T08:05:42.377Z] 550K .......... .......... .......... .......... .......... 6.44M [2021-10-21T08:05:42.377Z] 600K .......... .......... .......... .......... .......... 3.98M [2021-10-21T08:05:42.377Z] 650K .......... .......... .......... .......... .......... 7.23M [2021-10-21T08:05:42.377Z] 700K .. 75.7M=0.1s [2021-10-21T08:05:42.377Z] [2021-10-21T08:05:42.377Z] 2021-10-21 08:05:42 (5.11 MB/s) - written to stdout [719348] [2021-10-21T08:05:42.377Z] [2021-10-21T08:05:42.639Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:05:42.639Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-21T08:05:42.639Z] -- Detecting C compiler ABI info [2021-10-21T08:05:42.639Z] -- Detecting C compiler ABI info - done [2021-10-21T08:05:42.639Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:05:42.639Z] -- Detecting C compile features [2021-10-21T08:05:42.639Z] -- Detecting C compile features - done [2021-10-21T08:05:42.639Z] -- Detecting CXX compiler ABI info [2021-10-21T08:05:42.639Z] -- Detecting CXX compiler ABI info - done [2021-10-21T08:05:42.904Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-21T08:05:42.904Z] -- Detecting CXX compile features [2021-10-21T08:05:42.904Z] -- Detecting CXX compile features - done [2021-10-21T08:05:42.904Z] -- Looking for include file endian.h [2021-10-21T08:05:42.904Z] -- Looking for include file endian.h - found [2021-10-21T08:05:42.904Z] -- Looking for sys/types.h [2021-10-21T08:05:42.904Z] -- Looking for sys/types.h - found [2021-10-21T08:05:42.904Z] -- Looking for stdint.h [2021-10-21T08:05:42.904Z] -- Looking for stdint.h - found [2021-10-21T08:05:42.904Z] -- Looking for stddef.h [2021-10-21T08:05:43.167Z] -- Looking for stddef.h - found [2021-10-21T08:05:43.167Z] -- Check size of size_t [2021-10-21T08:05:43.167Z] -- Check size of size_t - done [2021-10-21T08:05:43.167Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-21T08:05:43.167Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-21T08:05:43.167Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-21T08:05:43.167Z] CMake did not find one. [2021-10-21T08:05:43.167Z] [2021-10-21T08:05:43.167Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-21T08:05:43.167Z] the following names: [2021-10-21T08:05:43.167Z] [2021-10-21T08:05:43.167Z] cJSONConfig.cmake [2021-10-21T08:05:43.167Z] cjson-config.cmake [2021-10-21T08:05:43.167Z] [2021-10-21T08:05:43.167Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-21T08:05:43.167Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-21T08:05:43.167Z] provides a separate development package or SDK, be sure it has been [2021-10-21T08:05:43.167Z] installed. [2021-10-21T08:05:43.167Z] [2021-10-21T08:05:43.167Z] [2021-10-21T08:05:43.167Z] -- Configuring done [2021-10-21T08:05:43.167Z] -- Generating done [2021-10-21T08:05:43.167Z] -- Build files have been written to: /tmp/cbor [2021-10-21T08:05:43.167Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-21T08:05:43.428Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-21T08:05:43.428Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-21T08:05:43.690Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T08:05:43.690Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-21T08:05:43.690Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-21T08:05:43.951Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-21T08:05:43.951Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-21T08:05:43.951Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-21T08:05:43.951Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-21T08:05:44.213Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-21T08:05:44.213Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-21T08:05:44.475Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-21T08:05:44.475Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-21T08:05:44.475Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-21T08:05:44.475Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-21T08:05:44.735Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-21T08:05:44.735Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-21T08:05:44.735Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-21T08:05:44.997Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-21T08:05:44.997Z] [ 40%] Linking C shared library libcbor.so [2021-10-21T08:05:44.997Z] [ 40%] Built target cbor_shared [2021-10-21T08:05:44.997Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-21T08:05:44.997Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T08:05:45.271Z] provisioning config files... [2021-10-21T08:05:45.276Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-21T08:05:45.276Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T08:05:45.298Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/13@tmp/config6829497594484391617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:05:45.539Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-21T08:05:45.674Z] ---> docker-login.sh [2021-10-21T08:05:45.674Z] nexus3.edgexfoundry.org:10001 [2021-10-21T08:05:45.800Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-21T08:05:45.800Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-21T08:05:45.800Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-21T08:05:45.800Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-21T08:05:46.064Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-21T08:05:46.064Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-21T08:05:46.324Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-21T08:05:46.324Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-21T08:05:46.324Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-21T08:05:46.584Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-21T08:05:46.584Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-21T08:05:46.584Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-21T08:05:46.584Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-21T08:05:46.845Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-21T08:05:46.845Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-21T08:05:46.845Z] [ 80%] Linking C static library libcbor.a [2021-10-21T08:05:46.845Z] [ 80%] Built target cbor [2021-10-21T08:05:46.845Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-21T08:05:46.845Z] [ 84%] Linking C executable readfile [2021-10-21T08:05:47.106Z] [ 84%] Built target readfile [2021-10-21T08:05:47.106Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-21T08:05:47.106Z] [ 88%] Linking C executable create_items [2021-10-21T08:05:47.106Z] [ 88%] Built target create_items [2021-10-21T08:05:47.106Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-21T08:05:47.106Z] [ 92%] Linking C executable sort [2021-10-21T08:05:47.106Z] [ 92%] Built target sort [2021-10-21T08:05:47.106Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-21T08:05:47.106Z] [ 96%] Linking C executable hello [2021-10-21T08:05:47.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:47.367Z] [ 96%] Built target hello [2021-10-21T08:05:47.367Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-21T08:05:47.367Z] [100%] Linking C executable streaming_parser [2021-10-21T08:05:47.367Z] [100%] Built target streaming_parser [2021-10-21T08:05:47.367Z] Install the project... [2021-10-21T08:05:47.367Z] -- Install configuration: "Release" [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-21T08:05:47.367Z] -- Up-to-date: /usr/local/include/cbor [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/include/cbor.h [2021-10-21T08:05:47.367Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-21T08:05:47.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:47.410Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:47.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:47.410Z] [2021-10-21T08:05:47.410Z] Login Succeeded [2021-10-21T08:05:47.410Z] nexus3.edgexfoundry.org:10002 [2021-10-21T08:05:47.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:47.943Z] Removing intermediate container d2f8103093dc [2021-10-21T08:05:47.943Z] ---> 52c197ca689a [2021-10-21T08:05:47.943Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-10-21T08:05:47.943Z] ---> Running in e459ef73f462 [2021-10-21T08:05:47.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:47.968Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:47.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:47.968Z] [2021-10-21T08:05:47.968Z] Login Succeeded [2021-10-21T08:05:47.969Z] nexus3.edgexfoundry.org:10003 [2021-10-21T08:05:48.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:48.515Z] Removing intermediate container e459ef73f462 [2021-10-21T08:05:48.515Z] ---> ae29c1fae0ea [2021-10-21T08:05:48.515Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-10-21T08:05:48.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:48.527Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:48.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:48.527Z] [2021-10-21T08:05:48.527Z] Login Succeeded [2021-10-21T08:05:48.527Z] nexus3.edgexfoundry.org:10004 [2021-10-21T08:05:48.776Z] ---> 82313bc4ce03 [2021-10-21T08:05:48.776Z] Step 10/24 : COPY src /tmp/sdk/src [2021-10-21T08:05:48.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:49.037Z] ---> 295adf71551f [2021-10-21T08:05:49.037Z] Step 11/24 : COPY include /tmp/sdk/include [2021-10-21T08:05:49.037Z] ---> 803879cde64d [2021-10-21T08:05:49.037Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-10-21T08:05:49.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:49.091Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:49.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:49.091Z] [2021-10-21T08:05:49.091Z] Login Succeeded [2021-10-21T08:05:49.091Z] docker.io [2021-10-21T08:05:49.299Z] ---> cbd61e0f243d [2021-10-21T08:05:49.299Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-10-21T08:05:49.299Z] ---> bc5e6f7ab210 [2021-10-21T08:05:49.299Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-10-21T08:05:49.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T08:05:49.561Z] ---> 80ae6c421ad0 [2021-10-21T08:05:49.561Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-21T08:05:49.561Z] ---> Running in 23940808d196 [2021-10-21T08:05:49.824Z] + CPPCHECK=false [2021-10-21T08:05:49.824Z] + DOCGEN=false [2021-10-21T08:05:49.824Z] + TOMLVER=SDK-0.2 [2021-10-21T08:05:49.824Z] + CUTILVER=1.2.2 [2021-10-21T08:05:49.824Z] + '[' 0 -gt 0 ] [2021-10-21T08:05:49.824Z] + readlink -f ./scripts/build.sh [2021-10-21T08:05:49.824Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-21T08:05:49.824Z] + dirname /tmp/sdk/scripts [2021-10-21T08:05:49.824Z] + ROOT=/tmp/sdk [2021-10-21T08:05:49.824Z] + cd /tmp/sdk [2021-10-21T08:05:49.824Z] + '[' '!' -d deps ] [2021-10-21T08:05:49.824Z] + mkdir deps [2021-10-21T08:05:49.825Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T08:05:49.825Z] + tar -C deps -z -x -f - [2021-10-21T08:05:49.825Z] --2021-10-21 08:05:49-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T08:05:49.825Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-21T08:05:49.825Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-21T08:05:49.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T08:05:49.977Z] Configure a credential helper to remove this warning. See [2021-10-21T08:05:49.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T08:05:49.977Z] [2021-10-21T08:05:49.977Z] Login Succeeded [2021-10-21T08:05:49.977Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T08:05:49.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-10-21T08:05:50.086Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:05:50.086Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-21T08:05:50.086Z] --2021-10-21 08:05:49-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-21T08:05:50.086Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-21T08:05:50.086Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-21T08:05:50.086Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:05:50.086Z] Length: 16451 (16K) [application/x-gzip] [2021-10-21T08:05:50.086Z] Saving to: 'STDOUT' [2021-10-21T08:05:50.086Z]  [2021-10-21T08:05:50.086Z] 0K .......... ...... 100% 857K=0.02s [2021-10-21T08:05:50.086Z] [2021-10-21T08:05:50.086Z] 2021-10-21 08:05:50 (857 KB/s) - written to stdout [16451/16451] [2021-10-21T08:05:50.086Z] [2021-10-21T08:05:50.086Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-21T08:05:50.086Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T08:05:50.086Z] + tar -C deps -z -x -f - [2021-10-21T08:05:50.086Z] --2021-10-21 08:05:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T08:05:50.086Z] Resolving github.com (github.com)... 140.82.112.3 [Pipeline] echo [2021-10-21T08:05:50.294Z] ========================================================= [2021-10-21T08:05:50.294Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-10-21T08:05:50.294Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:05:50.348Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-21T08:05:50.348Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:05:50.348Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-21T08:05:50.348Z] --2021-10-21 08:05:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-21T08:05:50.348Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-21T08:05:50.348Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-21T08:05:50.610Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:05:50.610Z] Length: unspecified [application/x-gzip] [2021-10-21T08:05:50.610Z] Saving to: 'STDOUT' [2021-10-21T08:05:50.610Z] [2021-10-21T08:05:50.610Z] 0K .......... .......... .......... .......... .......... 1.26M [2021-10-21T08:05:50.610Z] 50K .......... .......... .......... .......... .......... 2.55M [2021-10-21T08:05:50.610Z] 100K .......... .......... .......... .......... .......... 23.8M [2021-10-21T08:05:50.610Z] 150K .......... .......... .......... ......... 3.74M=0.07s [2021-10-21T08:05:50.610Z] [2021-10-21T08:05:50.610Z] 2021-10-21 08:05:50 (2.63 MB/s) - written to stdout [193961] [2021-10-21T08:05:50.610Z] [2021-10-21T08:05:50.610Z] + mkdir -p src/c/iot [2021-10-21T08:05:50.610Z] + 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 [2021-10-21T08:05:50.610Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-21T08:05:50.610Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-21T08:05:50.610Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-21T08:05:50.610Z] + mkdir -p include/iot [2021-10-21T08:05:50.610Z] + 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 [2021-10-21T08:05:50.610Z] + mkdir -p include/iot/os [2021-10-21T08:05:50.610Z] + 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 [2021-10-21T08:05:50.610Z] + mkdir -p /tmp/sdk/build/release [2021-10-21T08:05:50.610Z] + cd /tmp/sdk/build/release [2021-10-21T08:05:50.610Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-21T08:05:50.645Z] + 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 . [2021-10-21T08:05:50.872Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:05:50.872Z] -- Detecting C compiler ABI info [2021-10-21T08:05:50.872Z] -- Detecting C compiler ABI info - done [2021-10-21T08:05:50.872Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:05:50.872Z] -- Detecting C compile features [2021-10-21T08:05:50.872Z] -- Detecting C compile features - done [2021-10-21T08:05:50.872Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T08:05:50.872Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T08:05:50.872Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T08:05:50.872Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T08:05:50.872Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T08:05:50.872Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T08:05:50.872Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T08:05:50.872Z] -- C SDK 2.0.1-dev.12 for Linux [2021-10-21T08:05:50.872Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T08:05:50.872Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T08:05:51.136Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T08:05:51.136Z] -- Configuring done [2021-10-21T08:05:51.136Z] -- Generating done [2021-10-21T08:05:51.136Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-21T08:05:51.136Z] + make all package [2021-10-21T08:05:51.136Z] + tee release.log [2021-10-21T08:05:51.136Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T08:05:51.263Z] Sending build context to Docker daemon 2.709MB [2021-10-21T08:05:51.263Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-10-21T08:05:51.263Z] Step 2/24 : FROM ${BASE} as builder [2021-10-21T08:05:51.263Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-10-21T08:05:51.263Z] 552d1f2373af: Pulling fs layer [2021-10-21T08:05:51.263Z] f2be2b6548c6: Pulling fs layer [2021-10-21T08:05:51.263Z] ee4ac2fe028c: Pulling fs layer [2021-10-21T08:05:51.263Z] f2be2b6548c6: Verifying Checksum [2021-10-21T08:05:51.263Z] f2be2b6548c6: Download complete [2021-10-21T08:05:51.402Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T08:05:51.402Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T08:05:51.543Z] 552d1f2373af: Verifying Checksum [2021-10-21T08:05:51.543Z] 552d1f2373af: Download complete [2021-10-21T08:05:51.664Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T08:05:51.927Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T08:05:51.927Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T08:05:52.150Z] 552d1f2373af: Pull complete [2021-10-21T08:05:52.188Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T08:05:52.188Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T08:05:52.188Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T08:05:52.436Z] f2be2b6548c6: Pull complete [2021-10-21T08:05:52.449Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T08:05:53.020Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T08:05:53.020Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T08:05:53.020Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T08:05:53.285Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T08:05:53.285Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T08:05:53.451Z] ee4ac2fe028c: Verifying Checksum [2021-10-21T08:05:53.451Z] ee4ac2fe028c: Download complete [2021-10-21T08:05:53.546Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T08:05:53.546Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T08:05:54.118Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T08:05:54.118Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T08:05:54.118Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T08:05:54.380Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T08:05:54.380Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T08:05:54.380Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T08:05:54.380Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T08:05:54.380Z] 275 | const iot_component_factory_t * factory; [2021-10-21T08:05:54.380Z] | ^~~~~~~ [2021-10-21T08:05:54.643Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T08:05:55.590Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T08:05:55.590Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T08:05:55.590Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T08:05:55.590Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T08:05:55.853Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T08:05:55.853Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T08:05:56.115Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T08:05:56.115Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T08:05:56.375Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T08:05:56.375Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T08:05:56.637Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T08:05:56.897Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T08:05:57.158Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T08:05:57.158Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T08:05:57.419Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T08:05:58.363Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T08:05:58.363Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T08:05:58.363Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T08:05:58.626Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T08:05:58.626Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T08:05:58.626Z] /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] [2021-10-21T08:05:58.626Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T08:05:58.626Z] | ^~~~~~~~~~~~~ [2021-10-21T08:05:58.626Z] | | [2021-10-21T08:05:58.626Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T08:05:58.626Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:05:58.626Z] /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 *)' [2021-10-21T08:05:58.626Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T08:05:58.626Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T08:05:58.626Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T08:05:58.626Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:05:58.626Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T08:05:58.626Z] | ^~~~~~~~~~~~ [2021-10-21T08:05:58.626Z] | | [2021-10-21T08:05:58.626Z] | 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 **)} [2021-10-21T08:05:58.626Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:05:58.627Z] /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 **)'} [2021-10-21T08:05:58.627Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:05:58.627Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:05:58.627Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:05:58.627Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T08:05:58.627Z] | ^~~~~~~~~~~~ [2021-10-21T08:05:58.627Z] | | [2021-10-21T08:05:58.627Z] | 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 **)} [2021-10-21T08:05:58.627Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:05:58.627Z] /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 **)'} [2021-10-21T08:05:58.627Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:05:58.627Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:05:58.627Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T08:05:59.201Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T08:05:59.201Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T08:05:59.201Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T08:05:59.478Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T08:05:59.739Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T08:06:00.697Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T08:06:00.697Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T08:06:00.697Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T08:06:00.960Z] [ 76%] Built target csdk [2021-10-21T08:06:00.960Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T08:06:00.960Z] [ 79%] Linking C executable template [2021-10-21T08:06:00.960Z] [ 79%] Built target template [2021-10-21T08:06:00.960Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T08:06:01.221Z] [ 82%] Linking C executable device-counter [2021-10-21T08:06:01.221Z] [ 82%] Built target device-counter [2021-10-21T08:06:01.221Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T08:06:01.485Z] [ 85%] Linking C executable device-random [2021-10-21T08:06:01.485Z] [ 85%] Built target device-random [2021-10-21T08:06:01.485Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T08:06:01.485Z] [ 88%] Linking C executable device-gyro [2021-10-21T08:06:01.485Z] [ 88%] Built target device-gyro [2021-10-21T08:06:01.744Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T08:06:01.744Z] [ 91%] Linking C executable device-bitfields [2021-10-21T08:06:01.744Z] [ 91%] Built target device-bitfields [2021-10-21T08:06:01.744Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T08:06:01.795Z] ee4ac2fe028c: Pull complete [2021-10-21T08:06:01.795Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-10-21T08:06:01.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-21T08:06:01.795Z] ---> b6d714ea7bf2 [2021-10-21T08:06:01.795Z] 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 [2021-10-21T08:06:02.007Z] [ 94%] Linking C executable template-discovery [2021-10-21T08:06:02.008Z] [ 94%] Built target template-discovery [2021-10-21T08:06:02.008Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T08:06:02.271Z] [ 97%] Linking C executable device-file [2021-10-21T08:06:02.271Z] [ 97%] Built target device-file [2021-10-21T08:06:02.271Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T08:06:02.271Z] [100%] Linking C executable device-terminal [2021-10-21T08:06:02.536Z] [100%] Built target device-terminal [2021-10-21T08:06:02.536Z] Run CPack packaging tool... [2021-10-21T08:06:02.536Z] CPack: Create package using TGZ [2021-10-21T08:06:02.536Z] CPack: Install projects [2021-10-21T08:06:02.536Z] CPack: - Run preinstall target for: Csdk [2021-10-21T08:06:02.797Z] CPack: - Install project: Csdk [] [2021-10-21T08:06:02.797Z] CPack: Create package [2021-10-21T08:06:02.797Z] CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.12.tar.gz generated. [2021-10-21T08:06:02.797Z] + '[' false '=' true ] [2021-10-21T08:06:02.797Z] + '[' false '=' true ] [2021-10-21T08:06:02.797Z] + mkdir -p /tmp/sdk/build/debug [2021-10-21T08:06:02.797Z] + cd /tmp/sdk/build/debug [2021-10-21T08:06:02.797Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-21T08:06:02.797Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:06:02.797Z] -- Detecting C compiler ABI info [2021-10-21T08:06:02.797Z] -- Detecting C compiler ABI info - done [2021-10-21T08:06:02.797Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:06:02.797Z] -- Detecting C compile features [2021-10-21T08:06:02.797Z] -- Detecting C compile features - done [2021-10-21T08:06:02.797Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T08:06:03.057Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T08:06:03.057Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T08:06:03.057Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T08:06:03.057Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T08:06:03.057Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T08:06:03.057Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T08:06:03.057Z] -- C SDK 2.0.1-dev.12 for Linux [2021-10-21T08:06:03.057Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T08:06:03.057Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T08:06:03.057Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T08:06:03.057Z] -- Configuring done [2021-10-21T08:06:03.057Z] -- Generating done [2021-10-21T08:06:03.057Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-21T08:06:03.057Z] + make [2021-10-21T08:06:03.057Z] + tee debug.log [2021-10-21T08:06:03.057Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T08:06:03.319Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T08:06:03.319Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T08:06:03.580Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T08:06:03.580Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T08:06:03.580Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T08:06:03.580Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T08:06:03.796Z] ---> Running in 6c444a19b26b [2021-10-21T08:06:03.841Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T08:06:03.841Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T08:06:03.841Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T08:06:04.101Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T08:06:04.101Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T08:06:04.101Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T08:06:04.363Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T08:06:04.363Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T08:06:04.363Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T08:06:04.363Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T08:06:04.623Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T08:06:04.623Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T08:06:04.623Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T08:06:04.783Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-21T08:06:04.885Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T08:06:04.885Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T08:06:04.885Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T08:06:04.885Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T08:06:04.885Z] 275 | const iot_component_factory_t * factory; [2021-10-21T08:06:04.885Z] | ^~~~~~~ [2021-10-21T08:06:04.885Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T08:06:05.147Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T08:06:05.147Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T08:06:05.406Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T08:06:05.406Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T08:06:05.406Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T08:06:05.406Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T08:06:05.556Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:06:05.556Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T08:06:05.556Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T08:06:05.673Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T08:06:05.673Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T08:06:05.673Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T08:06:05.673Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T08:06:05.673Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T08:06:05.937Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T08:06:05.937Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T08:06:05.937Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T08:06:06.198Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T08:06:06.464Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T08:06:06.464Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T08:06:06.464Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T08:06:06.464Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T08:06:06.569Z] Removing intermediate container 6c444a19b26b [2021-10-21T08:06:06.569Z] ---> f0ab6810ff45 [2021-10-21T08:06:06.569Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:06:06.569Z] ---> Running in 60d5f7498654 [2021-10-21T08:06:06.724Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T08:06:06.724Z] /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] [2021-10-21T08:06:06.724Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T08:06:06.724Z] | ^~~~~~~~~~~~~ [2021-10-21T08:06:06.724Z] | | [2021-10-21T08:06:06.724Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T08:06:06.724Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:06:06.724Z] /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 *)' [2021-10-21T08:06:06.724Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T08:06:06.724Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T08:06:06.724Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T08:06:06.724Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:06:06.724Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T08:06:06.724Z] | ^~~~~~~~~~~~ [2021-10-21T08:06:06.724Z] | | [2021-10-21T08:06:06.724Z] | 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 **)} [2021-10-21T08:06:06.724Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:06:06.724Z] /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 **)'} [2021-10-21T08:06:06.724Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:06:06.724Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:06:06.724Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:06:06.724Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T08:06:06.724Z] | ^~~~~~~~~~~~ [2021-10-21T08:06:06.724Z] | | [2021-10-21T08:06:06.724Z] | 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 **)} [2021-10-21T08:06:06.724Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:06:06.724Z] /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 **)'} [2021-10-21T08:06:06.724Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:06:06.724Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:06:06.724Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T08:06:06.986Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T08:06:06.986Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T08:06:06.986Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T08:06:07.249Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T08:06:07.249Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T08:06:07.509Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T08:06:07.509Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T08:06:07.509Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T08:06:07.769Z] [ 76%] Built target csdk [2021-10-21T08:06:07.769Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T08:06:07.769Z] [ 79%] Linking C executable template [2021-10-21T08:06:07.769Z] [ 79%] Built target template [2021-10-21T08:06:07.769Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T08:06:07.769Z] [ 82%] Linking C executable device-counter [2021-10-21T08:06:08.029Z] [ 82%] Built target device-counter [2021-10-21T08:06:08.029Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T08:06:08.029Z] [ 85%] Linking C executable device-random [2021-10-21T08:06:08.029Z] [ 85%] Built target device-random [2021-10-21T08:06:08.029Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T08:06:08.290Z] [ 88%] Linking C executable device-gyro [2021-10-21T08:06:08.290Z] [ 88%] Built target device-gyro [2021-10-21T08:06:08.290Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T08:06:08.290Z] [ 91%] Linking C executable device-bitfields [2021-10-21T08:06:08.290Z] [ 91%] Built target device-bitfields [2021-10-21T08:06:08.290Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T08:06:08.558Z] [ 94%] Linking C executable template-discovery [2021-10-21T08:06:08.558Z] [ 94%] Built target template-discovery [2021-10-21T08:06:08.558Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T08:06:08.558Z] [ 97%] Linking C executable device-file [2021-10-21T08:06:08.558Z] [ 97%] Built target device-file [2021-10-21T08:06:08.558Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T08:06:08.566Z] Removing intermediate container 60d5f7498654 [2021-10-21T08:06:08.567Z] ---> 21868bab8e68 [2021-10-21T08:06:08.567Z] 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 [2021-10-21T08:06:08.818Z] [100%] Linking C executable device-terminal [2021-10-21T08:06:08.818Z] [100%] Built target device-terminal [2021-10-21T08:06:08.818Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.818Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.818Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.818Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 76%] Built target csdk [2021-10-21T08:06:08.819Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 79%] Built target template [2021-10-21T08:06:08.819Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 82%] Built target device-counter [2021-10-21T08:06:08.819Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 85%] Built target device-random [2021-10-21T08:06:08.819Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 88%] Built target device-gyro [2021-10-21T08:06:08.819Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:08.819Z] [ 91%] Built target device-bitfields [2021-10-21T08:06:08.846Z] ---> Running in 79394b2e2832 [2021-10-21T08:06:09.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] [ 94%] Built target template-discovery [2021-10-21T08:06:09.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] [ 97%] Built target device-file [2021-10-21T08:06:09.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] [100%] Built target device-terminal [2021-10-21T08:06:09.080Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.080Z] Install the project... [2021-10-21T08:06:09.080Z] -- Install configuration: "Release" [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-21T08:06:09.080Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-21T08:06:09.080Z] -- Up-to-date: /usr/local/include [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/devsdk [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/component.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/config.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/container.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/data.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/json.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/os.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/time.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/os [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-21T08:06:09.080Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-21T08:06:09.080Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:06:09.656Z] Removing intermediate container 23940808d196 [2021-10-21T08:06:09.656Z] ---> 2c85abe18115 [2021-10-21T08:06:09.656Z] Step 16/24 : FROM ${BASE} [2021-10-21T08:06:09.656Z] ---> a4e04833b611 [2021-10-21T08:06:09.656Z] Step 17/24 : LABEL maintainer="IOTech " [2021-10-21T08:06:09.656Z] ---> Running in 1a4340001739 [2021-10-21T08:06:09.656Z] Removing intermediate container 1a4340001739 [2021-10-21T08:06:09.656Z] ---> dcc0b91941aa [2021-10-21T08:06:09.656Z] 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 [2021-10-21T08:06:09.846Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:06:09.919Z] ---> Running in 801cb1e2ec10 [2021-10-21T08:06:10.180Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-21T08:06:10.442Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:06:10.442Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T08:06:10.442Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T08:06:10.710Z] Removing intermediate container 801cb1e2ec10 [2021-10-21T08:06:10.710Z] ---> f797ea45a226 [2021-10-21T08:06:10.710Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:06:10.710Z] ---> Running in 981398aede86 [2021-10-21T08:06:10.833Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T08:06:11.283Z] Removing intermediate container 981398aede86 [2021-10-21T08:06:11.284Z] ---> 74eaa616076c [2021-10-21T08:06:11.284Z] 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 [2021-10-21T08:06:11.284Z] ---> Running in 81ce439aea6d [2021-10-21T08:06:11.434Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:06:11.542Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:12.035Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:06:12.035Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-21T08:06:12.311Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-21T08:06:12.311Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T08:06:12.311Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T08:06:12.484Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:12.745Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:13.302Z] (5/27) Installing libblkid (2.37-r0) [2021-10-21T08:06:13.316Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:06:13.316Z] (1/7) Installing curl (7.79.1-r0) [2021-10-21T08:06:13.316Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-21T08:06:13.316Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-21T08:06:13.579Z] (4/7) Installing libuuid (2.37-r0) [2021-10-21T08:06:13.579Z] (6/27) Installing blkid (2.37-r0) [2021-10-21T08:06:13.579Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T08:06:13.579Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-21T08:06:13.855Z] (8/27) Installing setpriv (2.37-r0) [2021-10-21T08:06:13.855Z] (9/27) Installing libmount (2.37-r0) [2021-10-21T08:06:13.855Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-21T08:06:14.132Z] (11/27) Installing findmnt (2.37-r0) [2021-10-21T08:06:14.132Z] (12/27) Installing mcookie (2.37-r0) [2021-10-21T08:06:14.132Z] (13/27) Installing hexdump (2.37-r0) [2021-10-21T08:06:14.407Z] (14/27) Installing lsblk (2.37-r0) [2021-10-21T08:06:14.407Z] (15/27) Installing libuuid (2.37-r0) [2021-10-21T08:06:14.521Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-21T08:06:14.521Z] (7/7) Installing wget (1.21.1-r1) [2021-10-21T08:06:14.685Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-21T08:06:14.685Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-21T08:06:14.685Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-21T08:06:14.781Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:06:14.782Z] OK: 282 MiB in 84 packages [2021-10-21T08:06:14.961Z] (19/27) Installing partx (2.37-r0) [2021-10-21T08:06:14.961Z] (20/27) Installing flock (2.37-r0) [2021-10-21T08:06:14.961Z] (21/27) Installing logger (2.37-r0) [2021-10-21T08:06:15.045Z] Removing intermediate container 81ce439aea6d [2021-10-21T08:06:15.045Z] ---> ce87bd44a088 [2021-10-21T08:06:15.045Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-21T08:06:15.045Z] ---> 70e4e71e2c75 [2021-10-21T08:06:15.045Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-21T08:06:15.236Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-21T08:06:15.236Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-21T08:06:15.236Z] (24/27) Installing util-linux (2.37-r0) [2021-10-21T08:06:15.304Z] ---> 1171a655b5da [2021-10-21T08:06:15.304Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-21T08:06:15.563Z] ---> a46eedfeb63b [2021-10-21T08:06:15.563Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-21T08:06:15.563Z] ---> 660b150284d0 [2021-10-21T08:06:15.563Z] Successfully built 660b150284d0 [2021-10-21T08:06:15.563Z] 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 [2021-10-21T08:06:15.837Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-21T08:06:15.838Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-21T08:06:15.838Z] (27/27) Installing wget (1.21.1-r1) [2021-10-21T08:06:16.032Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-21T08:06:16.032Z] . [Pipeline] withDockerContainer [2021-10-21T08:06:16.105Z] prd-centos7-docker-4c-2g-899 does not seem to be running inside a container [2021-10-21T08:06:16.112Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:06:16.112Z] OK: 286 MiB in 104 packages [2021-10-21T08:06:16.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** -e ******** ci-base-image-x86_64 cat [2021-10-21T08:06:16.509Z] $ docker top 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T08:06:16.873Z] + make test [2021-10-21T08:06:16.873Z] echo "make test" [2021-10-21T08:06:16.873Z] make test [Pipeline] } [2021-10-21T08:06:16.886Z] $ docker stop --time=1 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e [2021-10-21T08:06:17.566Z] Removing intermediate container 79394b2e2832 [2021-10-21T08:06:17.566Z] ---> aecbf9a88166 [2021-10-21T08:06:17.566Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-10-21T08:06:17.841Z] ---> Running in 1272d30906c4 [2021-10-21T08:06:18.068Z] $ docker rm -f 06ac4c22e7e24a7af1b030939e191bdafe02e8d350fc5a464e7ef5ff73bdc20e [Pipeline] // withDockerContainer [2021-10-21T08:06:18.118Z] Removing intermediate container 1272d30906c4 [2021-10-21T08:06:18.118Z] ---> 4ab86a496b70 [2021-10-21T08:06:18.118Z] 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 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-10-21T08:06:18.400Z] ---> Running in 8e849f5762d9 [Pipeline] sh [2021-10-21T08:06:19.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-21T08:06:19.871Z] --2021-10-21 08:06:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-21T08:06:19.871Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-21T08:06:19.871Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-21T08:06:19.871Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:06:19.871Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-21T08:06:19.871Z] --2021-10-21 08:06:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-21T08:06:19.871Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 [2021-10-21T08:06:19.871Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. [2021-10-21T08:06:19.871Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:06:19.871Z] Length: unspecified [application/x-gzip] [2021-10-21T08:06:19.871Z] Saving to: 'STDOUT' [2021-10-21T08:06:19.871Z]  [2021-10-21T08:06:19.871Z] 0K .......... .......... .......... .......... .......... 1.13M [2021-10-21T08:06:19.945Z] + ls -al . [2021-10-21T08:06:19.945Z] total 172 [2021-10-21T08:06:19.945Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 21 08:05 . [2021-10-21T08:06:19.945Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 21 08:05 .. [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 3104 Oct 21 08:05 Attribution.txt [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 7767 Oct 21 08:05 CHANGES [2021-10-21T08:06:19.945Z] drwxrwxr-x. 2 jenkins jenkins 121 Oct 21 08:05 docs [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 108574 Oct 21 08:05 Doxyfile [2021-10-21T08:06:19.945Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 21 08:05 .git [2021-10-21T08:06:19.945Z] drwxrwxr-x. 3 jenkins jenkins 103 Oct 21 08:05 .github [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 176 Oct 21 08:05 .gitignore [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 21 08:05 GOVERNANCE.md [2021-10-21T08:06:19.945Z] drwxrwxr-x. 4 jenkins jenkins 33 Oct 21 08:05 include [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 784 Oct 21 08:05 Jenkinsfile [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 21 08:05 LICENSE [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 21 08:05 Makefile [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 618 Oct 21 08:05 OWNERS.md [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 4086 Oct 21 08:05 README.md [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 7422 Oct 21 08:05 README.v2.md [2021-10-21T08:06:19.945Z] drwxrwxr-x. 2 jenkins jenkins 98 Oct 21 08:05 scripts [2021-10-21T08:06:19.945Z] drwxrwxr-x. 4 jenkins jenkins 50 Oct 21 08:05 src [2021-10-21T08:06:19.945Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 21 08:02 VERSION [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:06:20.149Z] 50K .......... .......... .......... .......... .......... 2.13M [2021-10-21T08:06:20.150Z] 100K .......... .......... .......... .......... .......... 2.46M [2021-10-21T08:06:20.150Z] 150K .......... .......... .......... .......... .......... 16.7M [2021-10-21T08:06:20.150Z] 200K .......... .......... .......... .......... .......... 16.1M [2021-10-21T08:06:20.150Z] 250K .......... .......... .......... .......... .......... 2.80M [2021-10-21T08:06:20.150Z] 300K .......... .......... .......... .......... .......... 4.97M [2021-10-21T08:06:20.150Z] 350K .......... .......... .......... .......... .......... 5.75M [2021-10-21T08:06:20.150Z] 400K .......... .......... .......... .......... .......... 3.12M [2021-10-21T08:06:20.150Z] 450K .......... .......... .......... .......... .......... 3.81M [2021-10-21T08:06:20.150Z] 500K .......... .......... .......... .......... .......... 7.73M [2021-10-21T08:06:20.150Z] 550K .......... .......... .......... .......... .......... 2.28M [2021-10-21T08:06:20.150Z] 600K .......... .......... .......... .......... .......... 930K [2021-10-21T08:06:20.150Z] 650K .......... .......... .......... .......... .......... 2.50M [2021-10-21T08:06:20.150Z] 700K .. 337K=0.3s [2021-10-21T08:06:20.150Z] [2021-10-21T08:06:20.150Z] 2021-10-21 08:06:20 (2.59 MB/s) - written to stdout [719348] [2021-10-21T08:06:20.150Z] [2021-10-21T08:06:20.241Z] + 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=f9cc441c845f7b3b136fda20b0bd590713aa9127 --label arch=amd64 --label version=2.0.1-dev.12 . [2021-10-21T08:06:20.241Z] Sending build context to Docker daemon 2.71MB [2021-10-21T08:06:20.242Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-21T08:06:20.242Z] Step 2/17 : FROM ${BASE} [2021-10-21T08:06:20.242Z] ---> 660b150284d0 [2021-10-21T08:06:20.242Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-21T08:06:20.242Z] ---> Running in 9cac81630164 [2021-10-21T08:06:20.242Z] Removing intermediate container 9cac81630164 [2021-10-21T08:06:20.242Z] ---> 662eff2ae89d [2021-10-21T08:06:20.242Z] 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 [2021-10-21T08:06:20.427Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:06:20.502Z] ---> Running in daae93717261 [2021-10-21T08:06:20.706Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-21T08:06:20.706Z] -- Detecting C compiler ABI info [2021-10-21T08:06:20.761Z] --2021-10-21 08:06:20-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-21T08:06:20.761Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.72.115.12, 54.229.110.245 [2021-10-21T08:06:20.761Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-10-21T08:06:20.984Z] -- Detecting C compiler ABI info - done [2021-10-21T08:06:21.020Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:06:21.020Z] Length: unspecified [application/json] [2021-10-21T08:06:21.020Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:06:21.020Z]  [2021-10-21T08:06:21.020Z] 0K 148M=0s [2021-10-21T08:06:21.020Z] [2021-10-21T08:06:21.020Z] 2021-10-21 08:06:20 (148 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-21T08:06:21.020Z] [2021-10-21T08:06:21.262Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:06:21.262Z] -- Detecting C compile features [2021-10-21T08:06:21.262Z] -- Detecting C compile features - done [2021-10-21T08:06:21.262Z] -- Detecting CXX compiler ABI info [2021-10-21T08:06:21.280Z] Removing intermediate container daae93717261 [2021-10-21T08:06:21.280Z] ---> 96b504587061 [2021-10-21T08:06:21.280Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:06:21.280Z] ---> Running in 0c3d6541b438 [2021-10-21T08:06:21.538Z] -- Detecting CXX compiler ABI info - done [2021-10-21T08:06:21.538Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-21T08:06:21.538Z] -- Detecting CXX compile features [2021-10-21T08:06:21.538Z] -- Detecting CXX compile features - done [2021-10-21T08:06:21.538Z] -- Looking for include file endian.h [2021-10-21T08:06:21.539Z] Removing intermediate container 0c3d6541b438 [2021-10-21T08:06:21.539Z] ---> 018128d5d229 [2021-10-21T08:06:21.539Z] 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 [2021-10-21T08:06:21.808Z] ---> Running in 4d75878421a8 [2021-10-21T08:06:21.808Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:21.817Z] -- Looking for include file endian.h - found [2021-10-21T08:06:21.817Z] -- Looking for sys/types.h [2021-10-21T08:06:22.095Z] -- Looking for sys/types.h - found [2021-10-21T08:06:22.095Z] -- Looking for stdint.h [2021-10-21T08:06:22.373Z] -- Looking for stdint.h - found [2021-10-21T08:06:22.373Z] -- Looking for stddef.h [2021-10-21T08:06:22.651Z] -- Looking for stddef.h - found [2021-10-21T08:06:22.651Z] -- Check size of size_t [2021-10-21T08:06:22.751Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:22.928Z] -- Check size of size_t - done [2021-10-21T08:06:22.929Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-21T08:06:22.929Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-21T08:06:22.929Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-21T08:06:22.929Z] CMake did not find one. [2021-10-21T08:06:22.929Z] [2021-10-21T08:06:22.929Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-21T08:06:22.929Z] the following names: [2021-10-21T08:06:22.929Z] [2021-10-21T08:06:22.929Z] cJSONConfig.cmake [2021-10-21T08:06:22.929Z] cjson-config.cmake [2021-10-21T08:06:22.929Z] [2021-10-21T08:06:22.929Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-21T08:06:22.929Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-21T08:06:22.929Z] provides a separate development package or SDK, be sure it has been [2021-10-21T08:06:22.929Z] installed. [2021-10-21T08:06:22.929Z] [2021-10-21T08:06:22.929Z] [2021-10-21T08:06:22.929Z] -- Configuring done [2021-10-21T08:06:23.012Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-21T08:06:23.207Z] -- Generating done [2021-10-21T08:06:23.207Z] -- Build files have been written to: /tmp/cbor [2021-10-21T08:06:23.207Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-21T08:06:23.580Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:06:23.580Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T08:06:23.580Z] (2/21) Installing libblkid (2.37-r0) [2021-10-21T08:06:23.841Z] (3/21) Installing blkid (2.37-r0) [2021-10-21T08:06:23.841Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-10-21T08:06:23.841Z] (5/21) Installing setpriv (2.37-r0) [2021-10-21T08:06:24.102Z] (6/21) Installing libmount (2.37-r0) [2021-10-21T08:06:24.102Z] (7/21) Installing libsmartcols (2.37-r0) [2021-10-21T08:06:24.102Z] (8/21) Installing findmnt (2.37-r0) [2021-10-21T08:06:24.202Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-21T08:06:24.361Z] (9/21) Installing mcookie (2.37-r0) [2021-10-21T08:06:24.361Z] (10/21) Installing hexdump (2.37-r0) [2021-10-21T08:06:24.361Z] (11/21) Installing lsblk (2.37-r0) [2021-10-21T08:06:24.622Z] (12/21) Installing libfdisk (2.37-r0) [2021-10-21T08:06:24.622Z] (13/21) Installing sfdisk (2.37-r0) [2021-10-21T08:06:24.622Z] (14/21) Installing cfdisk (2.37-r0) [2021-10-21T08:06:24.881Z] (15/21) Installing partx (2.37-r0) [2021-10-21T08:06:24.881Z] (16/21) Installing flock (2.37-r0) [2021-10-21T08:06:24.881Z] (17/21) Installing logger (2.37-r0) [2021-10-21T08:06:25.142Z] (18/21) Installing uuidgen (2.37-r0) [2021-10-21T08:06:25.142Z] (19/21) Installing libeconf (0.3.8-r1) [2021-10-21T08:06:25.142Z] (20/21) Installing util-linux (2.37-r0) [2021-10-21T08:06:25.191Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-21T08:06:25.191Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T08:06:25.723Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-10-21T08:06:25.723Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:06:25.723Z] OK: 291 MiB in 105 packages [2021-10-21T08:06:26.179Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-21T08:06:26.292Z] Removing intermediate container 4d75878421a8 [2021-10-21T08:06:26.292Z] ---> b4e8473afde9 [2021-10-21T08:06:26.292Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-21T08:06:26.292Z] ---> 12727784a02e [2021-10-21T08:06:26.292Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-21T08:06:26.458Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-21T08:06:26.458Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-21T08:06:26.557Z] ---> d8371abbbb67 [2021-10-21T08:06:26.557Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-21T08:06:26.735Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-21T08:06:26.818Z] ---> 0510838bdcd2 [2021-10-21T08:06:26.819Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-21T08:06:27.014Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-21T08:06:27.082Z] ---> ff62f01c6d3e [2021-10-21T08:06:27.083Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-21T08:06:27.083Z] ---> d10ba394b93b [2021-10-21T08:06:27.083Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-21T08:06:27.351Z] ---> 0fa55b0f2404 [2021-10-21T08:06:27.351Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-21T08:06:27.351Z] ---> Running in cecab6fc0913 [2021-10-21T08:06:27.619Z] Removing intermediate container cecab6fc0913 [2021-10-21T08:06:27.619Z] ---> 944bfd60a38d [2021-10-21T08:06:27.619Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-21T08:06:27.619Z] ---> Running in eaf71fc5db1b [2021-10-21T08:06:27.620Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-21T08:06:27.883Z] Removing intermediate container eaf71fc5db1b [2021-10-21T08:06:27.883Z] ---> 31acc141f140 [2021-10-21T08:06:27.883Z] Step 15/17 : LABEL arch=amd64 [2021-10-21T08:06:27.883Z] ---> Running in 7a5e26c23385 [2021-10-21T08:06:28.144Z] Removing intermediate container 7a5e26c23385 [2021-10-21T08:06:28.144Z] ---> 917e2d754729 [2021-10-21T08:06:28.144Z] Step 16/17 : LABEL git_sha=f9cc441c845f7b3b136fda20b0bd590713aa9127 [2021-10-21T08:06:28.144Z] ---> Running in 9764e513885c [2021-10-21T08:06:28.224Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-21T08:06:28.403Z] Removing intermediate container 9764e513885c [2021-10-21T08:06:28.403Z] ---> c538f393b19a [2021-10-21T08:06:28.403Z] Step 17/17 : LABEL version=2.0.1-dev.12 [2021-10-21T08:06:28.403Z] ---> Running in e104660afb7d [2021-10-21T08:06:28.403Z] Removing intermediate container e104660afb7d [2021-10-21T08:06:28.403Z] ---> 46895258119a [2021-10-21T08:06:28.403Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-21T08:06:28.403Z] Successfully built 46895258119a [2021-10-21T08:06:28.503Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-21T08:06:28.663Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-10-21T08:06:28.781Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 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 [2021-10-21T08:06:29.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:06:29.227Z] [2021-10-21T08:06:29.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:06:29.386Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-21T08:06:29.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:06:29.527Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T08:06:29.527Z] b4d181a07f80: Pulling fs layer [2021-10-21T08:06:29.527Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T08:06:29.527Z] ed53099fbce6: Pulling fs layer [2021-10-21T08:06:29.527Z] dc539afda2c1: Pulling fs layer [2021-10-21T08:06:29.527Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T08:06:29.527Z] 9065ff56babe: Pulling fs layer [2021-10-21T08:06:29.527Z] d287ab97295c: Pulling fs layer [2021-10-21T08:06:29.527Z] 77bc0d833cb6: Waiting [2021-10-21T08:06:29.527Z] 9065ff56babe: Waiting [2021-10-21T08:06:29.527Z] d287ab97295c: Waiting [2021-10-21T08:06:29.527Z] dc539afda2c1: Waiting [2021-10-21T08:06:29.527Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T08:06:29.527Z] a1111a8f2ec3: Download complete [2021-10-21T08:06:29.527Z] dc539afda2c1: Verifying Checksum [2021-10-21T08:06:29.527Z] dc539afda2c1: Download complete [2021-10-21T08:06:29.663Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-21T08:06:29.790Z] ed53099fbce6: Verifying Checksum [2021-10-21T08:06:29.790Z] ed53099fbce6: Download complete [2021-10-21T08:06:29.790Z] 9065ff56babe: Verifying Checksum [2021-10-21T08:06:29.790Z] 9065ff56babe: Download complete [2021-10-21T08:06:29.790Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T08:06:29.790Z] 77bc0d833cb6: Download complete [2021-10-21T08:06:29.790Z] b4d181a07f80: Verifying Checksum [2021-10-21T08:06:29.790Z] b4d181a07f80: Download complete [2021-10-21T08:06:29.939Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-21T08:06:30.216Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-21T08:06:30.378Z] d287ab97295c: Verifying Checksum [2021-10-21T08:06:30.378Z] d287ab97295c: Download complete [2021-10-21T08:06:30.823Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-21T08:06:30.823Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-21T08:06:31.321Z] b4d181a07f80: Pull complete [2021-10-21T08:06:31.429Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-21T08:06:31.429Z] [ 40%] Linking C shared library libcbor.so [2021-10-21T08:06:31.429Z] [ 40%] Built target cbor_shared [2021-10-21T08:06:31.582Z] a1111a8f2ec3: Pull complete [2021-10-21T08:06:31.706Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-21T08:06:32.158Z] ed53099fbce6: Pull complete [2021-10-21T08:06:32.158Z] dc539afda2c1: Pull complete [2021-10-21T08:06:32.421Z] 77bc0d833cb6: Pull complete [2021-10-21T08:06:32.421Z] 9065ff56babe: Pull complete [2021-10-21T08:06:32.693Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-21T08:06:33.298Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-21T08:06:33.574Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T08:06:35.571Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-21T08:06:35.850Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-21T08:06:36.131Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-21T08:06:36.131Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-21T08:06:36.407Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-21T08:06:37.011Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-21T08:06:37.619Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-21T08:06:37.760Z] d287ab97295c: Pull complete [2021-10-21T08:06:37.896Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-21T08:06:38.021Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T08:06:38.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:06:38.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T08:06:38.080Z] prd-centos7-docker-4c-2g-899 does not seem to be running inside a container [2021-10-21T08:06:38.122Z] $ 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/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T08:06:38.505Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-21T08:06:39.110Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-21T08:06:39.389Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-21T08:06:39.666Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-21T08:06:39.942Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-21T08:06:40.545Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-21T08:06:40.545Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-21T08:06:41.151Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-21T08:06:41.151Z] [ 80%] Linking C static library libcbor.a [2021-10-21T08:06:41.429Z] [ 80%] Built target cbor [2021-10-21T08:06:41.429Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-21T08:06:41.707Z] [ 84%] Linking C executable readfile [2021-10-21T08:06:41.707Z] [ 84%] Built target readfile [2021-10-21T08:06:41.707Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-21T08:06:41.987Z] [ 88%] Linking C executable create_items [2021-10-21T08:06:41.987Z] [ 88%] Built target create_items [2021-10-21T08:06:42.269Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-21T08:06:42.269Z] [ 92%] Linking C executable sort [2021-10-21T08:06:42.549Z] [ 92%] Built target sort [2021-10-21T08:06:42.549Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-21T08:06:42.827Z] [ 96%] Linking C executable hello [2021-10-21T08:06:42.827Z] [ 96%] Built target hello [2021-10-21T08:06:42.827Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-21T08:06:43.104Z] [100%] Linking C executable streaming_parser [2021-10-21T08:06:43.104Z] [100%] Built target streaming_parser [2021-10-21T08:06:43.389Z] Install the project... [2021-10-21T08:06:43.389Z] -- Install configuration: "Release" [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-21T08:06:43.389Z] -- Up-to-date: /usr/local/include/cbor [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/include/cbor.h [2021-10-21T08:06:43.389Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-21T08:06:43.607Z] $ docker top 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:06:44.055Z] ---> job-cost.sh [2021-10-21T08:06:44.055Z] lf-activate-venv: SKIPPING [2021-10-21T08:06:44.055Z] INFO: No Stack... [2021-10-21T08:06:44.317Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T08:06:44.578Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T08:06:44.880Z] + cat /w/workspace/device-sdk-c/13/archives/cost.csv [2021-10-21T08:06:44.880Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T08:06:44.910Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [2021-10-21T08:06:44.915Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] did not exist. Created. [2021-10-21T08:06:44.915Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T08:06:45.244Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-21T08:06:45.385Z] Removing intermediate container 8e849f5762d9 [2021-10-21T08:06:45.385Z] ---> 2a44801d6af8 [2021-10-21T08:06:45.385Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-10-21T08:06:45.467Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T08:06:45.474Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T08:06:45.493Z] $ docker stop --time=1 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 [2021-10-21T08:06:45.660Z] ---> Running in a04bb23c76a0 [2021-10-21T08:06:46.667Z] $ docker rm -f 47a3a532e680b9c375d76ebdf364320218e62fbd5e54212303f563aaf0461c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T08:06:47.674Z] Removing intermediate container a04bb23c76a0 [2021-10-21T08:06:47.674Z] ---> 550d94aeefe0 [2021-10-21T08:06:47.674Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-10-21T08:06:48.671Z] ---> c437265669e2 [2021-10-21T08:06:48.671Z] Step 10/24 : COPY src /tmp/sdk/src [2021-10-21T08:06:49.275Z] ---> 3618a8a2b2b1 [2021-10-21T08:06:49.275Z] Step 11/24 : COPY include /tmp/sdk/include [2021-10-21T08:06:50.277Z] ---> 2837d6378a49 [2021-10-21T08:06:50.277Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-10-21T08:06:50.880Z] ---> ecb3e8ce4a60 [2021-10-21T08:06:50.880Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-10-21T08:06:51.873Z] ---> 923f2b11227b [2021-10-21T08:06:51.873Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-10-21T08:06:52.477Z] ---> d11b20fce4aa [2021-10-21T08:06:52.477Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-21T08:06:52.477Z] ---> Running in 8717935c368f [2021-10-21T08:06:53.928Z] + CPPCHECK=false [2021-10-21T08:06:53.928Z] + DOCGEN=false [2021-10-21T08:06:53.928Z] + TOMLVER=SDK-0.2 [2021-10-21T08:06:53.928Z] + CUTILVER=1.2.2 [2021-10-21T08:06:53.928Z] + '[' 0 -gt 0 ] [2021-10-21T08:06:53.928Z] + readlink -f ./scripts/build.sh [2021-10-21T08:06:53.929Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-21T08:06:53.929Z] + dirname /tmp/sdk/scripts [2021-10-21T08:06:53.929Z] + ROOT=/tmp/sdk [2021-10-21T08:06:53.929Z] + cd /tmp/sdk [2021-10-21T08:06:53.929Z] + '[' '!' -d deps ] [2021-10-21T08:06:53.929Z] + mkdir deps [2021-10-21T08:06:53.929Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T08:06:53.929Z] + tar -C deps -z -x -f - [2021-10-21T08:06:53.929Z] --2021-10-21 08:06:53-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T08:06:53.929Z] Resolving github.com (github.com)... 140.82.114.4 [2021-10-21T08:06:53.929Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-10-21T08:06:53.929Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:06:53.929Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-21T08:06:53.929Z] --2021-10-21 08:06:53-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-21T08:06:53.929Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-21T08:06:53.929Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-21T08:06:54.204Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:06:54.204Z] Length: unspecified [application/x-gzip] [2021-10-21T08:06:54.204Z] Saving to: 'STDOUT' [2021-10-21T08:06:54.204Z]  [2021-10-21T08:06:54.204Z] 0K .......... ......    795K=0.02s [2021-10-21T08:06:54.204Z] [2021-10-21T08:06:54.204Z] 2021-10-21 08:06:53 (795 KB/s) - written to stdout [16451] [2021-10-21T08:06:54.204Z] [2021-10-21T08:06:54.204Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-21T08:06:54.204Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T08:06:54.204Z] + tar -C deps -z -x -f - [2021-10-21T08:06:54.204Z] --2021-10-21 08:06:53-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T08:06:54.204Z] Resolving github.com (github.com)... 140.82.114.4 [2021-10-21T08:06:54.204Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-10-21T08:06:54.481Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T08:06:54.481Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-21T08:06:54.481Z] --2021-10-21 08:06:54-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-21T08:06:54.481Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-21T08:06:54.481Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-21T08:06:54.481Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:06:54.481Z] Length: unspecified [application/x-gzip] [2021-10-21T08:06:54.481Z] Saving to: 'STDOUT' [2021-10-21T08:06:54.481Z]  [2021-10-21T08:06:54.481Z] 0K .......... .......... .......... .......... .......... 1.18M [2021-10-21T08:06:54.760Z] 50K .......... .......... .......... .......... .......... 2.29M [2021-10-21T08:06:54.760Z] 100K .......... .......... .......... .......... .......... 4.89M [2021-10-21T08:06:54.760Z] 150K .......... .......... .......... ......... 2.10M=0.09s [2021-10-21T08:06:54.760Z] [2021-10-21T08:06:54.760Z] 2021-10-21 08:06:54 (2.03 MB/s) - written to stdout [193961] [2021-10-21T08:06:54.760Z] [2021-10-21T08:06:54.760Z] + mkdir -p src/c/iot [2021-10-21T08:06:54.760Z] + 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 [2021-10-21T08:06:54.760Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-21T08:06:54.760Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-21T08:06:54.760Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-21T08:06:54.760Z] + mkdir -p include/iot [2021-10-21T08:06:54.760Z] + 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 [2021-10-21T08:06:54.760Z] + mkdir -p include/iot/os [2021-10-21T08:06:54.760Z] + 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 [2021-10-21T08:06:54.760Z] + mkdir -p /tmp/sdk/build/release [2021-10-21T08:06:54.760Z] + cd /tmp/sdk/build/release [2021-10-21T08:06:54.760Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-21T08:06:55.036Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:06:55.036Z] -- Detecting C compiler ABI info [2021-10-21T08:06:55.317Z] -- Detecting C compiler ABI info - done [2021-10-21T08:06:55.317Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:06:55.317Z] -- Detecting C compile features [2021-10-21T08:06:55.317Z] -- Detecting C compile features - done [2021-10-21T08:06:55.317Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T08:06:55.595Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T08:06:55.595Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T08:06:55.595Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T08:06:55.595Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T08:06:55.595Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T08:06:55.595Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T08:06:55.595Z] -- C SDK 2.0.1-dev.12 for Linux [2021-10-21T08:06:55.595Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T08:06:55.874Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T08:06:56.152Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T08:06:56.152Z] -- Configuring done [2021-10-21T08:06:56.430Z] -- Generating done [2021-10-21T08:06:56.430Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-21T08:06:56.430Z] + + maketee all release.log package [2021-10-21T08:06:56.430Z] [2021-10-21T08:06:56.430Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T08:06:57.424Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T08:06:57.706Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T08:07:00.341Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T08:07:00.942Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T08:07:00.942Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T08:07:01.941Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T08:07:02.547Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T08:07:02.825Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T08:07:04.279Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T08:07:06.282Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T08:07:06.889Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T08:07:07.491Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T08:07:08.483Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T08:07:08.761Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T08:07:09.039Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T08:07:09.318Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T08:07:12.732Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T08:07:12.732Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T08:07:13.008Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T08:07:13.610Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T08:07:14.217Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T08:07:14.217Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T08:07:14.217Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T08:07:14.217Z] 275 | const iot_component_factory_t * factory; [2021-10-21T08:07:14.217Z] | ^~~~~~~ [2021-10-21T08:07:15.212Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T08:07:19.545Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T08:07:19.821Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T08:07:20.434Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T08:07:21.040Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T08:07:21.646Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T08:07:21.646Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T08:07:23.084Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T08:07:23.360Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T08:07:24.344Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T08:07:24.622Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T08:07:24.899Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T08:07:27.538Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T08:07:27.826Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T08:07:29.272Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T08:07:29.272Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T08:07:34.696Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T08:07:34.696Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T08:07:34.973Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T08:07:35.577Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T08:07:35.577Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T08:07:35.577Z] /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] [2021-10-21T08:07:35.577Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T08:07:35.577Z] | ^~~~~~~~~~~~~ [2021-10-21T08:07:35.577Z] | | [2021-10-21T08:07:35.577Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T08:07:35.577Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:07:35.577Z] /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 *)' [2021-10-21T08:07:35.577Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T08:07:35.577Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T08:07:35.577Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T08:07:35.577Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:07:35.577Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T08:07:35.577Z] | ^~~~~~~~~~~~ [2021-10-21T08:07:35.577Z] | | [2021-10-21T08:07:35.577Z] | 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 **)} [2021-10-21T08:07:35.577Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:07:35.577Z] /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 **)'} [2021-10-21T08:07:35.577Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:07:35.577Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:07:35.577Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:07:35.577Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T08:07:35.577Z] | ^~~~~~~~~~~~ [2021-10-21T08:07:35.577Z] | | [2021-10-21T08:07:35.577Z] | 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 **)} [2021-10-21T08:07:35.577Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:07:35.577Z] /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 **)'} [2021-10-21T08:07:35.577Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:07:35.577Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:07:36.564Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T08:07:38.550Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T08:07:39.151Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T08:07:39.427Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T08:07:40.031Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T08:07:42.661Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T08:07:46.980Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T08:07:46.980Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T08:07:47.583Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T08:07:47.861Z] [ 76%] Built target csdk [2021-10-21T08:07:47.861Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T08:07:48.847Z] [ 79%] Linking C executable template [2021-10-21T08:07:48.848Z] [ 79%] Built target template [2021-10-21T08:07:48.848Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T08:07:49.448Z] [ 82%] Linking C executable device-counter [2021-10-21T08:07:49.725Z] [ 82%] Built target device-counter [2021-10-21T08:07:49.725Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T08:07:50.332Z] [ 85%] Linking C executable device-random [2021-10-21T08:07:50.332Z] [ 85%] Built target device-random [2021-10-21T08:07:50.609Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T08:07:50.888Z] [ 88%] Linking C executable device-gyro [2021-10-21T08:07:51.165Z] [ 88%] Built target device-gyro [2021-10-21T08:07:51.165Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T08:07:51.771Z] [ 91%] Linking C executable device-bitfields [2021-10-21T08:07:52.048Z] [ 91%] Built target device-bitfields [2021-10-21T08:07:52.048Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T08:07:53.036Z] [ 94%] Linking C executable template-discovery [2021-10-21T08:07:53.036Z] [ 94%] Built target template-discovery [2021-10-21T08:07:53.316Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T08:07:53.919Z] [ 97%] Linking C executable device-file [2021-10-21T08:07:54.197Z] [ 97%] Built target device-file [2021-10-21T08:07:54.197Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T08:07:54.802Z] [100%] Linking C executable device-terminal [2021-10-21T08:07:55.079Z] [100%] Built target device-terminal [2021-10-21T08:07:55.079Z] Run CPack packaging tool... [2021-10-21T08:07:55.079Z] CPack: Create package using TGZ [2021-10-21T08:07:55.079Z] CPack: Install projects [2021-10-21T08:07:55.079Z] CPack: - Run preinstall target for: Csdk [2021-10-21T08:07:55.684Z] CPack: - Install project: Csdk [] [2021-10-21T08:07:55.963Z] CPack: Create package [2021-10-21T08:07:55.963Z] CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.12.tar.gz generated. [2021-10-21T08:07:55.963Z] + '[' false '=' true ] [2021-10-21T08:07:55.963Z] + '[' false '=' true ] [2021-10-21T08:07:55.963Z] + mkdir -p /tmp/sdk/build/debug [2021-10-21T08:07:55.963Z] + cd /tmp/sdk/build/debug [2021-10-21T08:07:55.963Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-21T08:07:56.240Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T08:07:56.240Z] -- Detecting C compiler ABI info [2021-10-21T08:07:56.518Z] -- Detecting C compiler ABI info - done [2021-10-21T08:07:56.518Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T08:07:56.518Z] -- Detecting C compile features [2021-10-21T08:07:56.518Z] -- Detecting C compile features - done [2021-10-21T08:07:56.518Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T08:07:56.797Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T08:07:56.798Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T08:07:56.798Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T08:07:56.798Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T08:07:56.798Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T08:07:56.798Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T08:07:56.798Z] -- C SDK 2.0.1-dev.12 for Linux [2021-10-21T08:07:56.798Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T08:07:57.076Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T08:07:57.353Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T08:07:57.353Z] -- Configuring done [2021-10-21T08:07:57.632Z] -- Generating done [2021-10-21T08:07:57.633Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-21T08:07:57.633Z] + + teemake debug.log [2021-10-21T08:07:57.633Z] [2021-10-21T08:07:57.908Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T08:07:58.185Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T08:07:58.460Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T08:07:59.059Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T08:07:59.662Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T08:07:59.663Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T08:07:59.941Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T08:08:00.218Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T08:08:00.493Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T08:08:01.093Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T08:08:01.695Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T08:08:01.979Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T08:08:02.254Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T08:08:02.532Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T08:08:03.136Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T08:08:03.136Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T08:08:03.414Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T08:08:04.403Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T08:08:04.403Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T08:08:04.680Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T08:08:04.958Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T08:08:05.237Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T08:08:05.237Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T08:08:05.237Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T08:08:05.237Z] 275 | const iot_component_factory_t * factory; [2021-10-21T08:08:05.237Z] | ^~~~~~~ [2021-10-21T08:08:05.514Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T08:08:06.966Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T08:08:06.966Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T08:08:07.244Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T08:08:07.522Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T08:08:07.798Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T08:08:07.798Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T08:08:08.074Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T08:08:08.352Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T08:08:08.632Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T08:08:08.910Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T08:08:09.187Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T08:08:09.791Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T08:08:09.791Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T08:08:10.395Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T08:08:10.672Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T08:08:11.666Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T08:08:11.946Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T08:08:12.229Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T08:08:12.506Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T08:08:12.786Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T08:08:12.786Z] /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] [2021-10-21T08:08:12.786Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T08:08:12.786Z] | ^~~~~~~~~~~~~ [2021-10-21T08:08:12.786Z] | | [2021-10-21T08:08:12.786Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T08:08:12.786Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:08:12.786Z] /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 *)' [2021-10-21T08:08:12.786Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T08:08:12.786Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T08:08:12.786Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T08:08:12.786Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:08:12.786Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T08:08:12.786Z] | ^~~~~~~~~~~~ [2021-10-21T08:08:12.786Z] | | [2021-10-21T08:08:12.786Z] | 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 **)} [2021-10-21T08:08:12.786Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:08:12.786Z] /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 **)'} [2021-10-21T08:08:12.786Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:08:12.786Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:08:12.786Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T08:08:12.786Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T08:08:12.786Z] | ^~~~~~~~~~~~ [2021-10-21T08:08:12.786Z] | | [2021-10-21T08:08:12.786Z] | 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 **)} [2021-10-21T08:08:12.786Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T08:08:12.786Z] /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 **)'} [2021-10-21T08:08:12.786Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T08:08:12.786Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T08:08:13.065Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T08:08:14.518Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T08:08:14.795Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T08:08:15.071Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T08:08:15.348Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T08:08:15.952Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T08:08:16.941Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T08:08:17.219Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T08:08:17.505Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T08:08:17.785Z] [ 76%] Built target csdk [2021-10-21T08:08:17.785Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T08:08:18.062Z] [ 79%] Linking C executable template [2021-10-21T08:08:18.343Z] [ 79%] Built target template [2021-10-21T08:08:18.343Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T08:08:18.620Z] [ 82%] Linking C executable device-counter [2021-10-21T08:08:18.900Z] [ 82%] Built target device-counter [2021-10-21T08:08:18.900Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T08:08:19.177Z] [ 85%] Linking C executable device-random [2021-10-21T08:08:19.455Z] [ 85%] Built target device-random [2021-10-21T08:08:19.734Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T08:08:19.735Z] [ 88%] Linking C executable device-gyro [2021-10-21T08:08:20.014Z] [ 88%] Built target device-gyro [2021-10-21T08:08:20.292Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T08:08:20.569Z] [ 91%] Linking C executable device-bitfields [2021-10-21T08:08:20.846Z] [ 91%] Built target device-bitfields [2021-10-21T08:08:20.846Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T08:08:21.124Z] [ 94%] Linking C executable template-discovery [2021-10-21T08:08:21.400Z] [ 94%] Built target template-discovery [2021-10-21T08:08:21.400Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T08:08:21.678Z] [ 97%] Linking C executable device-file [2021-10-21T08:08:21.958Z] [ 97%] Built target device-file [2021-10-21T08:08:21.958Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T08:08:22.563Z] [100%] Linking C executable device-terminal [2021-10-21T08:08:22.842Z] [100%] Built target device-terminal [2021-10-21T08:08:22.842Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] [ 76%] Built target csdk [2021-10-21T08:08:22.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] [ 79%] Built target template [2021-10-21T08:08:22.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:22.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.120Z] [ 82%] Built target device-counter [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [ 85%] Built target device-random [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [ 88%] Built target device-gyro [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [ 91%] Built target device-bitfields [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [ 94%] Built target template-discovery [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [ 97%] Built target device-file [2021-10-21T08:08:23.121Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.121Z] [100%] Built target device-terminal [2021-10-21T08:08:23.121Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:23.400Z] Install the project... [2021-10-21T08:08:23.400Z] -- Install configuration: "Release" [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-21T08:08:23.400Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-21T08:08:23.400Z] -- Up-to-date: /usr/local/include [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/devsdk [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/json.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/container.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/component.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/time.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/os [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/data.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/os.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/include/iot/config.h [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-21T08:08:23.400Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-21T08:08:23.400Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-21T08:08:25.396Z] Removing intermediate container 8717935c368f [2021-10-21T08:08:25.396Z] ---> 64e314ddb1f3 [2021-10-21T08:08:25.396Z] Step 16/24 : FROM ${BASE} [2021-10-21T08:08:25.396Z] ---> b6d714ea7bf2 [2021-10-21T08:08:25.396Z] Step 17/24 : LABEL maintainer="IOTech " [2021-10-21T08:08:25.674Z] ---> Running in aaddcce3e215 [2021-10-21T08:08:25.949Z] Removing intermediate container aaddcce3e215 [2021-10-21T08:08:25.949Z] ---> d03152a73895 [2021-10-21T08:08:25.949Z] 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 [2021-10-21T08:08:26.226Z] ---> Running in 85b8c0864a72 [2021-10-21T08:08:27.678Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-10-21T08:08:27.954Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:08:27.954Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T08:08:27.954Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T08:08:28.945Z] Removing intermediate container 85b8c0864a72 [2021-10-21T08:08:28.945Z] ---> e964a944a479 [2021-10-21T08:08:28.945Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:08:28.945Z] ---> Running in ca94f4820406 [2021-10-21T08:08:31.592Z] Removing intermediate container ca94f4820406 [2021-10-21T08:08:31.592Z] ---> 54033e9aeff2 [2021-10-21T08:08:31.592Z] 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 [2021-10-21T08:08:31.592Z] ---> Running in c66beea36176 [2021-10-21T08:08:32.582Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:33.571Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:33.848Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:34.839Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:08:34.839Z] (1/7) Installing curl (7.79.1-r0) [2021-10-21T08:08:34.839Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-21T08:08:34.839Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-21T08:08:35.115Z] (4/7) Installing libuuid (2.37-r0) [2021-10-21T08:08:35.115Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T08:08:36.106Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-21T08:08:36.106Z] (7/7) Installing wget (1.21.1-r1) [2021-10-21T08:08:36.383Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:08:36.383Z] OK: 276 MiB in 84 packages [2021-10-21T08:08:37.379Z] Removing intermediate container c66beea36176 [2021-10-21T08:08:37.379Z] ---> 0c34b1a35d8c [2021-10-21T08:08:37.379Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-21T08:08:38.373Z] ---> 715c5175342e [2021-10-21T08:08:38.373Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-21T08:08:38.979Z] ---> ff4941673092 [2021-10-21T08:08:38.979Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-21T08:08:39.969Z] ---> 390d089505aa [2021-10-21T08:08:39.969Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-21T08:08:40.572Z] ---> d63e951d6adc [2021-10-21T08:08:40.572Z] Successfully built d63e951d6adc [2021-10-21T08:08:40.572Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:08:41.122Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T08:08:41.122Z] . [Pipeline] withDockerContainer [2021-10-21T08:08:41.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-897 does not seem to be running inside a container [2021-10-21T08:08:41.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** -e ******** ci-base-image-arm64 cat [2021-10-21T08:08:43.160Z] $ docker top 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T08:08:44.160Z] + make test [2021-10-21T08:08:44.160Z] echo "make test" [2021-10-21T08:08:44.160Z] make test [Pipeline] } [2021-10-21T08:08:44.187Z] $ docker stop --time=1 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec [2021-10-21T08:08:46.130Z] $ docker rm -f 60dadd00ffd1602b48fceeab328bf6bb3c1a41d0f31882c8d95f11d726ad2cec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T08:08:46.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-21T08:08:47.154Z] + ls -al . [2021-10-21T08:08:47.154Z] total 200 [2021-10-21T08:08:47.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:05 . [2021-10-21T08:08:47.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 .. [2021-10-21T08:08:47.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:05 .git [2021-10-21T08:08:47.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 08:05 .github [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 21 08:05 .gitignore [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 21 08:05 Attribution.txt [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 7767 Oct 21 08:05 CHANGES [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 21 08:05 Doxyfile [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 08:05 GOVERNANCE.md [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 21 08:05 Jenkinsfile [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 21 08:05 LICENSE [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 21 08:05 Makefile [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 21 08:05 OWNERS.md [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 21 08:05 README.md [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 21 08:05 README.v2.md [2021-10-21T08:08:47.154Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 08:02 VERSION [2021-10-21T08:08:47.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:05 docs [2021-10-21T08:08:47.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 include [2021-10-21T08:08:47.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:05 scripts [2021-10-21T08:08:47.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:05 src [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:08:47.521Z] + 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=f9cc441c845f7b3b136fda20b0bd590713aa9127 --label arch=arm64 --label version=2.0.1-dev.12 . [2021-10-21T08:08:48.140Z] Sending build context to Docker daemon 2.709MB [2021-10-21T08:08:48.140Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-21T08:08:48.140Z] Step 2/17 : FROM ${BASE} [2021-10-21T08:08:48.140Z] ---> d63e951d6adc [2021-10-21T08:08:48.140Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-21T08:08:48.140Z] ---> Running in 1fe5b197650c [2021-10-21T08:08:48.743Z] Removing intermediate container 1fe5b197650c [2021-10-21T08:08:48.743Z] ---> 5b9c0cf315ed [2021-10-21T08:08:48.743Z] 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 [2021-10-21T08:08:48.743Z] ---> Running in 6b92444488c4 [2021-10-21T08:08:50.194Z] --2021-10-21 08:08:49-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-21T08:08:50.194Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 [2021-10-21T08:08:50.194Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-10-21T08:08:50.194Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T08:08:50.194Z] Length: unspecified [application/json] [2021-10-21T08:08:50.194Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T08:08:50.194Z]  [2021-10-21T08:08:50.194Z] 0K    46.9M=0s [2021-10-21T08:08:50.194Z] [2021-10-21T08:08:50.194Z] 2021-10-21 08:08:50 (46.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-21T08:08:50.194Z] [2021-10-21T08:08:51.181Z] Removing intermediate container 6b92444488c4 [2021-10-21T08:08:51.181Z] ---> 9df0fd58901b [2021-10-21T08:08:51.181Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T08:08:51.457Z] ---> Running in 50f1a86f4e62 [2021-10-21T08:08:53.454Z] Removing intermediate container 50f1a86f4e62 [2021-10-21T08:08:53.454Z] ---> b7dbb5615480 [2021-10-21T08:08:53.454Z] 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 [2021-10-21T08:08:53.454Z] ---> Running in f518972c3ac9 [2021-10-21T08:08:54.905Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:55.506Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:56.113Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T08:08:56.753Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T08:08:56.753Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T08:08:56.753Z] (2/21) Installing libblkid (2.37-r0) [2021-10-21T08:08:57.037Z] (3/21) Installing blkid (2.37-r0) [2021-10-21T08:08:57.037Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-10-21T08:08:57.037Z] (5/21) Installing setpriv (2.37-r0) [2021-10-21T08:08:57.335Z] (6/21) Installing libmount (2.37-r0) [2021-10-21T08:08:57.335Z] (7/21) Installing libsmartcols (2.37-r0) [2021-10-21T08:08:57.335Z] (8/21) Installing findmnt (2.37-r0) [2021-10-21T08:08:57.614Z] (9/21) Installing mcookie (2.37-r0) [2021-10-21T08:08:57.614Z] (10/21) Installing hexdump (2.37-r0) [2021-10-21T08:08:57.614Z] (11/21) Installing lsblk (2.37-r0) [2021-10-21T08:08:57.899Z] (12/21) Installing libfdisk (2.37-r0) [2021-10-21T08:08:57.899Z] (13/21) Installing sfdisk (2.37-r0) [2021-10-21T08:08:58.177Z] (14/21) Installing cfdisk (2.37-r0) [2021-10-21T08:08:58.177Z] (15/21) Installing partx (2.37-r0) [2021-10-21T08:08:58.177Z] (16/21) Installing flock (2.37-r0) [2021-10-21T08:08:58.462Z] (17/21) Installing logger (2.37-r0) [2021-10-21T08:08:58.462Z] (18/21) Installing uuidgen (2.37-r0) [2021-10-21T08:08:58.462Z] (19/21) Installing libeconf (0.3.8-r1) [2021-10-21T08:08:58.756Z] (20/21) Installing util-linux (2.37-r0) [2021-10-21T08:08:59.074Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-10-21T08:08:59.074Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T08:08:59.074Z] OK: 286 MiB in 105 packages [2021-10-21T08:09:01.133Z] Removing intermediate container f518972c3ac9 [2021-10-21T08:09:01.133Z] ---> a4871e9f757c [2021-10-21T08:09:01.133Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-21T08:09:01.411Z] ---> e2adddd3c68e [2021-10-21T08:09:01.411Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-21T08:09:02.881Z] ---> 6d2a1d44025c [2021-10-21T08:09:02.881Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-21T08:09:03.504Z] ---> eb2241f080f0 [2021-10-21T08:09:03.504Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-21T08:09:04.511Z] ---> 108bbe19bb78 [2021-10-21T08:09:04.511Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-21T08:09:05.119Z] ---> 54a0c201cfbe [2021-10-21T08:09:05.119Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-21T08:09:05.722Z] ---> c3d3df1d97cf [2021-10-21T08:09:05.722Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-21T08:09:06.004Z] ---> Running in d93a4356cc39 [2021-10-21T08:09:06.278Z] Removing intermediate container d93a4356cc39 [2021-10-21T08:09:06.278Z] ---> 9f944615a347 [2021-10-21T08:09:06.278Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-21T08:09:06.556Z] ---> Running in 264caafc7537 [2021-10-21T08:09:06.833Z] Removing intermediate container 264caafc7537 [2021-10-21T08:09:06.833Z] ---> edcc89ea58b6 [2021-10-21T08:09:06.833Z] Step 15/17 : LABEL arch=arm64 [2021-10-21T08:09:07.112Z] ---> Running in 7925687fbbac [2021-10-21T08:09:07.389Z] Removing intermediate container 7925687fbbac [2021-10-21T08:09:07.389Z] ---> d543efaabd14 [2021-10-21T08:09:07.389Z] Step 16/17 : LABEL git_sha=f9cc441c845f7b3b136fda20b0bd590713aa9127 [2021-10-21T08:09:07.664Z] ---> Running in 34c5ce70e2ae [2021-10-21T08:09:07.943Z] Removing intermediate container 34c5ce70e2ae [2021-10-21T08:09:07.943Z] ---> a8f97eab06fb [2021-10-21T08:09:07.943Z] Step 17/17 : LABEL version=2.0.1-dev.12 [2021-10-21T08:09:08.222Z] ---> Running in f4fb402da8c7 [2021-10-21T08:09:08.826Z] Removing intermediate container f4fb402da8c7 [2021-10-21T08:09:08.826Z] ---> de2db80f542d [2021-10-21T08:09:08.826Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-21T08:09:08.826Z] Successfully built de2db80f542d [2021-10-21T08:09:08.826Z] 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 [2021-10-21T08:09:09.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T08:09:09.426Z] [2021-10-21T08:09:09.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:09:09.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T08:09:10.103Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-21T08:09:10.103Z] 448f6bf000e3: Pulling fs layer [2021-10-21T08:09:10.103Z] f757da607395: Pulling fs layer [2021-10-21T08:09:10.103Z] 05883995daec: Pulling fs layer [2021-10-21T08:09:10.103Z] 8603b9c90790: Pulling fs layer [2021-10-21T08:09:10.103Z] 1560dd03e051: Pulling fs layer [2021-10-21T08:09:10.103Z] 27f5ce0e4adf: Pulling fs layer [2021-10-21T08:09:10.103Z] c2d8d7efcc4b: Pulling fs layer [2021-10-21T08:09:10.103Z] 8603b9c90790: Waiting [2021-10-21T08:09:10.103Z] 27f5ce0e4adf: Waiting [2021-10-21T08:09:10.103Z] 1560dd03e051: Waiting [2021-10-21T08:09:10.103Z] c2d8d7efcc4b: Waiting [2021-10-21T08:09:10.386Z] f757da607395: Verifying Checksum [2021-10-21T08:09:10.386Z] f757da607395: Download complete [2021-10-21T08:09:10.386Z] 8603b9c90790: Verifying Checksum [2021-10-21T08:09:10.386Z] 8603b9c90790: Download complete [2021-10-21T08:09:10.386Z] 05883995daec: Verifying Checksum [2021-10-21T08:09:10.386Z] 05883995daec: Download complete [2021-10-21T08:09:10.665Z] 1560dd03e051: Verifying Checksum [2021-10-21T08:09:10.665Z] 1560dd03e051: Download complete [2021-10-21T08:09:10.665Z] 27f5ce0e4adf: Verifying Checksum [2021-10-21T08:09:10.665Z] 27f5ce0e4adf: Download complete [2021-10-21T08:09:10.943Z] 448f6bf000e3: Verifying Checksum [2021-10-21T08:09:10.943Z] 448f6bf000e3: Download complete [2021-10-21T08:09:13.595Z] c2d8d7efcc4b: Verifying Checksum [2021-10-21T08:09:13.595Z] c2d8d7efcc4b: Download complete [2021-10-21T08:09:14.198Z] 448f6bf000e3: Pull complete [2021-10-21T08:09:15.187Z] f757da607395: Pull complete [2021-10-21T08:09:16.636Z] 05883995daec: Pull complete [2021-10-21T08:09:16.913Z] 8603b9c90790: Pull complete [2021-10-21T08:09:17.902Z] 1560dd03e051: Pull complete [2021-10-21T08:09:17.902Z] 27f5ce0e4adf: Pull complete [2021-10-21T08:09:30.331Z] c2d8d7efcc4b: Pull complete [2021-10-21T08:09:30.605Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-21T08:09:30.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T08:09:30.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-21T08:09:30.876Z] prd-ubuntu18.04-docker-arm64-4c-16g-897 does not seem to be running inside a container [2021-10-21T08:09:30.976Z] $ 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/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-21T08:09:35.658Z] $ docker top 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:09:36.581Z] ---> job-cost.sh [2021-10-21T08:09:36.581Z] lf-activate-venv: SKIPPING [2021-10-21T08:09:36.581Z] INFO: No Stack... [2021-10-21T08:09:54.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-21T08:09:54.933Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T08:09:55.611Z] + cat /w/workspace/device-sdk-c/13/archives/cost.csv [2021-10-21T08:09:55.611Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T08:09:55.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [2021-10-21T08:09:55.686Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] did not exist. Created. [2021-10-21T08:09:55.686Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T08:09:56.376Z] /w/workspace/device-sdk-c/13@tmp/durable-aff505bd/script.sh: 1: /w/workspace/device-sdk-c/13@tmp/durable-aff505bd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-21T08:09:57.065Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-21T08:09:57.093Z] Warning: overwriting stash ‘stack-cost’ [2021-10-21T08:09:57.672Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T08:09:57.678Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T08:09:57.692Z] $ docker stop --time=1 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 [2021-10-21T08:09:59.335Z] $ docker rm -f 2d85cc6074f48ce7ed33d974fec85c9f516645b64d12238173249a90e0361998 [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 [2021-10-21T08:10:00.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:10:00.216Z] . [Pipeline] withDockerContainer [2021-10-21T08:10:00.284Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:10:00.325Z] $ 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 [2021-10-21T08:10:00.671Z] $ docker top 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T08:10:00.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T08:10:00.760Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T08:10:00.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T08:10:00.858Z] $ docker exec 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e ssh-agent [2021-10-21T08:10:00.962Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnppcBH/agent.14 [2021-10-21T08:10:00.962Z] SSH_AGENT_PID=21 [2021-10-21T08:10:00.967Z] Running ssh-add (command line suppressed) [2021-10-21T08:10:01.052Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5483344796311178173.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5483344796311178173.key) [2021-10-21T08:10:01.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T08:10:01.363Z] + git semver tag [2021-10-21T08:10:01.363Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T08:10:01.363Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-21T08:10:01.363Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-21T08:10:01.363Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T08:10:01.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T08:10:01.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T08:10:01.363Z] # $SEMVER_BRANCH = main [2021-10-21T08:10:01.363Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-10-21T08:10:01.363Z] # f9cc441c845f7b3b136fda20b0bd590713aa9127 HEAD [2021-10-21T08:10:01.363Z] # -> Force: false [2021-10-21T08:10:01.363Z] # e78ccd0982daa234d73a07c78965b30104e33f27 refs/tags/v2.0.1-dev.12 [Pipeline] } [2021-10-21T08:10:01.372Z] $ docker exec --env ******** --env ******** 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e ssh-agent -k [2021-10-21T08:10:01.446Z] unset SSH_AUTH_SOCK; [2021-10-21T08:10:01.446Z] unset SSH_AGENT_PID; [2021-10-21T08:10:01.446Z] echo Agent pid 21 killed; [2021-10-21T08:10:01.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T08:10:01.774Z] + git semver [Pipeline] } [2021-10-21T08:10:01.786Z] $ docker stop --time=1 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e [2021-10-21T08:10:02.967Z] $ docker rm -f 54818240adb2b660e8a2c4070d3c35dada500b492c9122a10853e5434f796f1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:03.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-21T08:10:03.396Z] [2021-10-21T08:10:03.396Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:03.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-21T08:10:03.699Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-21T08:10:03.699Z] ab5ef0e58194: Pulling fs layer [2021-10-21T08:10:03.699Z] 9712f1f96733: Pulling fs layer [2021-10-21T08:10:03.699Z] 63f879dbbcfc: Pulling fs layer [2021-10-21T08:10:03.699Z] 0d9ebad4ef96: Pulling fs layer [2021-10-21T08:10:03.699Z] e9a5061849ea: Pulling fs layer [2021-10-21T08:10:03.699Z] d747dcd14b5f: Pulling fs layer [2021-10-21T08:10:03.699Z] 2de7ff778b66: Pulling fs layer [2021-10-21T08:10:03.699Z] 0d9ebad4ef96: Waiting [2021-10-21T08:10:03.699Z] e9a5061849ea: Waiting [2021-10-21T08:10:03.699Z] d747dcd14b5f: Waiting [2021-10-21T08:10:03.699Z] 2de7ff778b66: Waiting [2021-10-21T08:10:03.699Z] 9712f1f96733: Verifying Checksum [2021-10-21T08:10:03.699Z] 9712f1f96733: Download complete [2021-10-21T08:10:03.964Z] 63f879dbbcfc: Verifying Checksum [2021-10-21T08:10:03.964Z] 63f879dbbcfc: Download complete [2021-10-21T08:10:04.256Z] ab5ef0e58194: Verifying Checksum [2021-10-21T08:10:04.256Z] ab5ef0e58194: Download complete [2021-10-21T08:10:04.256Z] 0d9ebad4ef96: Verifying Checksum [2021-10-21T08:10:04.256Z] 0d9ebad4ef96: Download complete [2021-10-21T08:10:04.256Z] d747dcd14b5f: Verifying Checksum [2021-10-21T08:10:04.256Z] d747dcd14b5f: Download complete [2021-10-21T08:10:04.256Z] e9a5061849ea: Verifying Checksum [2021-10-21T08:10:04.256Z] e9a5061849ea: Download complete [2021-10-21T08:10:04.256Z] 2de7ff778b66: Verifying Checksum [2021-10-21T08:10:04.256Z] 2de7ff778b66: Download complete [2021-10-21T08:10:07.574Z] ab5ef0e58194: Pull complete [2021-10-21T08:10:07.574Z] 9712f1f96733: Pull complete [2021-10-21T08:10:08.144Z] 63f879dbbcfc: Pull complete [2021-10-21T08:10:11.497Z] 0d9ebad4ef96: Pull complete [2021-10-21T08:10:12.071Z] e9a5061849ea: Pull complete [2021-10-21T08:10:12.071Z] d747dcd14b5f: Pull complete [2021-10-21T08:10:13.465Z] 2de7ff778b66: Pull complete [2021-10-21T08:10:13.465Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-21T08:10:13.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-21T08:10:13.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-21T08:10:13.534Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:10:13.565Z] $ 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 [2021-10-21T08:10:16.621Z] $ docker top 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-21T08:10:16.691Z] provisioning config files... [2021-10-21T08:10:16.701Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1846558457280012304tmp [2021-10-21T08:10:16.711Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4717512518232664513tmp [2021-10-21T08:10:16.720Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6857199913863780065tmp [Pipeline] { [Pipeline] echo [2021-10-21T08:10:16.734Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:17.022Z] ---> sigul-configuration.sh [2021-10-21T08:10:17.022Z] gpg: directory `/root/.gnupg' created [2021-10-21T08:10:17.022Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-21T08:10:17.022Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-21T08:10:17.022Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-21T08:10:17.022Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-21T08:10:17.022Z] gpg: CAST5 encrypted data [2021-10-21T08:10:17.022Z] gpg: encrypted with 1 passphrase [2021-10-21T08:10:17.022Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-21T08:10:17.315Z] + mkdir /home/jenkins [2021-10-21T08:10:17.315Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-21T08:10:17.613Z] + 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 [2021-10-21T08:10:17.621Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:17.907Z] ---> sigul-install.sh [2021-10-21T08:10:17.907Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-21T08:10:18.210Z] + git tag --list [2021-10-21T08:10:18.210Z] 0.7.0 [2021-10-21T08:10:18.210Z] 0.7.1 [2021-10-21T08:10:18.210Z] 1.0.0 [2021-10-21T08:10:18.210Z] v1.0.1 [2021-10-21T08:10:18.210Z] v1.0.2 [2021-10-21T08:10:18.210Z] v1.0.3 [2021-10-21T08:10:18.210Z] v1.1.0 [2021-10-21T08:10:18.210Z] v1.1.1 [2021-10-21T08:10:18.210Z] v1.2.0 [2021-10-21T08:10:18.210Z] v1.2.1 [2021-10-21T08:10:18.210Z] v1.2.2 [2021-10-21T08:10:18.210Z] v1.3.0 [2021-10-21T08:10:18.210Z] v1.3.1 [2021-10-21T08:10:18.210Z] v2.0.0 [2021-10-21T08:10:18.210Z] v2.0.1-dev.1 [2021-10-21T08:10:18.210Z] v2.0.1-dev.10 [2021-10-21T08:10:18.210Z] v2.0.1-dev.11 [2021-10-21T08:10:18.210Z] v2.0.1-dev.12 [2021-10-21T08:10:18.210Z] v2.0.1-dev.2 [2021-10-21T08:10:18.210Z] v2.0.1-dev.3 [2021-10-21T08:10:18.210Z] v2.0.1-dev.4 [2021-10-21T08:10:18.210Z] v2.0.1-dev.5 [2021-10-21T08:10:18.210Z] v2.0.1-dev.6 [2021-10-21T08:10:18.210Z] v2.0.1-dev.7 [2021-10-21T08:10:18.210Z] v2.0.1-dev.8 [2021-10-21T08:10:18.210Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-21T08:10:18.510Z] + lftools sign git-tag v2.0.1-dev.12 [2021-10-21T08:10:19.081Z] Signing Git tag with Sigul... [2021-10-21T08:10:19.081Z] Signing v2.0.1-dev.12 [Pipeline] echo [2021-10-21T08:10:20.029Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:20.315Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-21T08:10:20.321Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-21T08:10:20.334Z] $ docker stop --time=1 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 [2021-10-21T08:10:21.669Z] $ docker rm -f 9917ab25357d728c92f90eaed61f370e801bea179b74a6fe24004be08f936d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:22.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:10:22.293Z] . [Pipeline] withDockerContainer [2021-10-21T08:10:22.388Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:10:22.436Z] $ 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 [2021-10-21T08:10:22.778Z] $ docker top 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T08:10:22.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T08:10:22.862Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T08:10:22.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T08:10:22.980Z] $ docker exec 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 ssh-agent [2021-10-21T08:10:23.103Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgajAEH/agent.13 [2021-10-21T08:10:23.103Z] SSH_AGENT_PID=19 [2021-10-21T08:10:23.109Z] Running ssh-add (command line suppressed) [2021-10-21T08:10:23.216Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1193770968277799758.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1193770968277799758.key) [2021-10-21T08:10:23.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T08:10:23.528Z] + git semver bump pre [2021-10-21T08:10:23.528Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T08:10:23.528Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-21T08:10:23.528Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-21T08:10:23.528Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T08:10:23.528Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T08:10:23.528Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T08:10:23.528Z] # $SEMVER_BRANCH = main [2021-10-21T08:10:23.528Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-10-21T08:10:23.528Z] 2.0.1-dev.13 [Pipeline] } [2021-10-21T08:10:23.537Z] $ docker exec --env ******** --env ******** 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 ssh-agent -k [2021-10-21T08:10:23.645Z] unset SSH_AUTH_SOCK; [2021-10-21T08:10:23.645Z] unset SSH_AGENT_PID; [2021-10-21T08:10:23.645Z] echo Agent pid 19 killed; [2021-10-21T08:10:23.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T08:10:23.966Z] + git semver [Pipeline] } [2021-10-21T08:10:23.976Z] $ docker stop --time=1 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 [2021-10-21T08:10:25.167Z] $ docker rm -f 1804659515eba852cb45d3ffc090dbfd02fb178feacabf063221fb238295e996 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:25.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-21T08:10:25.524Z] . [Pipeline] withDockerContainer [2021-10-21T08:10:25.586Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:10:25.618Z] $ 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 [2021-10-21T08:10:25.950Z] $ docker top 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-21T08:10:26.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-21T08:10:26.039Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-21T08:10:26.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-21T08:10:26.150Z] $ docker exec 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 ssh-agent [2021-10-21T08:10:26.247Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmeiKjJ/agent.14 [2021-10-21T08:10:26.247Z] SSH_AGENT_PID=20 [2021-10-21T08:10:26.261Z] Running ssh-add (command line suppressed) [2021-10-21T08:10:26.349Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7226631223494728402.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7226631223494728402.key) [2021-10-21T08:10:26.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-21T08:10:26.651Z] + git semver push [2021-10-21T08:10:26.651Z] # -> Open(): unable to determine branch for HEAD [2021-10-21T08:10:26.651Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-21T08:10:26.651Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-21T08:10:26.651Z] # $SEMVER_REMOTE_NAME = origin [2021-10-21T08:10:26.651Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-21T08:10:26.651Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-21T08:10:26.651Z] # $SEMVER_BRANCH = main [2021-10-21T08:10:26.651Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-10-21T08:10:28.568Z] $ docker exec --env ******** --env ******** 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 ssh-agent -k [2021-10-21T08:10:28.673Z] unset SSH_AUTH_SOCK; [2021-10-21T08:10:28.673Z] unset SSH_AGENT_PID; [2021-10-21T08:10:28.673Z] echo Agent pid 20 killed; [2021-10-21T08:10:28.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-21T08:10:28.994Z] + git semver [Pipeline] } [2021-10-21T08:10:29.006Z] $ docker stop --time=1 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 [2021-10-21T08:10:30.182Z] $ docker rm -f 86db57ae72bc6b793b770ec6c8041a3d2a0db023fc410d51f86920ac9ccefed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-21T08:10:31.043Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:31.344Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:31.915Z] ---> package-listing.sh [2021-10-21T08:10:31.915Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-21T08:10:31.915Z] ++ facter osfamily [2021-10-21T08:10:32.180Z] + OS_FAMILY=redhat [2021-10-21T08:10:32.180Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2021-10-21T08:10:32.180Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-21T08:10:32.180Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-21T08:10:32.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-21T08:10:32.180Z] + PACKAGES=/tmp/packages_start.txt [2021-10-21T08:10:32.180Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-10-21T08:10:32.180Z] + PACKAGES=/tmp/packages_end.txt [2021-10-21T08:10:32.180Z] + case "${OS_FAMILY}" in [2021-10-21T08:10:32.180Z] + rpm -qa [2021-10-21T08:10:32.180Z] + sort [2021-10-21T08:10:32.752Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-21T08:10:32.752Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-21T08:10:32.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-21T08:10:32.752Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-10-21T08:10:32.752Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2021-10-21T08:10:32.752Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2021-10-21T08:10:32.761Z] 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 [2021-10-21T08:10:33.044Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:33.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:10:33.607Z] [2021-10-21T08:10:33.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T08:10:33.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:10:33.909Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T08:10:33.909Z] b4d181a07f80: Pulling fs layer [2021-10-21T08:10:33.909Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T08:10:33.909Z] ed53099fbce6: Pulling fs layer [2021-10-21T08:10:33.909Z] dc539afda2c1: Pulling fs layer [2021-10-21T08:10:33.909Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T08:10:33.909Z] 9065ff56babe: Pulling fs layer [2021-10-21T08:10:33.909Z] d287ab97295c: Pulling fs layer [2021-10-21T08:10:33.909Z] dc539afda2c1: Waiting [2021-10-21T08:10:33.909Z] 77bc0d833cb6: Waiting [2021-10-21T08:10:33.909Z] 9065ff56babe: Waiting [2021-10-21T08:10:33.909Z] d287ab97295c: Waiting [2021-10-21T08:10:33.909Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T08:10:33.909Z] a1111a8f2ec3: Download complete [2021-10-21T08:10:33.909Z] dc539afda2c1: Download complete [2021-10-21T08:10:34.172Z] ed53099fbce6: Verifying Checksum [2021-10-21T08:10:34.172Z] ed53099fbce6: Download complete [2021-10-21T08:10:34.172Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T08:10:34.172Z] 77bc0d833cb6: Download complete [2021-10-21T08:10:34.172Z] 9065ff56babe: Verifying Checksum [2021-10-21T08:10:34.172Z] 9065ff56babe: Download complete [2021-10-21T08:10:34.172Z] b4d181a07f80: Verifying Checksum [2021-10-21T08:10:34.172Z] b4d181a07f80: Download complete [2021-10-21T08:10:34.760Z] d287ab97295c: Verifying Checksum [2021-10-21T08:10:34.760Z] d287ab97295c: Download complete [2021-10-21T08:10:35.713Z] b4d181a07f80: Pull complete [2021-10-21T08:10:35.977Z] a1111a8f2ec3: Pull complete [2021-10-21T08:10:36.554Z] ed53099fbce6: Pull complete [2021-10-21T08:10:36.554Z] dc539afda2c1: Pull complete [2021-10-21T08:10:36.816Z] 77bc0d833cb6: Pull complete [2021-10-21T08:10:37.082Z] 9065ff56babe: Pull complete [2021-10-21T08:10:42.415Z] d287ab97295c: Pull complete [2021-10-21T08:10:42.415Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T08:10:42.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T08:10:42.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T08:10:42.475Z] prd-centos7-docker-4c-2g-896 does not seem to be running inside a container [2021-10-21T08:10:42.599Z] $ 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 [2021-10-21T08:10:44.745Z] $ docker top c0f4338b8a2c125af0349ebe8d739fae8381333a4f460da3ea8ff45cef8f97db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T08:10:45.197Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-21T08:10:45.482Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-21T08:10:45.777Z] + ls /var/log/sa-host [2021-10-21T08:10:45.777Z] + sadf -c /var/log/sa-host/sa21 [2021-10-21T08:10:45.777Z] file_magic: OK [2021-10-21T08:10:45.777Z] HZ: Using current value: 100 [2021-10-21T08:10:45.777Z] file_header: OK [2021-10-21T08:10:45.777Z] 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 [2021-10-21T08:10:45.777Z] Statistics: [2021-10-21T08:10:45.777Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T08:10:45.777Z] File successfully converted to sysstat format version 12.0.3 [2021-10-21T08:10:45.777Z] + sadf -c /var/log/sa-host/sa30 [2021-10-21T08:10:45.777Z] file_magic: OK [2021-10-21T08:10:45.777Z] HZ: Using current value: 100 [2021-10-21T08:10:45.777Z] file_header: OK [2021-10-21T08:10:45.777Z] 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 [2021-10-21T08:10:45.777Z] Statistics: [2021-10-21T08:10:45.777Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T08:10:45.777Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T08:10:46.044Z] provisioning config files... [2021-10-21T08:10:46.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config562861850087696942tmp [Pipeline] { [Pipeline] echo [2021-10-21T08:10:46.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:46.350Z] ---> create-netrc.sh [Pipeline] } [2021-10-21T08:10:46.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:46.692Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-21T08:10:46.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:46.986Z] ---> sudo-logs.sh [2021-10-21T08:10:46.986Z] Archiving 'sudo' log.. [2021-10-21T08:10:46.986Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-896.novalocal: Name or service not known [2021-10-21T08:10:46.986Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-896.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-21T08:10:47.010Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:47.301Z] ---> job-cost.sh [2021-10-21T08:10:47.301Z] lf-activate-venv: SKIPPING [2021-10-21T08:10:47.301Z] DEBUG: total: 0.10999999940395355 [2021-10-21T08:10:47.301Z] INFO: Retrieving Stack Cost... [2021-10-21T08:10:50.595Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T08:10:50.595Z] INFO: Archiving Costs [Pipeline] echo [2021-10-21T08:10:50.605Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T08:10:50.893Z] ---> logs-deploy.sh [2021-10-21T08:10:50.893Z] lf-activate-venv: SKIPPING [2021-10-21T08:10:50.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/13 [2021-10-21T08:10:50.893Z] INFO: archiving workspace using pattern(s): [2021-10-21T08:10:51.466Z] Archives upload complete. [2021-10-21T08:10:51.727Z] INFO: archiving logs to Nexus