Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce650ad78b6c877d3227a46e4e9eafbdd6610562 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-ssh1056747478981475341.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh3974343759400038410.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh6332938778436963597.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh4548649234604643506.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-ssh4300197508017839400.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-391 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-ssh4494819315800127771.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 ce650ad78b6c877d3227a46e4e9eafbdd6610562 (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 ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 Commit message: "feat: Add Object reading type (#379)" > git rev-list --no-walk c0c62495d4cdef51dccef47425bdbc5dfcd4d33e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-01T15:49:54.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-01T15:49:54.577Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-01T15:49:54.600Z] ========================================================= [2021-10-01T15:49:54.600Z] EdgeX Global Pipelines Version Info [2021-10-01T15:49:54.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:49:55.833Z] ------------------- [2021-10-01T15:49:55.833Z] stable info: [2021-10-01T15:49:55.833Z] ------------------- [2021-10-01T15:49:55.833Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-01T15:49:55.833Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-01T15:49:55.833Z] Message: update stable to v1.0.206 [2021-10-01T15:49:56.418Z] ------------------- [2021-10-01T15:49:56.418Z] experimental info: [2021-10-01T15:49:56.418Z] ------------------- [2021-10-01T15:49:56.418Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-01T15:49:56.418Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-01T15:49:56.418Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-01T15:49:56.543Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-10-01T15:49:56.562Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-10-01T15:49:56.582Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-01T15:49:56.601Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-01T15:49:56.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-01T15:49:56.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-10-01T15:49:56.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-10-01T15:49:56.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-10-01T15:49:56.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-01T15:49:56.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-01T15:49:56.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-10-01T15:49:56.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-01T15:49:56.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-01T15:49:56.796Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-01T15:49:56.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-01T15:49:56.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-01T15:49:56.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-01T15:49:56.877Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-01T15:49:56.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-01T15:49:56.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-01T15:49:56.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-01T15:49:56.959Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce650ad78b6c877d3227a46e4e9eafbdd6610562 [Pipeline] echo [2021-10-01T15:49:56.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce650ad [Pipeline] echo [2021-10-01T15:49:56.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-01T15:49:57.073Z] provisioning config files... [2021-10-01T15:49:57.093Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6945022384862819287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:49:57.433Z] ---> docker-login.sh [2021-10-01T15:49:57.433Z] nexus3.edgexfoundry.org:10001 [2021-10-01T15:49:57.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:49:57.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:49:57.700Z] Configure a credential helper to remove this warning. See [2021-10-01T15:49:57.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:49:57.700Z] [2021-10-01T15:49:57.700Z] Login Succeeded [2021-10-01T15:49:57.700Z] nexus3.edgexfoundry.org:10002 [2021-10-01T15:49:57.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:49:57.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:49:57.966Z] Configure a credential helper to remove this warning. See [2021-10-01T15:49:57.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:49:57.966Z] [2021-10-01T15:49:57.966Z] Login Succeeded [2021-10-01T15:49:57.966Z] nexus3.edgexfoundry.org:10003 [2021-10-01T15:49:57.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:49:57.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:49:57.966Z] Configure a credential helper to remove this warning. See [2021-10-01T15:49:57.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:49:57.966Z] [2021-10-01T15:49:57.966Z] Login Succeeded [2021-10-01T15:49:57.966Z] nexus3.edgexfoundry.org:10004 [2021-10-01T15:49:57.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:49:58.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:49:58.233Z] Configure a credential helper to remove this warning. See [2021-10-01T15:49:58.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:49:58.233Z] [2021-10-01T15:49:58.233Z] Login Succeeded [2021-10-01T15:49:58.233Z] docker.io [2021-10-01T15:49:58.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:49:58.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:49:58.498Z] Configure a credential helper to remove this warning. See [2021-10-01T15:49:58.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:49:58.499Z] [2021-10-01T15:49:58.499Z] Login Succeeded [2021-10-01T15:49:58.499Z] ---> docker-login.sh ends [Pipeline] } [2021-10-01T15:49:58.510Z] 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-01T15:49:59.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:49:59.885Z] [2021-10-01T15:49:59.885Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:50:00.216Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:50:00.216Z] latest: Pulling from edgex-devops/git-semver [2021-10-01T15:50:00.216Z] 31603596830f: Pulling fs layer [2021-10-01T15:50:00.216Z] 04fac38145f0: Pulling fs layer [2021-10-01T15:50:00.216Z] 701f6daf10bf: Pulling fs layer [2021-10-01T15:50:00.216Z] 24f72da36158: Pulling fs layer [2021-10-01T15:50:00.216Z] 24f72da36158: Waiting [2021-10-01T15:50:00.216Z] 04fac38145f0: Verifying Checksum [2021-10-01T15:50:00.216Z] 04fac38145f0: Download complete [2021-10-01T15:50:00.488Z] 31603596830f: Verifying Checksum [2021-10-01T15:50:00.488Z] 31603596830f: Download complete [2021-10-01T15:50:00.759Z] 31603596830f: Pull complete [2021-10-01T15:50:00.759Z] 04fac38145f0: Pull complete [2021-10-01T15:50:00.759Z] 24f72da36158: Verifying Checksum [2021-10-01T15:50:00.759Z] 24f72da36158: Download complete [2021-10-01T15:50:00.759Z] 701f6daf10bf: Verifying Checksum [2021-10-01T15:50:00.759Z] 701f6daf10bf: Download complete [2021-10-01T15:50:01.361Z] 701f6daf10bf: Pull complete [2021-10-01T15:50:01.627Z] 24f72da36158: Pull complete [2021-10-01T15:50:01.627Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-01T15:50:01.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:50:01.627Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-01T15:50:01.732Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:50:01.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-01T15:50:02.534Z] $ docker top fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-01T15:50:02.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-01T15:50:02.658Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-01T15:50:02.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-01T15:50:02.774Z] $ docker exec fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 ssh-agent [2021-10-01T15:50:02.891Z] SSH_AUTH_SOCK=/tmp/ssh-aOXGbJyiL78x/agent.14 [2021-10-01T15:50:02.891Z] SSH_AGENT_PID=20 [2021-10-01T15:50:02.907Z] Running ssh-add (command line suppressed) [2021-10-01T15:50:03.001Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3332338725775978784.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3332338725775978784.key) [2021-10-01T15:50:03.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-01T15:50:03.383Z] + git tag --points-at HEAD [Pipeline] } [2021-10-01T15:50:03.431Z] $ docker exec --env ******** --env ******** fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 ssh-agent -k [2021-10-01T15:50:03.515Z] unset SSH_AUTH_SOCK; [2021-10-01T15:50:03.515Z] unset SSH_AGENT_PID; [2021-10-01T15:50:03.515Z] echo Agent pid 20 killed; [2021-10-01T15:50:03.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-01T15:50:03.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-01T15:50:03.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-01T15:50:03.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-01T15:50:03.691Z] $ docker exec fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 ssh-agent [2021-10-01T15:50:03.785Z] SSH_AUTH_SOCK=/tmp/ssh-oEhVwT2Gcs2T/agent.52 [2021-10-01T15:50:03.785Z] SSH_AGENT_PID=59 [2021-10-01T15:50:03.802Z] Running ssh-add (command line suppressed) [2021-10-01T15:50:03.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1305952171725443282.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1305952171725443282.key) [2021-10-01T15:50:03.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-01T15:50:04.263Z] + git semver init [2021-10-01T15:50:04.263Z] # -> Open(): unable to determine branch for HEAD [2021-10-01T15:50:04.263Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-01T15:50:04.263Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-01T15:50:04.263Z] # $SEMVER_REMOTE_NAME = origin [2021-10-01T15:50:04.263Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-01T15:50:04.263Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-01T15:50:04.263Z] # $SEMVER_BRANCH = main [2021-10-01T15:50:04.263Z] # $SEMVER_TEMP = /tmp/semver-233323128 [2021-10-01T15:50:04.263Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-10-01T15:50:05.676Z] # '/tmp/semver-233323128' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2021-10-01T15:50:05.676Z] # -> Force: false [2021-10-01T15:50:05.676Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-10-01T15:50:05.692Z] $ docker exec --env ******** --env ******** fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 ssh-agent -k [2021-10-01T15:50:05.774Z] unset SSH_AUTH_SOCK; [2021-10-01T15:50:05.774Z] unset SSH_AGENT_PID; [2021-10-01T15:50:05.774Z] echo Agent pid 59 killed; [2021-10-01T15:50:05.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-01T15:50:06.152Z] + git semver [Pipeline] } [2021-10-01T15:50:06.184Z] $ docker stop --time=1 fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 [2021-10-01T15:50:07.392Z] $ docker rm -f fb6ba3d494551409887520c046ab1873a216b49cac332b4afb4e6e97efbef411 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-01T15:50:07.811Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-01T15:50:08.290Z] Stashed 1 file(s) [Pipeline] echo [2021-10-01T15:50:08.294Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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-01T15:50:23.513Z] Still waiting to schedule task [2021-10-01T15:50:23.513Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-391’ [2021-10-01T15:50:23.516Z] Still waiting to schedule task [2021-10-01T15:50:23.516Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-01T15:52:51.746Z] Running on prd-centos7-docker-4c-2g-393 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-10-01T15:52:51.764Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2021-10-01T15:52:51.901Z] Selected Git installation does not exist. Using Default [2021-10-01T15:52:51.901Z] The recommended git tool is: NONE [2021-10-01T15:52:55.047Z] using credential edgex-jenkins-ssh [2021-10-01T15:52:55.067Z] Cloning the remote Git repository [2021-10-01T15:52:55.069Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-01T15:52:55.148Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2021-10-01T15:52:55.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-01T15:52:55.184Z] > git --version # timeout=10 [2021-10-01T15:52:55.200Z] > git --version # 'git version 2.24.4' [2021-10-01T15:52:55.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-01T15:52:55.230Z] [INFO] Currently running in a labeled security context [2021-10-01T15:52:55.230Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-01T15:52:55.230Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh3720729710748483845.key [2021-10-01T15:52:55.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-01T15:52:56.232Z] Avoid second fetch [2021-10-01T15:52:56.233Z] Checking out Revision ce650ad78b6c877d3227a46e4e9eafbdd6610562 (main) [2021-10-01T15:52:56.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-01T15:52:56.180Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-01T15:52:56.215Z] > git config core.sparsecheckout # timeout=10 [2021-10-01T15:52:56.226Z] > git checkout -f ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 [2021-10-01T15:52:59.372Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-392 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2021-10-01T15:52:59.389Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2021-10-01T15:52:59.627Z] Selected Git installation does not exist. Using Default [2021-10-01T15:52:59.627Z] The recommended git tool is: NONE [2021-10-01T15:53:00.097Z] Commit message: "feat: Add Object reading type (#379)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-01T15:53:00.687Z] provisioning config files... [2021-10-01T15:53:00.706Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config988877131324812169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:53:01.148Z] ---> docker-login.sh [2021-10-01T15:53:01.148Z] nexus3.edgexfoundry.org:10001 [2021-10-01T15:53:01.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:01.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:01.148Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:01.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:01.148Z] [2021-10-01T15:53:01.148Z] Login Succeeded [2021-10-01T15:53:01.148Z] nexus3.edgexfoundry.org:10002 [2021-10-01T15:53:01.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:01.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:01.420Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:01.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:01.420Z] [2021-10-01T15:53:01.420Z] Login Succeeded [2021-10-01T15:53:01.420Z] nexus3.edgexfoundry.org:10003 [2021-10-01T15:53:01.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:01.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:01.693Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:01.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:01.693Z] [2021-10-01T15:53:01.693Z] Login Succeeded [2021-10-01T15:53:01.693Z] nexus3.edgexfoundry.org:10004 [2021-10-01T15:53:01.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:01.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:01.693Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:01.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:01.693Z] [2021-10-01T15:53:01.693Z] Login Succeeded [2021-10-01T15:53:01.693Z] docker.io [2021-10-01T15:53:01.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:02.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:02.279Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:02.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:02.279Z] [2021-10-01T15:53:02.279Z] Login Succeeded [2021-10-01T15:53:02.279Z] ---> docker-login.sh ends [Pipeline] } [2021-10-01T15:53:02.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-01T15:53:02.517Z] ========================================================= [2021-10-01T15:53:02.517Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-10-01T15:53:02.517Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:53:02.866Z] + 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-01T15:53:02.866Z] Sending build context to Docker daemon 2.698MB [2021-10-01T15:53:02.866Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-01T15:53:02.866Z] Step 2/25 : FROM ${BASE} as builder [2021-10-01T15:53:03.134Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-10-01T15:53:03.134Z] 339de151aab4: Pulling fs layer [2021-10-01T15:53:03.134Z] 3691962f683c: Pulling fs layer [2021-10-01T15:53:03.134Z] e1147bf81a45: Pulling fs layer [2021-10-01T15:53:03.134Z] 3691962f683c: Verifying Checksum [2021-10-01T15:53:03.134Z] 3691962f683c: Download complete [2021-10-01T15:53:03.403Z] 339de151aab4: Verifying Checksum [2021-10-01T15:53:03.403Z] 339de151aab4: Download complete [2021-10-01T15:53:03.403Z] 339de151aab4: Pull complete [2021-10-01T15:53:03.671Z] 3691962f683c: Pull complete [2021-10-01T15:53:05.605Z] using credential edgex-jenkins-ssh [2021-10-01T15:53:05.628Z] Cloning the remote Git repository [2021-10-01T15:53:05.677Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-01T15:53:05.787Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2021-10-01T15:53:05.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-01T15:53:05.892Z] > git --version # timeout=10 [2021-10-01T15:53:05.920Z] > git --version # 'git version 2.17.1' [2021-10-01T15:53:05.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-01T15:53:06.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-01T15:53:07.453Z] Avoid second fetch [2021-10-01T15:53:07.454Z] Checking out Revision ce650ad78b6c877d3227a46e4e9eafbdd6610562 (main) [2021-10-01T15:53:07.934Z] e1147bf81a45: Verifying Checksum [2021-10-01T15:53:07.934Z] e1147bf81a45: Download complete [2021-10-01T15:53:07.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-01T15:53:07.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-01T15:53:07.468Z] > git config core.sparsecheckout # timeout=10 [2021-10-01T15:53:07.482Z] > git checkout -f ce650ad78b6c877d3227a46e4e9eafbdd6610562 # timeout=10 [2021-10-01T15:53:10.535Z] e1147bf81a45: Pull complete [2021-10-01T15:53:10.535Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-10-01T15:53:10.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-01T15:53:10.535Z] ---> ac6a0feb3254 [2021-10-01T15:53:10.535Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-01T15:53:11.911Z] Commit message: "feat: Add Object reading type (#379)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-01T15:53:12.340Z] provisioning config files... [2021-10-01T15:53:12.381Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config4887943083368308491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:53:12.489Z] ---> Running in 2aa9496385bc [2021-10-01T15:53:12.764Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-01T15:53:12.967Z] ---> docker-login.sh [2021-10-01T15:53:12.968Z] nexus3.edgexfoundry.org:10001 [2021-10-01T15:53:13.346Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:53:13.346Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-01T15:53:13.346Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-01T15:53:13.619Z] Removing intermediate container 2aa9496385bc [2021-10-01T15:53:13.619Z] ---> dc443d4c25c9 [2021-10-01T15:53:13.619Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:53:13.619Z] ---> Running in 0307d9e14d69 [2021-10-01T15:53:14.205Z] Removing intermediate container 0307d9e14d69 [2021-10-01T15:53:14.205Z] ---> 0a6e9a922edc [2021-10-01T15:53:14.205Z] Step 5/25 : 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-01T15:53:14.205Z] ---> Running in 1f20fe16d111 [2021-10-01T15:53:14.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:14.472Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:15.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:15.016Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:15.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:15.016Z] [2021-10-01T15:53:15.016Z] Login Succeeded [2021-10-01T15:53:15.016Z] nexus3.edgexfoundry.org:10002 [2021-10-01T15:53:15.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:15.432Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:15.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:15.566Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:15.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:15.566Z] [2021-10-01T15:53:15.566Z] Login Succeeded [2021-10-01T15:53:15.566Z] nexus3.edgexfoundry.org:10003 [2021-10-01T15:53:16.015Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:16.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:16.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:16.167Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:16.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:16.167Z] [2021-10-01T15:53:16.167Z] Login Succeeded [2021-10-01T15:53:16.167Z] nexus3.edgexfoundry.org:10004 [2021-10-01T15:53:16.282Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:53:16.282Z] (1/22) Installing hiredis (0.14.1-r0) [2021-10-01T15:53:16.550Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-10-01T15:53:16.550Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-01T15:53:16.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:16.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:16.779Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:16.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:16.779Z] [2021-10-01T15:53:16.779Z] Login Succeeded [2021-10-01T15:53:16.779Z] docker.io [2021-10-01T15:53:16.817Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-01T15:53:17.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-01T15:53:17.399Z] (5/22) Installing libblkid (2.35.2-r0) [2021-10-01T15:53:17.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-01T15:53:17.652Z] Configure a credential helper to remove this warning. See [2021-10-01T15:53:17.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-01T15:53:17.652Z] [2021-10-01T15:53:17.652Z] Login Succeeded [2021-10-01T15:53:17.652Z] ---> docker-login.sh ends [2021-10-01T15:53:17.668Z] (6/22) Installing blkid (2.35.2-r0) [Pipeline] } [2021-10-01T15:53:17.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-10-01T15:53:17.938Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-10-01T15:53:17.938Z] (8/22) Installing setpriv (2.35.2-r0) [2021-10-01T15:53:17.938Z] (9/22) Installing libmount (2.35.2-r0) [Pipeline] echo [2021-10-01T15:53:18.090Z] ========================================================= [2021-10-01T15:53:18.090Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-10-01T15:53:18.090Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:53:18.205Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-10-01T15:53:18.454Z] + 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-01T15:53:18.474Z] (11/22) Installing findmnt (2.35.2-r0) [2021-10-01T15:53:18.474Z] (12/22) Installing mcookie (2.35.2-r0) [2021-10-01T15:53:18.474Z] (13/22) Installing hexdump (2.35.2-r0) [2021-10-01T15:53:18.741Z] (14/22) Installing lsblk (2.35.2-r0) [2021-10-01T15:53:18.741Z] (15/22) Installing libuuid (2.35.2-r0) [2021-10-01T15:53:18.741Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-10-01T15:53:19.010Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-10-01T15:53:19.010Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-10-01T15:53:19.010Z] (19/22) Installing util-linux (2.35.2-r0) [2021-10-01T15:53:19.069Z] Sending build context to Docker daemon 2.697MB [2021-10-01T15:53:19.069Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-01T15:53:19.069Z] Step 2/25 : FROM ${BASE} as builder [2021-10-01T15:53:19.346Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-10-01T15:53:19.346Z] d2f70382dc9a: Pulling fs layer [2021-10-01T15:53:19.346Z] b08cc2eccb4b: Pulling fs layer [2021-10-01T15:53:19.346Z] 7b69db201801: Pulling fs layer [2021-10-01T15:53:19.346Z] b08cc2eccb4b: Download complete [2021-10-01T15:53:19.346Z] d2f70382dc9a: Verifying Checksum [2021-10-01T15:53:19.346Z] d2f70382dc9a: Download complete [2021-10-01T15:53:19.970Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-10-01T15:53:20.337Z] d2f70382dc9a: Pull complete [2021-10-01T15:53:20.611Z] b08cc2eccb4b: Pull complete [2021-10-01T15:53:20.935Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-10-01T15:53:20.935Z] (22/22) Installing wget (1.20.3-r1) [2021-10-01T15:53:21.207Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:53:21.207Z] OK: 295 MiB in 97 packages [2021-10-01T15:53:21.707Z] 7b69db201801: Verifying Checksum [2021-10-01T15:53:21.708Z] 7b69db201801: Download complete [2021-10-01T15:53:21.799Z] Removing intermediate container 1f20fe16d111 [2021-10-01T15:53:21.799Z] ---> dc25104cff09 [2021-10-01T15:53:21.799Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-01T15:53:21.799Z] ---> Running in 7f4bce56273e [2021-10-01T15:53:21.799Z] Removing intermediate container 7f4bce56273e [2021-10-01T15:53:21.799Z] ---> e8cc30d563dc [2021-10-01T15:53:21.799Z] Step 7/25 : 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-01T15:53:21.799Z] ---> Running in 7e4f0d93e3ca [2021-10-01T15:53:22.071Z] --2021-10-01 15:53:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-01T15:53:22.071Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-01T15:53:22.071Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-01T15:53:22.338Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:53:22.338Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-01T15:53:22.338Z] --2021-10-01 15:53:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-01T15:53:22.338Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:53:22.338Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:53:22.607Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:53:22.607Z] Length: unspecified [application/x-gzip] [2021-10-01T15:53:22.607Z] Saving to: 'STDOUT' [2021-10-01T15:53:22.607Z]  [2021-10-01T15:53:22.607Z] 0K .......... .......... .......... .......... .......... 1.13M [2021-10-01T15:53:22.607Z] 50K .......... .......... .......... .......... .......... 2.21M [2021-10-01T15:53:22.607Z] 100K .......... .......... .......... .......... .......... 36.8M [2021-10-01T15:53:22.607Z] 150K .......... .......... .......... .......... .......... 18.2M [2021-10-01T15:53:22.607Z] 200K .......... .......... .......... .......... .......... 2.25M [2021-10-01T15:53:22.607Z] 250K .......... .......... .......... .......... .......... 6.77M [2021-10-01T15:53:22.607Z] 300K .......... .......... .......... .......... .......... 22.6M [2021-10-01T15:53:22.607Z] 350K .......... .......... .......... .......... .......... 4.14M [2021-10-01T15:53:22.607Z] 400K .......... .......... .......... .......... .......... 28.0M [2021-10-01T15:53:22.607Z] 450K .......... .......... .......... .......... .......... 9.27M [2021-10-01T15:53:22.607Z] 500K .......... .......... .......... .......... .......... 17.3M [2021-10-01T15:53:22.607Z] 550K .......... .......... .......... .......... .......... 2.77M [2021-10-01T15:53:22.607Z] 600K .......... .......... .......... .......... .......... 2.22M [2021-10-01T15:53:22.607Z] 650K .......... .......... .......... .......... .......... 16.8M [2021-10-01T15:53:22.607Z] 700K .. 1.24M=0.2s [2021-10-01T15:53:22.607Z] [2021-10-01T15:53:22.607Z] 2021-10-01 15:53:22 (4.12 MB/s) - written to stdout [719348] [2021-10-01T15:53:22.607Z] [2021-10-01T15:53:22.877Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:53:22.877Z] -- The CXX compiler identification is GNU 9.3.0 [2021-10-01T15:53:22.877Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:53:22.877Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:53:22.877Z] -- Detecting C compiler ABI info [2021-10-01T15:53:22.877Z] -- Detecting C compiler ABI info - done [2021-10-01T15:53:22.877Z] -- Detecting C compile features [2021-10-01T15:53:22.877Z] -- Detecting C compile features - done [2021-10-01T15:53:22.877Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-10-01T15:53:23.144Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-10-01T15:53:23.144Z] -- Detecting CXX compiler ABI info [2021-10-01T15:53:23.144Z] -- Detecting CXX compiler ABI info - done [2021-10-01T15:53:23.144Z] -- Detecting CXX compile features [2021-10-01T15:53:23.144Z] -- Detecting CXX compile features - done [2021-10-01T15:53:23.144Z] -- Looking for include file endian.h [2021-10-01T15:53:23.144Z] -- Looking for include file endian.h - found [2021-10-01T15:53:23.144Z] -- Check if the system is big endian [2021-10-01T15:53:23.144Z] -- Searching 16 bit integer [2021-10-01T15:53:23.144Z] -- Looking for sys/types.h [2021-10-01T15:53:23.144Z] -- Looking for sys/types.h - found [2021-10-01T15:53:23.144Z] -- Looking for stdint.h [2021-10-01T15:53:23.413Z] -- Looking for stdint.h - found [2021-10-01T15:53:23.413Z] -- Looking for stddef.h [2021-10-01T15:53:23.413Z] -- Looking for stddef.h - found [2021-10-01T15:53:23.413Z] -- Check size of unsigned short [2021-10-01T15:53:23.413Z] -- Check size of unsigned short - done [2021-10-01T15:53:23.413Z] -- Searching 16 bit integer - Using unsigned short [2021-10-01T15:53:23.681Z] -- Check if the system is big endian - little endian [2021-10-01T15:53:23.682Z] -- Check size of size_t [2021-10-01T15:53:23.682Z] -- Check size of size_t - done [2021-10-01T15:53:23.682Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-01T15:53:23.682Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-01T15:53:23.682Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-01T15:53:23.682Z] CMake did not find one. [2021-10-01T15:53:23.682Z] [2021-10-01T15:53:23.682Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-01T15:53:23.682Z] the following names: [2021-10-01T15:53:23.682Z] [2021-10-01T15:53:23.682Z] cJSONConfig.cmake [2021-10-01T15:53:23.682Z] cjson-config.cmake [2021-10-01T15:53:23.682Z] [2021-10-01T15:53:23.682Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-01T15:53:23.682Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-01T15:53:23.682Z] provides a separate development package or SDK, be sure it has been [2021-10-01T15:53:23.682Z] installed. [2021-10-01T15:53:23.682Z] [2021-10-01T15:53:23.682Z] [2021-10-01T15:53:23.682Z] -- Configuring done [2021-10-01T15:53:23.682Z] -- Generating done [2021-10-01T15:53:23.682Z] -- Build files have been written to: /tmp/cbor [2021-10-01T15:53:23.682Z] Scanning dependencies of target cbor_shared [2021-10-01T15:53:23.682Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-01T15:53:23.952Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-01T15:53:23.952Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-01T15:53:23.952Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-01T15:53:24.220Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-01T15:53:24.220Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-01T15:53:24.220Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-01T15:53:24.220Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-01T15:53:24.220Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-01T15:53:24.497Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-01T15:53:24.497Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-01T15:53:24.497Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-01T15:53:24.497Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-01T15:53:24.771Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-01T15:53:24.771Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-01T15:53:24.771Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-01T15:53:24.771Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-01T15:53:25.049Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-01T15:53:25.049Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-01T15:53:25.049Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-01T15:53:25.049Z] [ 40%] Linking C shared library libcbor.so [2021-10-01T15:53:25.049Z] [ 40%] Built target cbor_shared [2021-10-01T15:53:25.049Z] Scanning dependencies of target cbor [2021-10-01T15:53:25.049Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-01T15:53:25.317Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-01T15:53:25.317Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-01T15:53:25.590Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-01T15:53:25.865Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-01T15:53:25.865Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-01T15:53:25.865Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-01T15:53:25.865Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-01T15:53:25.865Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-01T15:53:26.140Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-01T15:53:26.140Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-01T15:53:26.140Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-01T15:53:26.408Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-01T15:53:26.408Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-01T15:53:26.408Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-01T15:53:26.408Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-01T15:53:26.676Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-01T15:53:26.676Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-01T15:53:26.676Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-01T15:53:26.676Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-01T15:53:26.676Z] [ 80%] Linking C static library libcbor.a [2021-10-01T15:53:26.947Z] [ 80%] Built target cbor [2021-10-01T15:53:26.947Z] Scanning dependencies of target sort [2021-10-01T15:53:26.947Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-01T15:53:26.947Z] [ 84%] Linking C executable sort [2021-10-01T15:53:26.947Z] [ 84%] Built target sort [2021-10-01T15:53:26.947Z] Scanning dependencies of target readfile [2021-10-01T15:53:26.947Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-01T15:53:26.947Z] [ 88%] Linking C executable readfile [2021-10-01T15:53:26.947Z] [ 88%] Built target readfile [2021-10-01T15:53:26.947Z] Scanning dependencies of target streaming_parser [2021-10-01T15:53:26.947Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-01T15:53:26.947Z] [ 92%] Linking C executable streaming_parser [2021-10-01T15:53:27.221Z] [ 92%] Built target streaming_parser [2021-10-01T15:53:27.221Z] Scanning dependencies of target hello [2021-10-01T15:53:27.221Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-01T15:53:27.221Z] [ 96%] Linking C executable hello [2021-10-01T15:53:27.221Z] [ 96%] Built target hello [2021-10-01T15:53:27.221Z] Scanning dependencies of target create_items [2021-10-01T15:53:27.221Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-01T15:53:27.221Z] [100%] Linking C executable create_items [2021-10-01T15:53:27.221Z] [100%] Built target create_items [2021-10-01T15:53:27.221Z] Install the project... [2021-10-01T15:53:27.221Z] -- Install configuration: "Release" [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/lib64/libcbor.a [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/lib64/libcbor.so [2021-10-01T15:53:27.221Z] -- Up-to-date: /usr/local/include/cbor [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/include/cbor.h [2021-10-01T15:53:27.221Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-10-01T15:53:27.819Z] Removing intermediate container 7e4f0d93e3ca [2021-10-01T15:53:27.819Z] ---> 1a7ab314054e [2021-10-01T15:53:27.819Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-01T15:53:27.819Z] ---> Running in 303058b75d32 [2021-10-01T15:53:28.406Z] Removing intermediate container 303058b75d32 [2021-10-01T15:53:28.406Z] ---> 10fc0fb255c5 [2021-10-01T15:53:28.406Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-01T15:53:28.406Z] ---> 473820f9d949 [2021-10-01T15:53:28.406Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-01T15:53:28.453Z] 7b69db201801: Pull complete [2021-10-01T15:53:28.673Z] ---> b5d66171c690 [2021-10-01T15:53:28.673Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-01T15:53:28.673Z] ---> ec952f293295 [2021-10-01T15:53:28.673Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-01T15:53:28.728Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-10-01T15:53:28.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-01T15:53:28.728Z] ---> 759262b18b23 [2021-10-01T15:53:28.728Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-01T15:53:28.942Z] ---> 750d7d36d1ba [2021-10-01T15:53:28.942Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-01T15:53:28.942Z] ---> 526938b25479 [2021-10-01T15:53:28.942Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-01T15:53:29.209Z] ---> 12b8e90981ae [2021-10-01T15:53:29.209Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-01T15:53:29.209Z] ---> Running in 85d88ee1617c [2021-10-01T15:53:29.475Z] + CPPCHECK=false [2021-10-01T15:53:29.476Z] + DOCGEN=false [2021-10-01T15:53:29.476Z] + TOMLVER=SDK-0.2 [2021-10-01T15:53:29.476Z] + CUTILVER=1.2.2 [2021-10-01T15:53:29.476Z] + '[' 0 -gt 0 ] [2021-10-01T15:53:29.476Z] + readlink -f ./scripts/build.sh [2021-10-01T15:53:29.476Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-01T15:53:29.476Z] + dirname /tmp/sdk/scripts [2021-10-01T15:53:29.476Z] + ROOT=/tmp/sdk [2021-10-01T15:53:29.476Z] + cd /tmp/sdk [2021-10-01T15:53:29.476Z] + '[' '!' -d deps ] [2021-10-01T15:53:29.476Z] + mkdir deps [2021-10-01T15:53:29.476Z] + + wgettar -O -C - deps -z -x https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -f [2021-10-01T15:53:29.476Z] - [2021-10-01T15:53:29.476Z] --2021-10-01 15:53:29-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-01T15:53:29.476Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-01T15:53:29.476Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-01T15:53:29.476Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:53:29.476Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-01T15:53:29.476Z] --2021-10-01 15:53:29-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-01T15:53:29.476Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:53:29.476Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:53:29.742Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:53:29.743Z] Length: unspecified [application/x-gzip] [2021-10-01T15:53:29.743Z] Saving to: 'STDOUT' [2021-10-01T15:53:29.743Z] [2021-10-01T15:53:29.743Z] 0K .......... ......  719K=0.02s [2021-10-01T15:53:29.743Z] [2021-10-01T15:53:29.743Z] 2021-10-01 15:53:29 (719 KB/s) - written to stdout [16451] [2021-10-01T15:53:29.743Z] [2021-10-01T15:53:29.743Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-01T15:53:29.743Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-01T15:53:29.743Z] + tar -C deps -z -x -f - [2021-10-01T15:53:29.743Z] --2021-10-01 15:53:29-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-01T15:53:29.743Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-01T15:53:29.743Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-01T15:53:30.013Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:53:30.013Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-01T15:53:30.013Z] --2021-10-01 15:53:29-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-01T15:53:30.013Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:53:30.013Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:53:30.279Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:53:30.279Z] Length: unspecified [application/x-gzip] [2021-10-01T15:53:30.279Z] Saving to: 'STDOUT' [2021-10-01T15:53:30.279Z] [2021-10-01T15:53:30.279Z] 0K .......... .......... .......... .......... .......... 1.06M [2021-10-01T15:53:30.279Z] 50K .......... .......... .......... .......... .......... 1.09M [2021-10-01T15:53:30.279Z] 100K .......... .......... .......... .......... .......... 1.10M [2021-10-01T15:53:30.547Z] 150K .......... .......... .......... ......... 928K=0.2s [2021-10-01T15:53:30.547Z] [2021-10-01T15:53:30.547Z] 2021-10-01 15:53:30 (1.04 MB/s) - written to stdout [193971] [2021-10-01T15:53:30.547Z] [2021-10-01T15:53:30.547Z] + mkdir -p src/c/iot [2021-10-01T15:53:30.547Z] + 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-01T15:53:30.547Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-01T15:53:30.547Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-01T15:53:30.547Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-01T15:53:30.547Z] + mkdir -p include/iot [2021-10-01T15:53:30.547Z] + 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-01T15:53:30.547Z] + mkdir -p include/iot/os [2021-10-01T15:53:30.547Z] + 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-01T15:53:30.547Z] + mkdir -p /tmp/sdk/build/release [2021-10-01T15:53:30.547Z] + cd /tmp/sdk/build/release [2021-10-01T15:53:30.547Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-01T15:53:30.547Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:53:30.547Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:53:30.547Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:53:30.547Z] -- Detecting C compiler ABI info [2021-10-01T15:53:30.547Z] -- Detecting C compiler ABI info - done [2021-10-01T15:53:30.547Z] -- Detecting C compile features [2021-10-01T15:53:30.547Z] -- Detecting C compile features - done [2021-10-01T15:53:30.547Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-01T15:53:30.819Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-01T15:53:30.819Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-01T15:53:30.819Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-01T15:53:30.819Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-01T15:53:30.819Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-01T15:53:30.819Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-01T15:53:30.819Z] -- C SDK 2.0.1-dev.9 for Linux [2021-10-01T15:53:30.819Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-01T15:53:30.819Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-01T15:53:30.819Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-01T15:53:30.819Z] -- Configuring done [2021-10-01T15:53:30.819Z] -- Generating done [2021-10-01T15:53:30.819Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-01T15:53:30.819Z] + make all package [2021-10-01T15:53:30.819Z] + tee release.log [2021-10-01T15:53:30.819Z] Scanning dependencies of target csdk [2021-10-01T15:53:30.819Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-01T15:53:31.088Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-01T15:53:31.088Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-01T15:53:31.354Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-01T15:53:31.357Z] ---> Running in 7eddaf08a021 [2021-10-01T15:53:31.622Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-01T15:53:31.622Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-01T15:53:31.892Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-01T15:53:31.892Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-01T15:53:31.892Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-01T15:53:32.161Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-01T15:53:32.428Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-01T15:53:32.428Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-01T15:53:32.695Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-01T15:53:32.695Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-01T15:53:32.962Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-01T15:53:32.963Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-01T15:53:32.963Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-01T15:53:33.332Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-01T15:53:33.552Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-01T15:53:33.552Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-01T15:53:33.552Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-01T15:53:33.552Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-01T15:53:33.613Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:53:33.613Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-01T15:53:33.613Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-01T15:53:33.820Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-01T15:53:33.820Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-01T15:53:33.820Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-01T15:53:33.820Z] 275 | const iot_component_factory_t * factory; [2021-10-01T15:53:33.820Z] | ^~~~~~~ [2021-10-01T15:53:33.820Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-01T15:53:34.591Z] Removing intermediate container 7eddaf08a021 [2021-10-01T15:53:34.592Z] ---> afb19357325b [2021-10-01T15:53:34.592Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:53:34.791Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-01T15:53:34.791Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-01T15:53:34.791Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-01T15:53:34.791Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-01T15:53:34.865Z] ---> Running in 496c2da26965 [2021-10-01T15:53:35.062Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-01T15:53:35.062Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-01T15:53:35.338Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-01T15:53:35.338Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-01T15:53:35.338Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-01T15:53:35.614Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-01T15:53:35.614Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-01T15:53:35.882Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-01T15:53:35.882Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-01T15:53:36.159Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-01T15:53:36.159Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-01T15:53:37.143Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-01T15:53:37.144Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-01T15:53:37.144Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-01T15:53:37.144Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-01T15:53:37.412Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-01T15:53:37.500Z] Removing intermediate container 496c2da26965 [2021-10-01T15:53:37.500Z] ---> 149fb83a3534 [2021-10-01T15:53:37.500Z] Step 5/25 : 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-01T15:53:37.500Z] ---> Running in aff5db7a13e7 [2021-10-01T15:53:37.680Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-01T15:53:37.680Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-01T15:53:37.953Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-01T15:53:37.953Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-01T15:53:38.224Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-01T15:53:38.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:53:38.812Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-01T15:53:39.084Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-01T15:53:39.084Z] [ 76%] Linking C shared library libcsdk.so [2021-10-01T15:53:39.084Z] [ 76%] Built target csdk [2021-10-01T15:53:39.084Z] Scanning dependencies of target template [2021-10-01T15:53:39.084Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-01T15:53:39.351Z] [ 79%] Linking C executable template [2021-10-01T15:53:39.351Z] [ 79%] Built target template [2021-10-01T15:53:39.351Z] Scanning dependencies of target device-counter [2021-10-01T15:53:39.351Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-01T15:53:39.351Z] [ 82%] Linking C executable device-counter [2021-10-01T15:53:39.351Z] [ 82%] Built target device-counter [2021-10-01T15:53:39.351Z] Scanning dependencies of target device-random [2021-10-01T15:53:39.351Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-01T15:53:39.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-01T15:53:39.621Z] [ 85%] Linking C executable device-random [2021-10-01T15:53:39.621Z] [ 85%] Built target device-random [2021-10-01T15:53:39.621Z] Scanning dependencies of target device-gyro [2021-10-01T15:53:39.621Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-01T15:53:39.621Z] [ 88%] Linking C executable device-gyro [2021-10-01T15:53:39.621Z] [ 88%] Built target device-gyro [2021-10-01T15:53:39.621Z] Scanning dependencies of target device-bitfields [2021-10-01T15:53:39.892Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-01T15:53:39.892Z] [ 91%] Linking C executable device-bitfields [2021-10-01T15:53:39.892Z] [ 91%] Built target device-bitfields [2021-10-01T15:53:39.892Z] Scanning dependencies of target template-discovery [2021-10-01T15:53:39.892Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-01T15:53:40.160Z] [ 94%] Linking C executable template-discovery [2021-10-01T15:53:40.160Z] [ 94%] Built target template-discovery [2021-10-01T15:53:40.160Z] Scanning dependencies of target device-file [2021-10-01T15:53:40.160Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-01T15:53:40.160Z] [ 97%] Linking C executable device-file [2021-10-01T15:53:40.160Z] [ 97%] Built target device-file [2021-10-01T15:53:40.160Z] Scanning dependencies of target device-terminal [2021-10-01T15:53:40.160Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-01T15:53:40.427Z] [100%] Linking C executable device-terminal [2021-10-01T15:53:40.427Z] [100%] Built target device-terminal [2021-10-01T15:53:40.427Z] Run CPack packaging tool... [2021-10-01T15:53:40.427Z] CPack: Create package using TGZ [2021-10-01T15:53:40.427Z] CPack: Install projects [2021-10-01T15:53:40.427Z] CPack: - Run preinstall target for: Csdk [2021-10-01T15:53:40.438Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:53:40.693Z] CPack: - Install project: Csdk [] [2021-10-01T15:53:40.693Z] CPack: Create package [2021-10-01T15:53:40.693Z] CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.9.tar.gz generated. [2021-10-01T15:53:40.693Z] + '[' false '=' true ] [2021-10-01T15:53:40.693Z] + '[' false '=' true ] [2021-10-01T15:53:40.693Z] + mkdir -p /tmp/sdk/build/debug [2021-10-01T15:53:40.693Z] + cd /tmp/sdk/build/debug [2021-10-01T15:53:40.693Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-01T15:53:40.693Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:53:40.693Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:53:40.970Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:53:40.970Z] -- Detecting C compiler ABI info [2021-10-01T15:53:40.970Z] -- Detecting C compiler ABI info - done [2021-10-01T15:53:40.970Z] -- Detecting C compile features [2021-10-01T15:53:40.970Z] -- Detecting C compile features - done [2021-10-01T15:53:40.970Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-01T15:53:40.970Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-01T15:53:40.970Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-01T15:53:40.970Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-01T15:53:40.970Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-01T15:53:40.970Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-01T15:53:40.970Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-01T15:53:40.970Z] -- C SDK 2.0.1-dev.9 for Linux [2021-10-01T15:53:40.970Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-01T15:53:40.970Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-01T15:53:40.970Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-01T15:53:40.970Z] -- Configuring done [2021-10-01T15:53:41.039Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:53:41.039Z] (1/22) Installing hiredis (0.14.1-r0) [2021-10-01T15:53:41.241Z] -- Generating done [2021-10-01T15:53:41.241Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-01T15:53:41.241Z] + make [2021-10-01T15:53:41.241Z] + tee debug.log [2021-10-01T15:53:41.241Z] Scanning dependencies of target csdk [2021-10-01T15:53:41.241Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-01T15:53:41.241Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-01T15:53:41.241Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-01T15:53:41.312Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-10-01T15:53:41.312Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-01T15:53:41.509Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-01T15:53:41.509Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-01T15:53:41.509Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-01T15:53:41.509Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-01T15:53:41.584Z] (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-01T15:53:41.776Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-01T15:53:41.776Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-01T15:53:41.776Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-01T15:53:42.046Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-01T15:53:42.046Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-01T15:53:42.046Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-01T15:53:42.046Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-01T15:53:42.046Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-01T15:53:42.312Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-01T15:53:42.312Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-01T15:53:42.312Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-01T15:53:42.562Z] (5/22) Installing libblkid (2.35.2-r0) [2021-10-01T15:53:42.582Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-01T15:53:42.582Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-01T15:53:42.582Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-01T15:53:42.582Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-01T15:53:42.582Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-01T15:53:42.582Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-01T15:53:42.582Z] 275 | const iot_component_factory_t * factory; [2021-10-01T15:53:42.582Z] | ^~~~~~~ [2021-10-01T15:53:42.582Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-01T15:53:42.836Z] (6/22) Installing blkid (2.35.2-r0) [2021-10-01T15:53:42.836Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-10-01T15:53:42.836Z] (8/22) Installing setpriv (2.35.2-r0) [2021-10-01T15:53:42.854Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-01T15:53:42.854Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-01T15:53:42.854Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-01T15:53:43.109Z] (9/22) Installing libmount (2.35.2-r0) [2021-10-01T15:53:43.109Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-10-01T15:53:43.124Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-01T15:53:43.124Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-01T15:53:43.125Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-01T15:53:43.125Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-01T15:53:43.125Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-01T15:53:43.384Z] (11/22) Installing findmnt (2.35.2-r0) [2021-10-01T15:53:43.384Z] (12/22) Installing mcookie (2.35.2-r0) [2021-10-01T15:53:43.384Z] (13/22) Installing hexdump (2.35.2-r0) [2021-10-01T15:53:43.394Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-01T15:53:43.394Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-01T15:53:43.394Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-01T15:53:43.394Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-01T15:53:43.394Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-01T15:53:43.658Z] (14/22) Installing lsblk (2.35.2-r0) [2021-10-01T15:53:43.658Z] (15/22) Installing libuuid (2.35.2-r0) [2021-10-01T15:53:43.658Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-10-01T15:53:43.660Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-01T15:53:43.660Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-01T15:53:43.931Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-10-01T15:53:43.931Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-01T15:53:43.931Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-01T15:53:43.931Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-10-01T15:53:43.931Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-01T15:53:43.932Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-01T15:53:43.932Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-01T15:53:44.201Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-01T15:53:44.201Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-01T15:53:44.206Z] (19/22) Installing util-linux (2.35.2-r0) [2021-10-01T15:53:44.468Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-01T15:53:44.469Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-01T15:53:44.469Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-01T15:53:44.739Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-01T15:53:44.739Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-01T15:53:44.739Z] [ 76%] Linking C shared library libcsdk.so [2021-10-01T15:53:44.739Z] [ 76%] Built target csdk [2021-10-01T15:53:44.739Z] Scanning dependencies of target template [2021-10-01T15:53:44.739Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-01T15:53:45.012Z] [ 79%] Linking C executable template [2021-10-01T15:53:45.012Z] [ 79%] Built target template [2021-10-01T15:53:45.012Z] Scanning dependencies of target device-counter [2021-10-01T15:53:45.012Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-01T15:53:45.012Z] [ 82%] Linking C executable device-counter [2021-10-01T15:53:45.012Z] [ 82%] Built target device-counter [2021-10-01T15:53:45.012Z] Scanning dependencies of target device-random [2021-10-01T15:53:45.012Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-01T15:53:45.189Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-10-01T15:53:45.278Z] [ 85%] Linking C executable device-random [2021-10-01T15:53:45.278Z] [ 85%] Built target device-random [2021-10-01T15:53:45.278Z] Scanning dependencies of target device-gyro [2021-10-01T15:53:45.278Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-01T15:53:45.278Z] [ 88%] Linking C executable device-gyro [2021-10-01T15:53:45.278Z] [ 88%] Built target device-gyro [2021-10-01T15:53:45.278Z] Scanning dependencies of target device-bitfields [2021-10-01T15:53:45.278Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-01T15:53:45.278Z] [ 91%] Linking C executable device-bitfields [2021-10-01T15:53:45.546Z] [ 91%] Built target device-bitfields [2021-10-01T15:53:45.546Z] Scanning dependencies of target template-discovery [2021-10-01T15:53:45.546Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-01T15:53:45.546Z] [ 94%] Linking C executable template-discovery [2021-10-01T15:53:45.546Z] [ 94%] Built target template-discovery [2021-10-01T15:53:45.546Z] Scanning dependencies of target device-file [2021-10-01T15:53:45.546Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-01T15:53:45.546Z] [ 97%] Linking C executable device-file [2021-10-01T15:53:45.813Z] [ 97%] Built target device-file [2021-10-01T15:53:45.813Z] Scanning dependencies of target device-terminal [2021-10-01T15:53:45.813Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-01T15:53:45.813Z] [100%] Linking C executable device-terminal [2021-10-01T15:53:45.813Z] [100%] Built target device-terminal [2021-10-01T15:53:45.813Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] [ 76%] Built target csdk [2021-10-01T15:53:45.813Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] [ 79%] Built target template [2021-10-01T15:53:45.813Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] [ 82%] Built target device-counter [2021-10-01T15:53:45.813Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] [ 85%] Built target device-random [2021-10-01T15:53:45.813Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:45.813Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] [ 88%] Built target device-gyro [2021-10-01T15:53:46.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] [ 91%] Built target device-bitfields [2021-10-01T15:53:46.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] [ 94%] Built target template-discovery [2021-10-01T15:53:46.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] [ 97%] Built target device-file [2021-10-01T15:53:46.080Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.080Z] [100%] Built target device-terminal [2021-10-01T15:53:46.081Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.081Z] Install the project... [2021-10-01T15:53:46.081Z] -- Install configuration: "Release" [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-01T15:53:46.081Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-01T15:53:46.081Z] -- Up-to-date: /usr/local/include [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/devsdk [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/component.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/config.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/container.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/data.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/json.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/os.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/time.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/os [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-01T15:53:46.081Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-01T15:53:46.081Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:53:46.167Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-10-01T15:53:46.441Z] (22/22) Installing wget (1.20.3-r1) [2021-10-01T15:53:46.667Z] Removing intermediate container 85d88ee1617c [2021-10-01T15:53:46.667Z] ---> d5a9fd22d53e [2021-10-01T15:53:46.667Z] Step 16/25 : FROM ${BASE} [2021-10-01T15:53:46.667Z] ---> ac6a0feb3254 [2021-10-01T15:53:46.667Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-01T15:53:46.667Z] ---> Running in a6870a830caa [2021-10-01T15:53:46.667Z] Removing intermediate container a6870a830caa [2021-10-01T15:53:46.667Z] ---> 62d24f0ecfa6 [2021-10-01T15:53:46.667Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-01T15:53:46.667Z] ---> Running in 9c9b3ad11b23 [2021-10-01T15:53:46.715Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:53:46.715Z] OK: 276 MiB in 97 packages [2021-10-01T15:53:46.937Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-01T15:53:47.211Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:53:47.211Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-01T15:53:47.211Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-01T15:53:47.481Z] Removing intermediate container 9c9b3ad11b23 [2021-10-01T15:53:47.481Z] ---> 653ce552a347 [2021-10-01T15:53:47.481Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:53:47.481Z] ---> Running in 7958172fc65c [2021-10-01T15:53:48.066Z] Removing intermediate container 7958172fc65c [2021-10-01T15:53:48.066Z] ---> f41ad336e4b8 [2021-10-01T15:53:48.066Z] Step 20/25 : 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-01T15:53:48.066Z] ---> Running in ee00fb5ca4df [2021-10-01T15:53:48.333Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:48.699Z] Removing intermediate container aff5db7a13e7 [2021-10-01T15:53:48.699Z] ---> 3087d4a30bb6 [2021-10-01T15:53:48.699Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-01T15:53:48.699Z] ---> Running in 5901c5b88f69 [2021-10-01T15:53:49.293Z] Removing intermediate container 5901c5b88f69 [2021-10-01T15:53:49.293Z] ---> 346c0c059ebe [2021-10-01T15:53:49.293Z] Step 7/25 : 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-01T15:53:49.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:49.562Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:53:49.567Z] ---> Running in 70678fbd64e0 [2021-10-01T15:53:50.146Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:53:50.147Z] (1/7) Installing curl (7.79.1-r0) [2021-10-01T15:53:50.147Z] (2/7) Installing hiredis (0.14.1-r0) [2021-10-01T15:53:50.415Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-10-01T15:53:50.415Z] (4/7) Installing libuuid (2.35.2-r0) [2021-10-01T15:53:50.415Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-01T15:53:51.024Z] --2021-10-01 15:53:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-01T15:53:51.024Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-01T15:53:51.024Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-01T15:53:51.024Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:53:51.024Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-01T15:53:51.024Z] --2021-10-01 15:53:50-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-01T15:53:51.024Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:53:51.024Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:53:51.024Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:53:51.024Z] Length: unspecified [application/x-gzip] [2021-10-01T15:53:51.024Z] Saving to: 'STDOUT' [2021-10-01T15:53:51.024Z]  [2021-10-01T15:53:51.024Z] 0K .......... .......... .......... .......... .......... 1.02M [2021-10-01T15:53:51.298Z] 50K .......... .......... .......... .......... .......... 1.96M [2021-10-01T15:53:51.298Z] 100K .......... .......... .......... .......... .......... 13.5M [2021-10-01T15:53:51.298Z] 150K .......... .......... .......... .......... .......... 2.90M [2021-10-01T15:53:51.298Z] 200K .......... .......... .......... .......... .......... 14.1M [2021-10-01T15:53:51.298Z] 250K .......... .......... .......... .......... .......... 3.87M [2021-10-01T15:53:51.298Z] 300K .......... .......... .......... .......... .......... 4.88M [2021-10-01T15:53:51.298Z] 350K .......... .......... .......... .......... .......... 4.30M [2021-10-01T15:53:51.298Z] 400K .......... .......... .......... .......... .......... 3.42M [2021-10-01T15:53:51.298Z] 450K .......... .......... .......... .......... .......... 4.42M [2021-10-01T15:53:51.298Z] 500K .......... .......... .......... .......... .......... 10.1M [2021-10-01T15:53:51.298Z] 550K .......... .......... .......... .......... .......... 5.69M [2021-10-01T15:53:51.298Z] 600K .......... .......... .......... .......... .......... 748K [2021-10-01T15:53:51.298Z] 650K .......... .......... .......... .......... .......... 2.18M [2021-10-01T15:53:51.298Z] 700K ..   470K=0.3s [2021-10-01T15:53:51.298Z] [2021-10-01T15:53:51.298Z] 2021-10-01 15:53:51 (2.60 MB/s) - written to stdout [719348] [2021-10-01T15:53:51.298Z] [2021-10-01T15:53:51.381Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-10-01T15:53:51.570Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:53:51.649Z] (7/7) Installing wget (1.20.3-r1) [2021-10-01T15:53:51.842Z] -- The CXX compiler identification is GNU 9.3.0 [2021-10-01T15:53:51.921Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:53:51.921Z] OK: 286 MiB in 82 packages [2021-10-01T15:53:52.116Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:53:52.194Z] Removing intermediate container ee00fb5ca4df [2021-10-01T15:53:52.194Z] ---> f4ce86855a3f [2021-10-01T15:53:52.194Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-01T15:53:52.194Z] ---> 59d3d46db751 [2021-10-01T15:53:52.194Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-01T15:53:52.389Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:53:52.389Z] -- Detecting C compiler ABI info [2021-10-01T15:53:52.389Z] -- Detecting C compiler ABI info - done [2021-10-01T15:53:52.463Z] ---> a3927f215997 [2021-10-01T15:53:52.463Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-01T15:53:52.664Z] -- Detecting C compile features [2021-10-01T15:53:52.664Z] -- Detecting C compile features - done [2021-10-01T15:53:52.664Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-10-01T15:53:52.731Z] ---> adbe906cd277 [2021-10-01T15:53:52.731Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-01T15:53:52.731Z] ---> e43862ffa361 [2021-10-01T15:53:52.731Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-01T15:53:52.937Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-10-01T15:53:52.937Z] -- Detecting CXX compiler ABI info [2021-10-01T15:53:52.997Z] ---> f6a917320f50 [2021-10-01T15:53:52.998Z] Successfully built f6a917320f50 [2021-10-01T15:53:52.998Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2021-10-01T15:53:53.208Z] -- Detecting CXX compiler ABI info - done [2021-10-01T15:53:53.208Z] -- Detecting CXX compile features [2021-10-01T15:53:53.208Z] -- Detecting CXX compile features - done [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:53:53.481Z] -- Looking for include file endian.h [2021-10-01T15:53:53.609Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-01T15:53:53.609Z] . [Pipeline] withDockerContainer [2021-10-01T15:53:53.708Z] prd-centos7-docker-4c-2g-393 does not seem to be running inside a container [2021-10-01T15:53:53.753Z] -- Looking for include file endian.h - found [2021-10-01T15:53:53.753Z] -- Check if the system is big endian [2021-10-01T15:53:53.753Z] -- Searching 16 bit integer [2021-10-01T15:53:53.753Z] -- Looking for sys/types.h [2021-10-01T15:53:53.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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-01T15:53:54.025Z] -- Looking for sys/types.h - found [2021-10-01T15:53:54.026Z] -- Looking for stdint.h [2021-10-01T15:53:54.119Z] $ docker top fc632a8ed5e11de336913330785aeb1de5cc81cb262eb6fe764cdda1dd9e5994 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-01T15:53:54.305Z] -- Looking for stdint.h - found [2021-10-01T15:53:54.305Z] -- Looking for stddef.h [2021-10-01T15:53:54.305Z] -- Looking for stddef.h - found [2021-10-01T15:53:54.305Z] -- Check size of unsigned short [2021-10-01T15:53:54.521Z] + make test [2021-10-01T15:53:54.521Z] echo "make test" [2021-10-01T15:53:54.521Z] make test [Pipeline] } [2021-10-01T15:53:54.540Z] $ docker stop --time=1 fc632a8ed5e11de336913330785aeb1de5cc81cb262eb6fe764cdda1dd9e5994 [2021-10-01T15:53:54.587Z] -- Check size of unsigned short - done [2021-10-01T15:53:54.587Z] -- Searching 16 bit integer - Using unsigned short [2021-10-01T15:53:54.860Z] -- Check if the system is big endian - little endian [2021-10-01T15:53:55.133Z] -- Check size of size_t [2021-10-01T15:53:55.407Z] -- Check size of size_t - done [2021-10-01T15:53:55.407Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-01T15:53:55.407Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-01T15:53:55.407Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-01T15:53:55.407Z] CMake did not find one. [2021-10-01T15:53:55.407Z] [2021-10-01T15:53:55.407Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-01T15:53:55.407Z] the following names: [2021-10-01T15:53:55.407Z] [2021-10-01T15:53:55.408Z] cJSONConfig.cmake [2021-10-01T15:53:55.408Z] cjson-config.cmake [2021-10-01T15:53:55.408Z] [2021-10-01T15:53:55.408Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-01T15:53:55.408Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-01T15:53:55.408Z] provides a separate development package or SDK, be sure it has been [2021-10-01T15:53:55.408Z] installed. [2021-10-01T15:53:55.408Z] [2021-10-01T15:53:55.408Z] [2021-10-01T15:53:55.408Z] -- Configuring done [2021-10-01T15:53:55.680Z] -- Generating done [2021-10-01T15:53:55.680Z] -- Build files have been written to: /tmp/cbor [2021-10-01T15:53:55.680Z] Scanning dependencies of target cbor_shared [2021-10-01T15:53:55.680Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-01T15:53:55.722Z] $ docker rm -f fc632a8ed5e11de336913330785aeb1de5cc81cb262eb6fe764cdda1dd9e5994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-10-01T15:53:56.669Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-01T15:53:57.272Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-01T15:53:57.551Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [Pipeline] sh [2021-10-01T15:53:58.539Z] + sudo chown -R jenkins:jenkins . [2021-10-01T15:53:58.546Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-01T15:53:58.546Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [Pipeline] sh [2021-10-01T15:53:58.819Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-01T15:53:58.856Z] + ls -al . [2021-10-01T15:53:58.856Z] total 172 [2021-10-01T15:53:58.856Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 1 15:52 . [2021-10-01T15:53:58.856Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 1 15:52 .. [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 3104 Oct 1 15:52 Attribution.txt [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 7767 Oct 1 15:52 CHANGES [2021-10-01T15:53:58.856Z] drwxrwxr-x. 2 jenkins jenkins 121 Oct 1 15:52 docs [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 108574 Oct 1 15:52 Doxyfile [2021-10-01T15:53:58.856Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 1 15:52 .git [2021-10-01T15:53:58.856Z] drwxrwxr-x. 3 jenkins jenkins 103 Oct 1 15:52 .github [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 176 Oct 1 15:52 .gitignore [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 1 15:52 GOVERNANCE.md [2021-10-01T15:53:58.856Z] drwxrwxr-x. 4 jenkins jenkins 33 Oct 1 15:52 include [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 784 Oct 1 15:52 Jenkinsfile [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 1 15:52 LICENSE [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 1 15:52 Makefile [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 618 Oct 1 15:52 OWNERS.md [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 4086 Oct 1 15:52 README.md [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 7422 Oct 1 15:52 README.v2.md [2021-10-01T15:53:58.856Z] drwxrwxr-x. 2 jenkins jenkins 98 Oct 1 15:52 scripts [2021-10-01T15:53:58.856Z] drwxrwxr-x. 4 jenkins jenkins 50 Oct 1 15:52 src [2021-10-01T15:53:58.856Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 1 15:50 VERSION [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:53:59.093Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-01T15:53:59.200Z] + 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=ce650ad78b6c877d3227a46e4e9eafbdd6610562 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-10-01T15:53:59.200Z] Sending build context to Docker daemon 2.698MB [2021-10-01T15:53:59.200Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-01T15:53:59.200Z] Step 2/17 : FROM ${BASE} [2021-10-01T15:53:59.200Z] ---> f6a917320f50 [2021-10-01T15:53:59.200Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-01T15:53:59.200Z] ---> Running in dc3153f9b888 [2021-10-01T15:53:59.367Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-01T15:53:59.468Z] Removing intermediate container dc3153f9b888 [2021-10-01T15:53:59.468Z] ---> baffc77b1c8c [2021-10-01T15:53:59.468Z] 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-01T15:53:59.468Z] ---> Running in 9dbfdb12654c [2021-10-01T15:53:59.639Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-01T15:53:59.736Z] --2021-10-01 15:53:59-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-01T15:53:59.736Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.72.115.12 [2021-10-01T15:53:59.736Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-10-01T15:54:00.008Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:54:00.008Z] Length: unspecified [application/json] [2021-10-01T15:54:00.008Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:54:00.008Z]  [2021-10-01T15:54:00.008Z] 0K  25.8M=0s [2021-10-01T15:54:00.008Z] [2021-10-01T15:54:00.008Z] 2021-10-01 15:53:59 (25.8 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-01T15:54:00.008Z] [2021-10-01T15:54:00.234Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-01T15:54:00.276Z] Removing intermediate container 9dbfdb12654c [2021-10-01T15:54:00.276Z] ---> d9a38a494198 [2021-10-01T15:54:00.276Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:54:00.276Z] ---> Running in 9fdab56b8ee4 [2021-10-01T15:54:00.505Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-01T15:54:00.556Z] Removing intermediate container 9fdab56b8ee4 [2021-10-01T15:54:00.556Z] ---> ecce5efcf4c7 [2021-10-01T15:54:00.556Z] 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-01T15:54:00.556Z] ---> Running in 5850efcaf0e9 [2021-10-01T15:54:00.822Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:54:01.100Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-01T15:54:01.374Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-01T15:54:01.647Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-01T15:54:01.920Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-01T15:54:02.518Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-01T15:54:02.793Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-01T15:54:02.793Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-01T15:54:03.388Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-01T15:54:03.388Z] [ 40%] Linking C shared library libcbor.so [2021-10-01T15:54:03.662Z] [ 40%] Built target cbor_shared [2021-10-01T15:54:03.662Z] Scanning dependencies of target cbor [2021-10-01T15:54:03.662Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-01T15:54:04.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-10-01T15:54:04.637Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-01T15:54:05.234Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-01T15:54:05.508Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-01T15:54:06.746Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-01T15:54:07.334Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:54:07.335Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-01T15:54:07.335Z] (2/16) Installing libblkid (2.35.2-r0) [2021-10-01T15:54:07.482Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-01T15:54:07.602Z] (3/16) Installing blkid (2.35.2-r0) [2021-10-01T15:54:07.754Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-01T15:54:07.869Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-10-01T15:54:07.869Z] (5/16) Installing setpriv (2.35.2-r0) [2021-10-01T15:54:07.869Z] (6/16) Installing libmount (2.35.2-r0) [2021-10-01T15:54:08.028Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-01T15:54:08.134Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-10-01T15:54:08.301Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-01T15:54:08.574Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-01T15:54:08.716Z] (8/16) Installing findmnt (2.35.2-r0) [2021-10-01T15:54:08.716Z] (9/16) Installing mcookie (2.35.2-r0) [2021-10-01T15:54:08.716Z] (10/16) Installing hexdump (2.35.2-r0) [2021-10-01T15:54:08.716Z] (11/16) Installing lsblk (2.35.2-r0) [2021-10-01T15:54:08.848Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-01T15:54:08.982Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-10-01T15:54:09.566Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-10-01T15:54:09.566Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-10-01T15:54:09.828Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-01T15:54:09.834Z] (15/16) Installing util-linux (2.35.2-r0) [2021-10-01T15:54:10.102Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-01T15:54:10.707Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-01T15:54:10.980Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-01T15:54:11.254Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-01T15:54:11.527Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-01T15:54:12.128Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-01T15:54:12.403Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-01T15:54:12.677Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-01T15:54:12.949Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-01T15:54:13.176Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-10-01T15:54:13.223Z] [ 80%] Linking C static library libcbor.a [2021-10-01T15:54:13.223Z] [ 80%] Built target cbor [2021-10-01T15:54:13.223Z] Scanning dependencies of target sort [2021-10-01T15:54:13.223Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-01T15:54:13.496Z] [ 84%] Linking C executable sort [2021-10-01T15:54:13.496Z] [ 84%] Built target sort [2021-10-01T15:54:13.768Z] Scanning dependencies of target readfile [2021-10-01T15:54:13.768Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-01T15:54:14.041Z] [ 88%] Linking C executable readfile [2021-10-01T15:54:14.041Z] [ 88%] Built target readfile [2021-10-01T15:54:14.041Z] Scanning dependencies of target streaming_parser [2021-10-01T15:54:14.041Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-01T15:54:14.315Z] [ 92%] Linking C executable streaming_parser [2021-10-01T15:54:14.315Z] [ 92%] Built target streaming_parser [2021-10-01T15:54:14.315Z] Scanning dependencies of target hello [2021-10-01T15:54:14.588Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-01T15:54:14.588Z] [ 96%] Linking C executable hello [2021-10-01T15:54:14.861Z] [ 96%] Built target hello [2021-10-01T15:54:14.861Z] Scanning dependencies of target create_items [2021-10-01T15:54:14.861Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-01T15:54:15.137Z] [100%] Linking C executable create_items [2021-10-01T15:54:15.137Z] [100%] Built target create_items [2021-10-01T15:54:15.137Z] Install the project... [2021-10-01T15:54:15.137Z] -- Install configuration: "Release" [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/lib64/libcbor.a [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/lib64/libcbor.so [2021-10-01T15:54:15.137Z] -- Up-to-date: /usr/local/include/cbor [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/include/cbor.h [2021-10-01T15:54:15.137Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-10-01T15:54:15.332Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:54:15.332Z] OK: 295 MiB in 98 packages [2021-10-01T15:54:15.332Z] Removing intermediate container 5850efcaf0e9 [2021-10-01T15:54:15.332Z] ---> 315af799c4c1 [2021-10-01T15:54:15.332Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-01T15:54:15.608Z] ---> 14e5c61c61eb [2021-10-01T15:54:15.608Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-01T15:54:15.608Z] ---> 2196d4220855 [2021-10-01T15:54:15.608Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-01T15:54:15.874Z] ---> c937cfc1c1de [2021-10-01T15:54:15.874Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-01T15:54:16.141Z] ---> e185b8f23943 [2021-10-01T15:54:16.141Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-01T15:54:16.141Z] ---> dcb9761cc5f3 [2021-10-01T15:54:16.141Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-01T15:54:16.141Z] ---> e834b7e2bb70 [2021-10-01T15:54:16.141Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-01T15:54:16.412Z] ---> Running in 053c0f66e5c5 [2021-10-01T15:54:16.412Z] Removing intermediate container 053c0f66e5c5 [2021-10-01T15:54:16.412Z] ---> 3b5127c61cc6 [2021-10-01T15:54:16.412Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-01T15:54:16.412Z] ---> Running in 362af3965a33 [2021-10-01T15:54:16.412Z] Removing intermediate container 362af3965a33 [2021-10-01T15:54:16.412Z] ---> 1246ff589b95 [2021-10-01T15:54:16.412Z] Step 15/17 : LABEL arch=amd64 [2021-10-01T15:54:16.412Z] ---> Running in dd53aae3bd30 [2021-10-01T15:54:16.679Z] Removing intermediate container dd53aae3bd30 [2021-10-01T15:54:16.679Z] ---> d23eef1bf17b [2021-10-01T15:54:16.679Z] Step 16/17 : LABEL git_sha=ce650ad78b6c877d3227a46e4e9eafbdd6610562 [2021-10-01T15:54:16.679Z] ---> Running in 62671639270d [2021-10-01T15:54:16.679Z] Removing intermediate container 62671639270d [2021-10-01T15:54:16.679Z] ---> 5588759fb095 [2021-10-01T15:54:16.679Z] Step 17/17 : LABEL version=2.0.1-dev.9 [2021-10-01T15:54:16.679Z] ---> Running in b6ab3cbc77ef [2021-10-01T15:54:16.679Z] Removing intermediate container b6ab3cbc77ef [2021-10-01T15:54:16.679Z] ---> 140f64f80bf9 [2021-10-01T15:54:16.679Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-10-01T15:54:16.679Z] Successfully built 140f64f80bf9 [2021-10-01T15:54:16.679Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:54:17.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:54:17.382Z] [2021-10-01T15:54:17.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:54:17.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:54:17.721Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-01T15:54:17.721Z] b4d181a07f80: Pulling fs layer [2021-10-01T15:54:17.721Z] a1111a8f2ec3: Pulling fs layer [2021-10-01T15:54:17.721Z] ed53099fbce6: Pulling fs layer [2021-10-01T15:54:17.721Z] dc539afda2c1: Pulling fs layer [2021-10-01T15:54:17.721Z] 77bc0d833cb6: Pulling fs layer [2021-10-01T15:54:17.721Z] 9065ff56babe: Pulling fs layer [2021-10-01T15:54:17.721Z] d287ab97295c: Pulling fs layer [2021-10-01T15:54:17.721Z] dc539afda2c1: Waiting [2021-10-01T15:54:17.721Z] 77bc0d833cb6: Waiting [2021-10-01T15:54:17.721Z] 9065ff56babe: Waiting [2021-10-01T15:54:17.721Z] d287ab97295c: Waiting [2021-10-01T15:54:17.748Z] Removing intermediate container 70678fbd64e0 [2021-10-01T15:54:17.748Z] ---> bc7c99614492 [2021-10-01T15:54:17.748Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-01T15:54:17.748Z] ---> Running in a440a1727713 [2021-10-01T15:54:18.306Z] a1111a8f2ec3: Verifying Checksum [2021-10-01T15:54:18.306Z] a1111a8f2ec3: Download complete [2021-10-01T15:54:18.306Z] dc539afda2c1: Verifying Checksum [2021-10-01T15:54:18.306Z] dc539afda2c1: Download complete [2021-10-01T15:54:18.306Z] 77bc0d833cb6: Verifying Checksum [2021-10-01T15:54:18.306Z] 77bc0d833cb6: Download complete [2021-10-01T15:54:18.306Z] 9065ff56babe: Verifying Checksum [2021-10-01T15:54:18.306Z] 9065ff56babe: Download complete [2021-10-01T15:54:18.574Z] ed53099fbce6: Verifying Checksum [2021-10-01T15:54:18.574Z] ed53099fbce6: Download complete [2021-10-01T15:54:19.983Z] b4d181a07f80: Verifying Checksum [2021-10-01T15:54:19.983Z] b4d181a07f80: Download complete [2021-10-01T15:54:20.371Z] Removing intermediate container a440a1727713 [2021-10-01T15:54:20.371Z] ---> ea9302e07f01 [2021-10-01T15:54:20.371Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-01T15:54:20.958Z] b4d181a07f80: Pull complete [2021-10-01T15:54:20.966Z] ---> 76dff2dd8548 [2021-10-01T15:54:20.966Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-01T15:54:21.228Z] a1111a8f2ec3: Pull complete [2021-10-01T15:54:21.494Z] ed53099fbce6: Pull complete [2021-10-01T15:54:21.769Z] dc539afda2c1: Pull complete [2021-10-01T15:54:22.045Z] 77bc0d833cb6: Pull complete [2021-10-01T15:54:22.045Z] 9065ff56babe: Pull complete [2021-10-01T15:54:22.410Z] ---> 4674ea3e2c45 [2021-10-01T15:54:22.410Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-01T15:54:23.005Z] ---> 9af224b008f2 [2021-10-01T15:54:23.005Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-01T15:54:23.980Z] ---> 010a47c5f2a9 [2021-10-01T15:54:23.980Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-01T15:54:23.992Z] d287ab97295c: Verifying Checksum [2021-10-01T15:54:23.992Z] d287ab97295c: Download complete [2021-10-01T15:54:24.575Z] ---> 2a8e81db49c8 [2021-10-01T15:54:24.575Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-01T15:54:25.551Z] ---> 00a839dc3144 [2021-10-01T15:54:25.551Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-01T15:54:25.823Z] ---> Running in 365cc8f07dae [2021-10-01T15:54:27.256Z] + CPPCHECK=false [2021-10-01T15:54:27.256Z] + DOCGEN=false [2021-10-01T15:54:27.256Z] + TOMLVER=SDK-0.2 [2021-10-01T15:54:27.256Z] + CUTILVER=1.2.2 [2021-10-01T15:54:27.256Z] + '[' 0 -gt 0 ] [2021-10-01T15:54:27.256Z] + readlink -f ./scripts/build.sh [2021-10-01T15:54:27.256Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-01T15:54:27.256Z] + dirname /tmp/sdk/scripts [2021-10-01T15:54:27.256Z] + ROOT=/tmp/sdk [2021-10-01T15:54:27.256Z] + cd /tmp/sdk [2021-10-01T15:54:27.256Z] + '[' '!' -d deps ] [2021-10-01T15:54:27.256Z] + mkdir deps [2021-10-01T15:54:27.256Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-01T15:54:27.256Z] + tar -C deps -z -x -f - [2021-10-01T15:54:27.256Z] --2021-10-01 15:54:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-01T15:54:27.256Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-01T15:54:27.256Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-01T15:54:27.256Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:54:27.256Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-01T15:54:27.256Z] --2021-10-01 15:54:27-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-01T15:54:27.526Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:54:27.526Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:54:27.526Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:54:27.526Z] Length: unspecified [application/x-gzip] [2021-10-01T15:54:27.526Z] Saving to: 'STDOUT' [2021-10-01T15:54:27.526Z]  [2021-10-01T15:54:27.526Z] 0K .......... ......    780K=0.02s [2021-10-01T15:54:27.526Z] [2021-10-01T15:54:27.526Z] 2021-10-01 15:54:27 (780 KB/s) - written to stdout [16451] [2021-10-01T15:54:27.526Z] [2021-10-01T15:54:27.526Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-01T15:54:27.526Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z [2021-10-01T15:54:27.526Z] -x -f - [2021-10-01T15:54:27.526Z] --2021-10-01 15:54:27-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-01T15:54:27.526Z] Resolving github.com (github.com)... 140.82.112.3 [2021-10-01T15:54:27.803Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-10-01T15:54:27.803Z] HTTP request sent, awaiting response... 302 Found [2021-10-01T15:54:27.803Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-01T15:54:27.803Z] --2021-10-01 15:54:27-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-01T15:54:27.803Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-01T15:54:27.803Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-01T15:54:27.803Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:54:27.803Z] Length: unspecified [application/x-gzip] [2021-10-01T15:54:27.803Z] Saving to: 'STDOUT' [2021-10-01T15:54:27.803Z]  [2021-10-01T15:54:28.075Z] 0K .......... .......... .......... .......... .......... 1.16M [2021-10-01T15:54:28.075Z] 50K .......... .......... .......... .......... .......... 2.30M [2021-10-01T15:54:28.075Z] 100K .......... .......... .......... .......... .......... 11.6M [2021-10-01T15:54:28.075Z] 150K .......... .......... .......... ......... 1.34M=0.1s [2021-10-01T15:54:28.075Z] [2021-10-01T15:54:28.075Z] 2021-10-01 15:54:27 (1.93 MB/s) - written to stdout [193971] [2021-10-01T15:54:28.075Z] [2021-10-01T15:54:28.075Z] + mkdir -p src/c/iot [2021-10-01T15:54:28.075Z] + 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-01T15:54:28.075Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-01T15:54:28.075Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-01T15:54:28.075Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-01T15:54:28.075Z] + mkdir -p include/iot [2021-10-01T15:54:28.075Z] + 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-01T15:54:28.075Z] + mkdir -p include/iot/os [2021-10-01T15:54:28.075Z] + 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-01T15:54:28.075Z] + mkdir -p /tmp/sdk/build/release [2021-10-01T15:54:28.075Z] + cd /tmp/sdk/build/release [2021-10-01T15:54:28.075Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-01T15:54:28.347Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:54:28.347Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:54:28.619Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:54:28.619Z] -- Detecting C compiler ABI info [2021-10-01T15:54:28.891Z] -- Detecting C compiler ABI info - done [2021-10-01T15:54:29.163Z] -- Detecting C compile features [2021-10-01T15:54:29.163Z] -- Detecting C compile features - done [2021-10-01T15:54:29.163Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-01T15:54:29.163Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-01T15:54:29.163Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-01T15:54:29.163Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-01T15:54:29.163Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-01T15:54:29.163Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-01T15:54:29.380Z] d287ab97295c: Pull complete [2021-10-01T15:54:29.381Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-01T15:54:29.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:54:29.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-01T15:54:29.437Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-01T15:54:29.437Z] -- C SDK 2.0.1-dev.9 for Linux [2021-10-01T15:54:29.437Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-01T15:54:29.437Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-01T15:54:29.475Z] prd-centos7-docker-4c-2g-393 does not seem to be running inside a container [2021-10-01T15:54:29.550Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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-01T15:54:29.709Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-01T15:54:29.982Z] -- Configuring done [2021-10-01T15:54:30.254Z] -- Generating done [2021-10-01T15:54:30.254Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-01T15:54:30.254Z] + + teemake release.log all [2021-10-01T15:54:30.254Z] package [2021-10-01T15:54:30.254Z] Scanning dependencies of target csdk [2021-10-01T15:54:30.526Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-01T15:54:31.123Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-01T15:54:31.717Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-01T15:54:32.118Z] $ docker top 1c08e78f32e8a29192fa5e5345168f3e0f83614189ed97ee801f42bfbc475752 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:54:32.719Z] ---> job-cost.sh [2021-10-01T15:54:32.719Z] lf-activate-venv: SKIPPING [2021-10-01T15:54:32.719Z] INFO: No Stack... [2021-10-01T15:54:34.137Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-01T15:54:34.329Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-01T15:54:34.723Z] INFO: Archiving Costs [Pipeline] sh [2021-10-01T15:54:34.926Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-01T15:54:34.926Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-01T15:54:35.050Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [2021-10-01T15:54:35.050Z] + cut -d, -f6 [Pipeline] lock [2021-10-01T15:54:35.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [2021-10-01T15:54:35.103Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] did not exist. Created. [2021-10-01T15:54:35.103Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-01T15:54:35.462Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-01T15:54:35.741Z] Stashed 1 file(s) [Pipeline] } [2021-10-01T15:54:35.756Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-01T15:54:35.780Z] $ docker stop --time=1 1c08e78f32e8a29192fa5e5345168f3e0f83614189ed97ee801f42bfbc475752 [2021-10-01T15:54:35.902Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-01T15:54:36.495Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-01T15:54:36.769Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-01T15:54:36.933Z] $ docker rm -f 1c08e78f32e8a29192fa5e5345168f3e0f83614189ed97ee801f42bfbc475752 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-01T15:54:38.200Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-01T15:54:40.179Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-01T15:54:40.452Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-01T15:54:41.430Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-01T15:54:42.025Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-01T15:54:42.296Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-01T15:54:42.567Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-01T15:54:42.839Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-01T15:54:46.229Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-01T15:54:46.504Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-01T15:54:47.100Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-01T15:54:47.373Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-01T15:54:47.971Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-01T15:54:48.244Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-01T15:54:48.244Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-01T15:54:48.244Z] 275 | const iot_component_factory_t * factory; [2021-10-01T15:54:48.244Z] | ^~~~~~~ [2021-10-01T15:54:48.838Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-01T15:54:55.544Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-01T15:54:55.816Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-01T15:54:56.088Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-01T15:54:56.682Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-01T15:54:57.277Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-01T15:54:57.575Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-01T15:54:59.006Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-01T15:54:59.006Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-01T15:54:59.983Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-01T15:55:00.257Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-01T15:55:00.852Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-01T15:55:02.823Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-01T15:55:03.416Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-01T15:55:04.845Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-01T15:55:04.845Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-01T15:55:10.229Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-01T15:55:10.501Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-01T15:55:11.092Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-01T15:55:11.687Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-01T15:55:12.662Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-01T15:55:14.634Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-01T15:55:14.905Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-01T15:55:15.499Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-01T15:55:15.771Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-01T15:55:18.379Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-01T15:55:22.670Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-01T15:55:22.942Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-01T15:55:23.535Z] [ 76%] Linking C shared library libcsdk.so [2021-10-01T15:55:23.806Z] [ 76%] Built target csdk [2021-10-01T15:55:23.806Z] Scanning dependencies of target template [2021-10-01T15:55:23.806Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-01T15:55:24.399Z] [ 79%] Linking C executable template [2021-10-01T15:55:24.670Z] [ 79%] Built target template [2021-10-01T15:55:24.670Z] Scanning dependencies of target device-counter [2021-10-01T15:55:24.942Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-01T15:55:25.215Z] [ 82%] Linking C executable device-counter [2021-10-01T15:55:25.487Z] [ 82%] Built target device-counter [2021-10-01T15:55:25.487Z] Scanning dependencies of target device-random [2021-10-01T15:55:25.759Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-01T15:55:26.030Z] [ 85%] Linking C executable device-random [2021-10-01T15:55:26.303Z] [ 85%] Built target device-random [2021-10-01T15:55:26.303Z] Scanning dependencies of target device-gyro [2021-10-01T15:55:26.303Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-01T15:55:26.897Z] [ 88%] Linking C executable device-gyro [2021-10-01T15:55:27.170Z] [ 88%] Built target device-gyro [2021-10-01T15:55:27.170Z] Scanning dependencies of target device-bitfields [2021-10-01T15:55:27.170Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-01T15:55:27.763Z] [ 91%] Linking C executable device-bitfields [2021-10-01T15:55:28.036Z] [ 91%] Built target device-bitfields [2021-10-01T15:55:28.036Z] Scanning dependencies of target template-discovery [2021-10-01T15:55:28.036Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-01T15:55:29.013Z] [ 94%] Linking C executable template-discovery [2021-10-01T15:55:29.013Z] [ 94%] Built target template-discovery [2021-10-01T15:55:29.013Z] Scanning dependencies of target device-file [2021-10-01T15:55:29.287Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-01T15:55:29.880Z] [ 97%] Linking C executable device-file [2021-10-01T15:55:30.152Z] [ 97%] Built target device-file [2021-10-01T15:55:30.152Z] Scanning dependencies of target device-terminal [2021-10-01T15:55:30.152Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-01T15:55:30.743Z] [100%] Linking C executable device-terminal [2021-10-01T15:55:31.014Z] [100%] Built target device-terminal [2021-10-01T15:55:31.014Z] Run CPack packaging tool... [2021-10-01T15:55:31.014Z] CPack: Create package using TGZ [2021-10-01T15:55:31.014Z] CPack: Install projects [2021-10-01T15:55:31.014Z] CPack: - Run preinstall target for: Csdk [2021-10-01T15:55:31.607Z] CPack: - Install project: Csdk [] [2021-10-01T15:55:31.607Z] CPack: Create package [2021-10-01T15:55:31.878Z] CPack: - package: /tmp/sdk/build/release/csdk-2.0.1-dev.9.tar.gz generated. [2021-10-01T15:55:31.878Z] + '[' false '=' true ] [2021-10-01T15:55:31.878Z] + '[' false '=' true ] [2021-10-01T15:55:31.878Z] + mkdir -p /tmp/sdk/build/debug [2021-10-01T15:55:31.878Z] + cd /tmp/sdk/build/debug [2021-10-01T15:55:31.878Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-01T15:55:32.149Z] -- The C compiler identification is GNU 9.3.0 [2021-10-01T15:55:32.149Z] -- Check for working C compiler: /usr/bin/cc [2021-10-01T15:55:32.421Z] -- Check for working C compiler: /usr/bin/cc - works [2021-10-01T15:55:32.421Z] -- Detecting C compiler ABI info [2021-10-01T15:55:32.692Z] -- Detecting C compiler ABI info - done [2021-10-01T15:55:32.963Z] -- Detecting C compile features [2021-10-01T15:55:32.963Z] -- Detecting C compile features - done [2021-10-01T15:55:32.963Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-01T15:55:32.963Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-10-01T15:55:32.963Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-01T15:55:32.963Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-01T15:55:32.963Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-10-01T15:55:32.963Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-01T15:55:33.246Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-01T15:55:33.246Z] -- C SDK 2.0.1-dev.9 for Linux [2021-10-01T15:55:33.246Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-01T15:55:33.246Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-01T15:55:33.519Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-01T15:55:33.790Z] -- Configuring done [2021-10-01T15:55:34.063Z] -- Generating done [2021-10-01T15:55:34.063Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-01T15:55:34.063Z] + + maketee [2021-10-01T15:55:34.063Z] debug.log [2021-10-01T15:55:34.063Z] Scanning dependencies of target csdk [2021-10-01T15:55:34.335Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-01T15:55:34.607Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-01T15:55:34.881Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-01T15:55:35.858Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-01T15:55:35.858Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-01T15:55:36.131Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-01T15:55:36.408Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-01T15:55:36.685Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-01T15:55:36.959Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-01T15:55:37.552Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-01T15:55:38.146Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-01T15:55:38.420Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-01T15:55:39.014Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-01T15:55:39.286Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-01T15:55:39.560Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-01T15:55:39.834Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-01T15:55:39.834Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-01T15:55:40.808Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-01T15:55:41.082Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-01T15:55:41.082Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-01T15:55:41.356Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-01T15:55:41.633Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-01T15:55:41.906Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-01T15:55:41.906Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-01T15:55:41.906Z] 275 | const iot_component_factory_t * factory; [2021-10-01T15:55:41.906Z] | ^~~~~~~ [2021-10-01T15:55:42.180Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-01T15:55:43.157Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-01T15:55:43.429Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-01T15:55:43.702Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-01T15:55:43.974Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-01T15:55:44.245Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-01T15:55:44.245Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-01T15:55:44.838Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-01T15:55:44.838Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-01T15:55:45.431Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-01T15:55:45.431Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-01T15:55:45.703Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-01T15:55:46.297Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-01T15:55:46.297Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-01T15:55:46.890Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-01T15:55:47.162Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-01T15:55:48.139Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-01T15:55:48.411Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-01T15:55:48.686Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-01T15:55:48.960Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-01T15:55:49.553Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-01T15:55:50.529Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-01T15:55:50.803Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-01T15:55:51.077Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-01T15:55:51.349Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-01T15:55:51.944Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-01T15:55:52.922Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-01T15:55:53.194Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-01T15:55:53.469Z] [ 76%] Linking C shared library libcsdk.so [2021-10-01T15:55:53.741Z] [ 76%] Built target csdk [2021-10-01T15:55:53.741Z] Scanning dependencies of target template [2021-10-01T15:55:53.741Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-01T15:55:54.013Z] [ 79%] Linking C executable template [2021-10-01T15:55:54.287Z] [ 79%] Built target template [2021-10-01T15:55:54.287Z] Scanning dependencies of target device-counter [2021-10-01T15:55:54.287Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-01T15:55:54.561Z] [ 82%] Linking C executable device-counter [2021-10-01T15:55:54.834Z] [ 82%] Built target device-counter [2021-10-01T15:55:54.834Z] Scanning dependencies of target device-random [2021-10-01T15:55:54.834Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-01T15:55:55.109Z] [ 85%] Linking C executable device-random [2021-10-01T15:55:55.382Z] [ 85%] Built target device-random [2021-10-01T15:55:55.382Z] Scanning dependencies of target device-gyro [2021-10-01T15:55:55.382Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-01T15:55:55.655Z] [ 88%] Linking C executable device-gyro [2021-10-01T15:55:55.929Z] [ 88%] Built target device-gyro [2021-10-01T15:55:55.929Z] Scanning dependencies of target device-bitfields [2021-10-01T15:55:55.929Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-01T15:55:56.202Z] [ 91%] Linking C executable device-bitfields [2021-10-01T15:55:56.475Z] [ 91%] Built target device-bitfields [2021-10-01T15:55:56.475Z] Scanning dependencies of target template-discovery [2021-10-01T15:55:56.475Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-01T15:55:57.080Z] [ 94%] Linking C executable template-discovery [2021-10-01T15:55:57.353Z] [ 94%] Built target template-discovery [2021-10-01T15:55:57.353Z] Scanning dependencies of target device-file [2021-10-01T15:55:57.353Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-01T15:55:57.626Z] [ 97%] Linking C executable device-file [2021-10-01T15:55:57.899Z] [ 97%] Built target device-file [2021-10-01T15:55:57.899Z] Scanning dependencies of target device-terminal [2021-10-01T15:55:57.899Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-01T15:55:58.178Z] [100%] Linking C executable device-terminal [2021-10-01T15:55:58.449Z] [100%] Built target device-terminal [2021-10-01T15:55:58.449Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.449Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] [ 76%] Built target csdk [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] [ 79%] Built target template [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] [ 82%] Built target device-counter [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] [ 85%] Built target device-random [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] [ 88%] Built target device-gyro [2021-10-01T15:55:58.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] [ 91%] Built target device-bitfields [2021-10-01T15:55:58.995Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] [ 94%] Built target template-discovery [2021-10-01T15:55:58.995Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] [ 97%] Built target device-file [2021-10-01T15:55:58.995Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] [100%] Built target device-terminal [2021-10-01T15:55:58.995Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:55:58.995Z] Install the project... [2021-10-01T15:55:58.995Z] -- Install configuration: "Release" [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-01T15:55:58.995Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-01T15:55:58.995Z] -- Up-to-date: /usr/local/include [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/devsdk [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/json.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/container.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/component.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/time.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/os [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/data.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/os.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/include/iot/config.h [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-01T15:55:58.995Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-01T15:55:58.995Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-01T15:56:01.654Z] Removing intermediate container 365cc8f07dae [2021-10-01T15:56:01.654Z] ---> 7a313d5088d8 [2021-10-01T15:56:01.654Z] Step 16/25 : FROM ${BASE} [2021-10-01T15:56:01.654Z] ---> 759262b18b23 [2021-10-01T15:56:01.654Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-01T15:56:01.654Z] ---> Running in 5f90c95032a7 [2021-10-01T15:56:01.927Z] Removing intermediate container 5f90c95032a7 [2021-10-01T15:56:01.927Z] ---> 07d05a7ed8ec [2021-10-01T15:56:01.927Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-01T15:56:02.200Z] ---> Running in 5fa024a4b032 [2021-10-01T15:56:03.633Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-10-01T15:56:03.906Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:56:03.906Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-01T15:56:03.906Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-01T15:56:04.883Z] Removing intermediate container 5fa024a4b032 [2021-10-01T15:56:04.883Z] ---> a27042ed59aa [2021-10-01T15:56:04.883Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:56:05.157Z] ---> Running in c8b905c0f2a1 [2021-10-01T15:56:07.777Z] Removing intermediate container c8b905c0f2a1 [2021-10-01T15:56:07.777Z] ---> 4f101c80da31 [2021-10-01T15:56:07.777Z] Step 20/25 : 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-01T15:56:07.777Z] ---> Running in 21ab22a3c356 [2021-10-01T15:56:08.758Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:09.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:10.331Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:10.925Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:56:10.926Z] (1/7) Installing curl (7.79.1-r0) [2021-10-01T15:56:10.926Z] (2/7) Installing hiredis (0.14.1-r0) [2021-10-01T15:56:11.198Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-10-01T15:56:11.198Z] (4/7) Installing libuuid (2.35.2-r0) [2021-10-01T15:56:11.198Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-01T15:56:12.174Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-10-01T15:56:12.446Z] (7/7) Installing wget (1.20.3-r1) [2021-10-01T15:56:12.446Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:56:12.718Z] OK: 267 MiB in 82 packages [2021-10-01T15:56:14.152Z] Removing intermediate container 21ab22a3c356 [2021-10-01T15:56:14.152Z] ---> c4331b6b72ab [2021-10-01T15:56:14.152Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-01T15:56:14.747Z] ---> 03515dcbfe22 [2021-10-01T15:56:14.747Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-01T15:56:15.725Z] ---> 1c3a4a0a5418 [2021-10-01T15:56:15.725Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-01T15:56:16.705Z] ---> 548a67935684 [2021-10-01T15:56:16.705Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-01T15:56:17.301Z] ---> df2fc96795f9 [2021-10-01T15:56:17.301Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-01T15:56:18.277Z] ---> e48f431f356b [2021-10-01T15:56:18.277Z] Successfully built e48f431f356b [2021-10-01T15:56:18.277Z] 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-01T15:56:18.848Z] + docker inspect -f . ci-base-image-arm64 [2021-10-01T15:56:18.848Z] . [Pipeline] withDockerContainer [2021-10-01T15:56:19.130Z] prd-ubuntu18.04-docker-arm64-4c-16g-392 does not seem to be running inside a container [2021-10-01T15:56:19.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-01T15:56:20.948Z] $ docker top 9fb28d7f00d68428808df75be15bbdc55c2b05d6262ea6552e69adaf71ed9320 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-01T15:56:21.974Z] + make test [2021-10-01T15:56:21.974Z] echo "make test" [2021-10-01T15:56:21.974Z] make test [Pipeline] } [2021-10-01T15:56:21.980Z] $ docker stop --time=1 9fb28d7f00d68428808df75be15bbdc55c2b05d6262ea6552e69adaf71ed9320 [2021-10-01T15:56:23.916Z] $ docker rm -f 9fb28d7f00d68428808df75be15bbdc55c2b05d6262ea6552e69adaf71ed9320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-01T15:56:24.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-01T15:56:25.043Z] + ls -al . [2021-10-01T15:56:25.043Z] total 200 [2021-10-01T15:56:25.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 15:53 . [2021-10-01T15:56:25.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:53 .. [2021-10-01T15:56:25.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 15:53 .git [2021-10-01T15:56:25.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 15:53 .github [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 1 15:53 .gitignore [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 1 15:53 Attribution.txt [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 7767 Oct 1 15:53 CHANGES [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 1 15:53 Doxyfile [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 15:53 GOVERNANCE.md [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 1 15:53 Jenkinsfile [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 1 15:53 LICENSE [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 1 15:53 Makefile [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 1 15:53 OWNERS.md [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 1 15:53 README.md [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 1 15:53 README.v2.md [2021-10-01T15:56:25.043Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 1 15:50 VERSION [2021-10-01T15:56:25.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 15:53 docs [2021-10-01T15:56:25.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:53 include [2021-10-01T15:56:25.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 15:53 scripts [2021-10-01T15:56:25.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:53 src [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:56:25.392Z] + 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=ce650ad78b6c877d3227a46e4e9eafbdd6610562 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-10-01T15:56:26.010Z] Sending build context to Docker daemon 2.697MB [2021-10-01T15:56:26.010Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-01T15:56:26.010Z] Step 2/17 : FROM ${BASE} [2021-10-01T15:56:26.010Z] ---> e48f431f356b [2021-10-01T15:56:26.010Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-01T15:56:26.285Z] ---> Running in 723ab09b48c6 [2021-10-01T15:56:26.883Z] Removing intermediate container 723ab09b48c6 [2021-10-01T15:56:26.883Z] ---> b884899507ad [2021-10-01T15:56:26.883Z] 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-01T15:56:26.883Z] ---> Running in 5fe8dc8de5f8 [2021-10-01T15:56:27.866Z] --2021-10-01 15:56:27-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-01T15:56:28.140Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.72.115.12, 54.229.110.245 [2021-10-01T15:56:28.140Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. [2021-10-01T15:56:28.413Z] HTTP request sent, awaiting response... 200 OK [2021-10-01T15:56:28.413Z] Length: unspecified [application/json] [2021-10-01T15:56:28.413Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-01T15:56:28.413Z]  [2021-10-01T15:56:28.413Z] 0K   8.34M=0s [2021-10-01T15:56:28.413Z] [2021-10-01T15:56:28.413Z] 2021-10-01 15:56:28 (8.34 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-01T15:56:28.413Z] [2021-10-01T15:56:29.391Z] Removing intermediate container 5fe8dc8de5f8 [2021-10-01T15:56:29.391Z] ---> 179ad7955511 [2021-10-01T15:56:29.391Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-01T15:56:29.391Z] ---> Running in 8999a6cc1599 [2021-10-01T15:56:32.020Z] Removing intermediate container 8999a6cc1599 [2021-10-01T15:56:32.020Z] ---> 08d4d882a8cd [2021-10-01T15:56:32.020Z] 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-01T15:56:32.020Z] ---> Running in 4de53bb5e6e2 [2021-10-01T15:56:33.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:33.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:34.592Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-01T15:56:35.186Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-01T15:56:35.186Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-10-01T15:56:35.459Z] (2/16) Installing libblkid (2.35.2-r0) [2021-10-01T15:56:35.732Z] (3/16) Installing blkid (2.35.2-r0) [2021-10-01T15:56:35.732Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-10-01T15:56:36.005Z] (5/16) Installing setpriv (2.35.2-r0) [2021-10-01T15:56:36.005Z] (6/16) Installing libmount (2.35.2-r0) [2021-10-01T15:56:36.280Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-10-01T15:56:36.280Z] (8/16) Installing findmnt (2.35.2-r0) [2021-10-01T15:56:36.280Z] (9/16) Installing mcookie (2.35.2-r0) [2021-10-01T15:56:36.552Z] (10/16) Installing hexdump (2.35.2-r0) [2021-10-01T15:56:36.552Z] (11/16) Installing lsblk (2.35.2-r0) [2021-10-01T15:56:36.552Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-10-01T15:56:36.873Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-10-01T15:56:36.873Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-10-01T15:56:36.873Z] (15/16) Installing util-linux (2.35.2-r0) [2021-10-01T15:56:37.869Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-10-01T15:56:38.875Z] Executing busybox-1.31.1-r20.trigger [2021-10-01T15:56:38.875Z] OK: 276 MiB in 98 packages [2021-10-01T15:56:40.352Z] Removing intermediate container 4de53bb5e6e2 [2021-10-01T15:56:40.352Z] ---> bc0fe0c8391f [2021-10-01T15:56:40.352Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-01T15:56:41.345Z] ---> e6bdb363f436 [2021-10-01T15:56:41.345Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-01T15:56:42.377Z] ---> 746d4b9be0e0 [2021-10-01T15:56:42.377Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-01T15:56:43.380Z] ---> 63450692afa3 [2021-10-01T15:56:43.380Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-01T15:56:44.368Z] ---> 04d8dabdd19f [2021-10-01T15:56:44.368Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-01T15:56:44.961Z] ---> 415c4c387253 [2021-10-01T15:56:44.961Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-01T15:56:45.935Z] ---> 563aaafd47cf [2021-10-01T15:56:45.935Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-01T15:56:45.935Z] ---> Running in f41b86955895 [2021-10-01T15:56:46.534Z] Removing intermediate container f41b86955895 [2021-10-01T15:56:46.534Z] ---> 40379e778f32 [2021-10-01T15:56:46.534Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-01T15:56:46.805Z] ---> Running in 9a4eaeb01708 [2021-10-01T15:56:47.400Z] Removing intermediate container 9a4eaeb01708 [2021-10-01T15:56:47.400Z] ---> af8e16b99e29 [2021-10-01T15:56:47.400Z] Step 15/17 : LABEL arch=arm64 [2021-10-01T15:56:47.400Z] ---> Running in b2139e4c1e6c [2021-10-01T15:56:47.992Z] Removing intermediate container b2139e4c1e6c [2021-10-01T15:56:47.992Z] ---> eedc153ad23a [2021-10-01T15:56:47.992Z] Step 16/17 : LABEL git_sha=ce650ad78b6c877d3227a46e4e9eafbdd6610562 [2021-10-01T15:56:47.992Z] ---> Running in c54b62b11633 [2021-10-01T15:56:48.594Z] Removing intermediate container c54b62b11633 [2021-10-01T15:56:48.594Z] ---> b65049a2313e [2021-10-01T15:56:48.594Z] Step 17/17 : LABEL version=2.0.1-dev.9 [2021-10-01T15:56:48.594Z] ---> Running in 1fb11483a7d4 [2021-10-01T15:56:49.188Z] Removing intermediate container 1fb11483a7d4 [2021-10-01T15:56:49.188Z] ---> fafd2cfa103e [2021-10-01T15:56:49.188Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-01T15:56:49.188Z] Successfully built fafd2cfa103e [2021-10-01T15:56:49.188Z] 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-01T15:56:49.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-01T15:56:50.097Z] [2021-10-01T15:56:50.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:56:50.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-01T15:56:50.725Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-01T15:56:50.725Z] 448f6bf000e3: Pulling fs layer [2021-10-01T15:56:50.725Z] f757da607395: Pulling fs layer [2021-10-01T15:56:50.725Z] 05883995daec: Pulling fs layer [2021-10-01T15:56:50.725Z] 8603b9c90790: Pulling fs layer [2021-10-01T15:56:50.725Z] 1560dd03e051: Pulling fs layer [2021-10-01T15:56:50.725Z] 27f5ce0e4adf: Pulling fs layer [2021-10-01T15:56:50.725Z] c2d8d7efcc4b: Pulling fs layer [2021-10-01T15:56:50.725Z] 8603b9c90790: Waiting [2021-10-01T15:56:50.725Z] 1560dd03e051: Waiting [2021-10-01T15:56:50.725Z] 27f5ce0e4adf: Waiting [2021-10-01T15:56:50.725Z] c2d8d7efcc4b: Waiting [2021-10-01T15:56:51.000Z] f757da607395: Verifying Checksum [2021-10-01T15:56:51.000Z] f757da607395: Download complete [2021-10-01T15:56:51.000Z] 8603b9c90790: Verifying Checksum [2021-10-01T15:56:51.000Z] 8603b9c90790: Download complete [2021-10-01T15:56:51.289Z] 1560dd03e051: Verifying Checksum [2021-10-01T15:56:51.289Z] 1560dd03e051: Download complete [2021-10-01T15:56:51.289Z] 27f5ce0e4adf: Verifying Checksum [2021-10-01T15:56:51.289Z] 27f5ce0e4adf: Download complete [2021-10-01T15:56:51.563Z] 05883995daec: Verifying Checksum [2021-10-01T15:56:51.563Z] 05883995daec: Download complete [2021-10-01T15:56:52.173Z] 448f6bf000e3: Verifying Checksum [2021-10-01T15:56:52.173Z] 448f6bf000e3: Download complete [2021-10-01T15:56:54.798Z] c2d8d7efcc4b: Verifying Checksum [2021-10-01T15:56:54.798Z] c2d8d7efcc4b: Download complete [2021-10-01T15:56:55.776Z] 448f6bf000e3: Pull complete [2021-10-01T15:56:56.370Z] f757da607395: Pull complete [2021-10-01T15:56:57.802Z] 05883995daec: Pull complete [2021-10-01T15:56:58.073Z] 8603b9c90790: Pull complete [2021-10-01T15:56:59.052Z] 1560dd03e051: Pull complete [2021-10-01T15:56:59.647Z] 27f5ce0e4adf: Pull complete [2021-10-01T15:57:14.721Z] c2d8d7efcc4b: Pull complete [2021-10-01T15:57:14.721Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-01T15:57:14.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-01T15:57:14.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-01T15:57:15.016Z] prd-ubuntu18.04-docker-arm64-4c-16g-392 does not seem to be running inside a container [2021-10-01T15:57:15.113Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-01T15:57:20.400Z] $ docker top 78721358a902a00273f4878cdf9988c8880d19d3d2c7d5ce6338bc4483e944c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:57:21.406Z] ---> job-cost.sh [2021-10-01T15:57:21.406Z] lf-activate-venv: SKIPPING [2021-10-01T15:57:21.406Z] INFO: No Stack... [2021-10-01T15:57:22.836Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-01T15:57:23.809Z] INFO: Archiving Costs [Pipeline] sh [2021-10-01T15:57:24.465Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [2021-10-01T15:57:24.465Z] + cut -d, -f6 [Pipeline] lock [2021-10-01T15:57:24.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [2021-10-01T15:57:24.538Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] did not exist. Created. [2021-10-01T15:57:24.538Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-01T15:57:25.227Z] /w/workspace/device-sdk-c/10@tmp/durable-4aff394a/script.sh: 1: /w/workspace/device-sdk-c/10@tmp/durable-4aff394a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-01T15:57:25.895Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-01T15:57:25.916Z] Warning: overwriting stash ‘stack-cost’ [2021-10-01T15:57:26.530Z] Stashed 1 file(s) [Pipeline] } [2021-10-01T15:57:26.547Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-01T15:57:26.557Z] $ docker stop --time=1 78721358a902a00273f4878cdf9988c8880d19d3d2c7d5ce6338bc4483e944c4 [2021-10-01T15:57:28.245Z] $ docker rm -f 78721358a902a00273f4878cdf9988c8880d19d3d2c7d5ce6338bc4483e944c4 [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-01T15:57:29.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:57:29.350Z] . [Pipeline] withDockerContainer [2021-10-01T15:57:29.429Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:57:29.488Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-01T15:57:29.892Z] $ docker top 3d19547c546e22d365c65aa549654be25d75139b11e6b25e66b2d3d7aeec4a4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-01T15:57:30.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-01T15:57:30.022Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-01T15:57:30.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-01T15:57:30.144Z] $ docker exec 3d19547c546e22d365c65aa549654be25d75139b11e6b25e66b2d3d7aeec4a4e ssh-agent [2021-10-01T15:57:30.264Z] SSH_AUTH_SOCK=/tmp/ssh-ua2md3bqoyuK/agent.14 [2021-10-01T15:57:30.264Z] SSH_AGENT_PID=21 [2021-10-01T15:57:30.275Z] Running ssh-add (command line suppressed) [2021-10-01T15:57:30.359Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5215518585576170275.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5215518585576170275.key) [2021-10-01T15:57:30.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-01T15:57:30.696Z] + git semver tag [2021-10-01T15:57:30.696Z] # -> Open(): unable to determine branch for HEAD [2021-10-01T15:57:30.696Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-01T15:57:30.696Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-01T15:57:30.696Z] # $SEMVER_REMOTE_NAME = origin [2021-10-01T15:57:30.696Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-01T15:57:30.696Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-01T15:57:30.696Z] # $SEMVER_BRANCH = main [2021-10-01T15:57:30.696Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-10-01T15:57:30.696Z] # ce650ad78b6c877d3227a46e4e9eafbdd6610562 HEAD [2021-10-01T15:57:30.696Z] # -> Force: false [2021-10-01T15:57:30.696Z] # c13371ddf7549adf47fea54fd02c9aaabd20e424 refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-10-01T15:57:30.709Z] $ docker exec --env ******** --env ******** 3d19547c546e22d365c65aa549654be25d75139b11e6b25e66b2d3d7aeec4a4e ssh-agent -k [2021-10-01T15:57:30.798Z] unset SSH_AUTH_SOCK; [2021-10-01T15:57:30.798Z] unset SSH_AGENT_PID; [2021-10-01T15:57:30.799Z] echo Agent pid 21 killed; [2021-10-01T15:57:30.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-01T15:57:31.160Z] + git semver [Pipeline] } [2021-10-01T15:57:31.180Z] $ docker stop --time=1 3d19547c546e22d365c65aa549654be25d75139b11e6b25e66b2d3d7aeec4a4e [2021-10-01T15:57:32.381Z] $ docker rm -f 3d19547c546e22d365c65aa549654be25d75139b11e6b25e66b2d3d7aeec4a4e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:57:32.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-01T15:57:32.861Z] [2021-10-01T15:57:32.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:57:33.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-01T15:57:33.345Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-01T15:57:33.345Z] ab5ef0e58194: Pulling fs layer [2021-10-01T15:57:33.345Z] 9712f1f96733: Pulling fs layer [2021-10-01T15:57:33.345Z] 63f879dbbcfc: Pulling fs layer [2021-10-01T15:57:33.345Z] 0d9ebad4ef96: Pulling fs layer [2021-10-01T15:57:33.345Z] e9a5061849ea: Pulling fs layer [2021-10-01T15:57:33.345Z] d747dcd14b5f: Pulling fs layer [2021-10-01T15:57:33.345Z] 2de7ff778b66: Pulling fs layer [2021-10-01T15:57:33.345Z] e9a5061849ea: Waiting [2021-10-01T15:57:33.345Z] d747dcd14b5f: Waiting [2021-10-01T15:57:33.345Z] 2de7ff778b66: Waiting [2021-10-01T15:57:33.345Z] 0d9ebad4ef96: Waiting [2021-10-01T15:57:33.345Z] 9712f1f96733: Verifying Checksum [2021-10-01T15:57:33.345Z] 9712f1f96733: Download complete [2021-10-01T15:57:35.937Z] 63f879dbbcfc: Verifying Checksum [2021-10-01T15:57:35.937Z] 63f879dbbcfc: Download complete [2021-10-01T15:57:35.937Z] e9a5061849ea: Verifying Checksum [2021-10-01T15:57:35.937Z] e9a5061849ea: Download complete [2021-10-01T15:57:35.937Z] d747dcd14b5f: Verifying Checksum [2021-10-01T15:57:35.937Z] d747dcd14b5f: Download complete [2021-10-01T15:57:36.523Z] 0d9ebad4ef96: Verifying Checksum [2021-10-01T15:57:36.523Z] 0d9ebad4ef96: Download complete [2021-10-01T15:57:36.523Z] 2de7ff778b66: Verifying Checksum [2021-10-01T15:57:36.523Z] 2de7ff778b66: Download complete [2021-10-01T15:57:37.482Z] ab5ef0e58194: Verifying Checksum [2021-10-01T15:57:37.482Z] ab5ef0e58194: Download complete [2021-10-01T15:57:41.087Z] ab5ef0e58194: Pull complete [2021-10-01T15:57:41.087Z] 9712f1f96733: Pull complete [2021-10-01T15:57:41.676Z] 63f879dbbcfc: Pull complete [2021-10-01T15:57:47.084Z] 0d9ebad4ef96: Pull complete [2021-10-01T15:57:47.084Z] e9a5061849ea: Pull complete [2021-10-01T15:57:47.084Z] d747dcd14b5f: Pull complete [2021-10-01T15:57:48.057Z] 2de7ff778b66: Pull complete [2021-10-01T15:57:48.057Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-01T15:57:48.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-01T15:57:48.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-01T15:57:48.179Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:57:48.464Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-01T15:57:51.376Z] $ docker top a1976da2b7670a1af5445dc71351fbeb86de189a795a48751543f1101049882b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-01T15:57:51.473Z] provisioning config files... [2021-10-01T15:57:51.487Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7549061795403861434tmp [2021-10-01T15:57:51.510Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3761437384919199050tmp [2021-10-01T15:57:51.531Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2448052576630233328tmp [Pipeline] { [Pipeline] echo [2021-10-01T15:57:51.576Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:57:51.894Z] ---> sigul-configuration.sh [2021-10-01T15:57:51.894Z] gpg: directory `/root/.gnupg' created [2021-10-01T15:57:51.894Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-01T15:57:51.894Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-01T15:57:51.894Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-01T15:57:51.894Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-01T15:57:51.894Z] gpg: CAST5 encrypted data [2021-10-01T15:57:51.894Z] gpg: encrypted with 1 passphrase [2021-10-01T15:57:51.894Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-01T15:57:52.214Z] + mkdir /home/jenkins [2021-10-01T15:57:52.214Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-01T15:57:52.541Z] + 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-01T15:57:52.555Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:57:52.878Z] ---> sigul-install.sh [2021-10-01T15:57:52.878Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-01T15:57:53.207Z] + git tag --list [2021-10-01T15:57:53.207Z] 0.7.0 [2021-10-01T15:57:53.207Z] 0.7.1 [2021-10-01T15:57:53.207Z] 1.0.0 [2021-10-01T15:57:53.207Z] v1.0.1 [2021-10-01T15:57:53.207Z] v1.0.2 [2021-10-01T15:57:53.207Z] v1.0.3 [2021-10-01T15:57:53.207Z] v1.1.0 [2021-10-01T15:57:53.207Z] v1.1.1 [2021-10-01T15:57:53.207Z] v1.2.0 [2021-10-01T15:57:53.207Z] v1.2.1 [2021-10-01T15:57:53.207Z] v1.2.2 [2021-10-01T15:57:53.207Z] v1.3.0 [2021-10-01T15:57:53.207Z] v1.3.1 [2021-10-01T15:57:53.207Z] v2.0.0 [2021-10-01T15:57:53.207Z] v2.0.1-dev.1 [2021-10-01T15:57:53.207Z] v2.0.1-dev.2 [2021-10-01T15:57:53.207Z] v2.0.1-dev.3 [2021-10-01T15:57:53.207Z] v2.0.1-dev.4 [2021-10-01T15:57:53.207Z] v2.0.1-dev.5 [2021-10-01T15:57:53.207Z] v2.0.1-dev.6 [2021-10-01T15:57:53.207Z] v2.0.1-dev.7 [2021-10-01T15:57:53.207Z] v2.0.1-dev.8 [2021-10-01T15:57:53.207Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-01T15:57:53.519Z] + lftools sign git-tag v2.0.1-dev.9 [2021-10-01T15:57:53.996Z] Signing Git tag with Sigul... [2021-10-01T15:57:53.996Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-10-01T15:57:54.967Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:57:55.287Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-01T15:57:55.305Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-01T15:57:55.332Z] $ docker stop --time=1 a1976da2b7670a1af5445dc71351fbeb86de189a795a48751543f1101049882b [2021-10-01T15:57:56.528Z] $ docker rm -f a1976da2b7670a1af5445dc71351fbeb86de189a795a48751543f1101049882b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:57:57.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:57:57.195Z] . [Pipeline] withDockerContainer [2021-10-01T15:57:57.280Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:57:57.356Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-01T15:57:57.668Z] $ docker top a7885de258b3c307a8835341935ac107d66f620de6009673d4cf5ab0d3044ce6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-01T15:57:57.795Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-01T15:57:57.795Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-01T15:57:57.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-01T15:57:57.909Z] $ docker exec a7885de258b3c307a8835341935ac107d66f620de6009673d4cf5ab0d3044ce6 ssh-agent [2021-10-01T15:57:58.040Z] SSH_AUTH_SOCK=/tmp/ssh-cKOFCHoqoBud/agent.14 [2021-10-01T15:57:58.040Z] SSH_AGENT_PID=20 [2021-10-01T15:57:58.050Z] Running ssh-add (command line suppressed) [2021-10-01T15:57:58.156Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3426905231831171307.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3426905231831171307.key) [2021-10-01T15:57:58.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-01T15:57:58.493Z] + git semver bump pre [2021-10-01T15:57:58.494Z] # -> Open(): unable to determine branch for HEAD [2021-10-01T15:57:58.494Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-01T15:57:58.494Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-01T15:57:58.494Z] # $SEMVER_REMOTE_NAME = origin [2021-10-01T15:57:58.494Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-01T15:57:58.494Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-01T15:57:58.494Z] # $SEMVER_BRANCH = main [2021-10-01T15:57:58.494Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2021-10-01T15:57:58.494Z] 2.0.1-dev.10 [Pipeline] } [2021-10-01T15:57:58.507Z] $ docker exec --env ******** --env ******** a7885de258b3c307a8835341935ac107d66f620de6009673d4cf5ab0d3044ce6 ssh-agent -k [2021-10-01T15:57:58.617Z] unset SSH_AUTH_SOCK; [2021-10-01T15:57:58.617Z] unset SSH_AGENT_PID; [2021-10-01T15:57:58.618Z] echo Agent pid 20 killed; [2021-10-01T15:57:58.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-01T15:57:58.986Z] + git semver [Pipeline] } [2021-10-01T15:57:59.005Z] $ docker stop --time=1 a7885de258b3c307a8835341935ac107d66f620de6009673d4cf5ab0d3044ce6 [2021-10-01T15:58:00.190Z] $ docker rm -f a7885de258b3c307a8835341935ac107d66f620de6009673d4cf5ab0d3044ce6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:58:00.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-01T15:58:00.589Z] . [Pipeline] withDockerContainer [2021-10-01T15:58:00.686Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:58:00.744Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-01T15:58:01.072Z] $ docker top dbd5c437641a0013ff640f15e5bff3e4aa3bb9106cbb5e195d472ed803b90800 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-01T15:58:01.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-01T15:58:01.195Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-01T15:58:01.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-01T15:58:01.314Z] $ docker exec dbd5c437641a0013ff640f15e5bff3e4aa3bb9106cbb5e195d472ed803b90800 ssh-agent [2021-10-01T15:58:01.413Z] SSH_AUTH_SOCK=/tmp/ssh-VVcglm0SSdXo/agent.14 [2021-10-01T15:58:01.413Z] SSH_AGENT_PID=20 [2021-10-01T15:58:01.423Z] Running ssh-add (command line suppressed) [2021-10-01T15:58:01.517Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8018110768863911422.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8018110768863911422.key) [2021-10-01T15:58:01.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-01T15:58:01.864Z] + git semver push [2021-10-01T15:58:01.864Z] # -> Open(): unable to determine branch for HEAD [2021-10-01T15:58:01.864Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2021-10-01T15:58:01.864Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2021-10-01T15:58:01.864Z] # $SEMVER_REMOTE_NAME = origin [2021-10-01T15:58:01.864Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-01T15:58:01.864Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-01T15:58:01.864Z] # $SEMVER_BRANCH = main [2021-10-01T15:58:01.864Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2021-10-01T15:58:04.453Z] $ docker exec --env ******** --env ******** dbd5c437641a0013ff640f15e5bff3e4aa3bb9106cbb5e195d472ed803b90800 ssh-agent -k [2021-10-01T15:58:04.538Z] unset SSH_AUTH_SOCK; [2021-10-01T15:58:04.538Z] unset SSH_AGENT_PID; [2021-10-01T15:58:04.538Z] echo Agent pid 20 killed; [2021-10-01T15:58:04.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-01T15:58:04.907Z] + git semver [Pipeline] } [2021-10-01T15:58:04.926Z] $ docker stop --time=1 dbd5c437641a0013ff640f15e5bff3e4aa3bb9106cbb5e195d472ed803b90800 [2021-10-01T15:58:06.126Z] $ docker rm -f dbd5c437641a0013ff640f15e5bff3e4aa3bb9106cbb5e195d472ed803b90800 [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-01T15:58:07.215Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:07.544Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:08.143Z] ---> package-listing.sh [2021-10-01T15:58:08.143Z] ++ facter osfamily [2021-10-01T15:58:08.143Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-01T15:58:08.412Z] + OS_FAMILY=redhat [2021-10-01T15:58:08.412Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2021-10-01T15:58:08.412Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-01T15:58:08.412Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-01T15:58:08.412Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-01T15:58:08.412Z] + PACKAGES=/tmp/packages_start.txt [2021-10-01T15:58:08.412Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-10-01T15:58:08.412Z] + PACKAGES=/tmp/packages_end.txt [2021-10-01T15:58:08.412Z] + case "${OS_FAMILY}" in [2021-10-01T15:58:08.412Z] + rpm -qa [2021-10-01T15:58:08.412Z] + sort [2021-10-01T15:58:08.995Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-01T15:58:08.995Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-01T15:58:08.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-01T15:58:08.995Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2021-10-01T15:58:08.995Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2021-10-01T15:58:08.995Z] + 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-01T15:58:09.017Z] 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-01T15:58:09.341Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:58:09.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:58:09.934Z] [2021-10-01T15:58:09.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-01T15:58:10.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:58:10.267Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-01T15:58:10.267Z] b4d181a07f80: Pulling fs layer [2021-10-01T15:58:10.267Z] a1111a8f2ec3: Pulling fs layer [2021-10-01T15:58:10.267Z] ed53099fbce6: Pulling fs layer [2021-10-01T15:58:10.267Z] dc539afda2c1: Pulling fs layer [2021-10-01T15:58:10.267Z] 77bc0d833cb6: Pulling fs layer [2021-10-01T15:58:10.267Z] 9065ff56babe: Pulling fs layer [2021-10-01T15:58:10.267Z] d287ab97295c: Pulling fs layer [2021-10-01T15:58:10.267Z] 77bc0d833cb6: Waiting [2021-10-01T15:58:10.267Z] 9065ff56babe: Waiting [2021-10-01T15:58:10.267Z] d287ab97295c: Waiting [2021-10-01T15:58:10.267Z] dc539afda2c1: Waiting [2021-10-01T15:58:10.536Z] a1111a8f2ec3: Verifying Checksum [2021-10-01T15:58:10.536Z] a1111a8f2ec3: Download complete [2021-10-01T15:58:10.536Z] dc539afda2c1: Verifying Checksum [2021-10-01T15:58:10.536Z] dc539afda2c1: Download complete [2021-10-01T15:58:10.807Z] 77bc0d833cb6: Verifying Checksum [2021-10-01T15:58:10.807Z] 77bc0d833cb6: Download complete [2021-10-01T15:58:10.807Z] 9065ff56babe: Verifying Checksum [2021-10-01T15:58:10.807Z] 9065ff56babe: Download complete [2021-10-01T15:58:11.076Z] ed53099fbce6: Verifying Checksum [2021-10-01T15:58:11.076Z] ed53099fbce6: Download complete [2021-10-01T15:58:11.664Z] b4d181a07f80: Verifying Checksum [2021-10-01T15:58:11.664Z] b4d181a07f80: Download complete [2021-10-01T15:58:13.101Z] b4d181a07f80: Pull complete [2021-10-01T15:58:13.369Z] a1111a8f2ec3: Pull complete [2021-10-01T15:58:13.963Z] ed53099fbce6: Pull complete [2021-10-01T15:58:13.963Z] dc539afda2c1: Pull complete [2021-10-01T15:58:14.244Z] 77bc0d833cb6: Pull complete [2021-10-01T15:58:14.244Z] 9065ff56babe: Pull complete [2021-10-01T15:58:16.193Z] d287ab97295c: Verifying Checksum [2021-10-01T15:58:16.193Z] d287ab97295c: Download complete [2021-10-01T15:58:21.557Z] d287ab97295c: Pull complete [2021-10-01T15:58:21.558Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-01T15:58:21.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-01T15:58:21.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-01T15:58:21.645Z] prd-centos7-docker-4c-2g-391 does not seem to be running inside a container [2021-10-01T15:58:21.699Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-01T15:58:23.934Z] $ docker top 8d20f99b25e3aecfeb8f493a5434ad71a63df4017ded35da4a206d56908dafa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-01T15:58:24.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-01T15:58:24.633Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-01T15:58:24.945Z] + ls /var/log/sa-host [2021-10-01T15:58:24.945Z] + sadf -c /var/log/sa-host/sa01 [2021-10-01T15:58:24.945Z] file_magic: OK [2021-10-01T15:58:24.945Z] HZ: Using current value: 100 [2021-10-01T15:58:24.945Z] file_header: OK [2021-10-01T15:58:24.945Z] 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-01T15:58:24.945Z] Statistics: [2021-10-01T15:58:24.945Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-01T15:58:24.945Z] File successfully converted to sysstat format version 12.0.3 [2021-10-01T15:58:24.945Z] + sadf -c /var/log/sa-host/sa30 [2021-10-01T15:58:24.945Z] file_magic: OK [2021-10-01T15:58:24.945Z] HZ: Using current value: 100 [2021-10-01T15:58:24.945Z] file_header: OK [2021-10-01T15:58:24.945Z] 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-01T15:58:24.945Z] Statistics: [2021-10-01T15:58:24.945Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-01T15:58:24.945Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-01T15:58:25.508Z] provisioning config files... [2021-10-01T15:58:25.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9208685408693579340tmp [Pipeline] { [Pipeline] echo [2021-10-01T15:58:25.546Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:25.854Z] ---> create-netrc.sh [Pipeline] } [2021-10-01T15:58:25.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:26.270Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-01T15:58:26.286Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:26.590Z] ---> sudo-logs.sh [2021-10-01T15:58:26.590Z] Archiving 'sudo' log.. [2021-10-01T15:58:26.590Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-391.vexxhost.local: Name or service not known [2021-10-01T15:58:26.590Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-391.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-01T15:58:26.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:26.947Z] ---> job-cost.sh [2021-10-01T15:58:26.947Z] lf-activate-venv: SKIPPING [2021-10-01T15:58:26.947Z] DEBUG: total: 0.10999999940395355 [2021-10-01T15:58:26.947Z] INFO: Retrieving Stack Cost... [2021-10-01T15:58:27.906Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-01T15:58:28.484Z] INFO: Archiving Costs [Pipeline] echo [2021-10-01T15:58:28.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-01T15:58:28.818Z] ---> logs-deploy.sh [2021-10-01T15:58:28.818Z] lf-activate-venv: SKIPPING [2021-10-01T15:58:28.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/10 [2021-10-01T15:58:28.818Z] INFO: archiving workspace using pattern(s): [2021-10-01T15:58:29.405Z] Archives upload complete. [2021-10-01T15:58:29.671Z] INFO: archiving logs to Nexus