Pull request #404 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 45edf2ad213826a4bfa964888770c44e6986307a+48c08245ad9168b435c5e70f99b42d590e34b603 (fb549c6988a8eb7f23d121af9040c98e447d8135) 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-ssh7834916385135119410.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-ssh15707032447776307467.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-404/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-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3655858776844019125.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-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12756525699913489451.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-ssh7550433396517719739.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-404/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-404/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2769511023029328501.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-7846 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [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-404 # 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 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 45edf2ad213826a4bfa964888770c44e6986307a Merge succeeded, producing 45edf2ad213826a4bfa964888770c44e6986307a Checking out Revision 45edf2ad213826a4bfa964888770c44e6986307a (PR-404) > 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # 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 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 Commit message: "feat: upload secrets from file" 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-17T16:14:48.218Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T16:14:48.359Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T16:14:48.443Z] ========================================================= [2022-03-17T16:14:48.443Z] EdgeX Global Pipelines Version Info [2022-03-17T16:14:48.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:14:49.254Z] ------------------- [2022-03-17T16:14:49.254Z] stable info: [2022-03-17T16:14:49.254Z] ------------------- [2022-03-17T16:14:49.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T16:14:49.254Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T16:14:49.254Z] Message: update stable to v1.0.221 [2022-03-17T16:14:49.827Z] ------------------- [2022-03-17T16:14:49.827Z] experimental info: [2022-03-17T16:14:49.827Z] ------------------- [2022-03-17T16:14:49.827Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T16:14:49.827Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T16:14:49.827Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T16:14:50.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-17T16:14:50.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-17T16:14:50.117Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T16:14:50.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T16:14:50.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T16:14:50.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-17T16:14:50.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-17T16:14:50.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T16:14:50.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T16:14:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-17T16:14:50.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T16:14:50.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T16:14:50.472Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T16:14:50.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T16:14:50.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T16:14:50.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T16:14:50.621Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T16:14:50.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo [2022-03-17T16:14:50.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo [2022-03-17T16:14:50.728Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo [2022-03-17T16:14:50.767Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo [2022-03-17T16:14:50.799Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45edf2a [Pipeline] echo [2022-03-17T16:14:50.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T16:14:50.950Z] provisioning config files... [2022-03-17T16:14:50.966Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config8107637757522787895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:14:51.308Z] ---> docker-login.sh [2022-03-17T16:14:51.308Z] nexus3.edgexfoundry.org:10001 [2022-03-17T16:14:51.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:14:51.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:14:51.569Z] Configure a credential helper to remove this warning. See [2022-03-17T16:14:51.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:14:51.569Z] [2022-03-17T16:14:51.569Z] Login Succeeded [2022-03-17T16:14:51.569Z] nexus3.edgexfoundry.org:10002 [2022-03-17T16:14:51.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:14:51.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:14:51.829Z] Configure a credential helper to remove this warning. See [2022-03-17T16:14:51.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:14:51.829Z] [2022-03-17T16:14:51.829Z] Login Succeeded [2022-03-17T16:14:51.829Z] nexus3.edgexfoundry.org:10003 [2022-03-17T16:14:51.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:14:51.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:14:51.829Z] Configure a credential helper to remove this warning. See [2022-03-17T16:14:51.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:14:51.829Z] [2022-03-17T16:14:51.829Z] Login Succeeded [2022-03-17T16:14:51.829Z] nexus3.edgexfoundry.org:10004 [2022-03-17T16:14:52.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:14:52.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:14:52.092Z] Configure a credential helper to remove this warning. See [2022-03-17T16:14:52.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:14:52.092Z] [2022-03-17T16:14:52.092Z] Login Succeeded [2022-03-17T16:14:52.092Z] docker.io [2022-03-17T16:14:52.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:14:52.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:14:52.664Z] Configure a credential helper to remove this warning. See [2022-03-17T16:14:52.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:14:52.664Z] [2022-03-17T16:14:52.664Z] Login Succeeded [2022-03-17T16:14:52.664Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T16:14:52.693Z] 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-17T16:14:53.405Z] + git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo [2022-03-17T16:14:53.556Z] -----------> git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a 45edf2ad213826a4bfa964888770c44e6986307a [false] [Pipeline] sh [2022-03-17T16:14:53.870Z] + git log --format=format:%s -1 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo [2022-03-17T16:14:53.912Z] ========================================================= [2022-03-17T16:14:53.912Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T16:14:53.912Z] ========================================================= 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-17T16:14:54.671Z] + git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo [2022-03-17T16:14:54.703Z] -----------> git rev-list -1 --merges 45edf2ad213826a4bfa964888770c44e6986307a~1..45edf2ad213826a4bfa964888770c44e6986307a 45edf2ad213826a4bfa964888770c44e6986307a [false] [Pipeline] sh [2022-03-17T16:14:55.012Z] + git log --format=format:%s -1 45edf2ad213826a4bfa964888770c44e6986307a [Pipeline] echo [2022-03-17T16:14:55.046Z] ========================================================= [2022-03-17T16:14:55.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T16:14:55.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-17T16:14:55.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T16:14:55.517Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T16:14:55.517Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T16:14:55.517Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T16:14:55.517Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T16:14:55.517Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T16:14:55.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:14:55.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T16:14:55.903Z] [2022-03-17T16:14:55.904Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:14:56.247Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T16:14:56.247Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T16:14:56.247Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T16:14:56.247Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T16:14:56.247Z] 4c7163046ea9: Pulling fs layer [2022-03-17T16:14:56.247Z] 0c2d73faf560: Pulling fs layer [2022-03-17T16:14:56.247Z] 0c2d73faf560: Waiting [2022-03-17T16:14:56.247Z] 3e5f54012d9b: Download complete [2022-03-17T16:14:56.247Z] a0d0a0d46f8b: Verifying Checksum [2022-03-17T16:14:56.247Z] a0d0a0d46f8b: Download complete [2022-03-17T16:14:56.247Z] 0c2d73faf560: Verifying Checksum [2022-03-17T16:14:56.247Z] 0c2d73faf560: Download complete [2022-03-17T16:14:56.247Z] 4c7163046ea9: Verifying Checksum [2022-03-17T16:14:56.247Z] 4c7163046ea9: Download complete [2022-03-17T16:14:56.508Z] a0d0a0d46f8b: Pull complete [2022-03-17T16:14:56.508Z] 3e5f54012d9b: Pull complete [2022-03-17T16:14:56.772Z] 4c7163046ea9: Pull complete [2022-03-17T16:14:57.041Z] 0c2d73faf560: Pull complete [2022-03-17T16:14:57.041Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T16:14:57.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T16:14:57.041Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T16:14:57.133Z] prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container [2022-03-17T16:14:57.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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-17T16:14:57.919Z] $ docker top 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T16:14:58.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T16:14:58.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T16:14:58.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T16:14:58.232Z] $ docker exec 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent [2022-03-17T16:14:58.356Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhLFhdb/agent.12 [2022-03-17T16:14:58.356Z] SSH_AGENT_PID=18 [2022-03-17T16:14:58.365Z] Running ssh-add (command line suppressed) [2022-03-17T16:14:58.504Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_5725496196527383772.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_5725496196527383772.key) [2022-03-17T16:14:58.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T16:14:58.846Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T16:14:58.877Z] $ docker exec --env ******** --env ******** 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent -k [2022-03-17T16:14:58.989Z] unset SSH_AUTH_SOCK; [2022-03-17T16:14:58.990Z] unset SSH_AGENT_PID; [2022-03-17T16:14:58.990Z] echo Agent pid 18 killed; [2022-03-17T16:14:58.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T16:14:59.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T16:14:59.075Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T16:14:59.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T16:14:59.223Z] $ docker exec 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent [2022-03-17T16:14:59.341Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPmgIjO/agent.50 [2022-03-17T16:14:59.341Z] SSH_AGENT_PID=56 [2022-03-17T16:14:59.348Z] Running ssh-add (command line suppressed) [2022-03-17T16:14:59.468Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_130952188166149037.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_130952188166149037.key) [2022-03-17T16:14:59.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T16:14:59.807Z] + git semver init [2022-03-17T16:14:59.807Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T16:14:59.807Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.git [2022-03-17T16:14:59.807Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-404 [2022-03-17T16:14:59.807Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T16:14:59.807Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T16:14:59.807Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T16:14:59.807Z] # $SEMVER_BRANCH = PR-404 [2022-03-17T16:14:59.807Z] # $SEMVER_TEMP = /tmp/semver-142442020 [2022-03-17T16:14:59.807Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-17T16:15:00.753Z] # '/tmp/semver-142442020' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver' [2022-03-17T16:15:00.753Z] # -> Force: false [2022-03-17T16:15:00.753Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver [Pipeline] } [2022-03-17T16:15:00.788Z] $ docker exec --env ******** --env ******** 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 ssh-agent -k [2022-03-17T16:15:00.905Z] unset SSH_AUTH_SOCK; [2022-03-17T16:15:00.905Z] unset SSH_AGENT_PID; [2022-03-17T16:15:00.905Z] echo Agent pid 56 killed; [2022-03-17T16:15:00.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T16:15:01.322Z] + git semver [Pipeline] } [2022-03-17T16:15:01.359Z] $ docker stop --time=1 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 [2022-03-17T16:15:02.731Z] $ docker rm -f 5ff15a823f84b7cd13b6abdf4f917aac83af3699de6ac531348496b624e450d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T16:15:03.158Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T16:15:03.466Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T16:15:03.483Z] [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-17T16:15:03.962Z] provisioning config files... [2022-03-17T16:15:03.974Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config6217983928471547383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:15:04.322Z] ---> docker-login.sh [2022-03-17T16:15:04.322Z] nexus3.edgexfoundry.org:10001 [2022-03-17T16:15:04.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:15:04.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:15:04.322Z] Configure a credential helper to remove this warning. See [2022-03-17T16:15:04.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:15:04.322Z] [2022-03-17T16:15:04.323Z] Login Succeeded [2022-03-17T16:15:04.323Z] nexus3.edgexfoundry.org:10002 [2022-03-17T16:15:04.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:15:04.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:15:04.583Z] Configure a credential helper to remove this warning. See [2022-03-17T16:15:04.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:15:04.583Z] [2022-03-17T16:15:04.583Z] Login Succeeded [2022-03-17T16:15:04.583Z] nexus3.edgexfoundry.org:10003 [2022-03-17T16:15:04.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:15:04.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:15:04.583Z] Configure a credential helper to remove this warning. See [2022-03-17T16:15:04.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:15:04.583Z] [2022-03-17T16:15:04.583Z] Login Succeeded [2022-03-17T16:15:04.583Z] nexus3.edgexfoundry.org:10004 [2022-03-17T16:15:04.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:15:04.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:15:04.845Z] Configure a credential helper to remove this warning. See [2022-03-17T16:15:04.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:15:04.845Z] [2022-03-17T16:15:04.845Z] Login Succeeded [2022-03-17T16:15:04.845Z] docker.io [2022-03-17T16:15:04.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:15:05.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:15:05.107Z] Configure a credential helper to remove this warning. See [2022-03-17T16:15:05.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:15:05.107Z] [2022-03-17T16:15:05.107Z] Login Succeeded [2022-03-17T16:15:05.107Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T16:15:05.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T16:15:05.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T16:15:05.367Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-17T16:15:05.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T16:15:05.437Z] ========================================================= [2022-03-17T16:15:05.437Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-17T16:15:05.437Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:15:05.802Z] + 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-17T16:15:05.802Z] Sending build context to Docker daemon 4.532MB [2022-03-17T16:15:05.802Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-17T16:15:05.802Z] Step 2/22 : FROM ${BASE} as builder [2022-03-17T16:15:05.802Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-17T16:15:05.802Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T16:15:05.802Z] c743a93c8381: Pulling fs layer [2022-03-17T16:15:05.802Z] a2ad9f71ba65: Pulling fs layer [2022-03-17T16:15:05.802Z] c743a93c8381: Verifying Checksum [2022-03-17T16:15:05.802Z] c743a93c8381: Download complete [2022-03-17T16:15:06.063Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T16:15:06.063Z] 59bf1c3509f3: Download complete [2022-03-17T16:15:06.063Z] 59bf1c3509f3: Pull complete [2022-03-17T16:15:06.063Z] c743a93c8381: Pull complete [2022-03-17T16:15:06.634Z] a2ad9f71ba65: Verifying Checksum [2022-03-17T16:15:06.634Z] a2ad9f71ba65: Download complete [2022-03-17T16:15:09.932Z] a2ad9f71ba65: Pull complete [2022-03-17T16:15:09.932Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-17T16:15:09.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-17T16:15:09.932Z] ---> c9e13ccc37c5 [2022-03-17T16:15:09.932Z] 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-17T16:15:10.506Z] ---> Running in e7ee89596aba [2022-03-17T16:15:10.768Z] Connecting to iotech.jfrog.io (99.81.6.225:443) [2022-03-17T16:15:11.341Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:15:11.341Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:15:11.341Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:15:11.602Z] Removing intermediate container e7ee89596aba [2022-03-17T16:15:11.602Z] ---> 36e8c3c4b790 [2022-03-17T16:15:11.602Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:15:11.602Z] ---> Running in d3fabfd92bd8 [2022-03-17T16:15:12.173Z] Removing intermediate container d3fabfd92bd8 [2022-03-17T16:15:12.173Z] ---> 888770186c98 [2022-03-17T16:15:12.173Z] 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-17T16:15:12.173Z] ---> Running in ae05fab4ae1e [2022-03-17T16:15:12.744Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:13.686Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:13.686Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:14.258Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:15:14.258Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-17T16:15:14.258Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-17T16:15:14.258Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-17T16:15:14.517Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-17T16:15:14.517Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-17T16:15:14.777Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-17T16:15:15.350Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-17T16:15:15.612Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-17T16:15:15.612Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-17T16:15:15.874Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-17T16:15:15.874Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-17T16:15:15.874Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-17T16:15:16.137Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-17T16:15:16.137Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-17T16:15:16.399Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-17T16:15:16.399Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-17T16:15:16.661Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-17T16:15:16.661Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-17T16:15:16.661Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-17T16:15:16.922Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-17T16:15:16.923Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-17T16:15:16.923Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-17T16:15:17.184Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-17T16:15:17.184Z] (24/31) Installing flock (2.37.4-r0) [2022-03-17T16:15:17.184Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-17T16:15:17.446Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-17T16:15:17.446Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-17T16:15:17.446Z] (28/31) Installing logger (2.37.4-r0) [2022-03-17T16:15:17.708Z] (29/31) Installing partx (2.37.4-r0) [2022-03-17T16:15:17.708Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-17T16:15:17.972Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-17T16:15:17.972Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:15:17.972Z] OK: 293 MiB in 108 packages [2022-03-17T16:15:18.784Z] Still waiting to schedule task [2022-03-17T16:15:18.785Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T16:15:18.916Z] Removing intermediate container ae05fab4ae1e [2022-03-17T16:15:18.916Z] ---> 7e2cc2a45274 [2022-03-17T16:15:18.916Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-17T16:15:18.916Z] ---> Running in 063822a7169b [2022-03-17T16:15:19.491Z] Removing intermediate container 063822a7169b [2022-03-17T16:15:19.491Z] ---> 111180630db8 [2022-03-17T16:15:19.491Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-17T16:15:19.753Z] ---> bcf6bc077225 [2022-03-17T16:15:19.753Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-17T16:15:20.014Z] ---> d5fa53757a4e [2022-03-17T16:15:20.014Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-17T16:15:20.014Z] ---> bb44afaa0d74 [2022-03-17T16:15:20.014Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-17T16:15:20.277Z] ---> 366dd85a47e5 [2022-03-17T16:15:20.277Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-17T16:15:20.277Z] ---> 23e5319120ba [2022-03-17T16:15:20.277Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-17T16:15:20.539Z] ---> b7be3c5ac2f3 [2022-03-17T16:15:20.539Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-17T16:15:20.539Z] ---> Running in f9e14c697508 [2022-03-17T16:15:20.801Z] + CPPCHECK=false [2022-03-17T16:15:20.801Z] + DOCGEN=false [2022-03-17T16:15:20.801Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-17T16:15:20.801Z] + TOMLVER=SDK-0.2 [2022-03-17T16:15:20.801Z] + CUTILVER=1.2.2 [2022-03-17T16:15:20.801Z] + '[' 0 -gt 0 ] [2022-03-17T16:15:20.801Z] + readlink -f ./scripts/build.sh [2022-03-17T16:15:20.801Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-17T16:15:20.801Z] + dirname /tmp/sdk/scripts [2022-03-17T16:15:20.801Z] + ROOT=/tmp/sdk [2022-03-17T16:15:20.801Z] + cd /tmp/sdk [2022-03-17T16:15:20.801Z] + '[' '!' -d deps ] [2022-03-17T16:15:20.801Z] + mkdir deps [2022-03-17T16:15:20.801Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-17T16:15:20.801Z] + tar -C deps -z -x -f - [2022-03-17T16:15:20.801Z] Connecting to github.com (140.82.113.3:443) [2022-03-17T16:15:21.061Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-03-17T16:15:21.323Z] writing to stdout [2022-03-17T16:15:21.323Z] - 13039 --:--:-- ETA [2022-03-17T16:15:21.323Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-17T16:15:21.323Z] written to stdout [2022-03-17T16:15:21.323Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-17T16:15:21.323Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-17T16:15:21.323Z] + tar -C deps -z -x -f - [2022-03-17T16:15:21.323Z] Connecting to github.com (140.82.113.3:443) [2022-03-17T16:15:21.584Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-03-17T16:15:21.846Z] writing to stdout [2022-03-17T16:15:21.846Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-17T16:15:21.846Z] written to stdout [2022-03-17T16:15:21.846Z] + mkdir -p src/c/iot [2022-03-17T16:15:21.846Z] + 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-17T16:15:21.846Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-17T16:15:21.846Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-17T16:15:21.846Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-17T16:15:21.846Z] + mkdir -p include/iot [2022-03-17T16:15:21.846Z] + 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-17T16:15:21.846Z] + mkdir -p include/iot/os [2022-03-17T16:15:21.846Z] + 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-17T16:15:21.846Z] + mkdir -p /tmp/sdk/build/release [2022-03-17T16:15:21.846Z] + cd /tmp/sdk/build/release [2022-03-17T16:15:21.846Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-17T16:15:21.846Z] -- The C compiler identification is GNU 10.3.1 [2022-03-17T16:15:21.846Z] -- Detecting C compiler ABI info [2022-03-17T16:15:22.108Z] -- Detecting C compiler ABI info - done [2022-03-17T16:15:22.108Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-17T16:15:22.108Z] -- Detecting C compile features [2022-03-17T16:15:22.108Z] -- Detecting C compile features - done [2022-03-17T16:15:22.108Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-17T16:15:22.108Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-17T16:15:22.108Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-17T16:15:22.108Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-17T16:15:22.108Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-17T16:15:22.108Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-17T16:15:22.108Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-17T16:15:22.108Z] -- C SDK 0.0.0 for Linux [2022-03-17T16:15:22.108Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-17T16:15:22.108Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-17T16:15:22.108Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-17T16:15:22.369Z] -- Configuring done [2022-03-17T16:15:22.369Z] -- Generating done [2022-03-17T16:15:22.369Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-17T16:15:22.369Z] + make all package [2022-03-17T16:15:22.369Z] + tee release.log [2022-03-17T16:15:22.369Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-17T16:15:22.369Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-17T16:15:22.630Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-17T16:15:22.890Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-17T16:15:23.151Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-17T16:15:23.151Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-17T16:15:23.412Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-17T16:15:23.412Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-17T16:15:23.412Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-17T16:15:23.673Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-17T16:15:23.935Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-17T16:15:24.195Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-17T16:15:24.455Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-17T16:15:24.455Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-17T16:15:24.455Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-17T16:15:24.716Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-17T16:15:24.716Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-17T16:15:25.290Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-17T16:15:25.290Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-17T16:15:25.290Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-17T16:15:25.554Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-17T16:15:25.554Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-17T16:15:25.554Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-17T16:15:25.554Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-17T16:15:25.554Z] 275 | const iot_component_factory_t * factory; [2022-03-17T16:15:25.554Z] | ^~~~~~~ [2022-03-17T16:15:25.821Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-17T16:15:26.392Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-17T16:15:26.653Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-17T16:15:26.653Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-17T16:15:26.915Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-17T16:15:26.915Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-17T16:15:26.915Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-17T16:15:27.177Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-17T16:15:27.177Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-17T16:15:27.436Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-17T16:15:27.436Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-17T16:15:27.698Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-17T16:15:27.961Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-17T16:15:28.223Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-17T16:15:28.224Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-17T16:15:28.224Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-17T16:15:29.166Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-17T16:15:29.166Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-17T16:15:29.429Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-17T16:15:29.429Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-17T16:15:29.429Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-17T16:15:29.429Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:29.429Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-17T16:15:29.429Z] | ^~~~~~~~~~~~~ [2022-03-17T16:15:29.429Z] | | [2022-03-17T16:15:29.429Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-17T16:15:29.429Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:29.429Z] /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-17T16:15:29.429Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-17T16:15:29.429Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-17T16:15:29.429Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-17T16:15:29.429Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:29.429Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-17T16:15:29.429Z] | ^~~~~~~~~~~~ [2022-03-17T16:15:29.429Z] | | [2022-03-17T16:15:29.429Z] | 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-17T16:15:29.429Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:29.429Z] /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-17T16:15:29.429Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:15:29.429Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:15:29.429Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:29.429Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-17T16:15:29.429Z] | ^~~~~~~~~~~~ [2022-03-17T16:15:29.429Z] | | [2022-03-17T16:15:29.429Z] | 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-17T16:15:29.429Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:29.429Z] /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-17T16:15:29.429Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:15:29.429Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:15:29.689Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-17T16:15:29.950Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-17T16:15:30.213Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-17T16:15:30.213Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-17T16:15:30.213Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-17T16:15:30.800Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-17T16:15:31.372Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-17T16:15:31.634Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-17T16:15:31.634Z] [ 76%] Linking C shared library libcsdk.so [2022-03-17T16:15:31.634Z] [ 76%] Built target csdk [2022-03-17T16:15:31.896Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-17T16:15:31.896Z] [ 79%] Linking C executable template [2022-03-17T16:15:31.896Z] [ 79%] Built target template [2022-03-17T16:15:31.896Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-17T16:15:32.157Z] [ 82%] Linking C executable device-counter [2022-03-17T16:15:32.158Z] [ 82%] Built target device-counter [2022-03-17T16:15:32.158Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-17T16:15:32.158Z] [ 85%] Linking C executable device-random [2022-03-17T16:15:32.418Z] [ 85%] Built target device-random [2022-03-17T16:15:32.418Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-17T16:15:32.418Z] [ 88%] Linking C executable device-gyro [2022-03-17T16:15:32.418Z] [ 88%] Built target device-gyro [2022-03-17T16:15:32.418Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-17T16:15:32.679Z] [ 91%] Linking C executable device-bitfields [2022-03-17T16:15:32.679Z] [ 91%] Built target device-bitfields [2022-03-17T16:15:32.679Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-17T16:15:32.939Z] [ 94%] Linking C executable template-discovery [2022-03-17T16:15:32.939Z] [ 94%] Built target template-discovery [2022-03-17T16:15:32.939Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-17T16:15:32.939Z] [ 97%] Linking C executable device-file [2022-03-17T16:15:33.201Z] [ 97%] Built target device-file [2022-03-17T16:15:33.201Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-17T16:15:33.201Z] [100%] Linking C executable device-terminal [2022-03-17T16:15:33.201Z] [100%] Built target device-terminal [2022-03-17T16:15:33.463Z] Run CPack packaging tool... [2022-03-17T16:15:33.463Z] CPack: Create package using TGZ [2022-03-17T16:15:33.463Z] CPack: Install projects [2022-03-17T16:15:33.463Z] CPack: - Run preinstall target for: Csdk [2022-03-17T16:15:33.726Z] CPack: - Install project: Csdk [] [2022-03-17T16:15:33.726Z] CPack: Create package [2022-03-17T16:15:33.726Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-17T16:15:33.726Z] + '[' false '=' true ] [2022-03-17T16:15:33.726Z] + '[' false '=' true ] [2022-03-17T16:15:33.726Z] + mkdir -p /tmp/sdk/build/debug [2022-03-17T16:15:33.726Z] + cd /tmp/sdk/build/debug [2022-03-17T16:15:33.726Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-17T16:15:33.726Z] -- The C compiler identification is GNU 10.3.1 [2022-03-17T16:15:33.726Z] -- Detecting C compiler ABI info [2022-03-17T16:15:33.726Z] -- Detecting C compiler ABI info - done [2022-03-17T16:15:33.726Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-17T16:15:33.726Z] -- Detecting C compile features [2022-03-17T16:15:33.726Z] -- Detecting C compile features - done [2022-03-17T16:15:33.726Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-17T16:15:33.988Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-17T16:15:33.988Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-17T16:15:33.988Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-17T16:15:33.988Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-17T16:15:33.988Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-17T16:15:33.988Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-17T16:15:33.988Z] -- C SDK 0.0.0 for Linux [2022-03-17T16:15:33.988Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-17T16:15:33.988Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-17T16:15:33.988Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-17T16:15:33.989Z] -- Configuring done [2022-03-17T16:15:33.989Z] -- Generating done [2022-03-17T16:15:33.989Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-17T16:15:33.989Z] + make [2022-03-17T16:15:33.989Z] + tee debug.log [2022-03-17T16:15:34.250Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-17T16:15:34.250Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-17T16:15:34.250Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-17T16:15:34.511Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-17T16:15:34.511Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-17T16:15:34.511Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-17T16:15:34.511Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-17T16:15:34.771Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-17T16:15:34.771Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-17T16:15:34.771Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-17T16:15:35.035Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-17T16:15:35.035Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-17T16:15:35.035Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-17T16:15:35.296Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-17T16:15:35.296Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-17T16:15:35.296Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-17T16:15:35.296Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-17T16:15:35.557Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-17T16:15:35.557Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-17T16:15:35.557Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-17T16:15:35.819Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-17T16:15:35.819Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-17T16:15:35.819Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-17T16:15:35.819Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-17T16:15:35.819Z] 275 | const iot_component_factory_t * factory; [2022-03-17T16:15:35.819Z] | ^~~~~~~ [2022-03-17T16:15:35.819Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-17T16:15:36.081Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-17T16:15:36.081Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-17T16:15:36.346Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-17T16:15:36.346Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-17T16:15:36.346Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-17T16:15:36.346Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-17T16:15:36.346Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-17T16:15:36.607Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-17T16:15:36.607Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-17T16:15:36.607Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-17T16:15:36.607Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-17T16:15:36.868Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-17T16:15:36.868Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-17T16:15:36.868Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-17T16:15:37.130Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-17T16:15:37.396Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-17T16:15:37.396Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-17T16:15:37.396Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-17T16:15:37.396Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-17T16:15:37.396Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-17T16:15:37.396Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:37.396Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-17T16:15:37.396Z] | ^~~~~~~~~~~~~ [2022-03-17T16:15:37.396Z] | | [2022-03-17T16:15:37.396Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-17T16:15:37.396Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:37.396Z] /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-17T16:15:37.396Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-17T16:15:37.396Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-17T16:15:37.396Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-17T16:15:37.396Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:37.396Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-17T16:15:37.396Z] | ^~~~~~~~~~~~ [2022-03-17T16:15:37.396Z] | | [2022-03-17T16:15:37.396Z] | 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-17T16:15:37.396Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:37.396Z] /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-17T16:15:37.396Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:15:37.396Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:15:37.656Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:15:37.656Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-17T16:15:37.656Z] | ^~~~~~~~~~~~ [2022-03-17T16:15:37.656Z] | | [2022-03-17T16:15:37.656Z] | 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-17T16:15:37.656Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:15:37.656Z] /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-17T16:15:37.656Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:15:37.656Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:15:37.656Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-17T16:15:37.918Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-17T16:15:37.918Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-17T16:15:37.918Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-17T16:15:37.918Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-17T16:15:38.180Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-17T16:15:38.440Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-17T16:15:38.440Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-17T16:15:38.440Z] [ 76%] Linking C shared library libcsdk.so [2022-03-17T16:15:38.440Z] [ 76%] Built target csdk [2022-03-17T16:15:38.440Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-17T16:15:38.701Z] [ 79%] Linking C executable template [2022-03-17T16:15:38.701Z] [ 79%] Built target template [2022-03-17T16:15:38.701Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-17T16:15:38.701Z] [ 82%] Linking C executable device-counter [2022-03-17T16:15:38.961Z] [ 82%] Built target device-counter [2022-03-17T16:15:38.962Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-17T16:15:38.962Z] [ 85%] Linking C executable device-random [2022-03-17T16:15:38.962Z] [ 85%] Built target device-random [2022-03-17T16:15:38.962Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-17T16:15:38.962Z] [ 88%] Linking C executable device-gyro [2022-03-17T16:15:39.224Z] [ 88%] Built target device-gyro [2022-03-17T16:15:39.224Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-17T16:15:39.224Z] [ 91%] Linking C executable device-bitfields [2022-03-17T16:15:39.224Z] [ 91%] Built target device-bitfields [2022-03-17T16:15:39.224Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-17T16:15:39.484Z] [ 94%] Linking C executable template-discovery [2022-03-17T16:15:39.484Z] [ 94%] Built target template-discovery [2022-03-17T16:15:39.484Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-17T16:15:39.484Z] [ 97%] Linking C executable device-file [2022-03-17T16:15:39.745Z] [ 97%] Built target device-file [2022-03-17T16:15:39.745Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-17T16:15:39.745Z] [100%] Linking C executable device-terminal [2022-03-17T16:15:39.745Z] [100%] Built target device-terminal [2022-03-17T16:15:39.745Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:39.745Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:39.745Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:39.745Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 76%] Built target csdk [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 79%] Built target template [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 82%] Built target device-counter [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 85%] Built target device-random [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 88%] Built target device-gyro [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 91%] Built target device-bitfields [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 94%] Built target template-discovery [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [ 97%] Built target device-file [2022-03-17T16:15:40.008Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] [100%] Built target device-terminal [2022-03-17T16:15:40.008Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.008Z] Install the project... [2022-03-17T16:15:40.008Z] -- Install configuration: "Release" [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/devsdk [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/config.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/os.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/container.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/component.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/os [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/time.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/data.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/include/iot/json.h [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-17T16:15:40.008Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-17T16:15:40.008Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:15:40.953Z] Removing intermediate container f9e14c697508 [2022-03-17T16:15:40.954Z] ---> fda69d0325dc [2022-03-17T16:15:40.954Z] Step 14/22 : FROM ${BASE} [2022-03-17T16:15:40.954Z] ---> c9e13ccc37c5 [2022-03-17T16:15:40.954Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-17T16:15:40.954Z] ---> Running in 824b7df769bf [2022-03-17T16:15:40.954Z] Removing intermediate container 824b7df769bf [2022-03-17T16:15:40.954Z] ---> 6da0e9731045 [2022-03-17T16:15:40.954Z] 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-17T16:15:40.954Z] ---> Running in 48c222c24cf9 [2022-03-17T16:15:41.214Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-17T16:15:41.797Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:15:41.797Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:15:41.797Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:15:41.797Z] Removing intermediate container 48c222c24cf9 [2022-03-17T16:15:41.797Z] ---> 6a1a7b7cf1dd [2022-03-17T16:15:41.797Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:15:42.066Z] ---> Running in 2318e2ce40e0 [2022-03-17T16:15:42.661Z] Removing intermediate container 2318e2ce40e0 [2022-03-17T16:15:42.661Z] ---> 3f93d5d6282c [2022-03-17T16:15:42.661Z] 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-17T16:15:42.661Z] ---> Running in 9873a601ff8d [2022-03-17T16:15:42.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:43.891Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:43.891Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:44.463Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:15:44.464Z] (1/6) Installing curl (7.80.0-r0) [2022-03-17T16:15:44.464Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-17T16:15:44.464Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-17T16:15:44.724Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-17T16:15:44.724Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-17T16:15:44.724Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-17T16:15:45.665Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:15:45.665Z] OK: 283 MiB in 83 packages [2022-03-17T16:15:45.925Z] Removing intermediate container 9873a601ff8d [2022-03-17T16:15:45.925Z] ---> 4dd706f16c62 [2022-03-17T16:15:45.925Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-17T16:15:46.188Z] ---> 4a76d9fb4fc5 [2022-03-17T16:15:46.188Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-17T16:15:46.449Z] ---> 26b6d39868b9 [2022-03-17T16:15:46.449Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-17T16:15:46.449Z] ---> e4e6ae9e508f [2022-03-17T16:15:46.449Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-17T16:15:46.711Z] ---> 229972c52bab [2022-03-17T16:15:46.711Z] Successfully built 229972c52bab [2022-03-17T16:15:46.711Z] 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-17T16:15:47.270Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T16:15:47.270Z] . [Pipeline] withDockerContainer [2022-03-17T16:15:47.359Z] prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container [2022-03-17T16:15:47.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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-17T16:15:47.830Z] $ docker top 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T16:15:48.232Z] + make test [2022-03-17T16:15:48.232Z] echo "make test" [2022-03-17T16:15:48.232Z] make test [Pipeline] } [2022-03-17T16:15:48.267Z] $ docker stop --time=1 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 [2022-03-17T16:15:49.580Z] $ docker rm -f 6f2daa92cb30ded1cb6036059242a76e93ca821b5261f15677a7a781f1bc5474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T16:15:50.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T16:15:51.197Z] + ls -al . [2022-03-17T16:15:51.197Z] total 208 [2022-03-17T16:15:51.197Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 16:15 . [2022-03-17T16:15:51.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 .. [2022-03-17T16:15:51.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:14 .git [2022-03-17T16:15:51.197Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 16:14 .github [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 16:14 .gitignore [2022-03-17T16:15:51.197Z] drwx------ 3 jenkins jenkins 4096 Mar 17 16:15 .semver [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 17 16:14 Attribution.txt [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 17 16:14 CHANGES [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 16:14 Doxyfile [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 16:14 GOVERNANCE.md [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 16:14 Jenkinsfile [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 16:14 LICENSE [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 16:14 Makefile [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 16:14 OWNERS.md [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 17 16:14 README.md [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 17 16:14 README.v2.md [2022-03-17T16:15:51.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 16:15 VERSION [2022-03-17T16:15:51.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:14 docs [2022-03-17T16:15:51.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 include [2022-03-17T16:15:51.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:14 scripts [2022-03-17T16:15:51.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:14 src [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:15:51.533Z] + 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=45edf2ad213826a4bfa964888770c44e6986307a --label arch=amd64 --label version=0.0.0 . [2022-03-17T16:15:51.533Z] Sending build context to Docker daemon 4.532MB [2022-03-17T16:15:51.533Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-17T16:15:51.533Z] Step 2/17 : FROM ${BASE} [2022-03-17T16:15:51.533Z] ---> 229972c52bab [2022-03-17T16:15:51.533Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-17T16:15:51.533Z] ---> Running in fec5ae0f5d6d [2022-03-17T16:15:51.794Z] Removing intermediate container fec5ae0f5d6d [2022-03-17T16:15:51.794Z] ---> 0dd950dda1a7 [2022-03-17T16:15:51.794Z] 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-17T16:15:51.794Z] ---> Running in c801f5e25851 [2022-03-17T16:15:52.057Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-17T16:15:52.632Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:15:52.632Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:15:52.632Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:15:52.897Z] Removing intermediate container c801f5e25851 [2022-03-17T16:15:52.897Z] ---> ad986c0008e0 [2022-03-17T16:15:52.897Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:15:52.897Z] ---> Running in a57dc56bf66c [2022-03-17T16:15:53.468Z] Removing intermediate container a57dc56bf66c [2022-03-17T16:15:53.468Z] ---> 22c99c830547 [2022-03-17T16:15:53.468Z] 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-17T16:15:53.468Z] ---> Running in 7bf45a7a0a2d [2022-03-17T16:15:54.039Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:54.612Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:54.874Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T16:15:55.447Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:15:55.447Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-17T16:15:55.447Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-17T16:15:55.709Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-17T16:15:55.709Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-17T16:15:55.709Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-17T16:15:55.971Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-17T16:15:55.971Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-17T16:15:55.971Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-17T16:15:56.232Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-17T16:15:56.232Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-17T16:15:56.493Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-17T16:15:56.493Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-17T16:15:56.493Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-17T16:15:56.755Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-17T16:15:56.755Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-17T16:15:56.755Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-17T16:15:57.015Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-17T16:15:57.015Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-17T16:15:57.015Z] (19/26) Installing flock (2.37.4-r0) [2022-03-17T16:15:57.277Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-17T16:15:57.277Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-17T16:15:57.277Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-17T16:15:57.539Z] (23/26) Installing logger (2.37.4-r0) [2022-03-17T16:15:57.539Z] (24/26) Installing partx (2.37.4-r0) [2022-03-17T16:15:57.539Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-17T16:15:57.800Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-17T16:15:57.800Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:15:57.800Z] OK: 294 MiB in 109 packages [2022-03-17T16:15:58.746Z] Removing intermediate container 7bf45a7a0a2d [2022-03-17T16:15:58.746Z] ---> e8a0a4a05b24 [2022-03-17T16:15:58.746Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-17T16:15:58.746Z] ---> 72b3e4429caf [2022-03-17T16:15:58.746Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-17T16:15:59.007Z] ---> 4bbd0e048560 [2022-03-17T16:15:59.007Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-17T16:15:59.267Z] ---> 4ea6aa72b6e4 [2022-03-17T16:15:59.267Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-17T16:15:59.267Z] ---> efc3bfb562e9 [2022-03-17T16:15:59.267Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-17T16:15:59.526Z] ---> c75ae57261fc [2022-03-17T16:15:59.526Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-17T16:15:59.526Z] ---> f20fa706103a [2022-03-17T16:15:59.526Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-17T16:15:59.526Z] ---> Running in 28a19c3cbb73 [2022-03-17T16:15:59.787Z] Removing intermediate container 28a19c3cbb73 [2022-03-17T16:15:59.787Z] ---> 4c46e5d36b85 [2022-03-17T16:15:59.787Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-17T16:15:59.787Z] ---> Running in d9baaa9f1a38 [2022-03-17T16:15:59.787Z] Removing intermediate container d9baaa9f1a38 [2022-03-17T16:15:59.787Z] ---> 7512470f874a [2022-03-17T16:15:59.787Z] Step 15/17 : LABEL arch=amd64 [2022-03-17T16:16:00.047Z] ---> Running in 04ba4d4070c2 [2022-03-17T16:16:00.047Z] Removing intermediate container 04ba4d4070c2 [2022-03-17T16:16:00.047Z] ---> c39fd819a26f [2022-03-17T16:16:00.047Z] Step 16/17 : LABEL git_sha=45edf2ad213826a4bfa964888770c44e6986307a [2022-03-17T16:16:00.047Z] ---> Running in 958b8702ddf3 [2022-03-17T16:16:00.047Z] Removing intermediate container 958b8702ddf3 [2022-03-17T16:16:00.047Z] ---> 87d24d760fd0 [2022-03-17T16:16:00.047Z] Step 17/17 : LABEL version=0.0.0 [2022-03-17T16:16:00.308Z] ---> Running in c5b5ce6d4f75 [2022-03-17T16:16:00.308Z] Removing intermediate container c5b5ce6d4f75 [2022-03-17T16:16:00.308Z] ---> d9136320a09b [2022-03-17T16:16:00.308Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-17T16:16:00.308Z] Successfully built d9136320a09b [2022-03-17T16:16:00.308Z] 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-17T16:16:01.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T16:16:01.087Z] [2022-03-17T16:16:01.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:16:01.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T16:16:01.425Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T16:16:01.425Z] 5eb5b503b376: Pulling fs layer [2022-03-17T16:16:01.425Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T16:16:01.425Z] ec43610c2a17: Pulling fs layer [2022-03-17T16:16:01.425Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T16:16:01.425Z] 33b1e0a273af: Pulling fs layer [2022-03-17T16:16:01.425Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T16:16:01.425Z] 2f39f015ded8: Pulling fs layer [2022-03-17T16:16:01.425Z] 3a2ae6a8a46f: Waiting [2022-03-17T16:16:01.425Z] 5d3b04190fa2: Waiting [2022-03-17T16:16:01.425Z] 2f39f015ded8: Waiting [2022-03-17T16:16:01.425Z] 33b1e0a273af: Waiting [2022-03-17T16:16:01.425Z] 5c69ac0246d0: Download complete [2022-03-17T16:16:01.425Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T16:16:01.425Z] 3a2ae6a8a46f: Download complete [2022-03-17T16:16:01.425Z] 33b1e0a273af: Verifying Checksum [2022-03-17T16:16:01.425Z] 33b1e0a273af: Download complete [2022-03-17T16:16:01.425Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T16:16:01.425Z] 5d3b04190fa2: Download complete [2022-03-17T16:16:01.425Z] ec43610c2a17: Verifying Checksum [2022-03-17T16:16:01.425Z] ec43610c2a17: Download complete [2022-03-17T16:16:01.684Z] 5eb5b503b376: Verifying Checksum [2022-03-17T16:16:01.684Z] 5eb5b503b376: Download complete [2022-03-17T16:16:02.254Z] 2f39f015ded8: Verifying Checksum [2022-03-17T16:16:02.254Z] 2f39f015ded8: Download complete [2022-03-17T16:16:03.194Z] 5eb5b503b376: Pull complete [2022-03-17T16:16:03.194Z] 5c69ac0246d0: Pull complete [2022-03-17T16:16:03.455Z] ec43610c2a17: Pull complete [2022-03-17T16:16:03.715Z] 3a2ae6a8a46f: Pull complete [2022-03-17T16:16:03.974Z] 33b1e0a273af: Pull complete [2022-03-17T16:16:03.974Z] 5d3b04190fa2: Pull complete [2022-03-17T16:16:09.253Z] 2f39f015ded8: Pull complete [2022-03-17T16:16:09.253Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T16:16:09.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T16:16:09.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T16:16:09.347Z] prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container [2022-03-17T16:16:09.382Z] $ 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-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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-17T16:16:11.244Z] $ docker top 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:16:11.691Z] ---> job-cost.sh [2022-03-17T16:16:11.691Z] lf-activate-venv: SKIPPING [2022-03-17T16:16:11.691Z] INFO: No Stack... [2022-03-17T16:16:11.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T16:16:12.522Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T16:16:12.836Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/cost.csv [2022-03-17T16:16:12.836Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T16:16:12.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [2022-03-17T16:16:12.877Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] did not exist. Created. [2022-03-17T16:16:12.877Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T16:16:13.258Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T16:16:13.320Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T16:16:13.333Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T16:16:13.405Z] $ docker stop --time=1 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 [2022-03-17T16:16:14.576Z] $ docker rm -f 81c43743f167770d67b9faeb81e0cf397b49084bc94deed44af58f42afba75d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T16:16:55.685Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7847 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [Pipeline] { [Pipeline] ws [2022-03-17T16:16:55.724Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-03-17T16:16:55.977Z] Selected Git installation does not exist. Using Default [2022-03-17T16:16:55.977Z] The recommended git tool is: NONE [2022-03-17T16:17:03.350Z] using credential edgex-jenkins-ssh [2022-03-17T16:17:03.367Z] Cloning the remote Git repository [2022-03-17T16:17:03.427Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-17T16:17:03.511Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-03-17T16:17:03.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-17T16:17:03.606Z] > git --version # timeout=10 [2022-03-17T16:17:03.626Z] > git --version # 'git version 2.25.1' [2022-03-17T16:17:03.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T16:17:03.739Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T16:17:05.578Z] Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 45edf2ad213826a4bfa964888770c44e6986307a [2022-03-17T16:17:05.993Z] Merge succeeded, producing 45edf2ad213826a4bfa964888770c44e6986307a [2022-03-17T16:17:05.993Z] Checking out Revision 45edf2ad213826a4bfa964888770c44e6986307a (PR-404) [2022-03-17T16:17:04.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-17T16:17:04.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T16:17:04.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-17T16:17:04.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-17T16:17:04.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T16:17:04.926Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-17T16:17:05.611Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T16:17:05.626Z] > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 [2022-03-17T16:17:05.762Z] > git remote # timeout=10 [2022-03-17T16:17:05.833Z] > git config --get remote.origin.url # timeout=10 [2022-03-17T16:17:05.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T16:17:05.902Z] > git merge 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 [2022-03-17T16:17:05.951Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-17T16:17:06.019Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T16:17:06.094Z] > git checkout -f 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 [2022-03-17T16:17:10.552Z] Commit message: "feat: upload secrets from file" [2022-03-17T16:17:10.613Z] > git --version # timeout=10 [2022-03-17T16:17:10.623Z] > git --version # 'git version 2.25.1' [2022-03-17T16:17:10.638Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T16:17:11.850Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T16:17:11.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T16:17:11.850Z] Dload Upload Total Spent Left Speed [2022-03-17T16:17:12.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10502 0 0 23132 0 --:--:-- --:--:-- --:--:-- 23081 100 11843 100 11843 0 0 25971 0 --:--:-- --:--:-- --:--:-- 25971 [Pipeline] sh [2022-03-17T16:17:12.689Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T16:17:13.055Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-03-17T16:17:13.055Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T16:17:13.055Z] { [2022-03-17T16:17:13.055Z] "registry-mirrors": [ [2022-03-17T16:17:13.055Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T16:17:13.055Z] ], [2022-03-17T16:17:13.055Z] "bip": "10.250.0.254/24", [2022-03-17T16:17:13.055Z] "hosts": [ [2022-03-17T16:17:13.055Z] "tcp://0.0.0.0:5555", [2022-03-17T16:17:13.055Z] "unix:///var/run/docker.sock" [2022-03-17T16:17:13.055Z] ], [2022-03-17T16:17:13.055Z] "mtu": 1458, [2022-03-17T16:17:13.055Z] "selinux-enabled": true, [2022-03-17T16:17:13.055Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T16:17:13.055Z] } [Pipeline] sh [2022-03-17T16:17:13.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T16:17:13.798Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T16:17:32.218Z] provisioning config files... [2022-03-17T16:17:32.245Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2723508099610037019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:17:32.900Z] ---> docker-login.sh [2022-03-17T16:17:32.900Z] nexus3.edgexfoundry.org:10001 [2022-03-17T16:17:33.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:17:33.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:17:33.782Z] Configure a credential helper to remove this warning. See [2022-03-17T16:17:33.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:17:33.782Z] [2022-03-17T16:17:33.782Z] Login Succeeded [2022-03-17T16:17:33.782Z] nexus3.edgexfoundry.org:10002 [2022-03-17T16:17:34.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:17:34.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:17:34.342Z] Configure a credential helper to remove this warning. See [2022-03-17T16:17:34.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:17:34.342Z] [2022-03-17T16:17:34.342Z] Login Succeeded [2022-03-17T16:17:34.342Z] nexus3.edgexfoundry.org:10003 [2022-03-17T16:17:34.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:17:34.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:17:34.621Z] Configure a credential helper to remove this warning. See [2022-03-17T16:17:34.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:17:34.621Z] [2022-03-17T16:17:34.621Z] Login Succeeded [2022-03-17T16:17:34.621Z] nexus3.edgexfoundry.org:10004 [2022-03-17T16:17:34.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:17:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:17:35.178Z] Configure a credential helper to remove this warning. See [2022-03-17T16:17:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:17:35.178Z] [2022-03-17T16:17:35.178Z] Login Succeeded [2022-03-17T16:17:35.178Z] docker.io [2022-03-17T16:17:35.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T16:17:35.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T16:17:35.722Z] Configure a credential helper to remove this warning. See [2022-03-17T16:17:35.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T16:17:35.722Z] [2022-03-17T16:17:35.722Z] Login Succeeded [2022-03-17T16:17:35.995Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T16:17:36.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T16:17:36.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T16:17:36.442Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-17T16:17:36.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T16:17:36.506Z] ========================================================= [2022-03-17T16:17:36.506Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-17T16:17:36.506Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:17:36.913Z] + 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-17T16:17:37.524Z] Sending build context to Docker daemon 2.768MB [2022-03-17T16:17:37.524Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-17T16:17:37.524Z] Step 2/22 : FROM ${BASE} as builder [2022-03-17T16:17:37.524Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-17T16:17:37.524Z] 9b3977197b4f: Pulling fs layer [2022-03-17T16:17:37.524Z] 2a93055cfd06: Pulling fs layer [2022-03-17T16:17:37.524Z] ff5fdaca7850: Pulling fs layer [2022-03-17T16:17:37.524Z] 2a93055cfd06: Download complete [2022-03-17T16:17:37.524Z] 9b3977197b4f: Download complete [2022-03-17T16:17:38.133Z] 9b3977197b4f: Pull complete [2022-03-17T16:17:38.730Z] 2a93055cfd06: Pull complete [2022-03-17T16:17:39.710Z] ff5fdaca7850: Verifying Checksum [2022-03-17T16:17:39.710Z] ff5fdaca7850: Download complete [2022-03-17T16:17:47.998Z] ff5fdaca7850: Pull complete [2022-03-17T16:17:47.998Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-17T16:17:47.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-17T16:17:47.998Z] ---> 0af3d9908a83 [2022-03-17T16:17:47.998Z] 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-17T16:17:49.012Z] ---> Running in 3749dfc8cbc7 [2022-03-17T16:17:49.994Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-17T16:17:50.595Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:17:50.595Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:17:50.595Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:17:51.191Z] Removing intermediate container 3749dfc8cbc7 [2022-03-17T16:17:51.191Z] ---> b41039a6fb1f [2022-03-17T16:17:51.191Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:17:51.191Z] ---> Running in 530e74c14469 [2022-03-17T16:17:53.180Z] Removing intermediate container 530e74c14469 [2022-03-17T16:17:53.180Z] ---> 4a36d1c472f2 [2022-03-17T16:17:53.180Z] 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-17T16:17:53.180Z] ---> Running in 12c41bddb061 [2022-03-17T16:17:53.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:17:54.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T16:17:55.347Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:17:55.941Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:17:55.941Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-17T16:17:56.214Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-17T16:17:56.214Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-17T16:17:56.214Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-17T16:17:56.486Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-17T16:17:56.486Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-17T16:17:57.462Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-17T16:17:57.462Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-17T16:17:57.734Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-17T16:17:57.734Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-17T16:17:57.734Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-17T16:17:58.007Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-17T16:17:58.280Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-17T16:17:58.280Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-17T16:17:58.553Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-17T16:17:58.826Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-17T16:17:58.826Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-17T16:17:58.826Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-17T16:17:59.099Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-17T16:17:59.099Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-17T16:17:59.099Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-17T16:17:59.372Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-17T16:17:59.372Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-17T16:17:59.372Z] (24/31) Installing flock (2.37.4-r0) [2022-03-17T16:17:59.646Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-17T16:17:59.646Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-17T16:17:59.646Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-17T16:17:59.646Z] (28/31) Installing logger (2.37.4-r0) [2022-03-17T16:17:59.922Z] (29/31) Installing partx (2.37.4-r0) [2022-03-17T16:17:59.922Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-17T16:17:59.922Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-17T16:18:00.197Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:18:00.197Z] OK: 289 MiB in 108 packages [2022-03-17T16:18:01.646Z] Removing intermediate container 12c41bddb061 [2022-03-17T16:18:01.646Z] ---> 142045ad0077 [2022-03-17T16:18:01.646Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-17T16:18:01.646Z] ---> Running in 4cd09d617cdf [2022-03-17T16:18:03.638Z] Removing intermediate container 4cd09d617cdf [2022-03-17T16:18:03.639Z] ---> 4d3717a0c78f [2022-03-17T16:18:03.639Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-17T16:18:03.913Z] ---> 6faf41d76a33 [2022-03-17T16:18:03.913Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-17T16:18:04.894Z] ---> 94e7ceda86d8 [2022-03-17T16:18:04.894Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-17T16:18:05.167Z] ---> 177941cb1083 [2022-03-17T16:18:05.167Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-17T16:18:05.767Z] ---> 0ca4765988c0 [2022-03-17T16:18:05.767Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-17T16:18:06.365Z] ---> e9eb491e4e6a [2022-03-17T16:18:06.365Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-17T16:18:06.963Z] ---> eadc533a402d [2022-03-17T16:18:06.963Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-17T16:18:06.963Z] ---> Running in 94269cb5f4dd [2022-03-17T16:18:07.945Z] + CPPCHECK=false [2022-03-17T16:18:07.945Z] + DOCGEN=false [2022-03-17T16:18:07.945Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-17T16:18:07.945Z] + TOMLVER=SDK-0.2 [2022-03-17T16:18:07.945Z] + CUTILVER=1.2.2 [2022-03-17T16:18:07.945Z] + '[' 0 -gt 0 ] [2022-03-17T16:18:07.945Z] + readlink -f ./scripts/build.sh [2022-03-17T16:18:07.945Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-17T16:18:07.945Z] + dirname /tmp/sdk/scripts [2022-03-17T16:18:07.945Z] + ROOT=/tmp/sdk [2022-03-17T16:18:07.945Z] + cd /tmp/sdk [2022-03-17T16:18:07.945Z] + '[' '!' -d deps ] [2022-03-17T16:18:07.945Z] + mkdir deps [2022-03-17T16:18:07.945Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-17T16:18:07.945Z] + tar -C deps -z -x -f - [2022-03-17T16:18:07.945Z] Connecting to github.com (140.82.112.4:443) [2022-03-17T16:18:08.218Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-03-17T16:18:08.218Z] writing to stdout [2022-03-17T16:18:08.491Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-17T16:18:08.491Z] written to stdout [2022-03-17T16:18:08.491Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-17T16:18:08.491Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-17T16:18:08.491Z] + tar -C deps -z -x -f - [2022-03-17T16:18:08.491Z] Connecting to github.com (140.82.112.4:443) [2022-03-17T16:18:08.491Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-03-17T16:18:08.763Z] writing to stdout [2022-03-17T16:18:09.042Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-17T16:18:09.042Z] written to stdout [2022-03-17T16:18:09.042Z] + mkdir -p src/c/iot [2022-03-17T16:18:09.042Z] + 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-17T16:18:09.042Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-17T16:18:09.042Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-17T16:18:09.042Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-17T16:18:09.042Z] + mkdir -p include/iot [2022-03-17T16:18:09.042Z] + 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-17T16:18:09.042Z] + mkdir -p include/iot/os [2022-03-17T16:18:09.042Z] + 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-17T16:18:09.042Z] + mkdir -p /tmp/sdk/build/release [2022-03-17T16:18:09.042Z] + cd /tmp/sdk/build/release [2022-03-17T16:18:09.042Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-17T16:18:09.315Z] -- The C compiler identification is GNU 10.3.1 [2022-03-17T16:18:09.315Z] -- Detecting C compiler ABI info [2022-03-17T16:18:09.589Z] -- Detecting C compiler ABI info - done [2022-03-17T16:18:09.865Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-17T16:18:09.865Z] -- Detecting C compile features [2022-03-17T16:18:09.865Z] -- Detecting C compile features - done [2022-03-17T16:18:09.865Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-17T16:18:09.865Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-17T16:18:09.865Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-17T16:18:09.865Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-17T16:18:10.141Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-17T16:18:10.141Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-17T16:18:10.141Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-17T16:18:10.141Z] -- C SDK 0.0.0 for Linux [2022-03-17T16:18:10.141Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-17T16:18:10.416Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-17T16:18:10.416Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-17T16:18:10.695Z] -- Configuring done [2022-03-17T16:18:10.971Z] -- Generating done [2022-03-17T16:18:10.971Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-17T16:18:10.971Z] + make all package [2022-03-17T16:18:10.971Z] + tee release.log [2022-03-17T16:18:10.971Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-17T16:18:11.975Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-17T16:18:12.601Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-17T16:18:15.232Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-17T16:18:16.212Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-17T16:18:16.486Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-17T16:18:17.470Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-17T16:18:18.069Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-17T16:18:18.358Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-17T16:18:19.793Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-17T16:18:21.768Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-17T16:18:22.369Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-17T16:18:23.360Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-17T16:18:24.336Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-17T16:18:24.608Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-17T16:18:24.880Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-17T16:18:25.155Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-17T16:18:28.537Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-17T16:18:28.807Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-17T16:18:29.081Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-17T16:18:29.672Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-17T16:18:30.266Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-17T16:18:30.536Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-17T16:18:30.536Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-17T16:18:30.536Z] 275 | const iot_component_factory_t * factory; [2022-03-17T16:18:30.536Z] | ^~~~~~~ [2022-03-17T16:18:31.129Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-17T16:18:36.505Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-17T16:18:36.505Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-17T16:18:36.775Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-17T16:18:37.366Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-17T16:18:38.336Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-17T16:18:38.336Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-17T16:18:39.758Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-17T16:18:40.033Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-17T16:18:41.002Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-17T16:18:41.274Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-17T16:18:41.862Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-17T16:18:44.459Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-17T16:18:44.731Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-17T16:18:46.150Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-17T16:18:46.419Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-17T16:18:51.808Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-17T16:18:51.808Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-17T16:18:52.402Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-17T16:18:52.996Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-17T16:18:53.270Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-17T16:18:53.270Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:18:53.270Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-17T16:18:53.270Z] | ^~~~~~~~~~~~~ [2022-03-17T16:18:53.270Z] | | [2022-03-17T16:18:53.270Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-17T16:18:53.270Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:18:53.270Z] /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-17T16:18:53.270Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-17T16:18:53.270Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-17T16:18:53.270Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-17T16:18:53.270Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:18:53.270Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-17T16:18:53.270Z] | ^~~~~~~~~~~~ [2022-03-17T16:18:53.270Z] | | [2022-03-17T16:18:53.270Z] | 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-17T16:18:53.270Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:18:53.270Z] /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-17T16:18:53.270Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:18:53.270Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:18:53.270Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:18:53.270Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-17T16:18:53.270Z] | ^~~~~~~~~~~~ [2022-03-17T16:18:53.270Z] | | [2022-03-17T16:18:53.270Z] | 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-17T16:18:53.270Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:18:53.270Z] /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-17T16:18:53.270Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:18:53.270Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:18:54.241Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-17T16:18:56.848Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-17T16:18:56.848Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-17T16:18:57.442Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-17T16:18:58.038Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-17T16:19:00.662Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-17T16:19:04.958Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-17T16:19:05.552Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-17T16:19:06.150Z] [ 76%] Linking C shared library libcsdk.so [2022-03-17T16:19:06.426Z] [ 76%] Built target csdk [2022-03-17T16:19:06.426Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-17T16:19:07.402Z] [ 79%] Linking C executable template [2022-03-17T16:19:07.676Z] [ 79%] Built target template [2022-03-17T16:19:07.676Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-17T16:19:08.269Z] [ 82%] Linking C executable device-counter [2022-03-17T16:19:08.540Z] [ 82%] Built target device-counter [2022-03-17T16:19:08.540Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-17T16:19:09.131Z] [ 85%] Linking C executable device-random [2022-03-17T16:19:09.401Z] [ 85%] Built target device-random [2022-03-17T16:19:09.401Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-17T16:19:09.995Z] [ 88%] Linking C executable device-gyro [2022-03-17T16:19:10.269Z] [ 88%] Built target device-gyro [2022-03-17T16:19:10.269Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-17T16:19:10.866Z] [ 91%] Linking C executable device-bitfields [2022-03-17T16:19:11.142Z] [ 91%] Built target device-bitfields [2022-03-17T16:19:11.142Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-17T16:19:12.135Z] [ 94%] Linking C executable template-discovery [2022-03-17T16:19:12.411Z] [ 94%] Built target template-discovery [2022-03-17T16:19:12.411Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-17T16:19:13.066Z] [ 97%] Linking C executable device-file [2022-03-17T16:19:13.349Z] [ 97%] Built target device-file [2022-03-17T16:19:13.720Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-17T16:19:14.412Z] [100%] Linking C executable device-terminal [2022-03-17T16:19:14.689Z] [100%] Built target device-terminal [2022-03-17T16:19:14.689Z] Run CPack packaging tool... [2022-03-17T16:19:14.689Z] CPack: Create package using TGZ [2022-03-17T16:19:14.689Z] CPack: Install projects [2022-03-17T16:19:14.689Z] CPack: - Run preinstall target for: Csdk [2022-03-17T16:19:15.700Z] CPack: - Install project: Csdk [] [2022-03-17T16:19:15.700Z] CPack: Create package [2022-03-17T16:19:15.700Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-17T16:19:15.700Z] + '[' false '=' true ] [2022-03-17T16:19:15.700Z] + '[' false '=' true ] [2022-03-17T16:19:15.700Z] + mkdir -p /tmp/sdk/build/debug [2022-03-17T16:19:15.700Z] + cd /tmp/sdk/build/debug [2022-03-17T16:19:15.700Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-17T16:19:15.980Z] -- The C compiler identification is GNU 10.3.1 [2022-03-17T16:19:15.980Z] -- Detecting C compiler ABI info [2022-03-17T16:19:16.261Z] -- Detecting C compiler ABI info - done [2022-03-17T16:19:16.539Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-17T16:19:16.539Z] -- Detecting C compile features [2022-03-17T16:19:16.539Z] -- Detecting C compile features - done [2022-03-17T16:19:16.539Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-17T16:19:16.815Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-17T16:19:16.815Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-17T16:19:16.815Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-17T16:19:16.815Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-17T16:19:16.815Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-17T16:19:16.815Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-17T16:19:16.815Z] -- C SDK 0.0.0 for Linux [2022-03-17T16:19:16.815Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-17T16:19:17.086Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-17T16:19:17.359Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-17T16:19:17.359Z] -- Configuring done [2022-03-17T16:19:17.633Z] -- Generating done [2022-03-17T16:19:17.633Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-17T16:19:17.633Z] + make [2022-03-17T16:19:17.633Z] + tee debug.log [2022-03-17T16:19:17.904Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-17T16:19:18.174Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-17T16:19:18.446Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-17T16:19:19.417Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-17T16:19:19.690Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-17T16:19:19.690Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-17T16:19:20.290Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-17T16:19:20.562Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-17T16:19:20.836Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-17T16:19:21.426Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-17T16:19:22.031Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-17T16:19:22.307Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-17T16:19:22.579Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-17T16:19:23.174Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-17T16:19:23.449Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-17T16:19:23.449Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-17T16:19:23.720Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-17T16:19:24.699Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-17T16:19:24.970Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-17T16:19:25.243Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-17T16:19:25.516Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-17T16:19:25.788Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-17T16:19:25.788Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-17T16:19:25.788Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-17T16:19:25.788Z] 275 | const iot_component_factory_t * factory; [2022-03-17T16:19:25.788Z] | ^~~~~~~ [2022-03-17T16:19:26.062Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-17T16:19:27.489Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-17T16:19:27.489Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-17T16:19:27.763Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-17T16:19:28.037Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-17T16:19:28.311Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-17T16:19:28.583Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-17T16:19:28.867Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-17T16:19:29.138Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-17T16:19:29.414Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-17T16:19:29.685Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-17T16:19:29.959Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-17T16:19:30.554Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-17T16:19:30.827Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-17T16:19:31.424Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-17T16:19:31.695Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-17T16:19:32.672Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-17T16:19:33.267Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-17T16:19:33.539Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-17T16:19:33.811Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-17T16:19:34.080Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-17T16:19:34.080Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:19:34.080Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-17T16:19:34.080Z] | ^~~~~~~~~~~~~ [2022-03-17T16:19:34.081Z] | | [2022-03-17T16:19:34.081Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-17T16:19:34.081Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:19:34.081Z] /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-17T16:19:34.081Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-17T16:19:34.081Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-17T16:19:34.081Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-17T16:19:34.081Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:19:34.081Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-17T16:19:34.081Z] | ^~~~~~~~~~~~ [2022-03-17T16:19:34.081Z] | | [2022-03-17T16:19:34.081Z] | 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-17T16:19:34.081Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:19:34.081Z] /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-17T16:19:34.081Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:19:34.081Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:19:34.081Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-17T16:19:34.081Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-17T16:19:34.081Z] | ^~~~~~~~~~~~ [2022-03-17T16:19:34.081Z] | | [2022-03-17T16:19:34.081Z] | 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-17T16:19:34.081Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-17T16:19:34.081Z] /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-17T16:19:34.081Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-17T16:19:34.081Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-17T16:19:34.081Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-17T16:19:36.047Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-17T16:19:36.047Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-17T16:19:36.317Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-17T16:19:36.589Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-17T16:19:37.567Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-17T16:19:38.160Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-17T16:19:38.753Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-17T16:19:39.026Z] [ 76%] Linking C shared library libcsdk.so [2022-03-17T16:19:39.303Z] [ 76%] Built target csdk [2022-03-17T16:19:39.303Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-17T16:19:39.576Z] [ 79%] Linking C executable template [2022-03-17T16:19:39.847Z] [ 79%] Built target template [2022-03-17T16:19:39.847Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-17T16:19:40.120Z] [ 82%] Linking C executable device-counter [2022-03-17T16:19:40.392Z] [ 82%] Built target device-counter [2022-03-17T16:19:40.664Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-17T16:19:40.935Z] [ 85%] Linking C executable device-random [2022-03-17T16:19:41.208Z] [ 85%] Built target device-random [2022-03-17T16:19:41.208Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-17T16:19:41.480Z] [ 88%] Linking C executable device-gyro [2022-03-17T16:19:41.753Z] [ 88%] Built target device-gyro [2022-03-17T16:19:41.753Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-17T16:19:42.024Z] [ 91%] Linking C executable device-bitfields [2022-03-17T16:19:42.296Z] [ 91%] Built target device-bitfields [2022-03-17T16:19:42.296Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-17T16:19:42.887Z] [ 94%] Linking C executable template-discovery [2022-03-17T16:19:43.159Z] [ 94%] Built target template-discovery [2022-03-17T16:19:43.159Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-17T16:19:43.432Z] [ 97%] Linking C executable device-file [2022-03-17T16:19:43.704Z] [ 97%] Built target device-file [2022-03-17T16:19:43.704Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-17T16:19:44.295Z] [100%] Linking C executable device-terminal [2022-03-17T16:19:44.565Z] [100%] Built target device-terminal [2022-03-17T16:19:44.566Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] [ 76%] Built target csdk [2022-03-17T16:19:44.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.566Z] [ 79%] Built target template [2022-03-17T16:19:44.566Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] [ 82%] Built target device-counter [2022-03-17T16:19:44.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] [ 85%] Built target device-random [2022-03-17T16:19:44.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] [ 88%] Built target device-gyro [2022-03-17T16:19:44.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] [ 91%] Built target device-bitfields [2022-03-17T16:19:44.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] [ 94%] Built target template-discovery [2022-03-17T16:19:44.837Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:44.837Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:45.109Z] [ 97%] Built target device-file [2022-03-17T16:19:45.109Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-17T16:19:45.109Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:45.109Z] [100%] Built target device-terminal [2022-03-17T16:19:45.109Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:45.109Z] Install the project... [2022-03-17T16:19:45.109Z] -- Install configuration: "Release" [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/devsdk [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/time.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/component.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/config.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/container.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/os.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/data.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/os [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/json.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-17T16:19:45.109Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-17T16:19:45.109Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-17T16:19:47.079Z] Removing intermediate container 94269cb5f4dd [2022-03-17T16:19:47.079Z] ---> edb7b948c18b [2022-03-17T16:19:47.079Z] Step 14/22 : FROM ${BASE} [2022-03-17T16:19:47.079Z] ---> 0af3d9908a83 [2022-03-17T16:19:47.079Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-17T16:19:47.079Z] ---> Running in 2fa19e4e360f [2022-03-17T16:19:47.355Z] Removing intermediate container 2fa19e4e360f [2022-03-17T16:19:47.355Z] ---> a3cbbbb2dba0 [2022-03-17T16:19:47.355Z] 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-17T16:19:47.355Z] ---> Running in b9b96ab52a07 [2022-03-17T16:19:48.333Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-17T16:19:48.932Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:19:48.932Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:19:48.932Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:19:49.529Z] Removing intermediate container b9b96ab52a07 [2022-03-17T16:19:49.529Z] ---> 58c9b3a18869 [2022-03-17T16:19:49.529Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:19:49.529Z] ---> Running in 8026b2cdf8aa [2022-03-17T16:19:51.507Z] Removing intermediate container 8026b2cdf8aa [2022-03-17T16:19:51.507Z] ---> 1a208e827e60 [2022-03-17T16:19:51.507Z] 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-17T16:19:51.507Z] ---> Running in 825a97f4fc36 [2022-03-17T16:19:52.099Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:19:53.070Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T16:19:53.663Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:19:54.256Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:19:54.256Z] (1/6) Installing curl (7.80.0-r0) [2022-03-17T16:19:54.256Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-17T16:19:54.529Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-17T16:19:54.529Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-17T16:19:54.529Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-17T16:19:54.802Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-17T16:19:55.395Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:19:55.395Z] OK: 278 MiB in 83 packages [2022-03-17T16:19:56.387Z] Removing intermediate container 825a97f4fc36 [2022-03-17T16:19:56.387Z] ---> b47d8b45864f [2022-03-17T16:19:56.387Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-17T16:19:56.999Z] ---> b06dd71d439b [2022-03-17T16:19:56.999Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-17T16:19:57.601Z] ---> 925da73aa57f [2022-03-17T16:19:57.601Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-17T16:19:58.198Z] ---> 2ec92c450a17 [2022-03-17T16:19:58.198Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-17T16:19:58.796Z] ---> 7499efb42b26 [2022-03-17T16:19:58.796Z] Successfully built 7499efb42b26 [2022-03-17T16:19:58.796Z] 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-17T16:19:59.385Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T16:19:59.385Z] . [Pipeline] withDockerContainer [2022-03-17T16:19:59.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-7847 does not seem to be running inside a container [2022-03-17T16:19:59.726Z] $ 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-17T16:20:01.029Z] $ docker top 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T16:20:01.989Z] + make test [2022-03-17T16:20:01.990Z] echo "make test" [2022-03-17T16:20:01.990Z] make test [Pipeline] } [2022-03-17T16:20:02.022Z] $ docker stop --time=1 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e [2022-03-17T16:20:03.651Z] $ docker rm -f 98a27f020d060a9a44cbccfb042100f927b96d3542af5a940af326667630cd5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T16:20:04.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T16:20:04.881Z] + ls -al . [2022-03-17T16:20:04.882Z] total 204 [2022-03-17T16:20:04.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:17 . [2022-03-17T16:20:04.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 .. [2022-03-17T16:20:04.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 16:17 .git [2022-03-17T16:20:04.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 16:17 .github [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 17 16:17 .gitignore [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 17 16:17 Attribution.txt [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 17 16:17 CHANGES [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 17 16:17 Doxyfile [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 16:17 GOVERNANCE.md [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 17 16:17 Jenkinsfile [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 17 16:17 LICENSE [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 17 16:17 Makefile [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 17 16:17 OWNERS.md [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 17 16:17 README.md [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 17 16:17 README.v2.md [2022-03-17T16:20:04.882Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 16:15 VERSION [2022-03-17T16:20:04.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:17 docs [2022-03-17T16:20:04.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 include [2022-03-17T16:20:04.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 16:17 scripts [2022-03-17T16:20:04.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 16:17 src [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:20:05.254Z] + 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=45edf2ad213826a4bfa964888770c44e6986307a --label arch=arm64 --label version=0.0.0 . [2022-03-17T16:20:05.534Z] Sending build context to Docker daemon 2.768MB [2022-03-17T16:20:05.810Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-17T16:20:05.810Z] Step 2/17 : FROM ${BASE} [2022-03-17T16:20:05.810Z] ---> 7499efb42b26 [2022-03-17T16:20:05.810Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-17T16:20:05.810Z] ---> Running in 74f5b2d0939b [2022-03-17T16:20:06.082Z] Removing intermediate container 74f5b2d0939b [2022-03-17T16:20:06.082Z] ---> 02f60fb0b0f3 [2022-03-17T16:20:06.082Z] 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-17T16:20:06.082Z] ---> Running in 3c6257a23ef2 [2022-03-17T16:20:07.062Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-17T16:20:07.663Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-17T16:20:07.663Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-17T16:20:07.663Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-17T16:20:08.258Z] Removing intermediate container 3c6257a23ef2 [2022-03-17T16:20:08.258Z] ---> e1acbf8eb06d [2022-03-17T16:20:08.259Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-17T16:20:08.259Z] ---> Running in 542fbe93fac8 [2022-03-17T16:20:09.697Z] Removing intermediate container 542fbe93fac8 [2022-03-17T16:20:09.697Z] ---> 5c8bd517171e [2022-03-17T16:20:09.697Z] 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-17T16:20:09.977Z] ---> Running in f1251e8291f1 [2022-03-17T16:20:10.953Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:20:11.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T16:20:12.199Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T16:20:13.174Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-17T16:20:13.174Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-17T16:20:13.174Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-17T16:20:13.174Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-17T16:20:13.174Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-17T16:20:13.447Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-17T16:20:13.447Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-17T16:20:13.447Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-17T16:20:13.719Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-17T16:20:13.719Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-17T16:20:13.991Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-17T16:20:14.263Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-17T16:20:14.263Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-17T16:20:14.263Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-17T16:20:14.535Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-17T16:20:14.535Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-17T16:20:14.535Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-17T16:20:14.807Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-17T16:20:14.807Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-17T16:20:14.807Z] (19/26) Installing flock (2.37.4-r0) [2022-03-17T16:20:15.078Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-17T16:20:15.078Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-17T16:20:15.078Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-17T16:20:15.078Z] (23/26) Installing logger (2.37.4-r0) [2022-03-17T16:20:15.349Z] (24/26) Installing partx (2.37.4-r0) [2022-03-17T16:20:15.349Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-17T16:20:15.349Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-17T16:20:15.622Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T16:20:15.622Z] OK: 290 MiB in 109 packages [2022-03-17T16:20:17.058Z] Removing intermediate container f1251e8291f1 [2022-03-17T16:20:17.058Z] ---> 4ca1d6bd87f3 [2022-03-17T16:20:17.058Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-17T16:20:17.658Z] ---> 07a6744779ef [2022-03-17T16:20:17.658Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-17T16:20:18.260Z] ---> 54bf43f45225 [2022-03-17T16:20:18.260Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-17T16:20:18.863Z] ---> 31f96348497e [2022-03-17T16:20:18.863Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-17T16:20:19.464Z] ---> 37ea1641052a [2022-03-17T16:20:19.464Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-17T16:20:19.740Z] ---> a0d495bac976 [2022-03-17T16:20:19.740Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-17T16:20:20.339Z] ---> cdc32b6399ed [2022-03-17T16:20:20.339Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-17T16:20:20.339Z] ---> Running in 4fcba21c82b4 [2022-03-17T16:20:20.617Z] Removing intermediate container 4fcba21c82b4 [2022-03-17T16:20:20.617Z] ---> 7878c5518d0f [2022-03-17T16:20:20.617Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-17T16:20:20.892Z] ---> Running in 42f71602fee3 [2022-03-17T16:20:21.166Z] Removing intermediate container 42f71602fee3 [2022-03-17T16:20:21.166Z] ---> 4d56abec8f5e [2022-03-17T16:20:21.166Z] Step 15/17 : LABEL arch=arm64 [2022-03-17T16:20:21.166Z] ---> Running in ef93e4aca89c [2022-03-17T16:20:21.440Z] Removing intermediate container ef93e4aca89c [2022-03-17T16:20:21.440Z] ---> 3bdf25f1932a [2022-03-17T16:20:21.440Z] Step 16/17 : LABEL git_sha=45edf2ad213826a4bfa964888770c44e6986307a [2022-03-17T16:20:21.440Z] ---> Running in c2a200887a7b [2022-03-17T16:20:22.044Z] Removing intermediate container c2a200887a7b [2022-03-17T16:20:22.044Z] ---> 90c5a6153370 [2022-03-17T16:20:22.044Z] Step 17/17 : LABEL version=0.0.0 [2022-03-17T16:20:22.044Z] ---> Running in fd6dcc6e2b78 [2022-03-17T16:20:22.316Z] Removing intermediate container fd6dcc6e2b78 [2022-03-17T16:20:22.316Z] ---> 203cdbb16011 [2022-03-17T16:20:22.316Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-17T16:20:22.316Z] Successfully built 203cdbb16011 [2022-03-17T16:20:22.316Z] 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-17T16:20:23.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T16:20:23.002Z] [2022-03-17T16:20:23.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:20:23.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T16:20:23.667Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T16:20:23.667Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T16:20:23.667Z] 04944245beec: Pulling fs layer [2022-03-17T16:20:23.667Z] 699f458cf7ca: Pulling fs layer [2022-03-17T16:20:23.667Z] 765212b225bb: Pulling fs layer [2022-03-17T16:20:23.667Z] f23df028b6ca: Pulling fs layer [2022-03-17T16:20:23.667Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T16:20:23.667Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T16:20:23.667Z] 765212b225bb: Waiting [2022-03-17T16:20:23.667Z] f23df028b6ca: Waiting [2022-03-17T16:20:23.667Z] d65c8cfc05b1: Waiting [2022-03-17T16:20:23.667Z] 2437ff75d9bd: Waiting [2022-03-17T16:20:23.667Z] 04944245beec: Verifying Checksum [2022-03-17T16:20:23.667Z] 04944245beec: Download complete [2022-03-17T16:20:23.667Z] 765212b225bb: Download complete [2022-03-17T16:20:23.667Z] f23df028b6ca: Download complete [2022-03-17T16:20:23.667Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T16:20:23.667Z] d65c8cfc05b1: Download complete [2022-03-17T16:20:23.945Z] 699f458cf7ca: Verifying Checksum [2022-03-17T16:20:23.945Z] 699f458cf7ca: Download complete [2022-03-17T16:20:24.220Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T16:20:24.220Z] 8998bd30e6a1: Download complete [2022-03-17T16:20:26.850Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T16:20:26.850Z] 2437ff75d9bd: Download complete [2022-03-17T16:20:28.832Z] 8998bd30e6a1: Pull complete [2022-03-17T16:20:29.107Z] 04944245beec: Pull complete [2022-03-17T16:20:30.552Z] 699f458cf7ca: Pull complete [2022-03-17T16:20:30.552Z] 765212b225bb: Pull complete [2022-03-17T16:20:31.543Z] f23df028b6ca: Pull complete [2022-03-17T16:20:31.818Z] d65c8cfc05b1: Pull complete [2022-03-17T16:20:46.928Z] 2437ff75d9bd: Pull complete [2022-03-17T16:20:46.928Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T16:20:46.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T16:20:46.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T16:20:47.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-7847 does not seem to be running inside a container [2022-03-17T16:20:47.264Z] $ 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-17T16:20:49.725Z] $ docker top cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:20:50.739Z] ---> job-cost.sh [2022-03-17T16:20:50.739Z] lf-activate-venv: SKIPPING [2022-03-17T16:20:50.739Z] INFO: No Stack... [2022-03-17T16:20:51.334Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T16:20:51.929Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T16:20:52.625Z] + + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-03-17T16:20:52.625Z] cut -d, -f6 [Pipeline] lock [2022-03-17T16:20:52.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [2022-03-17T16:20:52.709Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] did not exist. Created. [2022-03-17T16:20:52.710Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T16:20:53.493Z] /w/workspace/device-sdk-c/1@tmp/durable-3aceaf1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T16:20:54.191Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T16:20:54.225Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T16:20:54.704Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T16:20:54.723Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T16:20:54.797Z] $ docker stop --time=1 cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 [2022-03-17T16:20:56.325Z] $ docker rm -f cfa7a2931129f60d9cb1d332f3823537f2a40ab09c7ab81ec4c6c5a5b3192137 [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-17T16:20:58.032Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives ] [2022-03-17T16:20:58.032Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-17T16:20:58.032Z] total 16 [2022-03-17T16:20:58.032Z] drwxr-xr-x 3 root root 4096 Mar 17 16:16 . [2022-03-17T16:20:58.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 16:16 .. [2022-03-17T16:20:58.032Z] drwxr-xr-x 2 root root 4096 Mar 17 16:16 cost [2022-03-17T16:20:58.032Z] -rw-r--r-- 1 root root 83 Mar 17 16:16 cost.csv [2022-03-17T16:20:58.032Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-17T16:20:58.032Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-17T16:20:58.032Z] total 16 [2022-03-17T16:20:58.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 16:16 . [2022-03-17T16:20:58.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 16:16 .. [2022-03-17T16:20:58.032Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 16:16 cost [2022-03-17T16:20:58.032Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 17 16:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:20:58.356Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:20:59.248Z] ---> package-listing.sh [2022-03-17T16:20:59.248Z] ++ facter osfamily [2022-03-17T16:20:59.248Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T16:20:59.508Z] + OS_FAMILY=debian [2022-03-17T16:20:59.508Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-404 [2022-03-17T16:20:59.508Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T16:20:59.508Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T16:20:59.508Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T16:20:59.508Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T16:20:59.508Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' [2022-03-17T16:20:59.508Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T16:20:59.508Z] + case "${OS_FAMILY}" in [2022-03-17T16:20:59.508Z] + dpkg -l [2022-03-17T16:20:59.508Z] + grep '^ii' [2022-03-17T16:20:59.508Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T16:20:59.508Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T16:20:59.508Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T16:20:59.508Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' [2022-03-17T16:20:59.508Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ [2022-03-17T16:20:59.508Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ [Pipeline] echo [2022-03-17T16:20:59.543Z] 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-17T16:20:59.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T16:21:00.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T16:21:00.421Z] . [Pipeline] withDockerContainer [2022-03-17T16:21:00.510Z] prd-ubuntu20.04-docker-8c-8g-7846 does not seem to be running inside a container [2022-03-17T16:21:00.549Z] $ 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-404/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-404 -v /w/workspace/edgexfoundry_device-sdk-c_PR-404:/w/workspace/edgexfoundry_device-sdk-c_PR-404:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-404@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-17T16:21:00.821Z] $ docker top 5da5072eef8dfb85e6f06b310e8782df98a01cbde7ba021e1531150f7b02cd28 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T16:21:01.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T16:21:01.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T16:21:01.846Z] + ls /var/log/sa-host [2022-03-17T16:21:01.846Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T16:21:01.987Z] provisioning config files... [2022-03-17T16:21:01.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config1039061406650092312tmp [Pipeline] { [Pipeline] echo [2022-03-17T16:21:02.041Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:21:02.354Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T16:21:02.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:21:02.781Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T16:21:02.811Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:21:03.124Z] ---> sudo-logs.sh [2022-03-17T16:21:03.124Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T16:21:03.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:21:03.518Z] ---> job-cost.sh [2022-03-17T16:21:03.518Z] lf-activate-venv: SKIPPING [2022-03-17T16:21:03.518Z] DEBUG: total: 0.2199999988079071 [2022-03-17T16:21:03.518Z] INFO: Retrieving Stack Cost... [2022-03-17T16:21:04.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T16:21:04.352Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T16:21:04.383Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T16:21:04.697Z] ---> logs-deploy.sh [2022-03-17T16:21:04.697Z] lf-activate-venv: SKIPPING [2022-03-17T16:21:04.697Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-404/1 [2022-03-17T16:21:04.697Z] INFO: archiving workspace using pattern(s): [2022-03-17T16:21:05.637Z] Archives upload complete. [2022-03-17T16:21:05.637Z] INFO: archiving logs to Nexus