Pull request #406 opened 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 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a+9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (3ba8161bed8f01ed519d9c2ec82f52c0ad9eeb69) 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-ssh7512507306742487572.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12649088562429740395.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-406/workspace@libs/edgex-global-pipelines # timeout=10 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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15631465760596306183.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10186519641002020686.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14640826790091811337.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-406/workspace@libs/lf-pipelines # timeout=10 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-406/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4363221601993638627.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9252 in /w/workspace/edgexfoundry_device-sdk-c_PR-406 [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-406 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 into PR head commit 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a Merge succeeded, producing 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a Checking out Revision 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a (PR-406) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 Commit message: "feat: add CORS support (#389)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T13:43:58.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T13:43:58.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T13:43:59.061Z] ========================================================= [2022-03-28T13:43:59.061Z] EdgeX Global Pipelines Version Info [2022-03-28T13:43:59.061Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:43:59.953Z] ------------------- [2022-03-28T13:43:59.953Z] stable info: [2022-03-28T13:43:59.953Z] ------------------- [2022-03-28T13:43:59.953Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T13:43:59.953Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T13:43:59.953Z] Message: update stable to v1.0.221 [2022-03-28T13:44:00.529Z] ------------------- [2022-03-28T13:44:00.529Z] experimental info: [2022-03-28T13:44:00.529Z] ------------------- [2022-03-28T13:44:00.529Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T13:44:00.529Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T13:44:00.529Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T13:44:00.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-28T13:44:00.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-28T13:44:00.901Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T13:44:00.936Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T13:44:00.973Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T13:44:01.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-28T13:44:01.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-28T13:44:01.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T13:44:01.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T13:44:01.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-28T13:44:01.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T13:44:01.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T13:44:01.312Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T13:44:01.350Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T13:44:01.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T13:44:01.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T13:44:01.464Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T13:44:01.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo [2022-03-28T13:44:01.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo [2022-03-28T13:44:01.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo [2022-03-28T13:44:01.647Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo [2022-03-28T13:44:01.683Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53254fb [Pipeline] echo [2022-03-28T13:44:01.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T13:44:01.821Z] provisioning config files... [2022-03-28T13:44:01.837Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config4802721544212897055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:44:02.181Z] ---> docker-login.sh [2022-03-28T13:44:02.181Z] nexus3.edgexfoundry.org:10001 [2022-03-28T13:44:02.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:02.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:02.443Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:02.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:02.443Z] [2022-03-28T13:44:02.443Z] Login Succeeded [2022-03-28T13:44:02.443Z] nexus3.edgexfoundry.org:10002 [2022-03-28T13:44:02.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:02.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:02.706Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:02.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:02.706Z] [2022-03-28T13:44:02.706Z] Login Succeeded [2022-03-28T13:44:02.706Z] nexus3.edgexfoundry.org:10003 [2022-03-28T13:44:02.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:02.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:02.969Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:02.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:02.969Z] [2022-03-28T13:44:02.969Z] Login Succeeded [2022-03-28T13:44:02.969Z] nexus3.edgexfoundry.org:10004 [2022-03-28T13:44:02.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:02.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:02.969Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:02.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:02.969Z] [2022-03-28T13:44:02.969Z] Login Succeeded [2022-03-28T13:44:02.969Z] docker.io [2022-03-28T13:44:02.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:03.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:03.552Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:03.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:03.552Z] [2022-03-28T13:44:03.552Z] Login Succeeded [2022-03-28T13:44:03.552Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T13:44:03.576Z] 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-03-28T13:44:04.158Z] + git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo [2022-03-28T13:44:04.209Z] -----------> git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [false] [Pipeline] sh [2022-03-28T13:44:04.524Z] + git log --format=format:%s -1 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo [2022-03-28T13:44:04.560Z] ========================================================= [2022-03-28T13:44:04.560Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T13:44:04.560Z] ========================================================= 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-03-28T13:44:05.331Z] + git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo [2022-03-28T13:44:05.361Z] -----------> git rev-list -1 --merges 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a~1..53254fbad6a5a3f95ae33ef4fcb9a02831f4392a 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [false] [Pipeline] sh [2022-03-28T13:44:05.673Z] + git log --format=format:%s -1 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [Pipeline] echo [2022-03-28T13:44:05.712Z] ========================================================= [2022-03-28T13:44:05.712Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T13:44:05.712Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-28T13:44:06.332Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T13:44:06.332Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T13:44:06.332Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T13:44:06.332Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T13:44:06.332Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T13:44:06.332Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T13:44:06.332Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:44:06.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T13:44:06.792Z] [2022-03-28T13:44:06.792Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:44:07.135Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T13:44:07.135Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T13:44:07.135Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T13:44:07.135Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T13:44:07.135Z] 4c7163046ea9: Pulling fs layer [2022-03-28T13:44:07.135Z] 0c2d73faf560: Pulling fs layer [2022-03-28T13:44:07.135Z] 0c2d73faf560: Waiting [2022-03-28T13:44:07.135Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T13:44:07.135Z] 3e5f54012d9b: Download complete [2022-03-28T13:44:07.135Z] a0d0a0d46f8b: Download complete [2022-03-28T13:44:07.135Z] 0c2d73faf560: Download complete [2022-03-28T13:44:07.135Z] 4c7163046ea9: Download complete [2022-03-28T13:44:07.397Z] a0d0a0d46f8b: Pull complete [2022-03-28T13:44:07.397Z] 3e5f54012d9b: Pull complete [2022-03-28T13:44:07.971Z] 4c7163046ea9: Pull complete [2022-03-28T13:44:07.971Z] 0c2d73faf560: Pull complete [2022-03-28T13:44:07.971Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T13:44:07.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T13:44:07.971Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T13:44:08.073Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2022-03-28T13:44:08.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T13:44:08.858Z] $ docker top 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T13:44:09.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T13:44:09.065Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T13:44:09.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T13:44:09.196Z] $ docker exec 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent [2022-03-28T13:44:09.315Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDcaBfb/agent.13 [2022-03-28T13:44:09.315Z] SSH_AGENT_PID=19 [2022-03-28T13:44:09.323Z] Running ssh-add (command line suppressed) [2022-03-28T13:44:09.441Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_4364481265390701593.key (/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_4364481265390701593.key) [2022-03-28T13:44:09.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T13:44:09.786Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T13:44:09.819Z] $ docker exec --env ******** --env ******** 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent -k [2022-03-28T13:44:09.932Z] unset SSH_AUTH_SOCK; [2022-03-28T13:44:09.932Z] unset SSH_AGENT_PID; [2022-03-28T13:44:09.932Z] echo Agent pid 19 killed; [2022-03-28T13:44:09.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T13:44:10.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T13:44:10.026Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T13:44:10.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T13:44:10.163Z] $ docker exec 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent [2022-03-28T13:44:10.275Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNoefIp/agent.53 [2022-03-28T13:44:10.275Z] SSH_AGENT_PID=59 [2022-03-28T13:44:10.280Z] Running ssh-add (command line suppressed) [2022-03-28T13:44:10.395Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_7146479454543962834.key (/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/private_key_7146479454543962834.key) [2022-03-28T13:44:10.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T13:44:10.760Z] + git semver init [2022-03-28T13:44:10.760Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T13:44:10.760Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-406/.git [2022-03-28T13:44:10.760Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-406 [2022-03-28T13:44:10.760Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T13:44:10.760Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T13:44:10.760Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T13:44:10.760Z] # $SEMVER_BRANCH = PR-406 [2022-03-28T13:44:10.760Z] # $SEMVER_TEMP = /tmp/semver-917538055 [2022-03-28T13:44:10.760Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-28T13:44:11.703Z] # '/tmp/semver-917538055' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-406/.semver' [2022-03-28T13:44:11.703Z] # -> Force: false [2022-03-28T13:44:11.703Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-406/.semver [Pipeline] } [2022-03-28T13:44:11.738Z] $ docker exec --env ******** --env ******** 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 ssh-agent -k [2022-03-28T13:44:11.873Z] unset SSH_AUTH_SOCK; [2022-03-28T13:44:11.874Z] unset SSH_AGENT_PID; [2022-03-28T13:44:11.874Z] echo Agent pid 59 killed; [2022-03-28T13:44:11.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T13:44:12.431Z] + git semver [Pipeline] } [2022-03-28T13:44:12.468Z] $ docker stop --time=1 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 [2022-03-28T13:44:13.823Z] $ docker rm -f 74f79c8129764a248d5386d1644df40b62918119b3fc04027e0fe7c9693bdfe3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T13:44:14.243Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T13:44:14.583Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T13:44:14.601Z] [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-03-28T13:44:15.136Z] provisioning config files... [2022-03-28T13:44:15.168Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config126387006594299520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:44:15.519Z] ---> docker-login.sh [2022-03-28T13:44:15.519Z] nexus3.edgexfoundry.org:10001 [2022-03-28T13:44:15.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:15.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:15.519Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:15.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:15.519Z] [2022-03-28T13:44:15.519Z] Login Succeeded [2022-03-28T13:44:15.519Z] nexus3.edgexfoundry.org:10002 [2022-03-28T13:44:15.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:15.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:15.781Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:15.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:15.781Z] [2022-03-28T13:44:15.781Z] Login Succeeded [2022-03-28T13:44:15.781Z] nexus3.edgexfoundry.org:10003 [2022-03-28T13:44:15.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:15.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:15.781Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:15.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:15.781Z] [2022-03-28T13:44:15.781Z] Login Succeeded [2022-03-28T13:44:15.781Z] nexus3.edgexfoundry.org:10004 [2022-03-28T13:44:15.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:16.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:16.044Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:16.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:16.044Z] [2022-03-28T13:44:16.044Z] Login Succeeded [2022-03-28T13:44:16.044Z] docker.io [2022-03-28T13:44:16.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:44:16.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:44:16.306Z] Configure a credential helper to remove this warning. See [2022-03-28T13:44:16.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:44:16.306Z] [2022-03-28T13:44:16.306Z] Login Succeeded [2022-03-28T13:44:16.306Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T13:44:16.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T13:44:16.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T13:44:16.556Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-28T13:44:16.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T13:44:16.623Z] ========================================================= [2022-03-28T13:44:16.623Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-28T13:44:16.623Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:44:16.983Z] + 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-03-28T13:44:16.983Z] Sending build context to Docker daemon 4.566MB [2022-03-28T13:44:16.983Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-28T13:44:16.983Z] Step 2/22 : FROM ${BASE} as builder [2022-03-28T13:44:16.983Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-28T13:44:16.983Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T13:44:16.983Z] c743a93c8381: Pulling fs layer [2022-03-28T13:44:16.983Z] a2ad9f71ba65: Pulling fs layer [2022-03-28T13:44:17.246Z] c743a93c8381: Verifying Checksum [2022-03-28T13:44:17.246Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T13:44:17.246Z] 59bf1c3509f3: Download complete [2022-03-28T13:44:17.246Z] 59bf1c3509f3: Pull complete [2022-03-28T13:44:17.511Z] c743a93c8381: Pull complete [2022-03-28T13:44:17.772Z] a2ad9f71ba65: Verifying Checksum [2022-03-28T13:44:17.772Z] a2ad9f71ba65: Download complete [2022-03-28T13:44:21.079Z] a2ad9f71ba65: Pull complete [2022-03-28T13:44:21.079Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-28T13:44:21.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-28T13:44:21.079Z] ---> c9e13ccc37c5 [2022-03-28T13:44:21.079Z] 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-03-28T13:44:21.653Z] ---> Running in 99a814385bcb [2022-03-28T13:44:21.914Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-28T13:44:22.486Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:44:22.486Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:44:22.486Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:44:22.747Z] Removing intermediate container 99a814385bcb [2022-03-28T13:44:22.747Z] ---> 698e807f7cc6 [2022-03-28T13:44:22.747Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:44:22.747Z] ---> Running in 2b69b3d84a74 [2022-03-28T13:44:23.318Z] Removing intermediate container 2b69b3d84a74 [2022-03-28T13:44:23.318Z] ---> 04a99ed649d5 [2022-03-28T13:44:23.318Z] 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-03-28T13:44:23.318Z] ---> Running in 0881fee825d3 [2022-03-28T13:44:23.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:24.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:24.723Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:25.298Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:44:25.298Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-28T13:44:25.298Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-28T13:44:25.561Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-28T13:44:25.561Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-28T13:44:25.561Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-28T13:44:25.821Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-28T13:44:26.394Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-28T13:44:26.655Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-28T13:44:26.655Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-28T13:44:26.655Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-28T13:44:26.917Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-28T13:44:26.917Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-28T13:44:26.917Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-28T13:44:27.179Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-28T13:44:27.440Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-28T13:44:27.440Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-28T13:44:27.440Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-28T13:44:27.701Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-28T13:44:27.701Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-28T13:44:27.701Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-28T13:44:27.962Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-28T13:44:27.962Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-28T13:44:27.962Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-28T13:44:28.223Z] (24/31) Installing flock (2.37.4-r0) [2022-03-28T13:44:28.223Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-28T13:44:28.223Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-28T13:44:28.484Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-28T13:44:28.484Z] (28/31) Installing logger (2.37.4-r0) [2022-03-28T13:44:28.484Z] (29/31) Installing partx (2.37.4-r0) [2022-03-28T13:44:28.744Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-28T13:44:28.744Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-28T13:44:28.744Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:44:28.744Z] OK: 293 MiB in 108 packages [2022-03-28T13:44:29.692Z] Removing intermediate container 0881fee825d3 [2022-03-28T13:44:29.692Z] ---> bccc848cb357 [2022-03-28T13:44:29.692Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-28T13:44:29.692Z] ---> Running in f468f63adfee [2022-03-28T13:44:29.965Z] Still waiting to schedule task [2022-03-28T13:44:29.966Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-28T13:44:30.263Z] Removing intermediate container f468f63adfee [2022-03-28T13:44:30.263Z] ---> 64312bba34e2 [2022-03-28T13:44:30.263Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-28T13:44:30.263Z] ---> 82a07228026a [2022-03-28T13:44:30.263Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-28T13:44:30.524Z] ---> 8f32ae0d4333 [2022-03-28T13:44:30.524Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-28T13:44:30.786Z] ---> b80f9054fa8e [2022-03-28T13:44:30.786Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-28T13:44:31.046Z] ---> 3ce18a7a3b77 [2022-03-28T13:44:31.046Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-28T13:44:31.046Z] ---> a0824b45c25b [2022-03-28T13:44:31.046Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-28T13:44:31.307Z] ---> 49c0d13cefe7 [2022-03-28T13:44:31.307Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-28T13:44:31.307Z] ---> Running in 1d4cf6221ee7 [2022-03-28T13:44:31.567Z] + CPPCHECK=false [2022-03-28T13:44:31.567Z] + DOCGEN=false [2022-03-28T13:44:31.567Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-28T13:44:31.567Z] + TOMLVER=SDK-0.2 [2022-03-28T13:44:31.567Z] + CUTILVER=1.2.2 [2022-03-28T13:44:31.567Z] + '[' 0 -gt 0 ] [2022-03-28T13:44:31.567Z] + readlink -f ./scripts/build.sh [2022-03-28T13:44:31.567Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-28T13:44:31.567Z] + dirname /tmp/sdk/scripts [2022-03-28T13:44:31.567Z] + ROOT=/tmp/sdk [2022-03-28T13:44:31.567Z] + cd /tmp/sdk [2022-03-28T13:44:31.567Z] + '[' '!' -d deps ] [2022-03-28T13:44:31.568Z] + mkdir deps [2022-03-28T13:44:31.568Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-28T13:44:31.568Z] + tar -C deps -z -x -f - [2022-03-28T13:44:31.568Z] Connecting to github.com (140.82.113.3:443) [2022-03-28T13:44:31.828Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-28T13:44:32.089Z] writing to stdout [2022-03-28T13:44:32.089Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-28T13:44:32.089Z] written to stdout [2022-03-28T13:44:32.089Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-28T13:44:32.089Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-28T13:44:32.089Z] + tar -C deps -z -x -f - [2022-03-28T13:44:32.089Z] Connecting to github.com (140.82.113.3:443) [2022-03-28T13:44:32.089Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-28T13:44:32.349Z] writing to stdout [2022-03-28T13:44:32.349Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-28T13:44:32.349Z] written to stdout [2022-03-28T13:44:32.610Z] + mkdir -p src/c/iot [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-28T13:44:32.610Z] + mkdir -p include/iot [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-03-28T13:44:32.610Z] + mkdir -p include/iot/os [2022-03-28T13:44:32.610Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-28T13:44:32.610Z] + mkdir -p /tmp/sdk/build/release [2022-03-28T13:44:32.610Z] + cd /tmp/sdk/build/release [2022-03-28T13:44:32.610Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-28T13:44:32.610Z] -- The C compiler identification is GNU 10.3.1 [2022-03-28T13:44:32.610Z] -- Detecting C compiler ABI info [2022-03-28T13:44:32.610Z] -- Detecting C compiler ABI info - done [2022-03-28T13:44:32.610Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-28T13:44:32.610Z] -- Detecting C compile features [2022-03-28T13:44:32.610Z] -- Detecting C compile features - done [2022-03-28T13:44:32.610Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-28T13:44:32.870Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-28T13:44:32.870Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-28T13:44:32.870Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-28T13:44:32.870Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-28T13:44:32.870Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-28T13:44:32.870Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-28T13:44:32.870Z] -- C SDK 0.0.0 for Linux [2022-03-28T13:44:32.870Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-28T13:44:32.870Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-28T13:44:32.870Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-28T13:44:32.870Z] -- Configuring done [2022-03-28T13:44:32.870Z] -- Generating done [2022-03-28T13:44:32.871Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-28T13:44:32.871Z] + make all package [2022-03-28T13:44:32.871Z] + tee release.log [2022-03-28T13:44:32.871Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-28T13:44:33.130Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-28T13:44:33.130Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-28T13:44:33.700Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-28T13:44:33.700Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-28T13:44:33.700Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-28T13:44:33.961Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-28T13:44:33.961Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-28T13:44:34.222Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-28T13:44:34.483Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-28T13:44:34.743Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-28T13:44:34.743Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-28T13:44:35.005Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-28T13:44:35.005Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-28T13:44:35.266Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-28T13:44:35.266Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-28T13:44:35.266Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-28T13:44:35.838Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-28T13:44:35.838Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-28T13:44:36.099Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-28T13:44:36.099Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-28T13:44:36.099Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-28T13:44:36.372Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-28T13:44:36.372Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-28T13:44:36.372Z] 275 | const iot_component_factory_t * factory; [2022-03-28T13:44:36.372Z] | ^~~~~~~ [2022-03-28T13:44:36.372Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-28T13:44:37.318Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-28T13:44:37.318Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-28T13:44:37.318Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-28T13:44:37.318Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-28T13:44:37.580Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-28T13:44:37.580Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-28T13:44:37.844Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-28T13:44:37.844Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-28T13:44:38.106Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-28T13:44:38.106Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-28T13:44:38.367Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-28T13:44:38.627Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-28T13:44:38.627Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-28T13:44:38.904Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-28T13:44:38.904Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-28T13:44:39.977Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-28T13:44:39.977Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-28T13:44:39.977Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-28T13:44:40.239Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-28T13:44:40.239Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-28T13:44:40.239Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:40.239Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-28T13:44:40.239Z] | ^~~~~~~~~~~~~ [2022-03-28T13:44:40.239Z] | | [2022-03-28T13:44:40.239Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-28T13:44:40.239Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:40.239Z] /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-03-28T13:44:40.239Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-28T13:44:40.239Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-28T13:44:40.239Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-28T13:44:40.239Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:40.239Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-28T13:44:40.239Z] | ^~~~~~~~~~~~ [2022-03-28T13:44:40.239Z] | | [2022-03-28T13:44:40.239Z] | 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-03-28T13:44:40.239Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:40.239Z] /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-03-28T13:44:40.239Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:44:40.239Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:44:40.239Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:40.239Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-28T13:44:40.239Z] | ^~~~~~~~~~~~ [2022-03-28T13:44:40.239Z] | | [2022-03-28T13:44:40.239Z] | 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-03-28T13:44:40.239Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:40.239Z] /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-03-28T13:44:40.239Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:44:40.239Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:44:40.502Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-28T13:44:40.764Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-28T13:44:40.764Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-28T13:44:41.026Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-28T13:44:41.026Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-28T13:44:41.599Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-28T13:44:42.173Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-28T13:44:42.434Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-28T13:44:42.434Z] [ 76%] Linking C shared library libcsdk.so [2022-03-28T13:44:42.695Z] [ 76%] Built target csdk [2022-03-28T13:44:42.695Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-28T13:44:42.695Z] [ 79%] Linking C executable template [2022-03-28T13:44:42.695Z] [ 79%] Built target template [2022-03-28T13:44:42.956Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-28T13:44:42.956Z] [ 82%] Linking C executable device-counter [2022-03-28T13:44:42.956Z] [ 82%] Built target device-counter [2022-03-28T13:44:42.956Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-28T13:44:43.219Z] [ 85%] Linking C executable device-random [2022-03-28T13:44:43.219Z] [ 85%] Built target device-random [2022-03-28T13:44:43.219Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-28T13:44:43.219Z] [ 88%] Linking C executable device-gyro [2022-03-28T13:44:43.481Z] [ 88%] Built target device-gyro [2022-03-28T13:44:43.481Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-28T13:44:43.481Z] [ 91%] Linking C executable device-bitfields [2022-03-28T13:44:43.481Z] [ 91%] Built target device-bitfields [2022-03-28T13:44:43.481Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-28T13:44:43.744Z] [ 94%] Linking C executable template-discovery [2022-03-28T13:44:43.744Z] [ 94%] Built target template-discovery [2022-03-28T13:44:43.744Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-28T13:44:44.009Z] [ 97%] Linking C executable device-file [2022-03-28T13:44:44.009Z] [ 97%] Built target device-file [2022-03-28T13:44:44.009Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-28T13:44:44.271Z] [100%] Linking C executable device-terminal [2022-03-28T13:44:44.271Z] [100%] Built target device-terminal [2022-03-28T13:44:44.271Z] Run CPack packaging tool... [2022-03-28T13:44:44.271Z] CPack: Create package using TGZ [2022-03-28T13:44:44.271Z] CPack: Install projects [2022-03-28T13:44:44.271Z] CPack: - Run preinstall target for: Csdk [2022-03-28T13:44:44.533Z] CPack: - Install project: Csdk [] [2022-03-28T13:44:44.533Z] CPack: Create package [2022-03-28T13:44:44.533Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-28T13:44:44.533Z] + '[' false '=' true ] [2022-03-28T13:44:44.533Z] + '[' false '=' true ] [2022-03-28T13:44:44.533Z] + mkdir -p /tmp/sdk/build/debug [2022-03-28T13:44:44.533Z] + cd /tmp/sdk/build/debug [2022-03-28T13:44:44.533Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-28T13:44:44.533Z] -- The C compiler identification is GNU 10.3.1 [2022-03-28T13:44:44.793Z] -- Detecting C compiler ABI info [2022-03-28T13:44:44.793Z] -- Detecting C compiler ABI info - done [2022-03-28T13:44:44.793Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-28T13:44:44.793Z] -- Detecting C compile features [2022-03-28T13:44:44.793Z] -- Detecting C compile features - done [2022-03-28T13:44:44.793Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-28T13:44:44.793Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-28T13:44:44.793Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-28T13:44:44.793Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-28T13:44:44.793Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-28T13:44:44.793Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-28T13:44:44.793Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-28T13:44:44.793Z] -- C SDK 0.0.0 for Linux [2022-03-28T13:44:44.793Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-28T13:44:45.056Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-28T13:44:45.056Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-28T13:44:45.056Z] -- Configuring done [2022-03-28T13:44:45.056Z] -- Generating done [2022-03-28T13:44:45.056Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-28T13:44:45.056Z] + make [2022-03-28T13:44:45.056Z] + tee debug.log [2022-03-28T13:44:45.056Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-28T13:44:45.056Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-28T13:44:45.316Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-28T13:44:45.316Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-28T13:44:45.580Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-28T13:44:45.580Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-28T13:44:45.580Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-28T13:44:45.580Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-28T13:44:45.841Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-28T13:44:45.841Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-28T13:44:45.841Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-28T13:44:46.102Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-28T13:44:46.102Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-28T13:44:46.102Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-28T13:44:46.363Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-28T13:44:46.363Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-28T13:44:46.363Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-28T13:44:46.625Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-28T13:44:46.625Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-28T13:44:46.625Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-28T13:44:46.625Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-28T13:44:46.885Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-28T13:44:46.885Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-28T13:44:46.885Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-28T13:44:46.885Z] 275 | const iot_component_factory_t * factory; [2022-03-28T13:44:46.885Z] | ^~~~~~~ [2022-03-28T13:44:46.885Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-28T13:44:47.147Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-28T13:44:47.147Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-28T13:44:47.147Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-28T13:44:47.147Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-28T13:44:47.407Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-28T13:44:47.407Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-28T13:44:47.407Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-28T13:44:47.407Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-28T13:44:47.667Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-28T13:44:47.668Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-28T13:44:47.668Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-28T13:44:47.668Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-28T13:44:47.935Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-28T13:44:47.935Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-28T13:44:47.935Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-28T13:44:48.209Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-28T13:44:48.209Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-28T13:44:48.470Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-28T13:44:48.470Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-28T13:44:48.470Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-28T13:44:48.470Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:48.470Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-28T13:44:48.470Z] | ^~~~~~~~~~~~~ [2022-03-28T13:44:48.471Z] | | [2022-03-28T13:44:48.471Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-28T13:44:48.471Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:48.471Z] /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-03-28T13:44:48.471Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-28T13:44:48.471Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-28T13:44:48.471Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-28T13:44:48.471Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:48.471Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-28T13:44:48.471Z] | ^~~~~~~~~~~~ [2022-03-28T13:44:48.471Z] | | [2022-03-28T13:44:48.471Z] | 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-03-28T13:44:48.471Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:48.471Z] /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-03-28T13:44:48.471Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:44:48.471Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:44:48.471Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:44:48.471Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-28T13:44:48.471Z] | ^~~~~~~~~~~~ [2022-03-28T13:44:48.471Z] | | [2022-03-28T13:44:48.471Z] | 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-03-28T13:44:48.471Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:44:48.471Z] /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-03-28T13:44:48.471Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:44:48.471Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:44:48.471Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-28T13:44:48.736Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-28T13:44:48.736Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-28T13:44:48.997Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-28T13:44:48.997Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-28T13:44:48.997Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-28T13:44:49.257Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-28T13:44:49.257Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-28T13:44:49.517Z] [ 76%] Linking C shared library libcsdk.so [2022-03-28T13:44:49.517Z] [ 76%] Built target csdk [2022-03-28T13:44:49.517Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-28T13:44:49.517Z] [ 79%] Linking C executable template [2022-03-28T13:44:49.517Z] [ 79%] Built target template [2022-03-28T13:44:49.778Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-28T13:44:49.778Z] [ 82%] Linking C executable device-counter [2022-03-28T13:44:49.778Z] [ 82%] Built target device-counter [2022-03-28T13:44:49.778Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-28T13:44:49.778Z] [ 85%] Linking C executable device-random [2022-03-28T13:44:50.040Z] [ 85%] Built target device-random [2022-03-28T13:44:50.040Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-28T13:44:50.040Z] [ 88%] Linking C executable device-gyro [2022-03-28T13:44:50.040Z] [ 88%] Built target device-gyro [2022-03-28T13:44:50.040Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-28T13:44:50.300Z] [ 91%] Linking C executable device-bitfields [2022-03-28T13:44:50.300Z] [ 91%] Built target device-bitfields [2022-03-28T13:44:50.300Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-28T13:44:50.300Z] [ 94%] Linking C executable template-discovery [2022-03-28T13:44:50.300Z] [ 94%] Built target template-discovery [2022-03-28T13:44:50.300Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-28T13:44:50.561Z] [ 97%] Linking C executable device-file [2022-03-28T13:44:50.561Z] [ 97%] Built target device-file [2022-03-28T13:44:50.561Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-28T13:44:50.561Z] [100%] Linking C executable device-terminal [2022-03-28T13:44:50.823Z] [100%] Built target device-terminal [2022-03-28T13:44:50.823Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 76%] Built target csdk [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 79%] Built target template [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 82%] Built target device-counter [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 85%] Built target device-random [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 88%] Built target device-gyro [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 91%] Built target device-bitfields [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] [ 94%] Built target template-discovery [2022-03-28T13:44:50.823Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:50.823Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:51.142Z] [ 97%] Built target device-file [2022-03-28T13:44:51.142Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:44:51.142Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:51.142Z] [100%] Built target device-terminal [2022-03-28T13:44:51.142Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:51.142Z] Install the project... [2022-03-28T13:44:51.142Z] -- Install configuration: "Release" [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/devsdk [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/config.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/os.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/container.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/component.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/os [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/time.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/data.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/include/iot/json.h [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-28T13:44:51.142Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-28T13:44:51.142Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:44:51.714Z] Removing intermediate container 1d4cf6221ee7 [2022-03-28T13:44:51.714Z] ---> 72baa199c2e8 [2022-03-28T13:44:51.714Z] Step 14/22 : FROM ${BASE} [2022-03-28T13:44:51.714Z] ---> c9e13ccc37c5 [2022-03-28T13:44:51.714Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-28T13:44:51.714Z] ---> Running in 2f1fbd798a8b [2022-03-28T13:44:51.974Z] Removing intermediate container 2f1fbd798a8b [2022-03-28T13:44:51.974Z] ---> de1236bac280 [2022-03-28T13:44:51.974Z] 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-03-28T13:44:51.974Z] ---> Running in d862b58f4463 [2022-03-28T13:44:52.235Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-28T13:44:52.811Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:44:52.811Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:44:52.811Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:44:53.073Z] Removing intermediate container d862b58f4463 [2022-03-28T13:44:53.073Z] ---> 14fdee49da1b [2022-03-28T13:44:53.073Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:44:53.073Z] ---> Running in 0cff0b67afc4 [2022-03-28T13:44:53.645Z] Removing intermediate container 0cff0b67afc4 [2022-03-28T13:44:53.645Z] ---> 16ad18ebc4ae [2022-03-28T13:44:53.645Z] 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-03-28T13:44:53.645Z] ---> Running in e6006464ed2a [2022-03-28T13:44:53.906Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:54.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:54.853Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:44:55.426Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:44:55.426Z] (1/6) Installing curl (7.80.0-r0) [2022-03-28T13:44:55.426Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-28T13:44:55.688Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-28T13:44:55.688Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-28T13:44:55.688Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-28T13:44:55.953Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-28T13:44:56.525Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:44:56.525Z] OK: 283 MiB in 83 packages [2022-03-28T13:44:57.096Z] Removing intermediate container e6006464ed2a [2022-03-28T13:44:57.096Z] ---> 0c52ee7ed1f5 [2022-03-28T13:44:57.096Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-28T13:44:57.096Z] ---> 090b6d3425cb [2022-03-28T13:44:57.096Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-28T13:44:57.357Z] ---> 43e2278f4581 [2022-03-28T13:44:57.357Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-28T13:44:57.618Z] ---> 6b802faf359f [2022-03-28T13:44:57.618Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-28T13:44:57.879Z] ---> a15a5adb3d58 [2022-03-28T13:44:57.879Z] Successfully built a15a5adb3d58 [2022-03-28T13:44:57.879Z] 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-03-28T13:44:58.454Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T13:44:58.454Z] . [Pipeline] withDockerContainer [2022-03-28T13:44:58.549Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2022-03-28T13:44:58.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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 ******** ci-base-image-x86_64 cat [2022-03-28T13:44:59.006Z] $ docker top e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T13:44:59.409Z] + make test [2022-03-28T13:44:59.409Z] echo "make test" [2022-03-28T13:44:59.409Z] make test [Pipeline] } [2022-03-28T13:44:59.448Z] $ docker stop --time=1 e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b [2022-03-28T13:45:00.736Z] $ docker rm -f e34969bb8fc86e1378ae16e87a75159bdb416b38eb76374fc59de1b6e410d49b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T13:45:02.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T13:45:02.470Z] + ls -al . [2022-03-28T13:45:02.470Z] total 208 [2022-03-28T13:45:02.470Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 13:44 . [2022-03-28T13:45:02.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 .. [2022-03-28T13:45:02.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:43 .git [2022-03-28T13:45:02.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 13:43 .github [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 13:43 .gitignore [2022-03-28T13:45:02.470Z] drwx------ 3 jenkins jenkins 4096 Mar 28 13:44 .semver [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 28 13:43 Attribution.txt [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 8321 Mar 28 13:43 CHANGES [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 13:43 Doxyfile [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 13:43 GOVERNANCE.md [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 13:43 Jenkinsfile [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 13:43 LICENSE [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 13:43 Makefile [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 13:43 OWNERS.md [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 28 13:43 README.md [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 28 13:43 README.v2.md [2022-03-28T13:45:02.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 13:44 VERSION [2022-03-28T13:45:02.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:43 docs [2022-03-28T13:45:02.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 include [2022-03-28T13:45:02.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:43 scripts [2022-03-28T13:45:02.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:43 src [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:45:02.795Z] + 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=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a --label arch=amd64 --label version=0.0.0 . [2022-03-28T13:45:02.795Z] Sending build context to Docker daemon 4.566MB [2022-03-28T13:45:02.795Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-28T13:45:02.795Z] Step 2/17 : FROM ${BASE} [2022-03-28T13:45:02.795Z] ---> a15a5adb3d58 [2022-03-28T13:45:02.795Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-28T13:45:02.795Z] ---> Running in a6e32f226531 [2022-03-28T13:45:03.054Z] Removing intermediate container a6e32f226531 [2022-03-28T13:45:03.054Z] ---> f84d5423e961 [2022-03-28T13:45:03.054Z] 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-03-28T13:45:03.054Z] ---> Running in 93d75bcf0241 [2022-03-28T13:45:03.314Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-28T13:45:03.574Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:45:03.574Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:45:03.575Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:45:03.834Z] Removing intermediate container 93d75bcf0241 [2022-03-28T13:45:03.834Z] ---> c98d2209c21b [2022-03-28T13:45:03.834Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:45:04.095Z] ---> Running in 80dac94f2c75 [2022-03-28T13:45:04.667Z] Removing intermediate container 80dac94f2c75 [2022-03-28T13:45:04.667Z] ---> b0febf5812fc [2022-03-28T13:45:04.667Z] 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-03-28T13:45:04.667Z] ---> Running in 68ef62b3b3e5 [2022-03-28T13:45:04.927Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:45:05.871Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T13:45:06.133Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T13:45:06.397Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:45:06.397Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-28T13:45:06.659Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-28T13:45:06.659Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-28T13:45:06.659Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-28T13:45:06.922Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-28T13:45:06.922Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-28T13:45:07.183Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-28T13:45:07.183Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-28T13:45:07.183Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-28T13:45:07.445Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-28T13:45:07.445Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-28T13:45:07.706Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-28T13:45:07.706Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-28T13:45:07.706Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-28T13:45:07.967Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-28T13:45:07.967Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-28T13:45:07.967Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-28T13:45:08.230Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-28T13:45:08.230Z] (19/26) Installing flock (2.37.4-r0) [2022-03-28T13:45:08.230Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-28T13:45:08.492Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-28T13:45:08.492Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-28T13:45:08.492Z] (23/26) Installing logger (2.37.4-r0) [2022-03-28T13:45:08.752Z] (24/26) Installing partx (2.37.4-r0) [2022-03-28T13:45:08.752Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-28T13:45:08.752Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-28T13:45:09.014Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:45:09.014Z] OK: 294 MiB in 109 packages [2022-03-28T13:45:09.588Z] Removing intermediate container 68ef62b3b3e5 [2022-03-28T13:45:09.588Z] ---> 36ffad3bbb02 [2022-03-28T13:45:09.588Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-28T13:45:09.850Z] ---> 6d14cebe6364 [2022-03-28T13:45:09.850Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-28T13:45:10.111Z] ---> b0ef19d708fd [2022-03-28T13:45:10.111Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-28T13:45:10.111Z] ---> 03da217e43a3 [2022-03-28T13:45:10.111Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-28T13:45:10.372Z] ---> 708f704b1355 [2022-03-28T13:45:10.372Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-28T13:45:10.372Z] ---> df7a8461d5ab [2022-03-28T13:45:10.372Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-28T13:45:10.632Z] ---> 62607791e7cb [2022-03-28T13:45:10.632Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-28T13:45:10.632Z] ---> Running in 99a52976c6a5 [2022-03-28T13:45:10.632Z] Removing intermediate container 99a52976c6a5 [2022-03-28T13:45:10.632Z] ---> 3c8f9a8edd5f [2022-03-28T13:45:10.632Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-28T13:45:10.895Z] ---> Running in b4adced22f94 [2022-03-28T13:45:10.895Z] Removing intermediate container b4adced22f94 [2022-03-28T13:45:10.895Z] ---> 51f8ab8b1ab9 [2022-03-28T13:45:10.895Z] Step 15/17 : LABEL arch=amd64 [2022-03-28T13:45:10.895Z] ---> Running in 4cb86829cc02 [2022-03-28T13:45:10.895Z] Removing intermediate container 4cb86829cc02 [2022-03-28T13:45:10.895Z] ---> 14472137e8f7 [2022-03-28T13:45:10.895Z] Step 16/17 : LABEL git_sha=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [2022-03-28T13:45:11.160Z] ---> Running in 8ed7bd745432 [2022-03-28T13:45:11.160Z] Removing intermediate container 8ed7bd745432 [2022-03-28T13:45:11.160Z] ---> a2f18f89868f [2022-03-28T13:45:11.160Z] Step 17/17 : LABEL version=0.0.0 [2022-03-28T13:45:11.160Z] ---> Running in 018a476e0175 [2022-03-28T13:45:11.160Z] Removing intermediate container 018a476e0175 [2022-03-28T13:45:11.160Z] ---> 6969235b861c [2022-03-28T13:45:11.160Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-28T13:45:11.160Z] Successfully built 6969235b861c [2022-03-28T13:45:11.421Z] 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-03-28T13:45:12.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T13:45:12.223Z] [2022-03-28T13:45:12.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:45:12.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T13:45:12.558Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T13:45:12.558Z] 5eb5b503b376: Pulling fs layer [2022-03-28T13:45:12.559Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T13:45:12.559Z] ec43610c2a17: Pulling fs layer [2022-03-28T13:45:12.559Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T13:45:12.559Z] 3a2ae6a8a46f: Waiting [2022-03-28T13:45:12.559Z] 33b1e0a273af: Pulling fs layer [2022-03-28T13:45:12.559Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T13:45:12.559Z] 2f39f015ded8: Pulling fs layer [2022-03-28T13:45:12.559Z] 33b1e0a273af: Waiting [2022-03-28T13:45:12.559Z] 5d3b04190fa2: Waiting [2022-03-28T13:45:12.559Z] 5c69ac0246d0: Download complete [2022-03-28T13:45:12.559Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T13:45:12.559Z] 3a2ae6a8a46f: Download complete [2022-03-28T13:45:12.559Z] 33b1e0a273af: Verifying Checksum [2022-03-28T13:45:12.559Z] 33b1e0a273af: Download complete [2022-03-28T13:45:12.559Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T13:45:12.559Z] 5d3b04190fa2: Download complete [2022-03-28T13:45:12.559Z] ec43610c2a17: Verifying Checksum [2022-03-28T13:45:12.559Z] ec43610c2a17: Download complete [2022-03-28T13:45:12.818Z] 5eb5b503b376: Verifying Checksum [2022-03-28T13:45:12.818Z] 5eb5b503b376: Download complete [2022-03-28T13:45:14.198Z] 5eb5b503b376: Pull complete [2022-03-28T13:45:14.457Z] 5c69ac0246d0: Pull complete [2022-03-28T13:45:15.026Z] ec43610c2a17: Pull complete [2022-03-28T13:45:15.026Z] 3a2ae6a8a46f: Pull complete [2022-03-28T13:45:15.287Z] 33b1e0a273af: Pull complete [2022-03-28T13:45:15.287Z] 5d3b04190fa2: Pull complete [2022-03-28T13:45:20.570Z] 2f39f015ded8: Pull complete [2022-03-28T13:45:20.570Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T13:45:20.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T13:45:20.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T13:45:20.671Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2022-03-28T13:45:20.713Z] $ 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-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T13:45:22.520Z] $ docker top 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:45:23.005Z] ---> job-cost.sh [2022-03-28T13:45:23.005Z] lf-activate-venv: SKIPPING [2022-03-28T13:45:23.005Z] INFO: No Stack... [2022-03-28T13:45:23.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T13:45:23.837Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T13:45:24.152Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/cost.csv [2022-03-28T13:45:24.152Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T13:45:24.199Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [2022-03-28T13:45:24.204Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] did not exist. Created. [2022-03-28T13:45:24.204Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T13:45:24.597Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T13:45:24.656Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T13:45:24.671Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T13:45:24.761Z] $ docker stop --time=1 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 [2022-03-28T13:45:25.950Z] $ docker rm -f 59d1ca3e30b81e91970dfc09498bba0e5d3fc18c7a7fc7241c74a76bfc749311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T13:46:07.796Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9253 in /w/workspace/edgexfoundry_device-sdk-c_PR-406 [Pipeline] { [Pipeline] ws [2022-03-28T13:46:07.836Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-03-28T13:46:08.114Z] Selected Git installation does not exist. Using Default [2022-03-28T13:46:08.114Z] The recommended git tool is: NONE [2022-03-28T13:46:15.868Z] using credential edgex-jenkins-ssh [2022-03-28T13:46:15.899Z] Cloning the remote Git repository [2022-03-28T13:46:16.053Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-28T13:46:16.158Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-03-28T13:46:16.348Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-28T13:46:16.349Z] > git --version # timeout=10 [2022-03-28T13:46:16.447Z] > git --version # 'git version 2.25.1' [2022-03-28T13:46:16.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T13:46:16.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T13:46:17.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-28T13:46:17.834Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T13:46:17.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-28T13:46:17.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-28T13:46:17.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T13:46:17.953Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T13:46:18.566Z] Merging remotes/origin/main commit 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 into PR head commit 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [2022-03-28T13:46:18.875Z] Merge succeeded, producing 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [2022-03-28T13:46:18.876Z] Checking out Revision 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a (PR-406) [2022-03-28T13:46:18.591Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T13:46:18.612Z] > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 [2022-03-28T13:46:18.753Z] > git remote # timeout=10 [2022-03-28T13:46:18.777Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T13:46:18.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T13:46:18.813Z] > git merge 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 [2022-03-28T13:46:18.841Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T13:46:18.888Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T13:46:18.923Z] > git checkout -f 53254fbad6a5a3f95ae33ef4fcb9a02831f4392a # timeout=10 [2022-03-28T13:46:23.265Z] Commit message: "feat: add CORS support (#389)" [2022-03-28T13:46:23.325Z] > git --version # timeout=10 [2022-03-28T13:46:23.336Z] > git --version # 'git version 2.25.1' [2022-03-28T13:46:23.353Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T13:46:24.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T13:46:24.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T13:46:24.520Z] Dload Upload Total Spent Left Speed [2022-03-28T13:46:24.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 35671 0 --:--:-- --:--:-- --:--:-- 35671 [Pipeline] sh [2022-03-28T13:46:25.340Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T13:46:25.707Z] + sudo tee /etc/docker/daemon.new [2022-03-28T13:46:25.707Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T13:46:25.707Z] { [2022-03-28T13:46:25.707Z] "registry-mirrors": [ [2022-03-28T13:46:25.707Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T13:46:25.707Z] ], [2022-03-28T13:46:25.707Z] "bip": "10.250.0.254/24", [2022-03-28T13:46:25.707Z] "hosts": [ [2022-03-28T13:46:25.707Z] "tcp://0.0.0.0:5555", [2022-03-28T13:46:25.707Z] "unix:///var/run/docker.sock" [2022-03-28T13:46:25.707Z] ], [2022-03-28T13:46:25.707Z] "mtu": 1458, [2022-03-28T13:46:25.707Z] "selinux-enabled": true, [2022-03-28T13:46:25.707Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T13:46:25.707Z] } [Pipeline] sh [2022-03-28T13:46:26.157Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T13:46:26.515Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T13:46:44.945Z] provisioning config files... [2022-03-28T13:46:44.970Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2882907021351990685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:46:45.550Z] ---> docker-login.sh [2022-03-28T13:46:45.550Z] nexus3.edgexfoundry.org:10001 [2022-03-28T13:46:46.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:46:46.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:46:46.430Z] Configure a credential helper to remove this warning. See [2022-03-28T13:46:46.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:46:46.430Z] [2022-03-28T13:46:46.430Z] Login Succeeded [2022-03-28T13:46:46.430Z] nexus3.edgexfoundry.org:10002 [2022-03-28T13:46:46.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:46:46.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:46:46.997Z] Configure a credential helper to remove this warning. See [2022-03-28T13:46:46.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:46:46.997Z] [2022-03-28T13:46:46.997Z] Login Succeeded [2022-03-28T13:46:46.997Z] nexus3.edgexfoundry.org:10003 [2022-03-28T13:46:47.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:46:47.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:46:47.271Z] Configure a credential helper to remove this warning. See [2022-03-28T13:46:47.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:46:47.271Z] [2022-03-28T13:46:47.271Z] Login Succeeded [2022-03-28T13:46:47.271Z] nexus3.edgexfoundry.org:10004 [2022-03-28T13:46:47.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:46:47.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:46:47.869Z] Configure a credential helper to remove this warning. See [2022-03-28T13:46:47.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:46:47.869Z] [2022-03-28T13:46:47.869Z] Login Succeeded [2022-03-28T13:46:47.869Z] docker.io [2022-03-28T13:46:48.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T13:46:48.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T13:46:48.734Z] Configure a credential helper to remove this warning. See [2022-03-28T13:46:48.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T13:46:48.734Z] [2022-03-28T13:46:48.734Z] Login Succeeded [2022-03-28T13:46:48.734Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T13:46:48.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T13:46:49.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T13:46:49.167Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-28T13:46:49.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T13:46:49.231Z] ========================================================= [2022-03-28T13:46:49.231Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-28T13:46:49.231Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:46:49.621Z] + 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-03-28T13:46:49.905Z] Sending build context to Docker daemon 2.797MB [2022-03-28T13:46:50.180Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-28T13:46:50.180Z] Step 2/22 : FROM ${BASE} as builder [2022-03-28T13:46:50.180Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-28T13:46:50.180Z] 9b3977197b4f: Pulling fs layer [2022-03-28T13:46:50.180Z] 2a93055cfd06: Pulling fs layer [2022-03-28T13:46:50.180Z] ff5fdaca7850: Pulling fs layer [2022-03-28T13:46:50.180Z] 2a93055cfd06: Verifying Checksum [2022-03-28T13:46:50.180Z] 2a93055cfd06: Download complete [2022-03-28T13:46:50.180Z] 9b3977197b4f: Download complete [2022-03-28T13:46:50.784Z] 9b3977197b4f: Pull complete [2022-03-28T13:46:51.063Z] 2a93055cfd06: Pull complete [2022-03-28T13:46:52.499Z] ff5fdaca7850: Verifying Checksum [2022-03-28T13:46:52.499Z] ff5fdaca7850: Download complete [2022-03-28T13:47:00.788Z] ff5fdaca7850: Pull complete [2022-03-28T13:47:00.788Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-28T13:47:00.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-28T13:47:00.788Z] ---> 0af3d9908a83 [2022-03-28T13:47:00.788Z] 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-03-28T13:47:01.784Z] ---> Running in e70481b05432 [2022-03-28T13:47:02.775Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-28T13:47:03.050Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:47:03.050Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:47:03.050Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:47:04.029Z] Removing intermediate container e70481b05432 [2022-03-28T13:47:04.029Z] ---> ae725abc9622 [2022-03-28T13:47:04.029Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:47:04.029Z] ---> Running in 5d214c8d642b [2022-03-28T13:47:05.485Z] Removing intermediate container 5d214c8d642b [2022-03-28T13:47:05.485Z] ---> 49730538c710 [2022-03-28T13:47:05.485Z] 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-03-28T13:47:05.485Z] ---> Running in 8088ddef78e9 [2022-03-28T13:47:06.470Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:47:07.446Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T13:47:07.718Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:47:08.313Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:47:08.583Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-28T13:47:08.583Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-28T13:47:08.583Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-28T13:47:08.854Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-28T13:47:08.854Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-28T13:47:08.854Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-28T13:47:09.825Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-28T13:47:09.825Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-28T13:47:10.096Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-28T13:47:10.096Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-28T13:47:10.096Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-28T13:47:10.367Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-28T13:47:10.367Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-28T13:47:10.639Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-28T13:47:10.913Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-28T13:47:10.913Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-28T13:47:10.913Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-28T13:47:11.184Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-28T13:47:11.184Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-28T13:47:11.184Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-28T13:47:11.454Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-28T13:47:11.454Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-28T13:47:11.454Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-28T13:47:11.724Z] (24/31) Installing flock (2.37.4-r0) [2022-03-28T13:47:11.724Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-28T13:47:11.724Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-28T13:47:11.993Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-28T13:47:11.993Z] (28/31) Installing logger (2.37.4-r0) [2022-03-28T13:47:11.993Z] (29/31) Installing partx (2.37.4-r0) [2022-03-28T13:47:12.263Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-28T13:47:12.263Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-28T13:47:12.536Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:47:12.536Z] OK: 289 MiB in 108 packages [2022-03-28T13:47:13.973Z] Removing intermediate container 8088ddef78e9 [2022-03-28T13:47:13.973Z] ---> 91809146dff8 [2022-03-28T13:47:13.973Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-28T13:47:13.973Z] ---> Running in 5cc76cf5f138 [2022-03-28T13:47:15.432Z] Removing intermediate container 5cc76cf5f138 [2022-03-28T13:47:15.432Z] ---> a1e753d90bed [2022-03-28T13:47:15.432Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-28T13:47:16.034Z] ---> 788e478fcbf7 [2022-03-28T13:47:16.034Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-28T13:47:16.631Z] ---> 3e2edd66f646 [2022-03-28T13:47:16.631Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-28T13:47:17.233Z] ---> 0daf18f21ea1 [2022-03-28T13:47:17.233Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-28T13:47:17.832Z] ---> adf95c5c5ae4 [2022-03-28T13:47:17.832Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-28T13:47:18.429Z] ---> 8183aa490264 [2022-03-28T13:47:18.429Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-28T13:47:19.029Z] ---> a6e7670739d5 [2022-03-28T13:47:19.029Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-28T13:47:19.029Z] ---> Running in c7cc88873ac9 [2022-03-28T13:47:20.018Z] + CPPCHECK=false [2022-03-28T13:47:20.018Z] + DOCGEN=false [2022-03-28T13:47:20.018Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-28T13:47:20.018Z] + TOMLVER=SDK-0.2 [2022-03-28T13:47:20.018Z] + CUTILVER=1.2.2 [2022-03-28T13:47:20.018Z] + '[' 0 -gt 0 ] [2022-03-28T13:47:20.018Z] + readlink -f ./scripts/build.sh [2022-03-28T13:47:20.018Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-28T13:47:20.018Z] + dirname /tmp/sdk/scripts [2022-03-28T13:47:20.018Z] + ROOT=/tmp/sdk [2022-03-28T13:47:20.018Z] + cd /tmp/sdk [2022-03-28T13:47:20.018Z] + '[' '!' -d deps ] [2022-03-28T13:47:20.018Z] + mkdir deps [2022-03-28T13:47:20.018Z] + tar -C deps -z -x -f - [2022-03-28T13:47:20.018Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-28T13:47:20.018Z] Connecting to github.com (140.82.114.3:443) [2022-03-28T13:47:20.288Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-03-28T13:47:20.562Z] writing to stdout [2022-03-28T13:47:20.562Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-28T13:47:20.562Z] written to stdout [2022-03-28T13:47:20.562Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-28T13:47:20.562Z] + + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-28T13:47:20.562Z] tar -C deps -z -x -f - [2022-03-28T13:47:20.562Z] Connecting to github.com (140.82.114.3:443) [2022-03-28T13:47:20.834Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-03-28T13:47:21.106Z] writing to stdout [2022-03-28T13:47:21.106Z] -  108k --:--:-- ETA [2022-03-28T13:47:21.106Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-28T13:47:21.106Z] written to stdout [2022-03-28T13:47:21.385Z] + mkdir -p src/c/iot [2022-03-28T13:47:21.385Z] + 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-03-28T13:47:21.385Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-28T13:47:21.385Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-28T13:47:21.385Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-28T13:47:21.385Z] + mkdir -p include/iot [2022-03-28T13:47:21.385Z] + 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-03-28T13:47:21.385Z] + mkdir -p include/iot/os [2022-03-28T13:47:21.385Z] + 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-03-28T13:47:21.385Z] + mkdir -p /tmp/sdk/build/release [2022-03-28T13:47:21.385Z] + cd /tmp/sdk/build/release [2022-03-28T13:47:21.385Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-28T13:47:21.665Z] -- The C compiler identification is GNU 10.3.1 [2022-03-28T13:47:21.665Z] -- Detecting C compiler ABI info [2022-03-28T13:47:21.944Z] -- Detecting C compiler ABI info - done [2022-03-28T13:47:22.220Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-28T13:47:22.220Z] -- Detecting C compile features [2022-03-28T13:47:22.220Z] -- Detecting C compile features - done [2022-03-28T13:47:22.220Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-28T13:47:22.508Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-28T13:47:22.509Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-28T13:47:22.509Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-28T13:47:22.509Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-28T13:47:22.509Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-28T13:47:22.509Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-28T13:47:22.509Z] -- C SDK 0.0.0 for Linux [2022-03-28T13:47:22.509Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-28T13:47:22.788Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-28T13:47:23.063Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-28T13:47:23.063Z] -- Configuring done [2022-03-28T13:47:23.347Z] -- Generating done [2022-03-28T13:47:23.347Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-28T13:47:23.623Z] + + maketee all release.log package [2022-03-28T13:47:23.623Z] [2022-03-28T13:47:23.623Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-28T13:47:24.612Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-28T13:47:25.210Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-28T13:47:27.832Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-28T13:47:28.429Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-28T13:47:28.703Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-28T13:47:29.680Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-28T13:47:30.277Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-28T13:47:30.552Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-28T13:47:31.990Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-28T13:47:34.605Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-28T13:47:34.605Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-28T13:47:35.589Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-28T13:47:36.568Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-28T13:47:36.839Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-28T13:47:37.112Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-28T13:47:37.387Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-28T13:47:40.782Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-28T13:47:41.056Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-28T13:47:41.331Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-28T13:47:41.932Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-28T13:47:42.524Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-28T13:47:42.524Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-28T13:47:42.524Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-28T13:47:42.524Z] 275 | const iot_component_factory_t * factory; [2022-03-28T13:47:42.524Z] | ^~~~~~~ [2022-03-28T13:47:43.496Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-28T13:47:48.885Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-28T13:47:48.885Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-28T13:47:48.885Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-28T13:47:49.477Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-28T13:47:50.071Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-28T13:47:50.071Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-28T13:47:51.505Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-28T13:47:51.778Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-28T13:47:52.756Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-28T13:47:53.027Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-28T13:47:53.624Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-28T13:47:56.241Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-28T13:47:56.514Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-28T13:47:57.949Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-28T13:47:57.949Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-28T13:48:03.338Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-28T13:48:03.616Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-28T13:48:04.211Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-28T13:48:04.803Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-28T13:48:04.803Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-28T13:48:04.803Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:04.803Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-28T13:48:04.803Z] | ^~~~~~~~~~~~~ [2022-03-28T13:48:04.803Z] | | [2022-03-28T13:48:04.803Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-28T13:48:04.803Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:04.803Z] /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-03-28T13:48:04.803Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-28T13:48:04.803Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-28T13:48:04.803Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-28T13:48:04.803Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:04.803Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-28T13:48:04.803Z] | ^~~~~~~~~~~~ [2022-03-28T13:48:04.803Z] | | [2022-03-28T13:48:04.803Z] | 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-03-28T13:48:04.803Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:04.803Z] /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-03-28T13:48:04.803Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:48:04.803Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:48:04.803Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:04.803Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-28T13:48:04.803Z] | ^~~~~~~~~~~~ [2022-03-28T13:48:04.803Z] | | [2022-03-28T13:48:04.803Z] | 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-03-28T13:48:04.803Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:04.803Z] /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-03-28T13:48:04.803Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:48:04.803Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:48:06.226Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-28T13:48:08.838Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-28T13:48:08.838Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-28T13:48:09.430Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-28T13:48:10.024Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-28T13:48:12.640Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-28T13:48:16.931Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-28T13:48:17.524Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-28T13:48:18.115Z] [ 76%] Linking C shared library libcsdk.so [2022-03-28T13:48:18.387Z] [ 76%] Built target csdk [2022-03-28T13:48:18.387Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-28T13:48:19.360Z] [ 79%] Linking C executable template [2022-03-28T13:48:19.634Z] [ 79%] Built target template [2022-03-28T13:48:19.634Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-28T13:48:20.228Z] [ 82%] Linking C executable device-counter [2022-03-28T13:48:20.502Z] [ 82%] Built target device-counter [2022-03-28T13:48:20.502Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-28T13:48:21.093Z] [ 85%] Linking C executable device-random [2022-03-28T13:48:21.093Z] [ 85%] Built target device-random [2022-03-28T13:48:21.365Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-28T13:48:21.643Z] [ 88%] Linking C executable device-gyro [2022-03-28T13:48:21.916Z] [ 88%] Built target device-gyro [2022-03-28T13:48:22.188Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-28T13:48:22.780Z] [ 91%] Linking C executable device-bitfields [2022-03-28T13:48:22.780Z] [ 91%] Built target device-bitfields [2022-03-28T13:48:23.052Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-28T13:48:24.027Z] [ 94%] Linking C executable template-discovery [2022-03-28T13:48:24.027Z] [ 94%] Built target template-discovery [2022-03-28T13:48:24.027Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-28T13:48:24.999Z] [ 97%] Linking C executable device-file [2022-03-28T13:48:25.271Z] [ 97%] Built target device-file [2022-03-28T13:48:25.271Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-28T13:48:25.864Z] [100%] Linking C executable device-terminal [2022-03-28T13:48:26.136Z] [100%] Built target device-terminal [2022-03-28T13:48:26.136Z] Run CPack packaging tool... [2022-03-28T13:48:26.136Z] CPack: Create package using TGZ [2022-03-28T13:48:26.136Z] CPack: Install projects [2022-03-28T13:48:26.136Z] CPack: - Run preinstall target for: Csdk [2022-03-28T13:48:27.110Z] CPack: - Install project: Csdk [] [2022-03-28T13:48:27.110Z] CPack: Create package [2022-03-28T13:48:27.110Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-28T13:48:27.110Z] + '[' false '=' true ] [2022-03-28T13:48:27.110Z] + '[' false '=' true ] [2022-03-28T13:48:27.110Z] + mkdir -p /tmp/sdk/build/debug [2022-03-28T13:48:27.110Z] + cd /tmp/sdk/build/debug [2022-03-28T13:48:27.110Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-28T13:48:27.385Z] -- The C compiler identification is GNU 10.3.1 [2022-03-28T13:48:27.656Z] -- Detecting C compiler ABI info [2022-03-28T13:48:27.928Z] -- Detecting C compiler ABI info - done [2022-03-28T13:48:27.928Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-28T13:48:27.928Z] -- Detecting C compile features [2022-03-28T13:48:27.928Z] -- Detecting C compile features - done [2022-03-28T13:48:27.928Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-28T13:48:28.199Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-28T13:48:28.199Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-28T13:48:28.199Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-28T13:48:28.199Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-28T13:48:28.199Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-28T13:48:28.199Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-28T13:48:28.199Z] -- C SDK 0.0.0 for Linux [2022-03-28T13:48:28.199Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-28T13:48:28.475Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-28T13:48:28.748Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-28T13:48:28.748Z] -- Configuring done [2022-03-28T13:48:29.021Z] -- Generating done [2022-03-28T13:48:29.021Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-28T13:48:29.021Z] + make [2022-03-28T13:48:29.021Z] + tee debug.log [2022-03-28T13:48:29.021Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-28T13:48:29.616Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-28T13:48:29.888Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-28T13:48:30.863Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-28T13:48:31.136Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-28T13:48:31.136Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-28T13:48:31.729Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-28T13:48:32.002Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-28T13:48:32.274Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-28T13:48:32.876Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-28T13:48:33.469Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-28T13:48:33.743Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-28T13:48:34.018Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-28T13:48:34.614Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-28T13:48:34.887Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-28T13:48:34.887Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-28T13:48:35.160Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-28T13:48:36.134Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-28T13:48:36.406Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-28T13:48:36.678Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-28T13:48:36.950Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-28T13:48:37.223Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-28T13:48:37.223Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-28T13:48:37.223Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-28T13:48:37.223Z] 275 | const iot_component_factory_t * factory; [2022-03-28T13:48:37.223Z] | ^~~~~~~ [2022-03-28T13:48:37.496Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-28T13:48:39.003Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-28T13:48:39.003Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-28T13:48:39.275Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-28T13:48:39.548Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-28T13:48:39.822Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-28T13:48:40.094Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-28T13:48:40.371Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-28T13:48:40.648Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-28T13:48:40.923Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-28T13:48:41.201Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-28T13:48:41.477Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-28T13:48:42.071Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-28T13:48:42.071Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-28T13:48:42.664Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-28T13:48:42.946Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-28T13:48:44.384Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-28T13:48:44.384Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-28T13:48:44.658Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-28T13:48:45.258Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-28T13:48:45.258Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-28T13:48:45.258Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:45.258Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-28T13:48:45.258Z] | ^~~~~~~~~~~~~ [2022-03-28T13:48:45.258Z] | | [2022-03-28T13:48:45.258Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-28T13:48:45.258Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:45.258Z] /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-03-28T13:48:45.258Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-28T13:48:45.258Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-28T13:48:45.258Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-28T13:48:45.258Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:45.258Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-28T13:48:45.258Z] | ^~~~~~~~~~~~ [2022-03-28T13:48:45.258Z] | | [2022-03-28T13:48:45.258Z] | 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-03-28T13:48:45.258Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:45.258Z] /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-03-28T13:48:45.258Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:48:45.258Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:48:45.258Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-28T13:48:45.258Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-28T13:48:45.258Z] | ^~~~~~~~~~~~ [2022-03-28T13:48:45.258Z] | | [2022-03-28T13:48:45.258Z] | 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-03-28T13:48:45.258Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-28T13:48:45.258Z] /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-03-28T13:48:45.258Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-28T13:48:45.258Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-28T13:48:45.534Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-28T13:48:47.517Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-28T13:48:47.517Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-28T13:48:47.791Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-28T13:48:48.063Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-28T13:48:49.042Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-28T13:48:49.641Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-28T13:48:49.916Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-28T13:48:50.191Z] [ 76%] Linking C shared library libcsdk.so [2022-03-28T13:48:50.465Z] [ 76%] Built target csdk [2022-03-28T13:48:50.739Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-28T13:48:51.011Z] [ 79%] Linking C executable template [2022-03-28T13:48:51.283Z] [ 79%] Built target template [2022-03-28T13:48:51.283Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-28T13:48:51.557Z] [ 82%] Linking C executable device-counter [2022-03-28T13:48:51.832Z] [ 82%] Built target device-counter [2022-03-28T13:48:51.832Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-28T13:48:52.105Z] [ 85%] Linking C executable device-random [2022-03-28T13:48:52.382Z] [ 85%] Built target device-random [2022-03-28T13:48:52.382Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-28T13:48:52.656Z] [ 88%] Linking C executable device-gyro [2022-03-28T13:48:52.930Z] [ 88%] Built target device-gyro [2022-03-28T13:48:53.205Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-28T13:48:53.480Z] [ 91%] Linking C executable device-bitfields [2022-03-28T13:48:53.754Z] [ 91%] Built target device-bitfields [2022-03-28T13:48:53.754Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-28T13:48:54.028Z] [ 94%] Linking C executable template-discovery [2022-03-28T13:48:54.301Z] [ 94%] Built target template-discovery [2022-03-28T13:48:54.301Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-28T13:48:54.899Z] [ 97%] Linking C executable device-file [2022-03-28T13:48:54.899Z] [ 97%] Built target device-file [2022-03-28T13:48:55.173Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-28T13:48:55.447Z] [100%] Linking C executable device-terminal [2022-03-28T13:48:55.722Z] [100%] Built target device-terminal [2022-03-28T13:48:55.722Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:55.722Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] [ 76%] Built target csdk [2022-03-28T13:48:56.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] [ 79%] Built target template [2022-03-28T13:48:56.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] [ 82%] Built target device-counter [2022-03-28T13:48:56.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.000Z] [ 85%] Built target device-random [2022-03-28T13:48:56.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] [ 88%] Built target device-gyro [2022-03-28T13:48:56.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] [ 91%] Built target device-bitfields [2022-03-28T13:48:56.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] [ 94%] Built target template-discovery [2022-03-28T13:48:56.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] [ 97%] Built target device-file [2022-03-28T13:48:56.274Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.274Z] [100%] Built target device-terminal [2022-03-28T13:48:56.274Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:56.550Z] Install the project... [2022-03-28T13:48:56.550Z] -- Install configuration: "Release" [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/devsdk [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/time.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/component.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/config.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/container.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/os.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/data.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/os [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/json.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-28T13:48:56.550Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-28T13:48:56.550Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-28T13:48:58.537Z] Removing intermediate container c7cc88873ac9 [2022-03-28T13:48:58.537Z] ---> 3fb979da10a8 [2022-03-28T13:48:58.537Z] Step 14/22 : FROM ${BASE} [2022-03-28T13:48:58.537Z] ---> 0af3d9908a83 [2022-03-28T13:48:58.537Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-28T13:48:58.537Z] ---> Running in adb423fee79c [2022-03-28T13:48:58.537Z] Removing intermediate container adb423fee79c [2022-03-28T13:48:58.537Z] ---> 68c9d245fbaf [2022-03-28T13:48:58.537Z] 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-03-28T13:48:58.537Z] ---> Running in ef29dcb53193 [2022-03-28T13:48:59.523Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-28T13:49:00.126Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:49:00.126Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:49:00.126Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:49:00.730Z] Removing intermediate container ef29dcb53193 [2022-03-28T13:49:00.730Z] ---> dd909a1ff41d [2022-03-28T13:49:00.730Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:49:00.730Z] ---> Running in 41f89d9aff5a [2022-03-28T13:49:02.711Z] Removing intermediate container 41f89d9aff5a [2022-03-28T13:49:02.711Z] ---> 34b9a54cb9f6 [2022-03-28T13:49:02.711Z] 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-03-28T13:49:02.711Z] ---> Running in 77cc2a7e3c11 [2022-03-28T13:49:03.310Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:04.292Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:04.890Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:05.487Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:49:05.487Z] (1/6) Installing curl (7.80.0-r0) [2022-03-28T13:49:05.487Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-28T13:49:05.759Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-28T13:49:05.759Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-28T13:49:06.029Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-28T13:49:06.030Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-28T13:49:07.010Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:49:07.010Z] OK: 278 MiB in 83 packages [2022-03-28T13:49:07.992Z] Removing intermediate container 77cc2a7e3c11 [2022-03-28T13:49:07.992Z] ---> 6e4373187785 [2022-03-28T13:49:07.992Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-28T13:49:08.596Z] ---> 873317989802 [2022-03-28T13:49:08.596Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-28T13:49:09.195Z] ---> f0f24754ec73 [2022-03-28T13:49:09.195Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-28T13:49:09.469Z] ---> 61b2c88f50c4 [2022-03-28T13:49:09.469Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-28T13:49:10.066Z] ---> fef503813531 [2022-03-28T13:49:10.066Z] Successfully built fef503813531 [2022-03-28T13:49:10.066Z] 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-03-28T13:49:10.690Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T13:49:10.690Z] . [Pipeline] withDockerContainer [2022-03-28T13:49:10.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container [2022-03-28T13:49:11.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2022-03-28T13:49:12.307Z] $ docker top 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T13:49:13.257Z] + make test [2022-03-28T13:49:13.257Z] echo "make test" [2022-03-28T13:49:13.257Z] make test [Pipeline] } [2022-03-28T13:49:13.304Z] $ docker stop --time=1 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e [2022-03-28T13:49:14.954Z] $ docker rm -f 31556b7de1e54794f445e8c70a89bb0a4ec4d6c9710b729ccae9d49f3498a72e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T13:49:15.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T13:49:16.144Z] + ls -al . [2022-03-28T13:49:16.144Z] total 204 [2022-03-28T13:49:16.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:46 . [2022-03-28T13:49:16.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 .. [2022-03-28T13:49:16.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 13:46 .git [2022-03-28T13:49:16.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 13:46 .github [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 13:46 .gitignore [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 28 13:46 Attribution.txt [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 8321 Mar 28 13:46 CHANGES [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 13:46 Doxyfile [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 13:46 GOVERNANCE.md [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 13:46 Jenkinsfile [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 13:46 LICENSE [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 13:46 Makefile [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 13:46 OWNERS.md [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 28 13:46 README.md [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 28 13:46 README.v2.md [2022-03-28T13:49:16.144Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 13:44 VERSION [2022-03-28T13:49:16.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:46 docs [2022-03-28T13:49:16.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 include [2022-03-28T13:49:16.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 13:46 scripts [2022-03-28T13:49:16.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 13:46 src [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:49:16.522Z] + 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=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a --label arch=arm64 --label version=0.0.0 . [2022-03-28T13:49:16.797Z] Sending build context to Docker daemon 2.797MB [2022-03-28T13:49:17.072Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-28T13:49:17.072Z] Step 2/17 : FROM ${BASE} [2022-03-28T13:49:17.072Z] ---> fef503813531 [2022-03-28T13:49:17.072Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-28T13:49:17.072Z] ---> Running in b5cbea0db2d4 [2022-03-28T13:49:17.346Z] Removing intermediate container b5cbea0db2d4 [2022-03-28T13:49:17.346Z] ---> 229a4c0f482d [2022-03-28T13:49:17.346Z] 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-03-28T13:49:17.346Z] ---> Running in 895a5d7eaea5 [2022-03-28T13:49:18.328Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-28T13:49:18.930Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-28T13:49:18.930Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-28T13:49:18.930Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-28T13:49:19.533Z] Removing intermediate container 895a5d7eaea5 [2022-03-28T13:49:19.533Z] ---> 662f3a2bc637 [2022-03-28T13:49:19.533Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-28T13:49:19.533Z] ---> Running in f0b6b928169e [2022-03-28T13:49:20.989Z] Removing intermediate container f0b6b928169e [2022-03-28T13:49:20.989Z] ---> 39e0d80a9e16 [2022-03-28T13:49:20.989Z] 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-03-28T13:49:21.262Z] ---> Running in 72378b1475d1 [2022-03-28T13:49:22.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:22.840Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:23.439Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T13:49:24.037Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-28T13:49:24.310Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-28T13:49:24.310Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-28T13:49:24.310Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-28T13:49:24.584Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-28T13:49:24.584Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-28T13:49:24.584Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-28T13:49:24.858Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-28T13:49:24.858Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-28T13:49:24.858Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-28T13:49:25.453Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-28T13:49:25.453Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-28T13:49:25.453Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-28T13:49:25.734Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-28T13:49:25.734Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-28T13:49:25.734Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-28T13:49:26.008Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-28T13:49:26.008Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-28T13:49:26.008Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-28T13:49:26.281Z] (19/26) Installing flock (2.37.4-r0) [2022-03-28T13:49:26.281Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-28T13:49:26.281Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-28T13:49:26.555Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-28T13:49:26.555Z] (23/26) Installing logger (2.37.4-r0) [2022-03-28T13:49:26.555Z] (24/26) Installing partx (2.37.4-r0) [2022-03-28T13:49:26.829Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-28T13:49:26.829Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-28T13:49:26.829Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T13:49:27.107Z] OK: 290 MiB in 109 packages [2022-03-28T13:49:28.550Z] Removing intermediate container 72378b1475d1 [2022-03-28T13:49:28.550Z] ---> 92fbb628d5ad [2022-03-28T13:49:28.550Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-28T13:49:28.828Z] ---> 0324fed11f08 [2022-03-28T13:49:28.828Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-28T13:49:29.812Z] ---> 9aab2397e834 [2022-03-28T13:49:29.812Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-28T13:49:30.085Z] ---> 5674a779d23d [2022-03-28T13:49:30.085Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-28T13:49:30.683Z] ---> 976ef7ee088a [2022-03-28T13:49:30.683Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-28T13:49:31.279Z] ---> a71cd7f4c540 [2022-03-28T13:49:31.279Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-28T13:49:31.555Z] ---> cff0d76b86c2 [2022-03-28T13:49:31.555Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-28T13:49:31.832Z] ---> Running in 8e8b5470b709 [2022-03-28T13:49:32.108Z] Removing intermediate container 8e8b5470b709 [2022-03-28T13:49:32.108Z] ---> 7454d97ed70e [2022-03-28T13:49:32.108Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-28T13:49:32.108Z] ---> Running in e6a7fb75151a [2022-03-28T13:49:32.381Z] Removing intermediate container e6a7fb75151a [2022-03-28T13:49:32.381Z] ---> d4f97b2d78dd [2022-03-28T13:49:32.381Z] Step 15/17 : LABEL arch=arm64 [2022-03-28T13:49:32.381Z] ---> Running in 9fddd575fcc5 [2022-03-28T13:49:32.660Z] Removing intermediate container 9fddd575fcc5 [2022-03-28T13:49:32.660Z] ---> aebc88a2c734 [2022-03-28T13:49:32.660Z] Step 16/17 : LABEL git_sha=53254fbad6a5a3f95ae33ef4fcb9a02831f4392a [2022-03-28T13:49:32.660Z] ---> Running in b7213c78e740 [2022-03-28T13:49:32.938Z] Removing intermediate container b7213c78e740 [2022-03-28T13:49:32.938Z] ---> b08f65b3b9b1 [2022-03-28T13:49:32.938Z] Step 17/17 : LABEL version=0.0.0 [2022-03-28T13:49:33.220Z] ---> Running in 23e60c2d875a [2022-03-28T13:49:33.495Z] Removing intermediate container 23e60c2d875a [2022-03-28T13:49:33.495Z] ---> 29d9dd5b637c [2022-03-28T13:49:33.495Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-28T13:49:33.495Z] Successfully built 29d9dd5b637c [2022-03-28T13:49:33.495Z] 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-03-28T13:49:34.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T13:49:34.162Z] [2022-03-28T13:49:34.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:49:34.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T13:49:34.818Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T13:49:34.818Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T13:49:34.818Z] 04944245beec: Pulling fs layer [2022-03-28T13:49:34.818Z] 699f458cf7ca: Pulling fs layer [2022-03-28T13:49:34.818Z] 765212b225bb: Pulling fs layer [2022-03-28T13:49:34.818Z] f23df028b6ca: Pulling fs layer [2022-03-28T13:49:34.818Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T13:49:34.818Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T13:49:34.818Z] f23df028b6ca: Waiting [2022-03-28T13:49:34.818Z] d65c8cfc05b1: Waiting [2022-03-28T13:49:34.818Z] 2437ff75d9bd: Waiting [2022-03-28T13:49:34.818Z] 765212b225bb: Waiting [2022-03-28T13:49:34.818Z] 04944245beec: Verifying Checksum [2022-03-28T13:49:34.818Z] 04944245beec: Download complete [2022-03-28T13:49:34.818Z] 765212b225bb: Verifying Checksum [2022-03-28T13:49:34.818Z] 765212b225bb: Download complete [2022-03-28T13:49:34.818Z] f23df028b6ca: Download complete [2022-03-28T13:49:34.818Z] d65c8cfc05b1: Download complete [2022-03-28T13:49:35.097Z] 699f458cf7ca: Verifying Checksum [2022-03-28T13:49:35.097Z] 699f458cf7ca: Download complete [2022-03-28T13:49:35.371Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T13:49:35.371Z] 8998bd30e6a1: Download complete [2022-03-28T13:49:38.011Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T13:49:38.011Z] 2437ff75d9bd: Download complete [2022-03-28T13:49:39.451Z] 8998bd30e6a1: Pull complete [2022-03-28T13:49:40.051Z] 04944245beec: Pull complete [2022-03-28T13:49:41.492Z] 699f458cf7ca: Pull complete [2022-03-28T13:49:41.766Z] 765212b225bb: Pull complete [2022-03-28T13:49:42.750Z] f23df028b6ca: Pull complete [2022-03-28T13:49:42.750Z] d65c8cfc05b1: Pull complete [2022-03-28T13:49:57.865Z] 2437ff75d9bd: Pull complete [2022-03-28T13:49:57.865Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T13:49:57.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T13:49:57.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T13:49:58.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container [2022-03-28T13:49:58.276Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T13:50:00.750Z] $ docker top 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:01.828Z] ---> job-cost.sh [2022-03-28T13:50:01.828Z] lf-activate-venv: SKIPPING [2022-03-28T13:50:01.828Z] INFO: No Stack... [2022-03-28T13:50:02.428Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T13:50:03.035Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T13:50:03.744Z] + cut -d, -f6 [2022-03-28T13:50:03.744Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2022-03-28T13:50:03.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [2022-03-28T13:50:03.834Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] did not exist. Created. [2022-03-28T13:50:03.835Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T13:50:04.600Z] /w/workspace/device-sdk-c/1@tmp/durable-f023d2ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T13:50:05.312Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T13:50:05.345Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T13:50:05.939Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T13:50:05.959Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T13:50:06.045Z] $ docker stop --time=1 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 [2022-03-28T13:50:07.571Z] $ docker rm -f 60d81db2acfa5618d34fa08e6e1d448bb395a4664a2e7bd9894ce06835eb8cd9 [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-03-28T13:50:09.266Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives ] [2022-03-28T13:50:09.266Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives [2022-03-28T13:50:09.266Z] total 16 [2022-03-28T13:50:09.266Z] drwxr-xr-x 3 root root 4096 Mar 28 13:45 . [2022-03-28T13:50:09.266Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 13:45 .. [2022-03-28T13:50:09.266Z] drwxr-xr-x 2 root root 4096 Mar 28 13:45 cost [2022-03-28T13:50:09.266Z] -rw-r--r-- 1 root root 83 Mar 28 13:45 cost.csv [2022-03-28T13:50:09.266Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives [2022-03-28T13:50:09.266Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives [2022-03-28T13:50:09.266Z] total 16 [2022-03-28T13:50:09.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 13:45 . [2022-03-28T13:50:09.266Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 13:45 .. [2022-03-28T13:50:09.266Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 13:45 cost [2022-03-28T13:50:09.266Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 28 13:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:09.598Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:10.493Z] ---> package-listing.sh [2022-03-28T13:50:10.493Z] ++ facter osfamily [2022-03-28T13:50:10.493Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T13:50:10.754Z] + OS_FAMILY=debian [2022-03-28T13:50:10.754Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-406 [2022-03-28T13:50:10.754Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T13:50:10.754Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T13:50:10.754Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T13:50:10.754Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T13:50:10.754Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-406 ']' [2022-03-28T13:50:10.754Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T13:50:10.754Z] + case "${OS_FAMILY}" in [2022-03-28T13:50:10.754Z] + dpkg -l [2022-03-28T13:50:10.754Z] + grep '^ii' [2022-03-28T13:50:10.754Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T13:50:10.754Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T13:50:10.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T13:50:10.754Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-406 ']' [2022-03-28T13:50:10.754Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/ [2022-03-28T13:50:10.754Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-406/archives/ [Pipeline] echo [2022-03-28T13:50:10.789Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T13:50:11.084Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T13:50:11.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T13:50:11.667Z] . [Pipeline] withDockerContainer [2022-03-28T13:50:11.753Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2022-03-28T13:50:11.795Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-406/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-406 -v /w/workspace/edgexfoundry_device-sdk-c_PR-406:/w/workspace/edgexfoundry_device-sdk-c_PR-406:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-406@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T13:50:12.030Z] $ docker top 406fbd534358be6949dd241503e45c703685ba86b9d01821f6a353234ae56505 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T13:50:12.426Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T13:50:12.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T13:50:13.055Z] + ls /var/log/sa-host [2022-03-28T13:50:13.055Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T13:50:13.370Z] provisioning config files... [2022-03-28T13:50:13.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-406@tmp/config6838221960913913561tmp [Pipeline] { [Pipeline] echo [2022-03-28T13:50:13.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:13.742Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T13:50:13.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:14.180Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T13:50:14.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:14.528Z] ---> sudo-logs.sh [2022-03-28T13:50:14.528Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T13:50:14.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:14.921Z] ---> job-cost.sh [2022-03-28T13:50:14.922Z] lf-activate-venv: SKIPPING [2022-03-28T13:50:14.922Z] DEBUG: total: 0.2199999988079071 [2022-03-28T13:50:14.922Z] INFO: Retrieving Stack Cost... [2022-03-28T13:50:15.181Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T13:50:15.765Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T13:50:15.796Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T13:50:16.107Z] ---> logs-deploy.sh [2022-03-28T13:50:16.107Z] lf-activate-venv: SKIPPING [2022-03-28T13:50:16.107Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-406/1 [2022-03-28T13:50:16.107Z] INFO: archiving workspace using pattern(s): [2022-03-28T13:50:17.045Z] Archives upload complete. [2022-03-28T13:50:17.045Z] INFO: archiving logs to Nexus