Pull request #401 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2a4638433ec196b4d26870a14923a99a4b2577f4+02161a6b4618232bfcf286377d256226a622bc2b (ec27c3410924e234e3236b5c385576335b67620a) 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-ssh16353948592341487276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh2628132576610712051.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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/PR-401/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/PR-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10323563656171122305.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh6972030829545759012.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/PR-401/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/PR-401/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16131293277700517269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-5643’ is offline Running on prd-centos7-docker-4c-2g-5645 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [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_PR-401 # 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_PR-401@tmp/jenkins-gitclient-ssh1011950841077315255.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 2a4638433ec196b4d26870a14923a99a4b2577f4 Merge succeeded, producing 2a4638433ec196b4d26870a14923a99a4b2577f4 Checking out Revision 2a4638433ec196b4d26870a14923a99a4b2577f4 (PR-401) > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 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_PR-401@tmp/jenkins-gitclient-ssh3485344359707983596.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh7881244045990039345.key > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 Commit message: "build(deps): bump Alpine to 3.15" First time build. Skipping changelog. > git rev-list --no-walk e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-18T15:53:14.572Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-18T15:53:14.621Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-18T15:53:14.633Z] ========================================================= [2022-02-18T15:53:14.633Z] EdgeX Global Pipelines Version Info [2022-02-18T15:53:14.633Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:53:15.740Z] ------------------- [2022-02-18T15:53:15.740Z] stable info: [2022-02-18T15:53:15.740Z] ------------------- [2022-02-18T15:53:15.740Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-18T15:53:15.740Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-18T15:53:15.741Z] Message: update stable to v1.0.220 [2022-02-18T15:53:16.313Z] ------------------- [2022-02-18T15:53:16.313Z] experimental info: [2022-02-18T15:53:16.313Z] ------------------- [2022-02-18T15:53:16.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-18T15:53:16.313Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-18T15:53:16.313Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-18T15:53:16.445Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-18T15:53:16.454Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-18T15:53:16.463Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-18T15:53:16.471Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-18T15:53:16.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-18T15:53:16.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-18T15:53:16.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-18T15:53:16.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-18T15:53:16.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-18T15:53:16.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-18T15:53:16.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-18T15:53:16.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-18T15:53:16.599Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-18T15:53:16.614Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-18T15:53:16.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-18T15:53:16.650Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-18T15:53:16.664Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-18T15:53:16.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo [2022-02-18T15:53:16.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo [2022-02-18T15:53:16.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo [2022-02-18T15:53:16.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo [2022-02-18T15:53:16.723Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a46384 [Pipeline] echo [2022-02-18T15:53:16.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:53:16.777Z] provisioning config files... [2022-02-18T15:53:16.791Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config9162371959725962427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:53:17.097Z] ---> docker-login.sh [2022-02-18T15:53:17.097Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:53:17.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:17.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:17.359Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:17.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:17.359Z] [2022-02-18T15:53:17.359Z] Login Succeeded [2022-02-18T15:53:17.359Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:53:17.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:17.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:17.359Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:17.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:17.359Z] [2022-02-18T15:53:17.359Z] Login Succeeded [2022-02-18T15:53:17.359Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:53:17.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:17.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:17.359Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:17.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:17.359Z] [2022-02-18T15:53:17.359Z] Login Succeeded [2022-02-18T15:53:17.359Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:53:17.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:17.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:17.620Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:17.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:17.620Z] [2022-02-18T15:53:17.620Z] Login Succeeded [2022-02-18T15:53:17.620Z] docker.io [2022-02-18T15:53:17.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:17.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:17.880Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:17.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:17.880Z] [2022-02-18T15:53:17.880Z] Login Succeeded [2022-02-18T15:53:17.880Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:53:17.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-02-18T15:53:18.266Z] + git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo [2022-02-18T15:53:18.301Z] -----------> git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 2a4638433ec196b4d26870a14923a99a4b2577f4 [false] [Pipeline] sh [2022-02-18T15:53:18.602Z] + git log --format=format:%s -1 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo [2022-02-18T15:53:18.620Z] ========================================================= [2022-02-18T15:53:18.620Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-18T15:53:18.620Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-18T15:53:19.016Z] + git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo [2022-02-18T15:53:19.030Z] -----------> git rev-list -1 --merges 2a4638433ec196b4d26870a14923a99a4b2577f4~1..2a4638433ec196b4d26870a14923a99a4b2577f4 2a4638433ec196b4d26870a14923a99a4b2577f4 [false] [Pipeline] sh [2022-02-18T15:53:19.326Z] + git log --format=format:%s -1 2a4638433ec196b4d26870a14923a99a4b2577f4 [Pipeline] echo [2022-02-18T15:53:19.343Z] ========================================================= [2022-02-18T15:53:19.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-18T15:53:19.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-18T15:53:19.904Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-18T15:53:19.904Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-18T15:53:19.904Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-18T15:53:19.904Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-18T15:53:19.904Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-18T15:53:19.904Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-18T15:53:19.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:53:20.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:53:20.329Z] [2022-02-18T15:53:20.329Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:53:20.646Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:53:20.646Z] latest: Pulling from edgex-devops/git-semver [2022-02-18T15:53:20.646Z] a0d0a0d46f8b: Pulling fs layer [2022-02-18T15:53:20.646Z] 3e5f54012d9b: Pulling fs layer [2022-02-18T15:53:20.646Z] 4c7163046ea9: Pulling fs layer [2022-02-18T15:53:20.646Z] 0c2d73faf560: Pulling fs layer [2022-02-18T15:53:20.646Z] 0c2d73faf560: Waiting [2022-02-18T15:53:20.646Z] 3e5f54012d9b: Verifying Checksum [2022-02-18T15:53:20.646Z] 3e5f54012d9b: Download complete [2022-02-18T15:53:20.646Z] a0d0a0d46f8b: Verifying Checksum [2022-02-18T15:53:20.646Z] a0d0a0d46f8b: Download complete [2022-02-18T15:53:20.646Z] 4c7163046ea9: Verifying Checksum [2022-02-18T15:53:20.646Z] 4c7163046ea9: Download complete [2022-02-18T15:53:20.646Z] 0c2d73faf560: Verifying Checksum [2022-02-18T15:53:20.646Z] 0c2d73faf560: Download complete [2022-02-18T15:53:20.912Z] a0d0a0d46f8b: Pull complete [2022-02-18T15:53:20.912Z] 3e5f54012d9b: Pull complete [2022-02-18T15:53:21.186Z] 4c7163046ea9: Pull complete [2022-02-18T15:53:21.451Z] 0c2d73faf560: Pull complete [2022-02-18T15:53:21.451Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-18T15:53:21.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:53:21.451Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-18T15:53:21.517Z] prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container [2022-02-18T15:53:21.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-18T15:53:22.130Z] $ docker top 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-18T15:53:22.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-18T15:53:22.215Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-18T15:53:22.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-18T15:53:22.316Z] $ docker exec 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent [2022-02-18T15:53:22.417Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlnfdBf/agent.13 [2022-02-18T15:53:22.417Z] SSH_AGENT_PID=20 [2022-02-18T15:53:22.424Z] Running ssh-add (command line suppressed) [2022-02-18T15:53:22.509Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_3409846860998909958.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_3409846860998909958.key) [2022-02-18T15:53:22.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-18T15:53:22.816Z] + git tag --points-at HEAD [Pipeline] } [2022-02-18T15:53:22.828Z] $ docker exec --env ******** --env ******** 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent -k [2022-02-18T15:53:22.912Z] unset SSH_AUTH_SOCK; [2022-02-18T15:53:22.912Z] unset SSH_AGENT_PID; [2022-02-18T15:53:22.912Z] echo Agent pid 20 killed; [2022-02-18T15:53:22.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-18T15:53:22.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-18T15:53:22.951Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-18T15:53:23.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-18T15:53:23.061Z] $ docker exec 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent [2022-02-18T15:53:23.167Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGdbJp/agent.54 [2022-02-18T15:53:23.167Z] SSH_AGENT_PID=60 [2022-02-18T15:53:23.172Z] Running ssh-add (command line suppressed) [2022-02-18T15:53:23.257Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_1079086663962097529.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_1079086663962097529.key) [2022-02-18T15:53:23.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-18T15:53:23.565Z] + git semver init [2022-02-18T15:53:23.565Z] # -> Open(): unable to determine branch for HEAD [2022-02-18T15:53:23.565Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.git [2022-02-18T15:53:23.565Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-401 [2022-02-18T15:53:23.565Z] # $SEMVER_REMOTE_NAME = origin [2022-02-18T15:53:23.565Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-18T15:53:23.565Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-18T15:53:23.565Z] # $SEMVER_BRANCH = PR-401 [2022-02-18T15:53:23.565Z] # $SEMVER_TEMP = /tmp/semver-213446289 [2022-02-18T15:53:23.565Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-18T15:53:24.507Z] # '/tmp/semver-213446289' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver' [2022-02-18T15:53:24.507Z] # -> Force: false [2022-02-18T15:53:24.507Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver [Pipeline] } [2022-02-18T15:53:24.516Z] $ docker exec --env ******** --env ******** 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e ssh-agent -k [2022-02-18T15:53:24.606Z] unset SSH_AUTH_SOCK; [2022-02-18T15:53:24.606Z] unset SSH_AGENT_PID; [2022-02-18T15:53:24.606Z] echo Agent pid 60 killed; [2022-02-18T15:53:24.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-18T15:53:24.940Z] + git semver [Pipeline] } [2022-02-18T15:53:24.957Z] $ docker stop --time=1 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e [2022-02-18T15:53:26.176Z] $ docker rm -f 97e90e373e27ab388972a66ce0b5e9e1e04443821af4c64eec2c40a3adaa253e [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-18T15:53:26.515Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-18T15:53:26.729Z] Stashed 1 file(s) [Pipeline] echo [2022-02-18T15:53:26.733Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:53:26.827Z] provisioning config files... [2022-02-18T15:53:26.836Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config871911557138452611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:53:27.142Z] ---> docker-login.sh [2022-02-18T15:53:27.142Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:53:27.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:27.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:27.142Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:27.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:27.142Z] [2022-02-18T15:53:27.143Z] Login Succeeded [2022-02-18T15:53:27.143Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:53:27.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:27.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:27.143Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:27.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:27.143Z] [2022-02-18T15:53:27.143Z] Login Succeeded [2022-02-18T15:53:27.143Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:53:27.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:27.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:27.403Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:27.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:27.403Z] [2022-02-18T15:53:27.403Z] Login Succeeded [2022-02-18T15:53:27.403Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:53:27.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:27.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:27.403Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:27.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:27.403Z] [2022-02-18T15:53:27.403Z] Login Succeeded [2022-02-18T15:53:27.403Z] docker.io [2022-02-18T15:53:27.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:53:27.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:53:27.663Z] Configure a credential helper to remove this warning. See [2022-02-18T15:53:27.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:53:27.663Z] [2022-02-18T15:53:27.663Z] Login Succeeded [2022-02-18T15:53:27.663Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:53:27.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-18T15:53:27.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:53:27.751Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-18T15:53:27.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:53:27.775Z] ========================================================= [2022-02-18T15:53:27.775Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-18T15:53:27.775Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:53:28.072Z] + 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 . [2022-02-18T15:53:28.072Z] Sending build context to Docker daemon 4.505MB [2022-02-18T15:53:28.072Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-18T15:53:28.072Z] Step 2/22 : FROM ${BASE} as builder [2022-02-18T15:53:28.072Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-18T15:53:28.072Z] 59bf1c3509f3: Pulling fs layer [2022-02-18T15:53:28.072Z] c743a93c8381: Pulling fs layer [2022-02-18T15:53:28.072Z] a2ad9f71ba65: Pulling fs layer [2022-02-18T15:53:28.072Z] c743a93c8381: Verifying Checksum [2022-02-18T15:53:28.072Z] c743a93c8381: Download complete [2022-02-18T15:53:28.335Z] 59bf1c3509f3: Verifying Checksum [2022-02-18T15:53:28.335Z] 59bf1c3509f3: Download complete [2022-02-18T15:53:28.335Z] 59bf1c3509f3: Pull complete [2022-02-18T15:53:28.596Z] c743a93c8381: Pull complete [2022-02-18T15:53:28.596Z] a2ad9f71ba65: Verifying Checksum [2022-02-18T15:53:28.596Z] a2ad9f71ba65: Download complete [2022-02-18T15:53:31.956Z] a2ad9f71ba65: Pull complete [2022-02-18T15:53:31.956Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-02-18T15:53:31.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-18T15:53:31.956Z] ---> c9e13ccc37c5 [2022-02-18T15:53:31.956Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-18T15:53:32.530Z] ---> Running in 34c0215ef54d [2022-02-18T15:53:32.792Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-18T15:53:33.055Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:53:33.055Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:53:33.055Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:53:33.322Z] Removing intermediate container 34c0215ef54d [2022-02-18T15:53:33.322Z] ---> 3b41c2ba160f [2022-02-18T15:53:33.322Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:53:33.322Z] ---> Running in be74119af1d6 [2022-02-18T15:53:33.583Z] Removing intermediate container be74119af1d6 [2022-02-18T15:53:33.583Z] ---> f0c86beb43ae [2022-02-18T15:53:33.583Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:53:33.583Z] ---> Running in 21769389b16c [2022-02-18T15:53:34.154Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:53:34.727Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:53:35.298Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:53:35.560Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:53:35.560Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-18T15:53:35.560Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:53:35.821Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-18T15:53:35.821Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:53:36.084Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:53:36.084Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:53:37.025Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-18T15:53:37.025Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-18T15:53:37.025Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-18T15:53:37.288Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-18T15:53:37.288Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-18T15:53:37.288Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-18T15:53:37.551Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:53:37.551Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:53:37.814Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-18T15:53:37.814Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-18T15:53:38.082Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-18T15:53:38.082Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-18T15:53:38.082Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-18T15:53:38.345Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-18T15:53:38.345Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-18T15:53:38.345Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-18T15:53:38.606Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-18T15:53:38.606Z] (24/31) Installing flock (2.37.4-r0) [2022-02-18T15:53:38.606Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-18T15:53:38.866Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:53:38.866Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-18T15:53:38.866Z] (28/31) Installing logger (2.37.4-r0) [2022-02-18T15:53:39.127Z] (29/31) Installing partx (2.37.4-r0) [2022-02-18T15:53:39.127Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-18T15:53:39.127Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:53:39.388Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:53:39.388Z] OK: 293 MiB in 108 packages [2022-02-18T15:53:39.961Z] Removing intermediate container 21769389b16c [2022-02-18T15:53:39.961Z] ---> 19792a0cdc0f [2022-02-18T15:53:39.961Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-18T15:53:39.961Z] ---> Running in 5e217823fa02 [2022-02-18T15:53:40.222Z] Removing intermediate container 5e217823fa02 [2022-02-18T15:53:40.222Z] ---> 76ec23dd17ef [2022-02-18T15:53:40.222Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-18T15:53:40.483Z] ---> f07e5d276a0f [2022-02-18T15:53:40.483Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-18T15:53:40.745Z] ---> f1cd32fd6d62 [2022-02-18T15:53:40.745Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-18T15:53:40.745Z] ---> ab895cf01f5c [2022-02-18T15:53:40.745Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-18T15:53:41.007Z] ---> 482920714ad4 [2022-02-18T15:53:41.007Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-18T15:53:41.274Z] ---> 498616d1fbf0 [2022-02-18T15:53:41.274Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-18T15:53:41.274Z] ---> a60d3f172b5e [2022-02-18T15:53:41.274Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-18T15:53:41.274Z] ---> Running in 8340b0762a5d [2022-02-18T15:53:41.536Z] + CPPCHECK=false [2022-02-18T15:53:41.536Z] + DOCGEN=false [2022-02-18T15:53:41.536Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-18T15:53:41.536Z] + TOMLVER=SDK-0.2 [2022-02-18T15:53:41.536Z] + CUTILVER=1.2.2 [2022-02-18T15:53:41.536Z] + '[' 0 -gt 0 ] [2022-02-18T15:53:41.536Z] + readlink -f ./scripts/build.sh [2022-02-18T15:53:41.536Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-18T15:53:41.536Z] + dirname /tmp/sdk/scripts [2022-02-18T15:53:41.536Z] + ROOT=/tmp/sdk [2022-02-18T15:53:41.536Z] + cd /tmp/sdk [2022-02-18T15:53:41.536Z] + '[' '!' -d deps ] [2022-02-18T15:53:41.536Z] + mkdir deps [2022-02-18T15:53:41.536Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-18T15:53:41.536Z] + tar -C deps -z -x -f - [2022-02-18T15:53:41.536Z] Connecting to github.com (140.82.113.4:443) [2022-02-18T15:53:41.796Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:53:41.798Z] Still waiting to schedule task [2022-02-18T15:53:41.798Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-18T15:53:42.057Z] writing to stdout [2022-02-18T15:53:42.057Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-18T15:53:42.057Z] written to stdout [2022-02-18T15:53:42.057Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-18T15:53:42.057Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-18T15:53:42.057Z] + tar -C deps -z -x -f - [2022-02-18T15:53:42.057Z] Connecting to github.com (140.82.113.4:443) [2022-02-18T15:53:42.057Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:53:42.322Z] writing to stdout [2022-02-18T15:53:42.322Z] - 100% |********************************| 189k 0:00:00 ETA [2022-02-18T15:53:42.322Z] written to stdout [2022-02-18T15:53:42.322Z] + mkdir -p src/c/iot [2022-02-18T15:53:42.322Z] + 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 [2022-02-18T15:53:42.322Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-18T15:53:42.322Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-18T15:53:42.322Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-18T15:53:42.322Z] + mkdir -p include/iot [2022-02-18T15:53:42.322Z] + 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 [2022-02-18T15:53:42.322Z] + mkdir -p include/iot/os [2022-02-18T15:53:42.322Z] + 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 [2022-02-18T15:53:42.322Z] + mkdir -p /tmp/sdk/build/release [2022-02-18T15:53:42.322Z] + cd /tmp/sdk/build/release [2022-02-18T15:53:42.322Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-18T15:53:42.586Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:53:42.586Z] -- Detecting C compiler ABI info [2022-02-18T15:53:42.586Z] -- Detecting C compiler ABI info - done [2022-02-18T15:53:42.586Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:53:42.586Z] -- Detecting C compile features [2022-02-18T15:53:42.586Z] -- Detecting C compile features - done [2022-02-18T15:53:42.586Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:53:42.586Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:53:42.586Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:53:42.586Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:53:42.586Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:53:42.586Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:53:42.586Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:53:42.586Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:53:42.586Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:53:42.586Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:53:42.847Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:53:42.847Z] -- Configuring done [2022-02-18T15:53:42.847Z] -- Generating done [2022-02-18T15:53:42.847Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-18T15:53:42.847Z] + make all package [2022-02-18T15:53:42.847Z] + tee release.log [2022-02-18T15:53:42.847Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:53:42.847Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:53:43.107Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:53:43.368Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:53:43.639Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:53:43.639Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:53:43.904Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:53:43.904Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:53:43.904Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:53:44.164Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:53:44.427Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:53:44.710Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:53:44.710Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:53:44.980Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:53:44.980Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:53:44.980Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:53:44.980Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:53:45.560Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:53:45.560Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:53:45.820Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:53:45.820Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:53:46.083Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:53:46.083Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:53:46.083Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:53:46.083Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:53:46.083Z] | ^~~~~~~ [2022-02-18T15:53:46.083Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:53:47.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:53:47.036Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:53:47.036Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:53:47.036Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:53:47.299Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:53:47.299Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:53:47.562Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:53:47.562Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:53:47.827Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:53:47.827Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:53:47.827Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:53:48.403Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:53:48.403Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:53:48.664Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:53:48.664Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:53:49.615Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:53:49.615Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:53:49.615Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:53:49.880Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:53:49.880Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:53:49.880Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:49.880Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:53:49.880Z] | ^~~~~~~~~~~~~ [2022-02-18T15:53:49.880Z] | | [2022-02-18T15:53:49.880Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:53:49.880Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:49.880Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:53:49.880Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:53:49.880Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:53:49.880Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:53:49.880Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:49.880Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:53:49.880Z] | ^~~~~~~~~~~~ [2022-02-18T15:53:49.880Z] | | [2022-02-18T15:53:49.880Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:53:49.880Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:49.880Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:53:49.880Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:53:49.880Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:53:49.880Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:49.880Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:53:49.880Z] | ^~~~~~~~~~~~ [2022-02-18T15:53:49.880Z] | | [2022-02-18T15:53:49.880Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:53:49.880Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:49.880Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:53:49.880Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:53:49.880Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:53:49.880Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:53:50.458Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:53:50.458Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:53:50.458Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:53:50.458Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:53:51.031Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:53:51.603Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:53:51.872Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:53:51.873Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:53:51.873Z] [ 76%] Built target csdk [2022-02-18T15:53:51.873Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:53:52.133Z] [ 79%] Linking C executable template [2022-02-18T15:53:52.133Z] [ 79%] Built target template [2022-02-18T15:53:52.133Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:53:52.395Z] [ 82%] Linking C executable device-counter [2022-02-18T15:53:52.395Z] [ 82%] Built target device-counter [2022-02-18T15:53:52.396Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:53:52.396Z] [ 85%] Linking C executable device-random [2022-02-18T15:53:52.396Z] [ 85%] Built target device-random [2022-02-18T15:53:52.661Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:53:52.661Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:53:52.661Z] [ 88%] Built target device-gyro [2022-02-18T15:53:52.661Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:53:52.661Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:53:52.925Z] [ 91%] Built target device-bitfields [2022-02-18T15:53:52.925Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:53:52.925Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:53:52.925Z] [ 94%] Built target template-discovery [2022-02-18T15:53:53.186Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:53:53.186Z] [ 97%] Linking C executable device-file [2022-02-18T15:53:53.186Z] [ 97%] Built target device-file [2022-02-18T15:53:53.186Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:53:53.447Z] [100%] Linking C executable device-terminal [2022-02-18T15:53:53.447Z] [100%] Built target device-terminal [2022-02-18T15:53:53.447Z] Run CPack packaging tool... [2022-02-18T15:53:53.447Z] CPack: Create package using TGZ [2022-02-18T15:53:53.447Z] CPack: Install projects [2022-02-18T15:53:53.447Z] CPack: - Run preinstall target for: Csdk [2022-02-18T15:53:53.706Z] CPack: - Install project: Csdk [] [2022-02-18T15:53:53.707Z] CPack: Create package [2022-02-18T15:53:53.707Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-18T15:53:53.707Z] + '[' false '=' true ] [2022-02-18T15:53:53.707Z] + '[' false '=' true ] [2022-02-18T15:53:53.707Z] + mkdir -p /tmp/sdk/build/debug [2022-02-18T15:53:53.707Z] + cd /tmp/sdk/build/debug [2022-02-18T15:53:53.707Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-18T15:53:53.707Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:53:53.707Z] -- Detecting C compiler ABI info [2022-02-18T15:53:53.707Z] -- Detecting C compiler ABI info - done [2022-02-18T15:53:53.967Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:53:53.967Z] -- Detecting C compile features [2022-02-18T15:53:53.967Z] -- Detecting C compile features - done [2022-02-18T15:53:53.967Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:53:53.967Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:53:53.967Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:53:53.967Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:53:53.967Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:53:53.967Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:53:53.967Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:53:53.967Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:53:53.967Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:53:53.967Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:53:53.967Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:53:53.967Z] -- Configuring done [2022-02-18T15:53:53.967Z] -- Generating done [2022-02-18T15:53:53.967Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-18T15:53:53.967Z] + tee debug.log [2022-02-18T15:53:53.967Z] + make [2022-02-18T15:53:53.967Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:53:54.226Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:53:54.226Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:53:54.490Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:53:54.490Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:53:54.490Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:53:54.490Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:53:54.750Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:53:54.750Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:53:54.750Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:53:55.014Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:53:55.014Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:53:55.014Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:53:55.276Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:53:55.276Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:53:55.276Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:53:55.276Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:53:55.538Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:53:55.538Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:53:55.538Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:53:55.799Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:53:55.799Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:53:55.799Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:53:55.799Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:53:55.799Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:53:55.799Z] | ^~~~~~~ [2022-02-18T15:53:55.799Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:53:56.062Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:53:56.062Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:53:56.062Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:53:56.325Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:53:56.325Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:53:56.325Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:53:56.325Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:53:56.325Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:53:56.586Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:53:56.586Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:53:56.586Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:53:56.586Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:53:56.847Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:53:56.847Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:53:56.847Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:53:57.109Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:53:57.109Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:53:57.374Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:53:57.374Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:53:57.374Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:53:57.374Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:57.374Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:53:57.374Z] | ^~~~~~~~~~~~~ [2022-02-18T15:53:57.374Z] | | [2022-02-18T15:53:57.374Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:53:57.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:57.374Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:53:57.374Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:53:57.374Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:53:57.374Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:53:57.374Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:57.374Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:53:57.374Z] | ^~~~~~~~~~~~ [2022-02-18T15:53:57.374Z] | | [2022-02-18T15:53:57.374Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:53:57.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:57.374Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:53:57.374Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:53:57.374Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:53:57.374Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:53:57.374Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:53:57.374Z] | ^~~~~~~~~~~~ [2022-02-18T15:53:57.374Z] | | [2022-02-18T15:53:57.374Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:53:57.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:53:57.374Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:53:57.374Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:53:57.374Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:53:57.374Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:53:57.638Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:53:57.638Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:53:57.638Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:53:57.898Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:53:57.899Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:53:58.160Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:53:58.160Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:53:58.160Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:53:58.421Z] [ 76%] Built target csdk [2022-02-18T15:53:58.421Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:53:58.421Z] [ 79%] Linking C executable template [2022-02-18T15:53:58.421Z] [ 79%] Built target template [2022-02-18T15:53:58.421Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:53:58.421Z] [ 82%] Linking C executable device-counter [2022-02-18T15:53:58.680Z] [ 82%] Built target device-counter [2022-02-18T15:53:58.680Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:53:58.680Z] [ 85%] Linking C executable device-random [2022-02-18T15:53:58.680Z] [ 85%] Built target device-random [2022-02-18T15:53:58.680Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:53:58.680Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:53:58.944Z] [ 88%] Built target device-gyro [2022-02-18T15:53:58.944Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:53:58.944Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:53:58.944Z] [ 91%] Built target device-bitfields [2022-02-18T15:53:58.944Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:53:58.944Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:53:58.944Z] [ 94%] Built target template-discovery [2022-02-18T15:53:58.944Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:53:59.204Z] [ 97%] Linking C executable device-file [2022-02-18T15:53:59.204Z] [ 97%] Built target device-file [2022-02-18T15:53:59.204Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:53:59.204Z] [100%] Linking C executable device-terminal [2022-02-18T15:53:59.204Z] [100%] Built target device-terminal [2022-02-18T15:53:59.204Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.204Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.204Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 76%] Built target csdk [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 79%] Built target template [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 82%] Built target device-counter [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 85%] Built target device-random [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 88%] Built target device-gyro [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 91%] Built target device-bitfields [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 94%] Built target template-discovery [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.463Z] [ 97%] Built target device-file [2022-02-18T15:53:59.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.464Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.464Z] [100%] Built target device-terminal [2022-02-18T15:53:59.464Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:53:59.464Z] Install the project... [2022-02-18T15:53:59.464Z] -- Install configuration: "Release" [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/devsdk [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/component.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/config.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/container.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/data.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/json.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/os.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/time.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/os [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-18T15:53:59.464Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-18T15:53:59.464Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:54:00.048Z] Removing intermediate container 8340b0762a5d [2022-02-18T15:54:00.048Z] ---> 9a7a1dda163a [2022-02-18T15:54:00.048Z] Step 14/22 : FROM ${BASE} [2022-02-18T15:54:00.048Z] ---> c9e13ccc37c5 [2022-02-18T15:54:00.048Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-18T15:54:00.048Z] ---> Running in 17535c4740d1 [2022-02-18T15:54:00.308Z] Removing intermediate container 17535c4740d1 [2022-02-18T15:54:00.308Z] ---> 1659d9c79051 [2022-02-18T15:54:00.308Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-18T15:54:00.308Z] ---> Running in 0f2a11be6c5a [2022-02-18T15:54:00.308Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2022-02-18T15:54:00.878Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:54:00.878Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:54:00.878Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:54:00.878Z] Removing intermediate container 0f2a11be6c5a [2022-02-18T15:54:00.878Z] ---> 0585bd78cbbc [2022-02-18T15:54:00.878Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:54:01.139Z] ---> Running in fd0c02cef10c [2022-02-18T15:54:01.403Z] Removing intermediate container fd0c02cef10c [2022-02-18T15:54:01.403Z] ---> a46c1a29bf0e [2022-02-18T15:54:01.403Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:54:01.403Z] ---> Running in c4904a420602 [2022-02-18T15:54:01.664Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:02.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:02.863Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:03.437Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:54:03.437Z] (1/6) Installing curl (7.80.0-r0) [2022-02-18T15:54:03.437Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-18T15:54:03.437Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:54:03.697Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-18T15:54:03.697Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-18T15:54:03.697Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:54:04.639Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:54:04.639Z] OK: 283 MiB in 83 packages [2022-02-18T15:54:04.901Z] Removing intermediate container c4904a420602 [2022-02-18T15:54:04.901Z] ---> 5b48bc5110a5 [2022-02-18T15:54:04.901Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-18T15:54:04.901Z] ---> f9ba49d76be6 [2022-02-18T15:54:04.901Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-18T15:54:05.162Z] ---> d52239c7da87 [2022-02-18T15:54:05.162Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-18T15:54:05.423Z] ---> feaaf14a4234 [2022-02-18T15:54:05.423Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-18T15:54:05.423Z] ---> e03e84ecd4c6 [2022-02-18T15:54:05.423Z] Successfully built e03e84ecd4c6 [2022-02-18T15:54:05.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:54:05.797Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-18T15:54:05.797Z] . [Pipeline] withDockerContainer [2022-02-18T15:54:05.859Z] prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container [2022-02-18T15:54:05.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-18T15:54:06.259Z] $ docker top 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:54:06.622Z] + make test [2022-02-18T15:54:06.622Z] echo "make test" [2022-02-18T15:54:06.622Z] make test [Pipeline] } [2022-02-18T15:54:06.632Z] $ docker stop --time=1 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b [2022-02-18T15:54:07.793Z] $ docker rm -f 8196391f8078232c457185dd89f1f97ddbd61c35c94ac6073c5ed08bf8e0fd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:54:08.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-18T15:54:09.255Z] + ls -al . [2022-02-18T15:54:09.255Z] total 176 [2022-02-18T15:54:09.255Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 18 15:53 . [2022-02-18T15:54:09.255Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 18 15:53 .. [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 18 15:53 Attribution.txt [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 8222 Feb 18 15:53 CHANGES [2022-02-18T15:54:09.255Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 18 15:53 docs [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 18 15:53 Doxyfile [2022-02-18T15:54:09.255Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 15:53 .git [2022-02-18T15:54:09.255Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 18 15:53 .github [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 18 15:53 .gitignore [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 18 15:53 GOVERNANCE.md [2022-02-18T15:54:09.255Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 18 15:53 include [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 18 15:53 Jenkinsfile [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 18 15:53 LICENSE [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 18 15:53 Makefile [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 18 15:53 OWNERS.md [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 18 15:53 README.md [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 18 15:53 README.v2.md [2022-02-18T15:54:09.255Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 18 15:53 scripts [2022-02-18T15:54:09.255Z] drwx------. 3 jenkins jenkins 85 Feb 18 15:53 .semver [2022-02-18T15:54:09.255Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 18 15:53 src [2022-02-18T15:54:09.255Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 15:53 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:54:09.566Z] + 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=2a4638433ec196b4d26870a14923a99a4b2577f4 --label arch=amd64 --label version=0.0.0 . [2022-02-18T15:54:09.566Z] Sending build context to Docker daemon 4.505MB [2022-02-18T15:54:09.566Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-18T15:54:09.566Z] Step 2/17 : FROM ${BASE} [2022-02-18T15:54:09.566Z] ---> e03e84ecd4c6 [2022-02-18T15:54:09.566Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-18T15:54:09.566Z] ---> Running in 310ebd56b733 [2022-02-18T15:54:09.825Z] Removing intermediate container 310ebd56b733 [2022-02-18T15:54:09.825Z] ---> d85a90c521a8 [2022-02-18T15:54:09.825Z] 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 [2022-02-18T15:54:09.825Z] ---> Running in 2ea86ef8affe [2022-02-18T15:54:10.084Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2022-02-18T15:54:10.346Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:54:10.346Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:54:10.346Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:54:10.611Z] Removing intermediate container 2ea86ef8affe [2022-02-18T15:54:10.611Z] ---> 8ffb3eb96848 [2022-02-18T15:54:10.611Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:54:10.611Z] ---> Running in 0d3cc4230012 [2022-02-18T15:54:11.181Z] Removing intermediate container 0d3cc4230012 [2022-02-18T15:54:11.181Z] ---> 895358556a17 [2022-02-18T15:54:11.181Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-18T15:54:11.181Z] ---> Running in 4110e3fad016 [2022-02-18T15:54:11.181Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:12.121Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:12.381Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:54:12.954Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:54:12.954Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:54:12.954Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:54:13.216Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-18T15:54:13.216Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-18T15:54:13.216Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-18T15:54:13.477Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-18T15:54:13.477Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-18T15:54:13.736Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:54:13.736Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:54:14.309Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-18T15:54:14.309Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-18T15:54:14.570Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-18T15:54:14.570Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-18T15:54:14.570Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-18T15:54:14.831Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-18T15:54:14.831Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-18T15:54:14.831Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-18T15:54:15.093Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-18T15:54:15.093Z] (19/26) Installing flock (2.37.4-r0) [2022-02-18T15:54:15.093Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-18T15:54:15.353Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:54:15.353Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-18T15:54:15.613Z] (23/26) Installing logger (2.37.4-r0) [2022-02-18T15:54:15.613Z] (24/26) Installing partx (2.37.4-r0) [2022-02-18T15:54:15.613Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-18T15:54:15.873Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:54:16.133Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:54:16.134Z] OK: 294 MiB in 109 packages [2022-02-18T15:54:16.704Z] Removing intermediate container 4110e3fad016 [2022-02-18T15:54:16.704Z] ---> eb182faf237d [2022-02-18T15:54:16.704Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-18T15:54:16.704Z] ---> f802199af2ca [2022-02-18T15:54:16.704Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-18T15:54:16.966Z] ---> b25ef605fb5d [2022-02-18T15:54:16.966Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-18T15:54:17.226Z] ---> e79786ac58ba [2022-02-18T15:54:17.226Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-18T15:54:17.226Z] ---> 11d6c226c7e2 [2022-02-18T15:54:17.226Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-18T15:54:17.486Z] ---> bb247e4fe538 [2022-02-18T15:54:17.486Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-18T15:54:17.486Z] ---> 2ba151745f1d [2022-02-18T15:54:17.486Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-18T15:54:17.486Z] ---> Running in 0bacdc735853 [2022-02-18T15:54:17.752Z] Removing intermediate container 0bacdc735853 [2022-02-18T15:54:17.752Z] ---> b33586cfec5a [2022-02-18T15:54:17.752Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-18T15:54:17.752Z] ---> Running in 3b428e4f7e9c [2022-02-18T15:54:17.753Z] Removing intermediate container 3b428e4f7e9c [2022-02-18T15:54:17.753Z] ---> 5084a6a73dd1 [2022-02-18T15:54:17.753Z] Step 15/17 : LABEL arch=amd64 [2022-02-18T15:54:17.753Z] ---> Running in 5cbe4b97dece [2022-02-18T15:54:17.753Z] Removing intermediate container 5cbe4b97dece [2022-02-18T15:54:17.753Z] ---> 9f1850810b91 [2022-02-18T15:54:17.753Z] Step 16/17 : LABEL git_sha=2a4638433ec196b4d26870a14923a99a4b2577f4 [2022-02-18T15:54:17.753Z] ---> Running in 6c3d0b5b63b8 [2022-02-18T15:54:18.013Z] Removing intermediate container 6c3d0b5b63b8 [2022-02-18T15:54:18.013Z] ---> 58b4026c47e9 [2022-02-18T15:54:18.013Z] Step 17/17 : LABEL version=0.0.0 [2022-02-18T15:54:18.013Z] ---> Running in 79e2a4fe4e6e [2022-02-18T15:54:18.013Z] Removing intermediate container 79e2a4fe4e6e [2022-02-18T15:54:18.013Z] ---> d999ede3ef24 [2022-02-18T15:54:18.013Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-18T15:54:18.013Z] Successfully built d999ede3ef24 [2022-02-18T15:54:18.013Z] 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 [2022-02-18T15:54:18.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:54:18.454Z] [2022-02-18T15:54:18.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:54:18.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:54:18.778Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-18T15:54:18.778Z] b4d181a07f80: Pulling fs layer [2022-02-18T15:54:18.778Z] a1111a8f2ec3: Pulling fs layer [2022-02-18T15:54:18.778Z] ed53099fbce6: Pulling fs layer [2022-02-18T15:54:18.778Z] dc539afda2c1: Pulling fs layer [2022-02-18T15:54:18.778Z] 77bc0d833cb6: Pulling fs layer [2022-02-18T15:54:18.778Z] 9065ff56babe: Pulling fs layer [2022-02-18T15:54:18.778Z] d287ab97295c: Pulling fs layer [2022-02-18T15:54:18.778Z] 77bc0d833cb6: Waiting [2022-02-18T15:54:18.778Z] 9065ff56babe: Waiting [2022-02-18T15:54:18.778Z] d287ab97295c: Waiting [2022-02-18T15:54:18.778Z] dc539afda2c1: Waiting [2022-02-18T15:54:18.778Z] a1111a8f2ec3: Verifying Checksum [2022-02-18T15:54:18.778Z] a1111a8f2ec3: Download complete [2022-02-18T15:54:18.778Z] dc539afda2c1: Verifying Checksum [2022-02-18T15:54:18.778Z] dc539afda2c1: Download complete [2022-02-18T15:54:19.044Z] 77bc0d833cb6: Verifying Checksum [2022-02-18T15:54:19.044Z] 77bc0d833cb6: Download complete [2022-02-18T15:54:19.044Z] b4d181a07f80: Verifying Checksum [2022-02-18T15:54:19.044Z] b4d181a07f80: Download complete [2022-02-18T15:54:19.044Z] ed53099fbce6: Verifying Checksum [2022-02-18T15:54:19.044Z] ed53099fbce6: Download complete [2022-02-18T15:54:19.044Z] 9065ff56babe: Verifying Checksum [2022-02-18T15:54:19.044Z] 9065ff56babe: Download complete [2022-02-18T15:54:19.625Z] d287ab97295c: Verifying Checksum [2022-02-18T15:54:19.625Z] d287ab97295c: Download complete [2022-02-18T15:54:20.199Z] b4d181a07f80: Pull complete [2022-02-18T15:54:20.463Z] a1111a8f2ec3: Pull complete [2022-02-18T15:54:21.037Z] ed53099fbce6: Pull complete [2022-02-18T15:54:21.037Z] dc539afda2c1: Pull complete [2022-02-18T15:54:21.298Z] 77bc0d833cb6: Pull complete [2022-02-18T15:54:21.558Z] 9065ff56babe: Pull complete [2022-02-18T15:54:26.878Z] d287ab97295c: Pull complete [2022-02-18T15:54:26.878Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-18T15:54:26.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:54:26.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-18T15:54:26.945Z] prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container [2022-02-18T15:54:26.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-18T15:54:29.362Z] $ docker top f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:54:29.799Z] ---> job-cost.sh [2022-02-18T15:54:29.799Z] lf-activate-venv: SKIPPING [2022-02-18T15:54:29.799Z] INFO: No Stack... [2022-02-18T15:54:30.060Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-18T15:54:30.320Z] INFO: Archiving Costs [Pipeline] sh [2022-02-18T15:54:30.616Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/cost.csv [2022-02-18T15:54:30.616Z] + cut -d, -f6 [Pipeline] lock [2022-02-18T15:54:30.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [2022-02-18T15:54:30.640Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] did not exist. Created. [2022-02-18T15:54:30.640Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-18T15:54:30.947Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-18T15:54:30.990Z] Stashed 1 file(s) [Pipeline] } [2022-02-18T15:54:30.997Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-18T15:54:31.014Z] $ docker stop --time=1 f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a [2022-02-18T15:54:32.139Z] $ docker rm -f f02513d12baaa1c5e2456623f9c77c19aae796722d7e3a28125b400d2d040b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-18T15:55:03.905Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5646 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [Pipeline] { [Pipeline] ws [2022-02-18T15:55:03.919Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-02-18T15:55:04.117Z] Selected Git installation does not exist. Using Default [2022-02-18T15:55:04.117Z] The recommended git tool is: NONE [2022-02-18T15:55:08.451Z] using credential edgex-jenkins-ssh [2022-02-18T15:55:08.467Z] Cloning the remote Git repository [2022-02-18T15:55:08.511Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:55:08.587Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-02-18T15:55:08.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:55:08.677Z] > git --version # timeout=10 [2022-02-18T15:55:08.692Z] > git --version # 'git version 2.17.1' [2022-02-18T15:55:08.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:55:08.764Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-18T15:55:09.824Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-18T15:55:09.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-18T15:55:09.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-18T15:55:09.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:55:09.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:55:09.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-18T15:55:10.556Z] Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 2a4638433ec196b4d26870a14923a99a4b2577f4 [2022-02-18T15:55:10.792Z] Merge succeeded, producing 2a4638433ec196b4d26870a14923a99a4b2577f4 [2022-02-18T15:55:10.793Z] Checking out Revision 2a4638433ec196b4d26870a14923a99a4b2577f4 (PR-401) [2022-02-18T15:55:10.567Z] > git config core.sparsecheckout # timeout=10 [2022-02-18T15:55:10.583Z] > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 [2022-02-18T15:55:10.692Z] > git remote # timeout=10 [2022-02-18T15:55:10.714Z] > git config --get remote.origin.url # timeout=10 [2022-02-18T15:55:10.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:55:10.750Z] > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 [2022-02-18T15:55:10.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-18T15:55:10.794Z] > git config core.sparsecheckout # timeout=10 [2022-02-18T15:55:10.805Z] > git checkout -f 2a4638433ec196b4d26870a14923a99a4b2577f4 # timeout=10 [2022-02-18T15:55:14.935Z] Commit message: "build(deps): bump Alpine to 3.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:55:15.884Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-18T15:55:15.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-18T15:55:15.884Z] Dload Upload Total Spent Left Speed [2022-02-18T15:55:15.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2022-02-18T15:55:16.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-18T15:55:16.734Z] + sudo tee /etc/docker/daemon.new [2022-02-18T15:55:16.734Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-18T15:55:16.734Z] { [2022-02-18T15:55:16.734Z] "registry-mirrors": [ [2022-02-18T15:55:16.734Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-18T15:55:16.734Z] ], [2022-02-18T15:55:16.734Z] "bip": "10.250.0.254/24", [2022-02-18T15:55:16.734Z] "hosts": [ [2022-02-18T15:55:16.734Z] "tcp://0.0.0.0:5555", [2022-02-18T15:55:16.734Z] "unix:///var/run/docker.sock" [2022-02-18T15:55:16.734Z] ], [2022-02-18T15:55:16.734Z] "mtu": 1458, [2022-02-18T15:55:16.734Z] "selinux-enabled": true, [2022-02-18T15:55:16.734Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-18T15:55:16.734Z] } [Pipeline] sh [2022-02-18T15:55:17.079Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-18T15:55:17.481Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:55:35.802Z] provisioning config files... [2022-02-18T15:55:35.825Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7615117782178378661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:55:36.178Z] ---> docker-login.sh [2022-02-18T15:55:36.178Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:55:36.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:55:37.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:55:37.046Z] Configure a credential helper to remove this warning. See [2022-02-18T15:55:37.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:55:37.046Z] [2022-02-18T15:55:37.046Z] Login Succeeded [2022-02-18T15:55:37.046Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:55:37.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:55:37.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:55:37.319Z] Configure a credential helper to remove this warning. See [2022-02-18T15:55:37.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:55:37.319Z] [2022-02-18T15:55:37.319Z] Login Succeeded [2022-02-18T15:55:37.319Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:55:37.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:55:37.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:55:37.914Z] Configure a credential helper to remove this warning. See [2022-02-18T15:55:37.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:55:37.914Z] [2022-02-18T15:55:37.914Z] Login Succeeded [2022-02-18T15:55:37.914Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:55:38.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:55:38.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:55:38.195Z] Configure a credential helper to remove this warning. See [2022-02-18T15:55:38.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:55:38.195Z] [2022-02-18T15:55:38.196Z] Login Succeeded [2022-02-18T15:55:38.196Z] docker.io [2022-02-18T15:55:38.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:55:39.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:55:39.056Z] Configure a credential helper to remove this warning. See [2022-02-18T15:55:39.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:55:39.056Z] [2022-02-18T15:55:39.056Z] Login Succeeded [2022-02-18T15:55:39.056Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:55:39.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-18T15:55:39.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:55:39.608Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-18T15:55:39.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:55:39.630Z] ========================================================= [2022-02-18T15:55:39.630Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-18T15:55:39.630Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:55:39.968Z] + 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 . [2022-02-18T15:55:40.248Z] Sending build context to Docker daemon 2.746MB [2022-02-18T15:55:40.527Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-18T15:55:40.527Z] Step 2/22 : FROM ${BASE} as builder [2022-02-18T15:55:40.527Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-18T15:55:40.527Z] 9b3977197b4f: Pulling fs layer [2022-02-18T15:55:40.527Z] 2a93055cfd06: Pulling fs layer [2022-02-18T15:55:40.527Z] ff5fdaca7850: Pulling fs layer [2022-02-18T15:55:40.527Z] 2a93055cfd06: Verifying Checksum [2022-02-18T15:55:40.527Z] 2a93055cfd06: Download complete [2022-02-18T15:55:40.801Z] 9b3977197b4f: Verifying Checksum [2022-02-18T15:55:40.801Z] 9b3977197b4f: Download complete [2022-02-18T15:55:41.406Z] 9b3977197b4f: Pull complete [2022-02-18T15:55:41.680Z] 2a93055cfd06: Pull complete [2022-02-18T15:55:42.669Z] ff5fdaca7850: Verifying Checksum [2022-02-18T15:55:42.669Z] ff5fdaca7850: Download complete [2022-02-18T15:55:50.936Z] ff5fdaca7850: Pull complete [2022-02-18T15:55:50.936Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-02-18T15:55:50.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-18T15:55:50.936Z] ---> 0af3d9908a83 [2022-02-18T15:55:50.936Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-18T15:55:51.209Z] ---> Running in 5b9e646a79cb [2022-02-18T15:55:52.633Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-18T15:55:52.906Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:55:52.906Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:55:52.906Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:55:53.502Z] Removing intermediate container 5b9e646a79cb [2022-02-18T15:55:53.502Z] ---> 3ab6a663c5be [2022-02-18T15:55:53.502Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:55:53.502Z] ---> Running in 487167736ed1 [2022-02-18T15:55:55.473Z] Removing intermediate container 487167736ed1 [2022-02-18T15:55:55.473Z] ---> 7a8435366a5a [2022-02-18T15:55:55.473Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:55:55.473Z] ---> Running in 4815e6eda089 [2022-02-18T15:55:56.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:55:57.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:55:57.641Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:55:58.613Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:55:58.613Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-18T15:55:58.613Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:55:58.613Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-18T15:55:58.884Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:55:58.884Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:55:58.884Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:55:59.855Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-18T15:55:59.855Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-18T15:56:00.126Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-18T15:56:00.396Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-18T15:56:00.396Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-18T15:56:00.668Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-18T15:56:00.668Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:56:00.668Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:56:01.259Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-18T15:56:01.259Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-18T15:56:01.259Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-18T15:56:01.528Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-18T15:56:01.528Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-18T15:56:01.528Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-18T15:56:01.797Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-18T15:56:01.797Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-18T15:56:01.797Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-18T15:56:02.067Z] (24/31) Installing flock (2.37.4-r0) [2022-02-18T15:56:02.067Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-18T15:56:02.067Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:56:02.336Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-18T15:56:02.336Z] (28/31) Installing logger (2.37.4-r0) [2022-02-18T15:56:02.336Z] (29/31) Installing partx (2.37.4-r0) [2022-02-18T15:56:02.606Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-18T15:56:02.606Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:56:02.880Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:56:02.880Z] OK: 289 MiB in 108 packages [2022-02-18T15:56:04.311Z] Removing intermediate container 4815e6eda089 [2022-02-18T15:56:04.311Z] ---> b8c0dd2ffe89 [2022-02-18T15:56:04.311Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-18T15:56:04.311Z] ---> Running in f9e86abdcd61 [2022-02-18T15:56:06.289Z] Removing intermediate container f9e86abdcd61 [2022-02-18T15:56:06.289Z] ---> bb760f2234e7 [2022-02-18T15:56:06.289Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-18T15:56:06.561Z] ---> 0c10b884e45a [2022-02-18T15:56:06.561Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-18T15:56:07.540Z] ---> 63dd2351c874 [2022-02-18T15:56:07.540Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-18T15:56:08.137Z] ---> b623043cfc9d [2022-02-18T15:56:08.137Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-18T15:56:08.732Z] ---> 2225ea770f6b [2022-02-18T15:56:08.732Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-18T15:56:09.327Z] ---> efb61bd70730 [2022-02-18T15:56:09.327Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-18T15:56:09.599Z] ---> c3226319ba84 [2022-02-18T15:56:09.599Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-18T15:56:09.874Z] ---> Running in 574b587fe88c [2022-02-18T15:56:10.853Z] + CPPCHECK=false [2022-02-18T15:56:10.853Z] + DOCGEN=false [2022-02-18T15:56:10.853Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-18T15:56:10.853Z] + TOMLVER=SDK-0.2 [2022-02-18T15:56:10.853Z] + CUTILVER=1.2.2 [2022-02-18T15:56:10.853Z] + '[' 0 -gt 0 ] [2022-02-18T15:56:10.853Z] + readlink -f ./scripts/build.sh [2022-02-18T15:56:10.853Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-18T15:56:10.853Z] + dirname /tmp/sdk/scripts [2022-02-18T15:56:10.853Z] + ROOT=/tmp/sdk [2022-02-18T15:56:10.853Z] + cd /tmp/sdk [2022-02-18T15:56:10.853Z] + '[' '!' -d deps ] [2022-02-18T15:56:10.853Z] + mkdir deps [2022-02-18T15:56:10.854Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-18T15:56:10.854Z] + tar -C deps -z -x -f - [2022-02-18T15:56:10.854Z] Connecting to github.com (140.82.113.3:443) [2022-02-18T15:56:10.854Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:56:11.138Z] writing to stdout [2022-02-18T15:56:11.138Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-18T15:56:11.138Z] written to stdout [2022-02-18T15:56:11.138Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-18T15:56:11.138Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-18T15:56:11.138Z] + tar -C deps -z -x -f - [2022-02-18T15:56:11.138Z] Connecting to github.com (140.82.113.3:443) [2022-02-18T15:56:11.410Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:56:11.682Z] writing to stdout [2022-02-18T15:56:11.682Z] - 100% |********************************| 189k 0:00:00 ETA [2022-02-18T15:56:11.682Z] written to stdout [2022-02-18T15:56:11.682Z] + mkdir -p src/c/iot [2022-02-18T15:56:11.682Z] + 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 [2022-02-18T15:56:11.682Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-18T15:56:11.683Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-18T15:56:11.683Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-18T15:56:11.683Z] + mkdir -p include/iot [2022-02-18T15:56:11.683Z] + 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 [2022-02-18T15:56:11.683Z] + mkdir -p include/iot/os [2022-02-18T15:56:11.683Z] + 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 [2022-02-18T15:56:11.683Z] + mkdir -p /tmp/sdk/build/release [2022-02-18T15:56:11.683Z] + cd /tmp/sdk/build/release [2022-02-18T15:56:11.683Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-18T15:56:11.956Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:56:12.227Z] -- Detecting C compiler ABI info [2022-02-18T15:56:12.227Z] -- Detecting C compiler ABI info - done [2022-02-18T15:56:12.501Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:56:12.501Z] -- Detecting C compile features [2022-02-18T15:56:12.501Z] -- Detecting C compile features - done [2022-02-18T15:56:12.501Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:56:12.501Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:56:12.774Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:56:12.774Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:56:12.774Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:56:12.774Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:56:12.774Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:56:12.774Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:56:12.774Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:56:13.047Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:56:13.047Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:56:13.319Z] -- Configuring done [2022-02-18T15:56:13.319Z] -- Generating done [2022-02-18T15:56:13.319Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-18T15:56:13.319Z] + tee release.log [2022-02-18T15:56:13.319Z] + make all package [2022-02-18T15:56:13.593Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:56:14.189Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:56:14.782Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:56:17.390Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:56:17.662Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:56:17.935Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:56:18.914Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:56:19.509Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:56:19.781Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:56:21.210Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:56:23.171Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:56:23.443Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:56:24.418Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:56:25.007Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:56:25.600Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:56:25.600Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:56:26.193Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:56:29.562Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:56:29.562Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:56:29.835Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:56:30.111Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:56:30.705Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:56:30.978Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:56:30.978Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:56:30.978Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:56:30.978Z] | ^~~~~~~ [2022-02-18T15:56:31.570Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:56:36.955Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:56:36.955Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:56:36.955Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:56:37.228Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:56:37.822Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:56:38.097Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:56:39.528Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:56:39.803Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:56:40.399Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:56:40.994Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:56:41.268Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:56:43.892Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:56:43.892Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:56:45.317Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:56:45.317Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:56:50.716Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:56:50.716Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:56:51.310Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:56:51.584Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:56:51.856Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:56:51.856Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:56:51.856Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:56:51.856Z] | ^~~~~~~~~~~~~ [2022-02-18T15:56:51.856Z] | | [2022-02-18T15:56:51.856Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:56:51.856Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:56:51.856Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:56:51.856Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:56:51.856Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:56:51.856Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:56:51.856Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:56:51.856Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:56:51.856Z] | ^~~~~~~~~~~~ [2022-02-18T15:56:51.856Z] | | [2022-02-18T15:56:51.856Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:56:51.856Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:56:51.856Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:56:51.856Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:56:51.856Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:56:51.856Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:56:51.856Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:56:51.856Z] | ^~~~~~~~~~~~ [2022-02-18T15:56:51.856Z] | | [2022-02-18T15:56:51.856Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:56:51.856Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:56:51.856Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:56:51.856Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:56:51.856Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:56:52.834Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:56:54.800Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:56:55.069Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:56:55.657Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:56:55.927Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:56:58.522Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:57:02.794Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:57:03.063Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:57:03.651Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:57:03.651Z] [ 76%] Built target csdk [2022-02-18T15:57:03.651Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:57:04.616Z] [ 79%] Linking C executable template [2022-02-18T15:57:04.616Z] [ 79%] Built target template [2022-02-18T15:57:04.886Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:57:05.155Z] [ 82%] Linking C executable device-counter [2022-02-18T15:57:05.424Z] [ 82%] Built target device-counter [2022-02-18T15:57:05.424Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:57:06.012Z] [ 85%] Linking C executable device-random [2022-02-18T15:57:06.282Z] [ 85%] Built target device-random [2022-02-18T15:57:06.282Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:57:06.871Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:57:06.871Z] [ 88%] Built target device-gyro [2022-02-18T15:57:07.141Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:57:07.410Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:57:07.679Z] [ 91%] Built target device-bitfields [2022-02-18T15:57:07.679Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:57:08.645Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:57:08.913Z] [ 94%] Built target template-discovery [2022-02-18T15:57:08.913Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:57:09.500Z] [ 97%] Linking C executable device-file [2022-02-18T15:57:09.780Z] [ 97%] Built target device-file [2022-02-18T15:57:09.780Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:57:10.750Z] [100%] Linking C executable device-terminal [2022-02-18T15:57:10.750Z] [100%] Built target device-terminal [2022-02-18T15:57:10.750Z] Run CPack packaging tool... [2022-02-18T15:57:10.750Z] CPack: Create package using TGZ [2022-02-18T15:57:10.750Z] CPack: Install projects [2022-02-18T15:57:10.750Z] CPack: - Run preinstall target for: Csdk [2022-02-18T15:57:11.720Z] CPack: - Install project: Csdk [] [2022-02-18T15:57:11.720Z] CPack: Create package [2022-02-18T15:57:11.720Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-18T15:57:11.720Z] + '[' false '=' true ] [2022-02-18T15:57:11.720Z] + '[' false '=' true ] [2022-02-18T15:57:11.720Z] + mkdir -p /tmp/sdk/build/debug [2022-02-18T15:57:11.720Z] + cd /tmp/sdk/build/debug [2022-02-18T15:57:11.720Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-18T15:57:11.990Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:57:11.990Z] -- Detecting C compiler ABI info [2022-02-18T15:57:12.260Z] -- Detecting C compiler ABI info - done [2022-02-18T15:57:12.260Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:57:12.260Z] -- Detecting C compile features [2022-02-18T15:57:12.260Z] -- Detecting C compile features - done [2022-02-18T15:57:12.260Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:57:12.531Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:57:12.531Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:57:12.531Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:57:12.531Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:57:12.531Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:57:12.531Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:57:12.531Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:57:12.531Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:57:12.803Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:57:12.803Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:57:13.075Z] -- Configuring done [2022-02-18T15:57:13.346Z] -- Generating done [2022-02-18T15:57:13.346Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-18T15:57:13.346Z] + make [2022-02-18T15:57:13.346Z] + tee debug.log [2022-02-18T15:57:13.346Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:57:13.616Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:57:13.887Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:57:14.856Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:57:15.126Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:57:15.126Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:57:15.396Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:57:15.681Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:57:15.956Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:57:16.548Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:57:17.135Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:57:17.404Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:57:17.674Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:57:17.942Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:57:18.212Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:57:18.481Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:57:18.750Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:57:19.714Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:57:19.714Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:57:19.983Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:57:20.252Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:57:20.520Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:57:20.520Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:57:20.520Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:57:20.520Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:57:20.520Z] | ^~~~~~~ [2022-02-18T15:57:20.789Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:57:22.210Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:57:22.210Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:57:22.210Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:57:22.479Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:57:22.749Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:57:23.018Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:57:23.287Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:57:23.557Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:57:23.826Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:57:24.093Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:57:24.093Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:57:24.679Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:57:24.948Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:57:25.536Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:57:25.536Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:57:26.961Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:57:26.961Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:57:27.230Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:57:27.499Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:57:27.767Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:57:27.767Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:57:27.767Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:57:27.767Z] | ^~~~~~~~~~~~~ [2022-02-18T15:57:27.767Z] | | [2022-02-18T15:57:27.767Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:57:27.767Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:57:27.767Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:57:27.767Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:57:27.767Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:57:27.767Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:57:27.767Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:57:27.767Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:57:27.767Z] | ^~~~~~~~~~~~ [2022-02-18T15:57:27.767Z] | | [2022-02-18T15:57:27.767Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:57:27.767Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:57:27.767Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:57:27.767Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:57:27.767Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:57:27.767Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:57:27.767Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:57:27.767Z] | ^~~~~~~~~~~~ [2022-02-18T15:57:27.767Z] | | [2022-02-18T15:57:27.767Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:57:27.767Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:57:27.767Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:57:27.767Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:57:27.767Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:57:28.035Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:57:29.453Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:57:29.453Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:57:29.723Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:57:29.992Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:57:30.959Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:57:31.545Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:57:31.814Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:57:32.083Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:57:32.351Z] [ 76%] Built target csdk [2022-02-18T15:57:32.351Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:57:32.621Z] [ 79%] Linking C executable template [2022-02-18T15:57:32.889Z] [ 79%] Built target template [2022-02-18T15:57:32.889Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:57:33.157Z] [ 82%] Linking C executable device-counter [2022-02-18T15:57:33.426Z] [ 82%] Built target device-counter [2022-02-18T15:57:33.426Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:57:33.695Z] [ 85%] Linking C executable device-random [2022-02-18T15:57:33.969Z] [ 85%] Built target device-random [2022-02-18T15:57:33.969Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:57:34.239Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:57:34.508Z] [ 88%] Built target device-gyro [2022-02-18T15:57:34.508Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:57:34.778Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:57:35.046Z] [ 91%] Built target device-bitfields [2022-02-18T15:57:35.046Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:57:35.316Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:57:35.588Z] [ 94%] Built target template-discovery [2022-02-18T15:57:35.588Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:57:36.177Z] [ 97%] Linking C executable device-file [2022-02-18T15:57:36.177Z] [ 97%] Built target device-file [2022-02-18T15:57:36.177Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:57:36.766Z] [100%] Linking C executable device-terminal [2022-02-18T15:57:36.766Z] [100%] Built target device-terminal [2022-02-18T15:57:37.036Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] [ 76%] Built target csdk [2022-02-18T15:57:37.036Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] [ 79%] Built target template [2022-02-18T15:57:37.036Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] [ 82%] Built target device-counter [2022-02-18T15:57:37.036Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.036Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [ 85%] Built target device-random [2022-02-18T15:57:37.306Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [ 88%] Built target device-gyro [2022-02-18T15:57:37.306Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [ 91%] Built target device-bitfields [2022-02-18T15:57:37.306Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [ 94%] Built target template-discovery [2022-02-18T15:57:37.306Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [ 97%] Built target device-file [2022-02-18T15:57:37.306Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.306Z] [100%] Built target device-terminal [2022-02-18T15:57:37.306Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:37.582Z] Install the project... [2022-02-18T15:57:37.582Z] -- Install configuration: "Release" [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/devsdk [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/data.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/config.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/container.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/component.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/time.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/os [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/json.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/include/iot/os.h [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-18T15:57:37.582Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-18T15:57:37.582Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:57:39.013Z] Removing intermediate container 574b587fe88c [2022-02-18T15:57:39.013Z] ---> 2365144e703b [2022-02-18T15:57:39.013Z] Step 14/22 : FROM ${BASE} [2022-02-18T15:57:39.013Z] ---> 0af3d9908a83 [2022-02-18T15:57:39.013Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-18T15:57:39.283Z] ---> Running in 9d669e3addfa [2022-02-18T15:57:39.557Z] Removing intermediate container 9d669e3addfa [2022-02-18T15:57:39.557Z] ---> 7e785caf6771 [2022-02-18T15:57:39.557Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-18T15:57:39.557Z] ---> Running in dba166597788 [2022-02-18T15:57:40.533Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2022-02-18T15:57:41.128Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:57:41.128Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:57:41.128Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:57:41.725Z] Removing intermediate container dba166597788 [2022-02-18T15:57:41.725Z] ---> 2537072971dd [2022-02-18T15:57:41.725Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:57:41.725Z] ---> Running in 3c8757717f1f [2022-02-18T15:57:43.698Z] Removing intermediate container 3c8757717f1f [2022-02-18T15:57:43.698Z] ---> f1d2ac294c7a [2022-02-18T15:57:43.698Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:57:43.698Z] ---> Running in 4097062e890d [2022-02-18T15:57:44.289Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:57:45.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:57:45.853Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:57:46.445Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:57:46.445Z] (1/6) Installing curl (7.80.0-r0) [2022-02-18T15:57:46.445Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-18T15:57:46.445Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:57:46.715Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-18T15:57:46.715Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-18T15:57:46.985Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:57:47.958Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:57:47.958Z] OK: 278 MiB in 83 packages [2022-02-18T15:57:48.551Z] Removing intermediate container 4097062e890d [2022-02-18T15:57:48.551Z] ---> ed056cb13211 [2022-02-18T15:57:48.551Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-18T15:57:49.144Z] ---> 7b250f26e0ec [2022-02-18T15:57:49.144Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-18T15:57:49.737Z] ---> 3b5005550457 [2022-02-18T15:57:49.737Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-18T15:57:50.338Z] ---> 44b6ddbfc85d [2022-02-18T15:57:50.338Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-18T15:57:50.930Z] ---> 03b60ee3269b [2022-02-18T15:57:50.930Z] Successfully built 03b60ee3269b [2022-02-18T15:57:50.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:57:51.342Z] + docker inspect -f . ci-base-image-arm64 [2022-02-18T15:57:51.342Z] . [Pipeline] withDockerContainer [2022-02-18T15:57:51.531Z] prd-ubuntu18.04-docker-arm64-4c-16g-5646 does not seem to be running inside a container [2022-02-18T15:57:51.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-18T15:57:52.758Z] $ docker top 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:57:53.604Z] + make test [2022-02-18T15:57:53.604Z] echo "make test" [2022-02-18T15:57:53.604Z] make test [Pipeline] } [2022-02-18T15:57:53.635Z] $ docker stop --time=1 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c [2022-02-18T15:57:55.188Z] $ docker rm -f 396cb1588f0dcee614ac760f7f244ab7b8f0eb7a8483583c6170d2b6f1241c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:57:55.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-18T15:57:56.064Z] + ls -al . [2022-02-18T15:57:56.064Z] total 204 [2022-02-18T15:57:56.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:55 . [2022-02-18T15:57:56.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 .. [2022-02-18T15:57:56.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:55 .git [2022-02-18T15:57:56.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 15:55 .github [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 18 15:55 .gitignore [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 18 15:55 Attribution.txt [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 8222 Feb 18 15:55 CHANGES [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 18 15:55 Doxyfile [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 15:55 GOVERNANCE.md [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 18 15:55 Jenkinsfile [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 15:55 LICENSE [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 18 15:55 Makefile [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 15:55 OWNERS.md [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 18 15:55 README.md [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 18 15:55 README.v2.md [2022-02-18T15:57:56.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 15:53 VERSION [2022-02-18T15:57:56.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:55 docs [2022-02-18T15:57:56.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 include [2022-02-18T15:57:56.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:55 scripts [2022-02-18T15:57:56.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:55 src [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:57:56.403Z] + 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=2a4638433ec196b4d26870a14923a99a4b2577f4 --label arch=arm64 --label version=0.0.0 . [2022-02-18T15:57:56.673Z] Sending build context to Docker daemon 2.746MB [2022-02-18T15:57:56.673Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-18T15:57:56.673Z] Step 2/17 : FROM ${BASE} [2022-02-18T15:57:56.673Z] ---> 03b60ee3269b [2022-02-18T15:57:56.673Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-18T15:57:56.944Z] ---> Running in 2f9e4e92ae6a [2022-02-18T15:57:57.221Z] Removing intermediate container 2f9e4e92ae6a [2022-02-18T15:57:57.221Z] ---> f98cbb4adfe0 [2022-02-18T15:57:57.221Z] 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 [2022-02-18T15:57:57.221Z] ---> Running in 4d33a0d34679 [2022-02-18T15:57:58.195Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-18T15:57:58.786Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:57:58.786Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:57:58.786Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:57:59.377Z] Removing intermediate container 4d33a0d34679 [2022-02-18T15:57:59.377Z] ---> 3f8ee77734f2 [2022-02-18T15:57:59.377Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:57:59.377Z] ---> Running in d97d9e01e4cc [2022-02-18T15:58:01.351Z] Removing intermediate container d97d9e01e4cc [2022-02-18T15:58:01.351Z] ---> 519e40e24fea [2022-02-18T15:58:01.351Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-18T15:58:01.351Z] ---> Running in 2b22743a25cf [2022-02-18T15:58:02.327Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:58:02.916Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:58:03.507Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:58:04.097Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:58:04.097Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:58:04.368Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:58:04.368Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-18T15:58:04.368Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-18T15:58:04.637Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-18T15:58:04.637Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-18T15:58:04.637Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-18T15:58:04.907Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:58:04.907Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:58:05.495Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-18T15:58:05.495Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-18T15:58:05.495Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-18T15:58:05.765Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-18T15:58:05.765Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-18T15:58:05.765Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-18T15:58:06.035Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-18T15:58:06.035Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-18T15:58:06.035Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-18T15:58:06.304Z] (19/26) Installing flock (2.37.4-r0) [2022-02-18T15:58:06.304Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-18T15:58:06.304Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:58:06.576Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-18T15:58:06.576Z] (23/26) Installing logger (2.37.4-r0) [2022-02-18T15:58:06.576Z] (24/26) Installing partx (2.37.4-r0) [2022-02-18T15:58:06.849Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-18T15:58:06.849Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:58:07.122Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:58:07.122Z] OK: 290 MiB in 109 packages [2022-02-18T15:58:08.552Z] Removing intermediate container 2b22743a25cf [2022-02-18T15:58:08.552Z] ---> 8d46650b472a [2022-02-18T15:58:08.552Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-18T15:58:08.824Z] ---> 62d41a05cca0 [2022-02-18T15:58:08.824Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-18T15:58:09.802Z] ---> b957f7325fe7 [2022-02-18T15:58:09.802Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-18T15:58:10.397Z] ---> 001828b77aa6 [2022-02-18T15:58:10.397Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-18T15:58:10.998Z] ---> 286a452a8256 [2022-02-18T15:58:10.998Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-18T15:58:11.609Z] ---> 857f97fbe346 [2022-02-18T15:58:11.609Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-18T15:58:12.201Z] ---> af89b7ad85d1 [2022-02-18T15:58:12.201Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-18T15:58:12.201Z] ---> Running in 69d2343cd733 [2022-02-18T15:58:12.471Z] Removing intermediate container 69d2343cd733 [2022-02-18T15:58:12.471Z] ---> 6febfa433b83 [2022-02-18T15:58:12.471Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-18T15:58:12.746Z] ---> Running in f9511a828107 [2022-02-18T15:58:13.018Z] Removing intermediate container f9511a828107 [2022-02-18T15:58:13.018Z] ---> 61e2a71fb683 [2022-02-18T15:58:13.018Z] Step 15/17 : LABEL arch=arm64 [2022-02-18T15:58:13.018Z] ---> Running in ab7b9595edb6 [2022-02-18T15:58:13.611Z] Removing intermediate container ab7b9595edb6 [2022-02-18T15:58:13.611Z] ---> 68559d098795 [2022-02-18T15:58:13.611Z] Step 16/17 : LABEL git_sha=2a4638433ec196b4d26870a14923a99a4b2577f4 [2022-02-18T15:58:13.611Z] ---> Running in c5fb75586049 [2022-02-18T15:58:13.884Z] Removing intermediate container c5fb75586049 [2022-02-18T15:58:13.884Z] ---> 0d9c96b135d8 [2022-02-18T15:58:13.884Z] Step 17/17 : LABEL version=0.0.0 [2022-02-18T15:58:14.155Z] ---> Running in e725f500df8e [2022-02-18T15:58:14.425Z] Removing intermediate container e725f500df8e [2022-02-18T15:58:14.425Z] ---> 98cdaeecbd81 [2022-02-18T15:58:14.425Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-18T15:58:14.425Z] Successfully built 98cdaeecbd81 [2022-02-18T15:58:14.425Z] 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 [2022-02-18T15:58:14.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:58:14.836Z] [2022-02-18T15:58:14.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:58:15.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:58:15.460Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-18T15:58:15.460Z] 448f6bf000e3: Pulling fs layer [2022-02-18T15:58:15.460Z] f757da607395: Pulling fs layer [2022-02-18T15:58:15.460Z] 05883995daec: Pulling fs layer [2022-02-18T15:58:15.460Z] 8603b9c90790: Pulling fs layer [2022-02-18T15:58:15.460Z] 1560dd03e051: Pulling fs layer [2022-02-18T15:58:15.460Z] 27f5ce0e4adf: Pulling fs layer [2022-02-18T15:58:15.460Z] c2d8d7efcc4b: Pulling fs layer [2022-02-18T15:58:15.460Z] 1560dd03e051: Waiting [2022-02-18T15:58:15.460Z] 27f5ce0e4adf: Waiting [2022-02-18T15:58:15.460Z] 8603b9c90790: Waiting [2022-02-18T15:58:15.460Z] c2d8d7efcc4b: Waiting [2022-02-18T15:58:15.460Z] f757da607395: Verifying Checksum [2022-02-18T15:58:15.460Z] f757da607395: Download complete [2022-02-18T15:58:15.460Z] 8603b9c90790: Download complete [2022-02-18T15:58:15.460Z] 1560dd03e051: Verifying Checksum [2022-02-18T15:58:15.460Z] 1560dd03e051: Download complete [2022-02-18T15:58:15.460Z] 27f5ce0e4adf: Verifying Checksum [2022-02-18T15:58:15.460Z] 27f5ce0e4adf: Download complete [2022-02-18T15:58:15.732Z] 05883995daec: Download complete [2022-02-18T15:58:16.006Z] 448f6bf000e3: Verifying Checksum [2022-02-18T15:58:16.006Z] 448f6bf000e3: Download complete [2022-02-18T15:58:18.629Z] c2d8d7efcc4b: Verifying Checksum [2022-02-18T15:58:18.629Z] c2d8d7efcc4b: Download complete [2022-02-18T15:58:19.607Z] 448f6bf000e3: Pull complete [2022-02-18T15:58:20.205Z] f757da607395: Pull complete [2022-02-18T15:58:21.637Z] 05883995daec: Pull complete [2022-02-18T15:58:21.908Z] 8603b9c90790: Pull complete [2022-02-18T15:58:22.882Z] 1560dd03e051: Pull complete [2022-02-18T15:58:22.882Z] 27f5ce0e4adf: Pull complete [2022-02-18T15:58:37.951Z] c2d8d7efcc4b: Pull complete [2022-02-18T15:58:37.951Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-18T15:58:37.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:58:37.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-18T15:58:38.172Z] prd-ubuntu18.04-docker-arm64-4c-16g-5646 does not seem to be running inside a container [2022-02-18T15:58:38.262Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-18T15:58:40.708Z] $ docker top 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:41.562Z] ---> job-cost.sh [2022-02-18T15:58:41.562Z] lf-activate-venv: SKIPPING [2022-02-18T15:58:41.562Z] INFO: No Stack... [2022-02-18T15:58:41.832Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-18T15:58:42.103Z] INFO: Archiving Costs [Pipeline] sh [2022-02-18T15:58:42.793Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2022-02-18T15:58:42.794Z] + cut -d, -f6 [Pipeline] lock [2022-02-18T15:58:42.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [2022-02-18T15:58:42.870Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] did not exist. Created. [2022-02-18T15:58:42.870Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-18T15:58:43.600Z] /w/workspace/device-sdk-c/2@tmp/durable-67cdc678/script.sh: 1: /w/workspace/device-sdk-c/2@tmp/durable-67cdc678/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-18T15:58:44.313Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-18T15:58:44.334Z] Warning: overwriting stash ‘stack-cost’ [2022-02-18T15:58:44.950Z] Stashed 1 file(s) [Pipeline] } [2022-02-18T15:58:44.961Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-18T15:58:44.993Z] $ docker stop --time=1 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 [2022-02-18T15:58:46.508Z] $ docker rm -f 336d074106c27d7eddc2dfd39a2b5a37d605aacd934673747ea23117bcb27f37 [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-18T15:58:47.390Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives ']' [2022-02-18T15:58:47.390Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:58:47.390Z] total 8 [2022-02-18T15:58:47.390Z] drwxr-xr-x. 3 root root 34 Feb 18 15:54 . [2022-02-18T15:58:47.390Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:54 .. [2022-02-18T15:58:47.390Z] drwxr-xr-x. 2 root root 6 Feb 18 15:54 cost [2022-02-18T15:58:47.390Z] -rw-r--r--. 1 root root 83 Feb 18 15:54 cost.csv [2022-02-18T15:58:47.390Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:58:47.390Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:58:47.390Z] total 8 [2022-02-18T15:58:47.390Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 15:54 . [2022-02-18T15:58:47.390Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:54 .. [2022-02-18T15:58:47.390Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 15:54 cost [2022-02-18T15:58:47.390Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 18 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:47.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:48.267Z] ---> package-listing.sh [2022-02-18T15:58:48.267Z] ++ facter osfamily [2022-02-18T15:58:48.267Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-18T15:58:48.536Z] + OS_FAMILY=redhat [2022-02-18T15:58:48.536Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-401 [2022-02-18T15:58:48.536Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-18T15:58:48.536Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-18T15:58:48.536Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-18T15:58:48.536Z] + PACKAGES=/tmp/packages_start.txt [2022-02-18T15:58:48.536Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' [2022-02-18T15:58:48.536Z] + PACKAGES=/tmp/packages_end.txt [2022-02-18T15:58:48.536Z] + case "${OS_FAMILY}" in [2022-02-18T15:58:48.536Z] + rpm -qa [2022-02-18T15:58:48.536Z] + sort [2022-02-18T15:58:49.120Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-18T15:58:49.120Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-18T15:58:49.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-18T15:58:49.120Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' [2022-02-18T15:58:49.120Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ [2022-02-18T15:58:49.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ [Pipeline] echo [2022-02-18T15:58:49.133Z] 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_PR-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-18T15:58:49.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:58:49.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:58:49.974Z] . [Pipeline] withDockerContainer [2022-02-18T15:58:50.056Z] prd-centos7-docker-4c-2g-5645 does not seem to be running inside a container [2022-02-18T15:58:50.088Z] $ 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_PR-401/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_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-18T15:58:50.316Z] $ docker top cdbe1f12623fc65434770cee91160557b66f688482a043db8fb992c30b2dbe6e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:58:50.668Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-18T15:58:50.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-18T15:58:51.250Z] + ls /var/log/sa-host [2022-02-18T15:58:51.250Z] + sadf -c /var/log/sa-host/sa17 [2022-02-18T15:58:51.250Z] file_magic: OK [2022-02-18T15:58:51.250Z] HZ: Using current value: 100 [2022-02-18T15:58:51.250Z] file_header: OK [2022-02-18T15:58:51.250Z] 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 [2022-02-18T15:58:51.250Z] Statistics: [2022-02-18T15:58:51.250Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-18T15:58:51.250Z] File successfully converted to sysstat format version 12.0.3 [2022-02-18T15:58:51.250Z] + sadf -c /var/log/sa-host/sa18 [2022-02-18T15:58:51.250Z] file_magic: OK [2022-02-18T15:58:51.250Z] HZ: Using current value: 100 [2022-02-18T15:58:51.250Z] file_header: OK [2022-02-18T15:58:51.250Z] 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 [2022-02-18T15:58:51.250Z] Statistics: [2022-02-18T15:58:51.250Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-18T15:58:51.250Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:58:51.457Z] provisioning config files... [2022-02-18T15:58:51.468Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config4690414539672851834tmp [Pipeline] { [Pipeline] echo [2022-02-18T15:58:51.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:51.770Z] ---> create-netrc.sh [Pipeline] } [2022-02-18T15:58:51.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:52.118Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-18T15:58:52.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:52.424Z] ---> sudo-logs.sh [2022-02-18T15:58:52.424Z] Archiving 'sudo' log.. [2022-02-18T15:58:52.424Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5645.novalocal: Name or service not known [2022-02-18T15:58:52.424Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5645.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-18T15:58:52.449Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:52.740Z] ---> job-cost.sh [2022-02-18T15:58:52.740Z] lf-activate-venv: SKIPPING [2022-02-18T15:58:52.740Z] DEBUG: total: 0.05999999865889549 [2022-02-18T15:58:52.740Z] INFO: Retrieving Stack Cost... [2022-02-18T15:58:53.001Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-18T15:58:53.261Z] INFO: Archiving Costs [Pipeline] echo [2022-02-18T15:58:53.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:58:53.571Z] ---> logs-deploy.sh [2022-02-18T15:58:53.571Z] lf-activate-venv: SKIPPING [2022-02-18T15:58:53.571Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-401/2 [2022-02-18T15:58:53.571Z] INFO: archiving workspace using pattern(s): [2022-02-18T15:58:54.146Z] Archives upload complete. [2022-02-18T15:58:54.406Z] INFO: archiving logs to Nexus