Pull request #404 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 342cb0defea55b91bcaf06a94818d65ade22a939+48c08245ad9168b435c5e70f99b42d590e34b603 (f5c105f1d837587a53fe19e3cc21f6db6b56ce8f) 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-ssh11621783849345753704.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-ssh18269424882321447567.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17039249021160386426.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 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-ssh13770798195972146918.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-404/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12721738332505397931.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7972’ Running on prd-ubuntu20.04-docker-8c-8g-7974 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 > 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 Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 342cb0defea55b91bcaf06a94818d65ade22a939 Merge succeeded, producing 342cb0defea55b91bcaf06a94818d65ade22a939 Checking out Revision 342cb0defea55b91bcaf06a94818d65ade22a939 (PR-404) > git config core.sparsecheckout # timeout=10 > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # 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 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 Commit message: "feat: upload secrets from file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-18T14:36:14.206Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-18T14:36:14.261Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-18T14:36:14.279Z] ========================================================= [2022-03-18T14:36:14.279Z] EdgeX Global Pipelines Version Info [2022-03-18T14:36:14.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 45edf2ad213826a4bfa964888770c44e6986307a # timeout=10 [2022-03-18T14:36:15.017Z] ------------------- [2022-03-18T14:36:15.017Z] stable info: [2022-03-18T14:36:15.017Z] ------------------- [2022-03-18T14:36:15.017Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-18T14:36:15.017Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T14:36:15.017Z] Message: update stable to v1.0.221 [2022-03-18T14:36:15.591Z] ------------------- [2022-03-18T14:36:15.591Z] experimental info: [2022-03-18T14:36:15.591Z] ------------------- [2022-03-18T14:36:15.591Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-18T14:36:15.591Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T14:36:15.591Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-18T14:36:15.710Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-18T14:36:15.721Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-18T14:36:15.735Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-18T14:36:15.747Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-18T14:36:15.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-18T14:36:15.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-18T14:36:15.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-18T14:36:15.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-18T14:36:15.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-18T14:36:15.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-18T14:36:15.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-18T14:36:15.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-18T14:36:15.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T14:36:15.841Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T14:36:15.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-18T14:36:15.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-18T14:36:15.869Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-18T14:36:15.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo [2022-03-18T14:36:15.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo [2022-03-18T14:36:15.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo [2022-03-18T14:36:15.914Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo [2022-03-18T14:36:15.930Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 342cb0d [Pipeline] echo [2022-03-18T14:36:15.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T14:36:15.979Z] provisioning config files... [2022-03-18T14:36:15.995Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config4540187564069870920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:36:16.327Z] ---> docker-login.sh [2022-03-18T14:36:16.328Z] nexus3.edgexfoundry.org:10001 [2022-03-18T14:36:16.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:16.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:16.852Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:16.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:16.852Z] [2022-03-18T14:36:16.852Z] Login Succeeded [2022-03-18T14:36:16.852Z] nexus3.edgexfoundry.org:10002 [2022-03-18T14:36:16.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:16.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:16.852Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:16.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:16.852Z] [2022-03-18T14:36:16.852Z] Login Succeeded [2022-03-18T14:36:16.852Z] nexus3.edgexfoundry.org:10003 [2022-03-18T14:36:17.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:17.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:17.113Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:17.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:17.113Z] [2022-03-18T14:36:17.113Z] Login Succeeded [2022-03-18T14:36:17.113Z] nexus3.edgexfoundry.org:10004 [2022-03-18T14:36:17.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:17.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:17.113Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:17.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:17.113Z] [2022-03-18T14:36:17.113Z] Login Succeeded [2022-03-18T14:36:17.113Z] docker.io [2022-03-18T14:36:17.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:17.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:17.635Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:17.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:17.635Z] [2022-03-18T14:36:17.635Z] Login Succeeded [2022-03-18T14:36:17.635Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T14:36:17.644Z] 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-18T14:36:18.030Z] + git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo [2022-03-18T14:36:18.124Z] -----------> git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 342cb0defea55b91bcaf06a94818d65ade22a939 [false] [Pipeline] sh [2022-03-18T14:36:18.413Z] + git log --format=format:%s -1 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo [2022-03-18T14:36:18.430Z] ========================================================= [2022-03-18T14:36:18.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T14:36:18.430Z] ========================================================= 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-18T14:36:18.817Z] + git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo [2022-03-18T14:36:18.833Z] -----------> git rev-list -1 --merges 342cb0defea55b91bcaf06a94818d65ade22a939~1..342cb0defea55b91bcaf06a94818d65ade22a939 342cb0defea55b91bcaf06a94818d65ade22a939 [false] [Pipeline] sh [2022-03-18T14:36:19.121Z] + git log --format=format:%s -1 342cb0defea55b91bcaf06a94818d65ade22a939 [Pipeline] echo [2022-03-18T14:36:19.138Z] ========================================================= [2022-03-18T14:36:19.138Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T14:36:19.138Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-18T14:36:19.539Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T14:36:19.539Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-18T14:36:19.539Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-18T14:36:19.539Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-18T14:36:19.539Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-18T14:36:19.539Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-18T14:36:19.539Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:36:19.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T14:36:19.889Z] [2022-03-18T14:36:19.889Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:36:20.190Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T14:36:20.190Z] latest: Pulling from edgex-devops/git-semver [2022-03-18T14:36:20.190Z] a0d0a0d46f8b: Pulling fs layer [2022-03-18T14:36:20.190Z] 3e5f54012d9b: Pulling fs layer [2022-03-18T14:36:20.190Z] 4c7163046ea9: Pulling fs layer [2022-03-18T14:36:20.190Z] 0c2d73faf560: Pulling fs layer [2022-03-18T14:36:20.190Z] 0c2d73faf560: Waiting [2022-03-18T14:36:20.190Z] 3e5f54012d9b: Verifying Checksum [2022-03-18T14:36:20.190Z] 3e5f54012d9b: Download complete [2022-03-18T14:36:20.190Z] a0d0a0d46f8b: Download complete [2022-03-18T14:36:20.190Z] 0c2d73faf560: Verifying Checksum [2022-03-18T14:36:20.190Z] 0c2d73faf560: Download complete [2022-03-18T14:36:20.190Z] 4c7163046ea9: Verifying Checksum [2022-03-18T14:36:20.190Z] 4c7163046ea9: Download complete [2022-03-18T14:36:20.450Z] a0d0a0d46f8b: Pull complete [2022-03-18T14:36:20.450Z] 3e5f54012d9b: Pull complete [2022-03-18T14:36:20.710Z] 4c7163046ea9: Pull complete [2022-03-18T14:36:20.972Z] 0c2d73faf560: Pull complete [2022-03-18T14:36:20.972Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-18T14:36:20.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T14:36:20.972Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-18T14:36:21.045Z] prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container [2022-03-18T14:36:21.101Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T14:36:21.696Z] $ docker top fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T14:36:21.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T14:36:21.782Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T14:36:21.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T14:36:21.920Z] $ docker exec fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent [2022-03-18T14:36:22.036Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIfAjnl/agent.13 [2022-03-18T14:36:22.036Z] SSH_AGENT_PID=19 [2022-03-18T14:36:22.045Z] Running ssh-add (command line suppressed) [2022-03-18T14:36:22.180Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_6081507672631676359.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_6081507672631676359.key) [2022-03-18T14:36:22.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T14:36:22.474Z] + git tag --points-at HEAD [Pipeline] } [2022-03-18T14:36:22.500Z] $ docker exec --env ******** --env ******** fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent -k [2022-03-18T14:36:22.617Z] unset SSH_AUTH_SOCK; [2022-03-18T14:36:22.618Z] unset SSH_AGENT_PID; [2022-03-18T14:36:22.618Z] echo Agent pid 19 killed; [2022-03-18T14:36:22.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-18T14:36:22.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T14:36:22.642Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T14:36:22.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T14:36:22.789Z] $ docker exec fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent [2022-03-18T14:36:22.899Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjDPBHb/agent.54 [2022-03-18T14:36:22.899Z] SSH_AGENT_PID=60 [2022-03-18T14:36:22.906Z] Running ssh-add (command line suppressed) [2022-03-18T14:36:23.042Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_2742038154678581901.key (/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/private_key_2742038154678581901.key) [2022-03-18T14:36:23.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T14:36:23.344Z] + git semver init [2022-03-18T14:36:23.344Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T14:36:23.344Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.git [2022-03-18T14:36:23.345Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-404 [2022-03-18T14:36:23.345Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T14:36:23.345Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T14:36:23.345Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T14:36:23.345Z] # $SEMVER_BRANCH = PR-404 [2022-03-18T14:36:23.345Z] # $SEMVER_TEMP = /tmp/semver-184315240 [2022-03-18T14:36:23.345Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-18T14:36:24.287Z] # '/tmp/semver-184315240' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver' [2022-03-18T14:36:24.287Z] # -> Force: false [2022-03-18T14:36:24.287Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-404/.semver [Pipeline] } [2022-03-18T14:36:24.307Z] $ docker exec --env ******** --env ******** fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b ssh-agent -k [2022-03-18T14:36:24.423Z] unset SSH_AUTH_SOCK; [2022-03-18T14:36:24.424Z] unset SSH_AGENT_PID; [2022-03-18T14:36:24.424Z] echo Agent pid 60 killed; [2022-03-18T14:36:24.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T14:36:24.735Z] + git semver [Pipeline] } [2022-03-18T14:36:24.759Z] $ docker stop --time=1 fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b [2022-03-18T14:36:26.099Z] $ docker rm -f fa64c5fd0d583db87d015dd6f71a7aae29e0944367d43ff42c11facd784eff4b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T14:36:26.447Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-18T14:36:26.706Z] Stashed 1 file(s) [Pipeline] echo [2022-03-18T14:36:26.710Z] [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-18T14:36:26.832Z] provisioning config files... [2022-03-18T14:36:26.843Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config1875273706455541728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:36:27.162Z] ---> docker-login.sh [2022-03-18T14:36:27.162Z] nexus3.edgexfoundry.org:10001 [2022-03-18T14:36:27.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:27.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:27.162Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:27.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:27.162Z] [2022-03-18T14:36:27.162Z] Login Succeeded [2022-03-18T14:36:27.162Z] nexus3.edgexfoundry.org:10002 [2022-03-18T14:36:27.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:27.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:27.422Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:27.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:27.422Z] [2022-03-18T14:36:27.422Z] Login Succeeded [2022-03-18T14:36:27.422Z] nexus3.edgexfoundry.org:10003 [2022-03-18T14:36:27.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:27.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:27.422Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:27.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:27.422Z] [2022-03-18T14:36:27.422Z] Login Succeeded [2022-03-18T14:36:27.422Z] nexus3.edgexfoundry.org:10004 [2022-03-18T14:36:27.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:27.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:27.682Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:27.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:27.682Z] [2022-03-18T14:36:27.682Z] Login Succeeded [2022-03-18T14:36:27.682Z] docker.io [2022-03-18T14:36:27.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:36:27.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:36:27.942Z] Configure a credential helper to remove this warning. See [2022-03-18T14:36:27.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:36:27.942Z] [2022-03-18T14:36:27.942Z] Login Succeeded [2022-03-18T14:36:27.942Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T14:36:27.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T14:36:28.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T14:36:28.017Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-18T14:36:28.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T14:36:28.033Z] ========================================================= [2022-03-18T14:36:28.033Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-18T14:36:28.033Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:36:28.327Z] + 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-18T14:36:28.327Z] Sending build context to Docker daemon 4.533MB [2022-03-18T14:36:28.327Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-18T14:36:28.327Z] Step 2/22 : FROM ${BASE} as builder [2022-03-18T14:36:28.327Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-18T14:36:28.327Z] 59bf1c3509f3: Pulling fs layer [2022-03-18T14:36:28.327Z] c743a93c8381: Pulling fs layer [2022-03-18T14:36:28.327Z] a2ad9f71ba65: Pulling fs layer [2022-03-18T14:36:28.327Z] c743a93c8381: Verifying Checksum [2022-03-18T14:36:28.327Z] c743a93c8381: Download complete [2022-03-18T14:36:28.587Z] 59bf1c3509f3: Verifying Checksum [2022-03-18T14:36:28.587Z] 59bf1c3509f3: Pull complete [2022-03-18T14:36:28.847Z] c743a93c8381: Pull complete [2022-03-18T14:36:29.107Z] a2ad9f71ba65: Verifying Checksum [2022-03-18T14:36:29.107Z] a2ad9f71ba65: Download complete [2022-03-18T14:36:32.414Z] a2ad9f71ba65: Pull complete [2022-03-18T14:36:32.414Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-18T14:36:32.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-18T14:36:32.414Z] ---> c9e13ccc37c5 [2022-03-18T14:36:32.414Z] 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-18T14:36:32.414Z] ---> Running in 917cafcea6f2 [2022-03-18T14:36:32.674Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-18T14:36:33.244Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:36:33.244Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:36:33.244Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:36:33.504Z] Removing intermediate container 917cafcea6f2 [2022-03-18T14:36:33.504Z] ---> 41c7be4ca299 [2022-03-18T14:36:33.504Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:36:33.504Z] ---> Running in cb7c3f89bf35 [2022-03-18T14:36:34.075Z] Removing intermediate container cb7c3f89bf35 [2022-03-18T14:36:34.075Z] ---> a0b1654f01e1 [2022-03-18T14:36:34.075Z] 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-18T14:36:34.075Z] ---> Running in 9d8920b3ec0f [2022-03-18T14:36:34.336Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:36:35.279Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T14:36:35.540Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:36:36.112Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:36:36.112Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-18T14:36:36.112Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-18T14:36:36.112Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-18T14:36:36.112Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-18T14:36:36.373Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T14:36:36.373Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T14:36:37.312Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-18T14:36:37.312Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-18T14:36:37.312Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-18T14:36:37.312Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-18T14:36:37.572Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-18T14:36:37.572Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-18T14:36:37.572Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-18T14:36:37.833Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-18T14:36:38.094Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-18T14:36:38.094Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-18T14:36:38.094Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-18T14:36:38.355Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-18T14:36:38.355Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-18T14:36:38.355Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-18T14:36:38.616Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-18T14:36:38.616Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-18T14:36:38.616Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-18T14:36:38.876Z] (24/31) Installing flock (2.37.4-r0) [2022-03-18T14:36:38.876Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-18T14:36:38.876Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-18T14:36:39.136Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-18T14:36:39.136Z] (28/31) Installing logger (2.37.4-r0) [2022-03-18T14:36:39.136Z] (29/31) Installing partx (2.37.4-r0) [2022-03-18T14:36:39.397Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-18T14:36:39.397Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-18T14:36:39.397Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:36:39.397Z] OK: 293 MiB in 108 packages [2022-03-18T14:36:39.968Z] Removing intermediate container 9d8920b3ec0f [2022-03-18T14:36:39.968Z] ---> 7c75a0cd7260 [2022-03-18T14:36:39.968Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-18T14:36:40.227Z] ---> Running in 889991cb55de [2022-03-18T14:36:40.798Z] Removing intermediate container 889991cb55de [2022-03-18T14:36:40.798Z] ---> 0955477e032a [2022-03-18T14:36:40.798Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-18T14:36:40.798Z] ---> 496ebe5b7a8e [2022-03-18T14:36:40.798Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-18T14:36:41.061Z] ---> c17c6adf6f81 [2022-03-18T14:36:41.061Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-18T14:36:41.061Z] ---> 59632e6ccc27 [2022-03-18T14:36:41.061Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-18T14:36:41.321Z] ---> 8b7fba6c23f5 [2022-03-18T14:36:41.321Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-18T14:36:41.581Z] ---> 62c0f517b233 [2022-03-18T14:36:41.581Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-18T14:36:41.581Z] ---> 4dcfeb571b4d [2022-03-18T14:36:41.581Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-18T14:36:41.581Z] ---> Running in aa4182a5ac3e [2022-03-18T14:36:41.798Z] Still waiting to schedule task [2022-03-18T14:36:41.798Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7973’ [2022-03-18T14:36:41.842Z] + CPPCHECK=false [2022-03-18T14:36:41.842Z] + DOCGEN=false [2022-03-18T14:36:41.842Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-18T14:36:41.842Z] + TOMLVER=SDK-0.2 [2022-03-18T14:36:41.842Z] + CUTILVER=1.2.2 [2022-03-18T14:36:41.842Z] + '[' 0 -gt 0 ] [2022-03-18T14:36:41.842Z] + readlink -f ./scripts/build.sh [2022-03-18T14:36:41.842Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-18T14:36:41.842Z] + dirname /tmp/sdk/scripts [2022-03-18T14:36:41.842Z] + ROOT=/tmp/sdk [2022-03-18T14:36:41.842Z] + cd /tmp/sdk [2022-03-18T14:36:41.842Z] + '[' '!' -d deps ] [2022-03-18T14:36:41.842Z] + mkdir deps [2022-03-18T14:36:41.842Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-18T14:36:41.842Z] + tar -C deps -z -x -f - [2022-03-18T14:36:41.842Z] Connecting to github.com (140.82.112.4:443) [2022-03-18T14:36:42.103Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-18T14:36:42.363Z] writing to stdout [2022-03-18T14:36:42.363Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-18T14:36:42.363Z] written to stdout [2022-03-18T14:36:42.363Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-18T14:36:42.363Z] + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-18T14:36:42.363Z] tar -C deps -z -x -f - [2022-03-18T14:36:42.363Z] Connecting to github.com (140.82.112.4:443) [2022-03-18T14:36:42.626Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-18T14:36:42.626Z] writing to stdout [2022-03-18T14:36:42.886Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-18T14:36:42.886Z] written to stdout [2022-03-18T14:36:42.886Z] + mkdir -p src/c/iot [2022-03-18T14:36:42.886Z] + 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-18T14:36:42.886Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-18T14:36:42.886Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-18T14:36:42.886Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-18T14:36:42.886Z] + mkdir -p include/iot [2022-03-18T14:36:42.886Z] + 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-18T14:36:42.886Z] + mkdir -p include/iot/os [2022-03-18T14:36:42.887Z] + 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-18T14:36:42.887Z] + mkdir -p /tmp/sdk/build/release [2022-03-18T14:36:42.887Z] + cd /tmp/sdk/build/release [2022-03-18T14:36:42.887Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-18T14:36:42.887Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T14:36:42.887Z] -- Detecting C compiler ABI info [2022-03-18T14:36:42.887Z] -- Detecting C compiler ABI info - done [2022-03-18T14:36:43.147Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T14:36:43.147Z] -- Detecting C compile features [2022-03-18T14:36:43.147Z] -- Detecting C compile features - done [2022-03-18T14:36:43.147Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T14:36:43.147Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T14:36:43.147Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T14:36:43.147Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T14:36:43.147Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T14:36:43.147Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T14:36:43.147Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T14:36:43.147Z] -- C SDK 0.0.0 for Linux [2022-03-18T14:36:43.147Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T14:36:43.147Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T14:36:43.147Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T14:36:43.147Z] -- Configuring done [2022-03-18T14:36:43.147Z] -- Generating done [2022-03-18T14:36:43.147Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-18T14:36:43.147Z] + make all package [2022-03-18T14:36:43.147Z] + tee release.log [2022-03-18T14:36:43.407Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T14:36:43.407Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T14:36:43.668Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T14:36:43.928Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T14:36:44.188Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T14:36:44.188Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T14:36:44.188Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T14:36:44.462Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T14:36:44.462Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T14:36:44.722Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T14:36:44.982Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T14:36:45.242Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T14:36:45.242Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T14:36:45.501Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T14:36:45.501Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T14:36:45.501Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T14:36:45.501Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T14:36:46.072Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T14:36:46.332Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T14:36:46.332Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T14:36:46.332Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T14:36:46.596Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T14:36:46.596Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T14:36:46.596Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T14:36:46.596Z] 275 | const iot_component_factory_t * factory; [2022-03-18T14:36:46.596Z] | ^~~~~~~ [2022-03-18T14:36:46.596Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T14:36:47.537Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T14:36:47.537Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T14:36:47.537Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T14:36:47.797Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T14:36:47.797Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T14:36:47.797Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T14:36:48.057Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T14:36:48.057Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T14:36:48.318Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T14:36:48.318Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T14:36:48.578Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T14:36:48.840Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T14:36:48.840Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T14:36:49.100Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T14:36:49.100Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T14:36:50.043Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T14:36:50.043Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T14:36:50.303Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T14:36:50.303Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T14:36:50.303Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T14:36:50.303Z] /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-18T14:36:50.303Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T14:36:50.303Z] | ^~~~~~~~~~~~~ [2022-03-18T14:36:50.303Z] | | [2022-03-18T14:36:50.303Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T14:36:50.303Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:50.303Z] /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-18T14:36:50.303Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T14:36:50.303Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T14:36:50.303Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T14:36:50.303Z] /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-18T14:36:50.303Z] 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-18T14:36:50.303Z] | ^~~~~~~~~~~~ [2022-03-18T14:36:50.303Z] | | [2022-03-18T14:36:50.303Z] | 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-18T14:36:50.303Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:50.303Z] /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-18T14:36:50.303Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:36:50.303Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:36:50.303Z] /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-18T14:36:50.304Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T14:36:50.304Z] | ^~~~~~~~~~~~ [2022-03-18T14:36:50.304Z] | | [2022-03-18T14:36:50.304Z] | 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-18T14:36:50.304Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:50.304Z] /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-18T14:36:50.304Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:36:50.304Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:36:50.564Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T14:36:50.825Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T14:36:51.087Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T14:36:51.087Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T14:36:51.087Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T14:36:51.656Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T14:36:52.226Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T14:36:52.486Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T14:36:52.486Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T14:36:52.486Z] [ 76%] Built target csdk [2022-03-18T14:36:52.486Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T14:36:52.746Z] [ 79%] Linking C executable template [2022-03-18T14:36:52.746Z] [ 79%] Built target template [2022-03-18T14:36:52.746Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T14:36:53.007Z] [ 82%] Linking C executable device-counter [2022-03-18T14:36:53.007Z] [ 82%] Built target device-counter [2022-03-18T14:36:53.007Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T14:36:53.007Z] [ 85%] Linking C executable device-random [2022-03-18T14:36:53.268Z] [ 85%] Built target device-random [2022-03-18T14:36:53.268Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T14:36:53.268Z] [ 88%] Linking C executable device-gyro [2022-03-18T14:36:53.268Z] [ 88%] Built target device-gyro [2022-03-18T14:36:53.268Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T14:36:53.530Z] [ 91%] Linking C executable device-bitfields [2022-03-18T14:36:53.530Z] [ 91%] Built target device-bitfields [2022-03-18T14:36:53.530Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T14:36:53.791Z] [ 94%] Linking C executable template-discovery [2022-03-18T14:36:53.791Z] [ 94%] Built target template-discovery [2022-03-18T14:36:53.791Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T14:36:53.791Z] [ 97%] Linking C executable device-file [2022-03-18T14:36:54.051Z] [ 97%] Built target device-file [2022-03-18T14:36:54.051Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T14:36:54.051Z] [100%] Linking C executable device-terminal [2022-03-18T14:36:54.051Z] [100%] Built target device-terminal [2022-03-18T14:36:54.051Z] Run CPack packaging tool... [2022-03-18T14:36:54.051Z] CPack: Create package using TGZ [2022-03-18T14:36:54.051Z] CPack: Install projects [2022-03-18T14:36:54.051Z] CPack: - Run preinstall target for: Csdk [2022-03-18T14:36:54.311Z] CPack: - Install project: Csdk [] [2022-03-18T14:36:54.311Z] CPack: Create package [2022-03-18T14:36:54.311Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-18T14:36:54.572Z] + '[' false '=' true ] [2022-03-18T14:36:54.572Z] + '[' false '=' true ] [2022-03-18T14:36:54.572Z] + mkdir -p /tmp/sdk/build/debug [2022-03-18T14:36:54.572Z] + cd /tmp/sdk/build/debug [2022-03-18T14:36:54.572Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-18T14:36:54.572Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T14:36:54.572Z] -- Detecting C compiler ABI info [2022-03-18T14:36:54.572Z] -- Detecting C compiler ABI info - done [2022-03-18T14:36:54.572Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T14:36:54.572Z] -- Detecting C compile features [2022-03-18T14:36:54.572Z] -- Detecting C compile features - done [2022-03-18T14:36:54.572Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T14:36:54.572Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T14:36:54.572Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T14:36:54.572Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T14:36:54.572Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T14:36:54.572Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T14:36:54.572Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T14:36:54.572Z] -- C SDK 0.0.0 for Linux [2022-03-18T14:36:54.572Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T14:36:54.833Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T14:36:54.833Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T14:36:54.833Z] -- Configuring done [2022-03-18T14:36:54.833Z] -- Generating done [2022-03-18T14:36:54.833Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-18T14:36:54.833Z] + make [2022-03-18T14:36:54.833Z] + tee debug.log [2022-03-18T14:36:54.833Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T14:36:55.095Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T14:36:55.095Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T14:36:55.095Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T14:36:55.356Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T14:36:55.356Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T14:36:55.356Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T14:36:55.356Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T14:36:55.618Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T14:36:55.618Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T14:36:55.879Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T14:36:55.879Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T14:36:55.879Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T14:36:55.879Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T14:36:56.139Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T14:36:56.139Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T14:36:56.139Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T14:36:56.400Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T14:36:56.400Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T14:36:56.400Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T14:36:56.400Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T14:36:56.661Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T14:36:56.661Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T14:36:56.661Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T14:36:56.661Z] 275 | const iot_component_factory_t * factory; [2022-03-18T14:36:56.661Z] | ^~~~~~~ [2022-03-18T14:36:56.661Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T14:36:56.921Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T14:36:56.921Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T14:36:56.921Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T14:36:56.921Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T14:36:57.182Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T14:36:57.182Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T14:36:57.182Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T14:36:57.182Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T14:36:57.442Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T14:36:57.442Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T14:36:57.442Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T14:36:57.442Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T14:36:57.703Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T14:36:57.703Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T14:36:57.703Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T14:36:57.964Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T14:36:57.964Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T14:36:58.225Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T14:36:58.225Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T14:36:58.225Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T14:36:58.225Z] | ^~~~~~~~~~~~~ [2022-03-18T14:36:58.225Z] | | [2022-03-18T14:36:58.225Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T14:36:58.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T14:36:58.225Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T14:36:58.225Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 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-18T14:36:58.225Z] | ^~~~~~~~~~~~ [2022-03-18T14:36:58.225Z] | | [2022-03-18T14:36:58.225Z] | 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-18T14:36:58.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:36:58.225Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T14:36:58.225Z] | ^~~~~~~~~~~~ [2022-03-18T14:36:58.225Z] | | [2022-03-18T14:36:58.225Z] | 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-18T14:36:58.225Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:36:58.225Z] /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-18T14:36:58.225Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:36:58.225Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:36:58.225Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T14:36:58.487Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T14:36:58.487Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T14:36:58.487Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T14:36:58.747Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T14:36:58.747Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T14:36:59.008Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T14:36:59.008Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T14:36:59.008Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T14:36:59.269Z] [ 76%] Built target csdk [2022-03-18T14:36:59.269Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T14:36:59.269Z] [ 79%] Linking C executable template [2022-03-18T14:36:59.269Z] [ 79%] Built target template [2022-03-18T14:36:59.269Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T14:36:59.531Z] [ 82%] Linking C executable device-counter [2022-03-18T14:36:59.531Z] [ 82%] Built target device-counter [2022-03-18T14:36:59.531Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T14:36:59.531Z] [ 85%] Linking C executable device-random [2022-03-18T14:36:59.531Z] [ 85%] Built target device-random [2022-03-18T14:36:59.531Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T14:36:59.793Z] [ 88%] Linking C executable device-gyro [2022-03-18T14:36:59.793Z] [ 88%] Built target device-gyro [2022-03-18T14:36:59.793Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T14:36:59.793Z] [ 91%] Linking C executable device-bitfields [2022-03-18T14:37:00.053Z] [ 91%] Built target device-bitfields [2022-03-18T14:37:00.053Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T14:37:00.053Z] [ 94%] Linking C executable template-discovery [2022-03-18T14:37:00.053Z] [ 94%] Built target template-discovery [2022-03-18T14:37:00.053Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T14:37:00.053Z] [ 97%] Linking C executable device-file [2022-03-18T14:37:00.314Z] [ 97%] Built target device-file [2022-03-18T14:37:00.314Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T14:37:00.314Z] [100%] Linking C executable device-terminal [2022-03-18T14:37:00.314Z] [100%] Built target device-terminal [2022-03-18T14:37:00.314Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.314Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.314Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 76%] Built target csdk [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 79%] Built target template [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 82%] Built target device-counter [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 85%] Built target device-random [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 88%] Built target device-gyro [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 91%] Built target device-bitfields [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 94%] Built target template-discovery [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [ 97%] Built target device-file [2022-03-18T14:37:00.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] [100%] Built target device-terminal [2022-03-18T14:37:00.575Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:00.575Z] Install the project... [2022-03-18T14:37:00.575Z] -- Install configuration: "Release" [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/devsdk [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/config.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/os.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/container.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/component.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/os [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/time.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/data.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/include/iot/json.h [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-18T14:37:00.575Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-18T14:37:00.575Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:37:01.143Z] Removing intermediate container aa4182a5ac3e [2022-03-18T14:37:01.143Z] ---> 53c488d98c83 [2022-03-18T14:37:01.143Z] Step 14/22 : FROM ${BASE} [2022-03-18T14:37:01.143Z] ---> c9e13ccc37c5 [2022-03-18T14:37:01.143Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-18T14:37:01.143Z] ---> Running in 40ac33a84086 [2022-03-18T14:37:01.402Z] Removing intermediate container 40ac33a84086 [2022-03-18T14:37:01.402Z] ---> 381a1d168b36 [2022-03-18T14:37:01.402Z] 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-18T14:37:01.402Z] ---> Running in 8460b0deea37 [2022-03-18T14:37:01.664Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-18T14:37:01.923Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:37:01.923Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:37:01.923Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:37:02.183Z] Removing intermediate container 8460b0deea37 [2022-03-18T14:37:02.183Z] ---> f752a4f8a2c2 [2022-03-18T14:37:02.183Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:37:02.183Z] ---> Running in 1772dfa878f5 [2022-03-18T14:37:02.753Z] Removing intermediate container 1772dfa878f5 [2022-03-18T14:37:02.753Z] ---> 9d31a3f08dfa [2022-03-18T14:37:02.753Z] 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-18T14:37:02.753Z] ---> Running in cc1dbfe8288e [2022-03-18T14:37:03.013Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:04.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:04.273Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:04.879Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:37:04.879Z] (1/6) Installing curl (7.80.0-r0) [2022-03-18T14:37:04.879Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-18T14:37:04.879Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-18T14:37:04.879Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-18T14:37:05.140Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-18T14:37:05.140Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T14:37:06.081Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:37:06.081Z] OK: 283 MiB in 83 packages [2022-03-18T14:37:06.340Z] Removing intermediate container cc1dbfe8288e [2022-03-18T14:37:06.340Z] ---> 0ca972493a1d [2022-03-18T14:37:06.340Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-18T14:37:06.340Z] ---> 4e94e48d8b4c [2022-03-18T14:37:06.340Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-18T14:37:06.601Z] ---> c624341d228e [2022-03-18T14:37:06.601Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-18T14:37:06.862Z] ---> 0f4a82c2614b [2022-03-18T14:37:06.862Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-18T14:37:06.862Z] ---> c77c317203a7 [2022-03-18T14:37:06.862Z] Successfully built c77c317203a7 [2022-03-18T14:37:06.862Z] 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-18T14:37:07.223Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T14:37:07.223Z] . [Pipeline] withDockerContainer [2022-03-18T14:37:07.291Z] prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container [2022-03-18T14:37:07.336Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T14:37:07.722Z] $ docker top 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T14:37:08.074Z] + make test [2022-03-18T14:37:08.074Z] echo "make test" [2022-03-18T14:37:08.074Z] make test [Pipeline] } [2022-03-18T14:37:08.092Z] $ docker stop --time=1 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 [2022-03-18T14:37:09.378Z] $ docker rm -f 84010de6b1d49161664284923cb8479a41d5f627aa0e407e547a4e610991e0a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T14:37:09.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T14:37:10.285Z] + ls -al . [2022-03-18T14:37:10.285Z] total 208 [2022-03-18T14:37:10.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 14:36 . [2022-03-18T14:37:10.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 .. [2022-03-18T14:37:10.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:36 .git [2022-03-18T14:37:10.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 14:36 .github [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 14:36 .gitignore [2022-03-18T14:37:10.285Z] drwx------ 3 jenkins jenkins 4096 Mar 18 14:36 .semver [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 14:36 Attribution.txt [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 14:36 CHANGES [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 14:36 Doxyfile [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 14:36 GOVERNANCE.md [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 14:36 Jenkinsfile [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 14:36 LICENSE [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 14:36 Makefile [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 14:36 OWNERS.md [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 14:36 README.md [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 14:36 README.v2.md [2022-03-18T14:37:10.285Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 14:36 VERSION [2022-03-18T14:37:10.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:36 docs [2022-03-18T14:37:10.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 include [2022-03-18T14:37:10.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:36 scripts [2022-03-18T14:37:10.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:36 src [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:37:10.585Z] + 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=342cb0defea55b91bcaf06a94818d65ade22a939 --label arch=amd64 --label version=0.0.0 . [2022-03-18T14:37:10.585Z] Sending build context to Docker daemon 4.533MB [2022-03-18T14:37:10.585Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-18T14:37:10.585Z] Step 2/17 : FROM ${BASE} [2022-03-18T14:37:10.585Z] ---> c77c317203a7 [2022-03-18T14:37:10.585Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-18T14:37:10.585Z] ---> Running in af49c491222e [2022-03-18T14:37:10.844Z] Removing intermediate container af49c491222e [2022-03-18T14:37:10.844Z] ---> 72f0b779f32b [2022-03-18T14:37:10.844Z] 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-18T14:37:10.844Z] ---> Running in 3b4c66df95a4 [2022-03-18T14:37:11.104Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-18T14:37:11.363Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:37:11.363Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:37:11.363Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:37:11.623Z] Removing intermediate container 3b4c66df95a4 [2022-03-18T14:37:11.623Z] ---> df58bd94b4d6 [2022-03-18T14:37:11.623Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:37:11.623Z] ---> Running in 11169fcd38ce [2022-03-18T14:37:12.195Z] Removing intermediate container 11169fcd38ce [2022-03-18T14:37:12.195Z] ---> af66711dd5aa [2022-03-18T14:37:12.195Z] 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-18T14:37:12.455Z] ---> Running in 70fde35c2403 [2022-03-18T14:37:12.715Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:13.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:13.658Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T14:37:14.231Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:37:14.231Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-18T14:37:14.231Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T14:37:14.231Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-18T14:37:14.490Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-18T14:37:14.490Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-18T14:37:14.490Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-18T14:37:14.751Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-18T14:37:14.751Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-18T14:37:14.751Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-18T14:37:15.012Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-18T14:37:15.012Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-18T14:37:15.273Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-18T14:37:15.273Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-18T14:37:15.273Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-18T14:37:15.535Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-18T14:37:15.535Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-18T14:37:15.535Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-18T14:37:15.796Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-18T14:37:15.796Z] (19/26) Installing flock (2.37.4-r0) [2022-03-18T14:37:15.796Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-18T14:37:16.056Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-18T14:37:16.056Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-18T14:37:16.056Z] (23/26) Installing logger (2.37.4-r0) [2022-03-18T14:37:16.318Z] (24/26) Installing partx (2.37.4-r0) [2022-03-18T14:37:16.318Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-18T14:37:16.318Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-18T14:37:16.577Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:37:16.577Z] OK: 294 MiB in 109 packages [2022-03-18T14:37:17.146Z] Removing intermediate container 70fde35c2403 [2022-03-18T14:37:17.146Z] ---> 8aaa1979caed [2022-03-18T14:37:17.146Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-18T14:37:17.146Z] ---> b3e5b8bc3e8a [2022-03-18T14:37:17.146Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-18T14:37:17.406Z] ---> 652fd6e23431 [2022-03-18T14:37:17.406Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-18T14:37:17.666Z] ---> dc6a37ecdd79 [2022-03-18T14:37:17.666Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-18T14:37:17.666Z] ---> fe19592f287c [2022-03-18T14:37:17.666Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-18T14:37:17.926Z] ---> 5d13b23d3029 [2022-03-18T14:37:17.926Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-18T14:37:17.926Z] ---> 583ab63d53be [2022-03-18T14:37:17.926Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-18T14:37:17.926Z] ---> Running in 56f660fc8ac4 [2022-03-18T14:37:18.188Z] Removing intermediate container 56f660fc8ac4 [2022-03-18T14:37:18.188Z] ---> 9fd860958951 [2022-03-18T14:37:18.188Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-18T14:37:18.188Z] ---> Running in 40eb19251ab6 [2022-03-18T14:37:18.188Z] Removing intermediate container 40eb19251ab6 [2022-03-18T14:37:18.188Z] ---> 2f75dbb99224 [2022-03-18T14:37:18.188Z] Step 15/17 : LABEL arch=amd64 [2022-03-18T14:37:18.188Z] ---> Running in 5b7bc31cab34 [2022-03-18T14:37:18.447Z] Removing intermediate container 5b7bc31cab34 [2022-03-18T14:37:18.447Z] ---> 3a5b30c8b4cb [2022-03-18T14:37:18.447Z] Step 16/17 : LABEL git_sha=342cb0defea55b91bcaf06a94818d65ade22a939 [2022-03-18T14:37:18.447Z] ---> Running in 6a94bec068e1 [2022-03-18T14:37:18.447Z] Removing intermediate container 6a94bec068e1 [2022-03-18T14:37:18.447Z] ---> b7b82ea6a3f8 [2022-03-18T14:37:18.447Z] Step 17/17 : LABEL version=0.0.0 [2022-03-18T14:37:18.447Z] ---> Running in 7e7fac962d63 [2022-03-18T14:37:18.707Z] Removing intermediate container 7e7fac962d63 [2022-03-18T14:37:18.707Z] ---> 54ac38f03636 [2022-03-18T14:37:18.707Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-18T14:37:18.707Z] Successfully built 54ac38f03636 [2022-03-18T14:37:18.707Z] 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-18T14:37:19.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T14:37:19.113Z] [2022-03-18T14:37:19.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:37:19.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T14:37:19.422Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-18T14:37:19.422Z] 5eb5b503b376: Pulling fs layer [2022-03-18T14:37:19.422Z] 5c69ac0246d0: Pulling fs layer [2022-03-18T14:37:19.422Z] ec43610c2a17: Pulling fs layer [2022-03-18T14:37:19.422Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-18T14:37:19.422Z] 33b1e0a273af: Pulling fs layer [2022-03-18T14:37:19.422Z] 5d3b04190fa2: Pulling fs layer [2022-03-18T14:37:19.422Z] 2f39f015ded8: Pulling fs layer [2022-03-18T14:37:19.422Z] 33b1e0a273af: Waiting [2022-03-18T14:37:19.422Z] 5d3b04190fa2: Waiting [2022-03-18T14:37:19.422Z] 2f39f015ded8: Waiting [2022-03-18T14:37:19.422Z] 3a2ae6a8a46f: Waiting [2022-03-18T14:37:19.422Z] 5c69ac0246d0: Verifying Checksum [2022-03-18T14:37:19.422Z] 5c69ac0246d0: Download complete [2022-03-18T14:37:19.422Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-18T14:37:19.422Z] 3a2ae6a8a46f: Download complete [2022-03-18T14:37:19.422Z] 33b1e0a273af: Verifying Checksum [2022-03-18T14:37:19.422Z] 33b1e0a273af: Download complete [2022-03-18T14:37:19.422Z] 5d3b04190fa2: Verifying Checksum [2022-03-18T14:37:19.422Z] 5d3b04190fa2: Download complete [2022-03-18T14:37:19.422Z] ec43610c2a17: Download complete [2022-03-18T14:37:19.680Z] 5eb5b503b376: Verifying Checksum [2022-03-18T14:37:19.680Z] 5eb5b503b376: Download complete [2022-03-18T14:37:20.250Z] 2f39f015ded8: Download complete [2022-03-18T14:37:20.819Z] 5eb5b503b376: Pull complete [2022-03-18T14:37:20.819Z] 5c69ac0246d0: Pull complete [2022-03-18T14:37:21.386Z] ec43610c2a17: Pull complete [2022-03-18T14:37:21.386Z] 3a2ae6a8a46f: Pull complete [2022-03-18T14:37:21.646Z] 33b1e0a273af: Pull complete [2022-03-18T14:37:21.646Z] 5d3b04190fa2: Pull complete [2022-03-18T14:37:25.841Z] 2f39f015ded8: Pull complete [2022-03-18T14:37:25.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-18T14:37:25.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T14:37:25.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-18T14:37:25.901Z] prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container [2022-03-18T14:37:25.946Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T14:37:27.250Z] $ docker top 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:37:27.681Z] ---> job-cost.sh [2022-03-18T14:37:27.681Z] lf-activate-venv: SKIPPING [2022-03-18T14:37:27.681Z] INFO: No Stack... [2022-03-18T14:37:28.253Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T14:37:28.513Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T14:37:28.810Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/cost.csv [2022-03-18T14:37:28.810Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T14:37:28.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [2022-03-18T14:37:28.830Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] did not exist. Created. [2022-03-18T14:37:28.830Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T14:37:29.132Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-18T14:37:29.173Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T14:37:29.182Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T14:37:29.207Z] $ docker stop --time=1 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 [2022-03-18T14:37:30.389Z] $ docker rm -f 73e3c8608f0ede440d61faf8ffe7054608614243a967068b1da763105a0aab64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-18T14:40:22.679Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7975 in /w/workspace/edgexfoundry_device-sdk-c_PR-404 [Pipeline] { [Pipeline] ws [2022-03-18T14:40:22.691Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-03-18T14:40:22.859Z] Selected Git installation does not exist. Using Default [2022-03-18T14:40:22.860Z] The recommended git tool is: NONE [2022-03-18T14:40:30.172Z] using credential edgex-jenkins-ssh [2022-03-18T14:40:30.192Z] Cloning the remote Git repository [2022-03-18T14:40:30.275Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-18T14:40:30.391Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-03-18T14:40:30.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-18T14:40:30.648Z] > git --version # timeout=10 [2022-03-18T14:40:30.720Z] > git --version # 'git version 2.25.1' [2022-03-18T14:40:30.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T14:40:30.988Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T14:40:33.118Z] Merging remotes/origin/main commit 48c08245ad9168b435c5e70f99b42d590e34b603 into PR head commit 342cb0defea55b91bcaf06a94818d65ade22a939 [2022-03-18T14:40:32.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-18T14:40:32.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T14:40:32.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-18T14:40:32.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-18T14:40:32.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T14:40:32.513Z] > 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-18T14:40:33.147Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T14:40:33.508Z] Merge succeeded, producing 342cb0defea55b91bcaf06a94818d65ade22a939 [2022-03-18T14:40:33.508Z] Checking out Revision 342cb0defea55b91bcaf06a94818d65ade22a939 (PR-404) [2022-03-18T14:40:33.195Z] > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 [2022-03-18T14:40:33.350Z] > git remote # timeout=10 [2022-03-18T14:40:33.377Z] > git config --get remote.origin.url # timeout=10 [2022-03-18T14:40:33.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T14:40:33.439Z] > git merge 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 [2022-03-18T14:40:33.473Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-18T14:40:33.522Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T14:40:33.571Z] > git checkout -f 342cb0defea55b91bcaf06a94818d65ade22a939 # timeout=10 [2022-03-18T14:40:38.178Z] Commit message: "feat: upload secrets from file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T14:40:39.159Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-18T14:40:39.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T14:40:39.159Z] Dload Upload Total Spent Left Speed [2022-03-18T14:40:39.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh [2022-03-18T14:40:39.702Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-18T14:40:40.046Z] + sudo tee /etc/docker/daemon.new [2022-03-18T14:40:40.046Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-18T14:40:40.046Z] { [2022-03-18T14:40:40.046Z] "registry-mirrors": [ [2022-03-18T14:40:40.046Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-18T14:40:40.046Z] ], [2022-03-18T14:40:40.046Z] "bip": "10.250.0.254/24", [2022-03-18T14:40:40.046Z] "hosts": [ [2022-03-18T14:40:40.046Z] "tcp://0.0.0.0:5555", [2022-03-18T14:40:40.046Z] "unix:///var/run/docker.sock" [2022-03-18T14:40:40.046Z] ], [2022-03-18T14:40:40.046Z] "mtu": 1458, [2022-03-18T14:40:40.046Z] "selinux-enabled": true, [2022-03-18T14:40:40.046Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-18T14:40:40.046Z] } [Pipeline] sh [2022-03-18T14:40:40.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-18T14:40:40.740Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T14:40:59.148Z] provisioning config files... [2022-03-18T14:40:59.172Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config338796089425362537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:40:59.535Z] ---> docker-login.sh [2022-03-18T14:40:59.535Z] nexus3.edgexfoundry.org:10001 [2022-03-18T14:41:00.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:41:00.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:41:00.422Z] Configure a credential helper to remove this warning. See [2022-03-18T14:41:00.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:41:00.422Z] [2022-03-18T14:41:00.422Z] Login Succeeded [2022-03-18T14:41:00.422Z] nexus3.edgexfoundry.org:10002 [2022-03-18T14:41:00.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:41:00.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:41:00.697Z] Configure a credential helper to remove this warning. See [2022-03-18T14:41:00.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:41:00.697Z] [2022-03-18T14:41:00.697Z] Login Succeeded [2022-03-18T14:41:00.697Z] nexus3.edgexfoundry.org:10003 [2022-03-18T14:41:01.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:41:01.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:41:01.294Z] Configure a credential helper to remove this warning. See [2022-03-18T14:41:01.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:41:01.294Z] [2022-03-18T14:41:01.294Z] Login Succeeded [2022-03-18T14:41:01.294Z] nexus3.edgexfoundry.org:10004 [2022-03-18T14:41:01.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:41:01.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:41:01.854Z] Configure a credential helper to remove this warning. See [2022-03-18T14:41:01.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:41:01.854Z] [2022-03-18T14:41:01.854Z] Login Succeeded [2022-03-18T14:41:01.854Z] docker.io [2022-03-18T14:41:02.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T14:41:02.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T14:41:02.717Z] Configure a credential helper to remove this warning. See [2022-03-18T14:41:02.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T14:41:02.717Z] [2022-03-18T14:41:02.717Z] Login Succeeded [2022-03-18T14:41:02.717Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T14:41:02.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T14:41:03.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T14:41:03.288Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-18T14:41:03.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T14:41:03.310Z] ========================================================= [2022-03-18T14:41:03.310Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-18T14:41:03.310Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:41:03.644Z] + 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-18T14:41:03.923Z] Sending build context to Docker daemon 2.768MB [2022-03-18T14:41:04.198Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-18T14:41:04.198Z] Step 2/22 : FROM ${BASE} as builder [2022-03-18T14:41:04.198Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-18T14:41:04.198Z] 9b3977197b4f: Pulling fs layer [2022-03-18T14:41:04.198Z] 2a93055cfd06: Pulling fs layer [2022-03-18T14:41:04.198Z] ff5fdaca7850: Pulling fs layer [2022-03-18T14:41:04.198Z] 2a93055cfd06: Verifying Checksum [2022-03-18T14:41:04.198Z] 2a93055cfd06: Download complete [2022-03-18T14:41:04.198Z] 9b3977197b4f: Verifying Checksum [2022-03-18T14:41:04.198Z] 9b3977197b4f: Download complete [2022-03-18T14:41:05.182Z] 9b3977197b4f: Pull complete [2022-03-18T14:41:05.182Z] 2a93055cfd06: Pull complete [2022-03-18T14:41:06.616Z] ff5fdaca7850: Verifying Checksum [2022-03-18T14:41:06.616Z] ff5fdaca7850: Download complete [2022-03-18T14:41:14.917Z] ff5fdaca7850: Pull complete [2022-03-18T14:41:14.917Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-18T14:41:14.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-18T14:41:14.917Z] ---> 0af3d9908a83 [2022-03-18T14:41:14.917Z] 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-18T14:41:15.534Z] ---> Running in 551ca09977d2 [2022-03-18T14:41:16.973Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-18T14:41:17.247Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:41:17.247Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:41:17.247Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:41:17.852Z] Removing intermediate container 551ca09977d2 [2022-03-18T14:41:17.852Z] ---> a64bd63b60ae [2022-03-18T14:41:17.852Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:41:18.135Z] ---> Running in 743fdb0563d9 [2022-03-18T14:41:19.573Z] Removing intermediate container 743fdb0563d9 [2022-03-18T14:41:19.573Z] ---> 1cddc173e72b [2022-03-18T14:41:19.573Z] 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-18T14:41:19.573Z] ---> Running in 9a6d3de89f56 [2022-03-18T14:41:20.558Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:41:21.540Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T14:41:21.813Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:41:22.785Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:41:22.785Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-18T14:41:22.785Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-18T14:41:22.785Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-18T14:41:22.785Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-18T14:41:23.056Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T14:41:23.056Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T14:41:24.483Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-18T14:41:24.483Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-18T14:41:25.074Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-18T14:41:25.074Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-18T14:41:25.074Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-18T14:41:25.345Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-18T14:41:25.345Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-18T14:41:25.615Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-18T14:41:25.886Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-18T14:41:25.886Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-18T14:41:26.156Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-18T14:41:26.156Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-18T14:41:26.156Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-18T14:41:26.427Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-18T14:41:26.427Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-18T14:41:26.427Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-18T14:41:26.698Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-18T14:41:26.698Z] (24/31) Installing flock (2.37.4-r0) [2022-03-18T14:41:26.698Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-18T14:41:26.969Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-18T14:41:26.969Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-18T14:41:26.969Z] (28/31) Installing logger (2.37.4-r0) [2022-03-18T14:41:26.969Z] (29/31) Installing partx (2.37.4-r0) [2022-03-18T14:41:27.242Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-18T14:41:27.242Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-18T14:41:27.516Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:41:27.516Z] OK: 289 MiB in 108 packages [2022-03-18T14:41:28.956Z] Removing intermediate container 9a6d3de89f56 [2022-03-18T14:41:28.956Z] ---> 210419446b39 [2022-03-18T14:41:28.956Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-18T14:41:28.956Z] ---> Running in d478a6f7071c [2022-03-18T14:41:30.953Z] Removing intermediate container d478a6f7071c [2022-03-18T14:41:30.953Z] ---> de3b86c6cd12 [2022-03-18T14:41:30.953Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-18T14:41:31.227Z] ---> 57b6a733978f [2022-03-18T14:41:31.227Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-18T14:41:31.824Z] ---> d224580fd75c [2022-03-18T14:41:31.824Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-18T14:41:32.422Z] ---> a0db57ef30dd [2022-03-18T14:41:32.422Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-18T14:41:33.020Z] ---> 56bb8c454b38 [2022-03-18T14:41:33.020Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-18T14:41:33.620Z] ---> de3cfd011942 [2022-03-18T14:41:33.620Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-18T14:41:34.222Z] ---> aea6ecbd3916 [2022-03-18T14:41:34.222Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-18T14:41:34.222Z] ---> Running in fee91c3eb98b [2022-03-18T14:41:35.219Z] + CPPCHECK=false [2022-03-18T14:41:35.219Z] + DOCGEN=false [2022-03-18T14:41:35.219Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-18T14:41:35.219Z] + TOMLVER=SDK-0.2 [2022-03-18T14:41:35.219Z] + CUTILVER=1.2.2 [2022-03-18T14:41:35.219Z] + '[' 0 -gt 0 ] [2022-03-18T14:41:35.219Z] + readlink -f ./scripts/build.sh [2022-03-18T14:41:35.219Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-18T14:41:35.219Z] + dirname /tmp/sdk/scripts [2022-03-18T14:41:35.219Z] + ROOT=/tmp/sdk [2022-03-18T14:41:35.219Z] + cd /tmp/sdk [2022-03-18T14:41:35.219Z] + '[' '!' -d deps ] [2022-03-18T14:41:35.219Z] + mkdir deps [2022-03-18T14:41:35.219Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-18T14:41:35.219Z] + tar -C deps -z -x -f - [2022-03-18T14:41:35.219Z] Connecting to github.com (140.82.112.4:443) [2022-03-18T14:41:35.491Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-18T14:41:35.491Z] writing to stdout [2022-03-18T14:41:35.766Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-18T14:41:35.767Z] written to stdout [2022-03-18T14:41:35.767Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-18T14:41:35.767Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-18T14:41:35.767Z] + tar -C deps -z -x -f - [2022-03-18T14:41:35.767Z] Connecting to github.com (140.82.112.4:443) [2022-03-18T14:41:35.767Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-18T14:41:36.040Z] writing to stdout [2022-03-18T14:41:36.314Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-18T14:41:36.314Z] written to stdout [2022-03-18T14:41:36.314Z] + mkdir -p src/c/iot [2022-03-18T14:41:36.314Z] + 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-18T14:41:36.314Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-18T14:41:36.314Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-18T14:41:36.314Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-18T14:41:36.314Z] + mkdir -p include/iot [2022-03-18T14:41:36.314Z] + 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-18T14:41:36.314Z] + mkdir -p include/iot/os [2022-03-18T14:41:36.314Z] + 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-18T14:41:36.314Z] + mkdir -p /tmp/sdk/build/release [2022-03-18T14:41:36.314Z] + cd /tmp/sdk/build/release [2022-03-18T14:41:36.314Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-18T14:41:36.590Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T14:41:36.590Z] -- Detecting C compiler ABI info [2022-03-18T14:41:36.864Z] -- Detecting C compiler ABI info - done [2022-03-18T14:41:37.145Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T14:41:37.145Z] -- Detecting C compile features [2022-03-18T14:41:37.145Z] -- Detecting C compile features - done [2022-03-18T14:41:37.145Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T14:41:37.145Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T14:41:37.145Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T14:41:37.420Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T14:41:37.420Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T14:41:37.420Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T14:41:37.420Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T14:41:37.420Z] -- C SDK 0.0.0 for Linux [2022-03-18T14:41:37.420Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T14:41:37.707Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T14:41:37.983Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T14:41:37.983Z] -- Configuring done [2022-03-18T14:41:38.255Z] -- Generating done [2022-03-18T14:41:38.255Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-18T14:41:38.255Z] + make all package [2022-03-18T14:41:38.255Z] + tee release.log [2022-03-18T14:41:38.529Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T14:41:39.519Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T14:41:40.127Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T14:41:42.750Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T14:41:43.346Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T14:41:43.619Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T14:41:44.598Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T14:41:45.198Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T14:41:45.472Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T14:41:46.906Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T14:41:49.523Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T14:41:49.523Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T14:41:50.503Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T14:41:51.478Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T14:41:51.752Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T14:41:52.024Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T14:41:52.298Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T14:41:55.677Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T14:41:55.948Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T14:41:56.223Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T14:41:56.817Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T14:41:57.413Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T14:41:57.687Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T14:41:57.687Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T14:41:57.687Z] 275 | const iot_component_factory_t * factory; [2022-03-18T14:41:57.687Z] | ^~~~~~~ [2022-03-18T14:41:58.279Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T14:42:03.669Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T14:42:03.669Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T14:42:03.941Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T14:42:04.536Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T14:42:05.130Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T14:42:05.400Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T14:42:06.828Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T14:42:07.100Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T14:42:08.076Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T14:42:08.350Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T14:42:08.940Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T14:42:11.548Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T14:42:11.824Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T14:42:13.253Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T14:42:13.253Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T14:42:18.644Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T14:42:18.917Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T14:42:19.508Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T14:42:20.100Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T14:42:20.373Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T14:42:20.373Z] /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-18T14:42:20.373Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T14:42:20.373Z] | ^~~~~~~~~~~~~ [2022-03-18T14:42:20.373Z] | | [2022-03-18T14:42:20.373Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T14:42:20.373Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:42:20.373Z] /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-18T14:42:20.373Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T14:42:20.373Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T14:42:20.373Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T14:42:20.373Z] /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-18T14:42:20.373Z] 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-18T14:42:20.373Z] | ^~~~~~~~~~~~ [2022-03-18T14:42:20.373Z] | | [2022-03-18T14:42:20.373Z] | 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-18T14:42:20.373Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:42:20.373Z] /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-18T14:42:20.373Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:42:20.373Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:42:20.374Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T14:42:20.374Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T14:42:20.374Z] | ^~~~~~~~~~~~ [2022-03-18T14:42:20.374Z] | | [2022-03-18T14:42:20.374Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-18T14:42:20.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:42:20.374Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-18T14:42:20.374Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:42:20.374Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:42:20.964Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T14:42:23.575Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T14:42:23.847Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T14:42:24.438Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T14:42:25.031Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T14:42:27.644Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T14:42:31.942Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T14:42:32.536Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T14:42:33.511Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T14:42:33.511Z] [ 76%] Built target csdk [2022-03-18T14:42:33.511Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T14:42:34.492Z] [ 79%] Linking C executable template [2022-03-18T14:42:34.766Z] [ 79%] Built target template [2022-03-18T14:42:34.766Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T14:42:35.358Z] [ 82%] Linking C executable device-counter [2022-03-18T14:42:35.631Z] [ 82%] Built target device-counter [2022-03-18T14:42:35.631Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T14:42:36.226Z] [ 85%] Linking C executable device-random [2022-03-18T14:42:36.500Z] [ 85%] Built target device-random [2022-03-18T14:42:36.500Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T14:42:37.098Z] [ 88%] Linking C executable device-gyro [2022-03-18T14:42:37.371Z] [ 88%] Built target device-gyro [2022-03-18T14:42:37.371Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T14:42:37.965Z] [ 91%] Linking C executable device-bitfields [2022-03-18T14:42:38.238Z] [ 91%] Built target device-bitfields [2022-03-18T14:42:38.239Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T14:42:39.214Z] [ 94%] Linking C executable template-discovery [2022-03-18T14:42:39.215Z] [ 94%] Built target template-discovery [2022-03-18T14:42:39.486Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T14:42:40.081Z] [ 97%] Linking C executable device-file [2022-03-18T14:42:40.353Z] [ 97%] Built target device-file [2022-03-18T14:42:40.353Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T14:42:41.347Z] [100%] Linking C executable device-terminal [2022-03-18T14:42:41.347Z] [100%] Built target device-terminal [2022-03-18T14:42:41.620Z] Run CPack packaging tool... [2022-03-18T14:42:41.620Z] CPack: Create package using TGZ [2022-03-18T14:42:41.620Z] CPack: Install projects [2022-03-18T14:42:41.620Z] CPack: - Run preinstall target for: Csdk [2022-03-18T14:42:42.216Z] CPack: - Install project: Csdk [] [2022-03-18T14:42:42.494Z] CPack: Create package [2022-03-18T14:42:42.494Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-03-18T14:42:42.494Z] + '[' false '=' true ] [2022-03-18T14:42:42.494Z] + '[' false '=' true ] [2022-03-18T14:42:42.494Z] + mkdir -p /tmp/sdk/build/debug [2022-03-18T14:42:42.494Z] + cd /tmp/sdk/build/debug [2022-03-18T14:42:42.494Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-18T14:42:42.769Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T14:42:42.769Z] -- Detecting C compiler ABI info [2022-03-18T14:42:43.042Z] -- Detecting C compiler ABI info - done [2022-03-18T14:42:43.316Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T14:42:43.316Z] -- Detecting C compile features [2022-03-18T14:42:43.316Z] -- Detecting C compile features - done [2022-03-18T14:42:43.316Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T14:42:43.316Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T14:42:43.316Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T14:42:43.589Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T14:42:43.589Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T14:42:43.589Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T14:42:43.589Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T14:42:43.589Z] -- C SDK 0.0.0 for Linux [2022-03-18T14:42:43.589Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T14:42:43.865Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T14:42:43.865Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T14:42:44.138Z] -- Configuring done [2022-03-18T14:42:44.412Z] -- Generating done [2022-03-18T14:42:44.412Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-18T14:42:44.412Z] + make [2022-03-18T14:42:44.412Z] + tee debug.log [2022-03-18T14:42:44.412Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T14:42:45.007Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T14:42:45.278Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T14:42:45.871Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T14:42:46.465Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T14:42:46.465Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T14:42:47.059Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T14:42:47.332Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T14:42:47.606Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T14:42:48.202Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T14:42:48.799Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T14:42:49.070Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T14:42:49.660Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T14:42:49.931Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T14:42:50.201Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T14:42:50.472Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T14:42:50.742Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T14:42:51.714Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T14:42:51.714Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T14:42:51.985Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T14:42:52.256Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T14:42:52.525Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T14:42:52.795Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T14:42:52.795Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T14:42:52.795Z] 275 | const iot_component_factory_t * factory; [2022-03-18T14:42:52.795Z] | ^~~~~~~ [2022-03-18T14:42:53.065Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T14:42:54.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T14:42:54.306Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T14:42:54.575Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T14:42:54.846Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T14:42:55.115Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T14:42:55.396Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T14:42:55.667Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T14:42:55.937Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T14:42:56.208Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T14:42:56.480Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T14:42:56.750Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T14:42:57.347Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T14:42:57.347Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T14:42:57.939Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T14:42:58.210Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T14:42:59.631Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T14:42:59.901Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T14:43:00.172Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T14:43:00.443Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T14:43:00.712Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T14:43:00.712Z] /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-18T14:43:00.712Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T14:43:00.712Z] | ^~~~~~~~~~~~~ [2022-03-18T14:43:00.712Z] | | [2022-03-18T14:43:00.712Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T14:43:00.712Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:43:00.712Z] /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-18T14:43:00.712Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T14:43:00.712Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T14:43:00.712Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T14:43:00.712Z] /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-18T14:43:00.712Z] 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-18T14:43:00.712Z] | ^~~~~~~~~~~~ [2022-03-18T14:43:00.712Z] | | [2022-03-18T14:43:00.712Z] | 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-18T14:43:00.712Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:43:00.713Z] /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-18T14:43:00.713Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:43:00.713Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:43:00.713Z] /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-18T14:43:00.713Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T14:43:00.713Z] | ^~~~~~~~~~~~ [2022-03-18T14:43:00.713Z] | | [2022-03-18T14:43:00.713Z] | 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-18T14:43:00.713Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T14:43:00.713Z] /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-18T14:43:00.713Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T14:43:00.713Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T14:43:00.982Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T14:43:02.409Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T14:43:02.682Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T14:43:02.954Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T14:43:03.226Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T14:43:04.202Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T14:43:04.792Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T14:43:05.387Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T14:43:05.659Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T14:43:05.932Z] [ 76%] Built target csdk [2022-03-18T14:43:05.932Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T14:43:06.204Z] [ 79%] Linking C executable template [2022-03-18T14:43:06.478Z] [ 79%] Built target template [2022-03-18T14:43:06.478Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T14:43:06.752Z] [ 82%] Linking C executable device-counter [2022-03-18T14:43:07.025Z] [ 82%] Built target device-counter [2022-03-18T14:43:07.296Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T14:43:07.570Z] [ 85%] Linking C executable device-random [2022-03-18T14:43:07.841Z] [ 85%] Built target device-random [2022-03-18T14:43:07.841Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T14:43:08.113Z] [ 88%] Linking C executable device-gyro [2022-03-18T14:43:08.383Z] [ 88%] Built target device-gyro [2022-03-18T14:43:08.383Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T14:43:08.656Z] [ 91%] Linking C executable device-bitfields [2022-03-18T14:43:08.927Z] [ 91%] Built target device-bitfields [2022-03-18T14:43:08.927Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T14:43:09.199Z] [ 94%] Linking C executable template-discovery [2022-03-18T14:43:09.471Z] [ 94%] Built target template-discovery [2022-03-18T14:43:09.743Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T14:43:10.015Z] [ 97%] Linking C executable device-file [2022-03-18T14:43:10.288Z] [ 97%] Built target device-file [2022-03-18T14:43:10.288Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T14:43:10.561Z] [100%] Linking C executable device-terminal [2022-03-18T14:43:10.833Z] [100%] Built target device-terminal [2022-03-18T14:43:11.104Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] [ 76%] Built target csdk [2022-03-18T14:43:11.105Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] [ 79%] Built target template [2022-03-18T14:43:11.105Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.105Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 82%] Built target device-counter [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 85%] Built target device-random [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 88%] Built target device-gyro [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 91%] Built target device-bitfields [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 94%] Built target template-discovery [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.377Z] [ 97%] Built target device-file [2022-03-18T14:43:11.377Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.649Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.649Z] [100%] Built target device-terminal [2022-03-18T14:43:11.649Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:11.649Z] Install the project... [2022-03-18T14:43:11.649Z] -- Install configuration: "Release" [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/devsdk [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/time.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/component.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/config.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/container.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/os.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/data.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/os [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/json.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-18T14:43:11.649Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-18T14:43:11.649Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-18T14:43:13.626Z] Removing intermediate container fee91c3eb98b [2022-03-18T14:43:13.626Z] ---> 0ee15da093d5 [2022-03-18T14:43:13.626Z] Step 14/22 : FROM ${BASE} [2022-03-18T14:43:13.626Z] ---> 0af3d9908a83 [2022-03-18T14:43:13.626Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-18T14:43:13.626Z] ---> Running in 6a1db4d3aee5 [2022-03-18T14:43:13.626Z] Removing intermediate container 6a1db4d3aee5 [2022-03-18T14:43:13.626Z] ---> 4a996a2d739c [2022-03-18T14:43:13.626Z] 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-18T14:43:13.626Z] ---> Running in ce8e0888923f [2022-03-18T14:43:14.605Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-18T14:43:14.881Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:43:14.881Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:43:14.881Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:43:15.479Z] Removing intermediate container ce8e0888923f [2022-03-18T14:43:15.479Z] ---> 16f325aad56e [2022-03-18T14:43:15.479Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:43:15.765Z] ---> Running in c44a976de2d8 [2022-03-18T14:43:17.218Z] Removing intermediate container c44a976de2d8 [2022-03-18T14:43:17.218Z] ---> 42457761565f [2022-03-18T14:43:17.218Z] 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-18T14:43:17.218Z] ---> Running in 87388a6eb14a [2022-03-18T14:43:18.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:19.171Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:19.762Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:20.353Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:43:20.353Z] (1/6) Installing curl (7.80.0-r0) [2022-03-18T14:43:20.624Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-18T14:43:20.624Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-18T14:43:20.624Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-18T14:43:20.895Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-18T14:43:20.895Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T14:43:21.866Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:43:21.866Z] OK: 278 MiB in 83 packages [2022-03-18T14:43:22.844Z] Removing intermediate container 87388a6eb14a [2022-03-18T14:43:22.844Z] ---> 96e2c25686bc [2022-03-18T14:43:22.844Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-18T14:43:23.116Z] ---> 24a4c5fa0824 [2022-03-18T14:43:23.116Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-18T14:43:23.715Z] ---> c51441755177 [2022-03-18T14:43:23.715Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-18T14:43:24.310Z] ---> 5ab5932c743c [2022-03-18T14:43:24.310Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-18T14:43:24.581Z] ---> e71e43168a6b [2022-03-18T14:43:24.581Z] Successfully built e71e43168a6b [2022-03-18T14:43:24.581Z] 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-18T14:43:24.990Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T14:43:24.990Z] . [Pipeline] withDockerContainer [2022-03-18T14:43:25.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-7975 does not seem to be running inside a container [2022-03-18T14:43:25.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T14:43:26.604Z] $ docker top 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T14:43:27.540Z] + make test [2022-03-18T14:43:27.540Z] echo "make test" [2022-03-18T14:43:27.540Z] make test [Pipeline] } [2022-03-18T14:43:27.571Z] $ docker stop --time=1 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 [2022-03-18T14:43:29.187Z] $ docker rm -f 29b9e01e567f64dd0574d57435e35ed067b5bee950054fcb3a0316ecfad29010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T14:43:29.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T14:43:30.137Z] + ls -al . [2022-03-18T14:43:30.137Z] total 204 [2022-03-18T14:43:30.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:40 . [2022-03-18T14:43:30.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 .. [2022-03-18T14:43:30.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 14:40 .git [2022-03-18T14:43:30.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 14:40 .github [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 14:40 .gitignore [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 14:40 Attribution.txt [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 14:40 CHANGES [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 14:40 Doxyfile [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 14:40 GOVERNANCE.md [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 14:40 Jenkinsfile [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 14:40 LICENSE [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 14:40 Makefile [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 14:40 OWNERS.md [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 14:40 README.md [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 14:40 README.v2.md [2022-03-18T14:43:30.137Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 14:36 VERSION [2022-03-18T14:43:30.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:40 docs [2022-03-18T14:43:30.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 include [2022-03-18T14:43:30.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 14:40 scripts [2022-03-18T14:43:30.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 14:40 src [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:43:30.483Z] + 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=342cb0defea55b91bcaf06a94818d65ade22a939 --label arch=arm64 --label version=0.0.0 . [2022-03-18T14:43:31.089Z] Sending build context to Docker daemon 2.768MB [2022-03-18T14:43:31.089Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-18T14:43:31.089Z] Step 2/17 : FROM ${BASE} [2022-03-18T14:43:31.089Z] ---> e71e43168a6b [2022-03-18T14:43:31.089Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-18T14:43:31.089Z] ---> Running in 25f4ed37cda1 [2022-03-18T14:43:31.362Z] Removing intermediate container 25f4ed37cda1 [2022-03-18T14:43:31.362Z] ---> 318c964b7c43 [2022-03-18T14:43:31.362Z] 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-18T14:43:31.362Z] ---> Running in 8255028b309d [2022-03-18T14:43:32.345Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-18T14:43:32.618Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T14:43:32.618Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T14:43:32.618Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T14:43:33.224Z] Removing intermediate container 8255028b309d [2022-03-18T14:43:33.224Z] ---> c5a416398206 [2022-03-18T14:43:33.224Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T14:43:33.503Z] ---> Running in 1de0a1687f36 [2022-03-18T14:43:34.947Z] Removing intermediate container 1de0a1687f36 [2022-03-18T14:43:34.947Z] ---> 1d38938e2d4e [2022-03-18T14:43:34.947Z] 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-18T14:43:34.947Z] ---> Running in 0d90c7c79c17 [2022-03-18T14:43:35.928Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:36.903Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:37.511Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T14:43:38.112Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T14:43:38.112Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-18T14:43:38.112Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T14:43:38.384Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-18T14:43:38.384Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-18T14:43:38.384Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-18T14:43:38.657Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-18T14:43:38.657Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-18T14:43:38.657Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-18T14:43:38.930Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-18T14:43:39.203Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-18T14:43:39.203Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-18T14:43:39.476Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-18T14:43:39.476Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-18T14:43:39.476Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-18T14:43:39.750Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-18T14:43:39.750Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-18T14:43:39.750Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-18T14:43:40.024Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-18T14:43:40.024Z] (19/26) Installing flock (2.37.4-r0) [2022-03-18T14:43:40.024Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-18T14:43:40.296Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-18T14:43:40.297Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-18T14:43:40.297Z] (23/26) Installing logger (2.37.4-r0) [2022-03-18T14:43:40.568Z] (24/26) Installing partx (2.37.4-r0) [2022-03-18T14:43:40.568Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-18T14:43:40.568Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-18T14:43:40.843Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T14:43:40.843Z] OK: 290 MiB in 109 packages [2022-03-18T14:43:42.282Z] Removing intermediate container 0d90c7c79c17 [2022-03-18T14:43:42.282Z] ---> 1fb6bbca1d5c [2022-03-18T14:43:42.282Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-18T14:43:42.556Z] ---> 76a78dac1ef0 [2022-03-18T14:43:42.556Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-18T14:43:43.543Z] ---> 0331671ff0f9 [2022-03-18T14:43:43.543Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-18T14:43:44.140Z] ---> 479c282d3fed [2022-03-18T14:43:44.140Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-18T14:43:44.740Z] ---> a32ef96270f5 [2022-03-18T14:43:44.740Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-18T14:43:45.016Z] ---> db3abc720541 [2022-03-18T14:43:45.016Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-18T14:43:45.611Z] ---> c4385ae9990d [2022-03-18T14:43:45.611Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-18T14:43:45.611Z] ---> Running in 43becfaf4690 [2022-03-18T14:43:45.889Z] Removing intermediate container 43becfaf4690 [2022-03-18T14:43:45.889Z] ---> 4410b9a1b9f5 [2022-03-18T14:43:45.889Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-18T14:43:46.163Z] ---> Running in 2da2ee51d649 [2022-03-18T14:43:46.435Z] Removing intermediate container 2da2ee51d649 [2022-03-18T14:43:46.435Z] ---> 156ff53ab131 [2022-03-18T14:43:46.435Z] Step 15/17 : LABEL arch=arm64 [2022-03-18T14:43:46.435Z] ---> Running in 1bb7aaf8447f [2022-03-18T14:43:46.711Z] Removing intermediate container 1bb7aaf8447f [2022-03-18T14:43:46.711Z] ---> 2d96d38d0da6 [2022-03-18T14:43:46.711Z] Step 16/17 : LABEL git_sha=342cb0defea55b91bcaf06a94818d65ade22a939 [2022-03-18T14:43:46.711Z] ---> Running in c6fb5d749f71 [2022-03-18T14:43:47.311Z] Removing intermediate container c6fb5d749f71 [2022-03-18T14:43:47.311Z] ---> 51ceac53da86 [2022-03-18T14:43:47.311Z] Step 17/17 : LABEL version=0.0.0 [2022-03-18T14:43:47.311Z] ---> Running in d010b2812285 [2022-03-18T14:43:47.584Z] Removing intermediate container d010b2812285 [2022-03-18T14:43:47.584Z] ---> 45513f4d7cbf [2022-03-18T14:43:47.584Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-18T14:43:47.584Z] Successfully built 45513f4d7cbf [2022-03-18T14:43:47.584Z] 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-18T14:43:48.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T14:43:48.007Z] [2022-03-18T14:43:48.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:43:48.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T14:43:48.630Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-18T14:43:48.630Z] 8998bd30e6a1: Pulling fs layer [2022-03-18T14:43:48.630Z] 04944245beec: Pulling fs layer [2022-03-18T14:43:48.630Z] 699f458cf7ca: Pulling fs layer [2022-03-18T14:43:48.630Z] 765212b225bb: Pulling fs layer [2022-03-18T14:43:48.630Z] f23df028b6ca: Pulling fs layer [2022-03-18T14:43:48.630Z] d65c8cfc05b1: Pulling fs layer [2022-03-18T14:43:48.630Z] 2437ff75d9bd: Pulling fs layer [2022-03-18T14:43:48.630Z] 765212b225bb: Waiting [2022-03-18T14:43:48.630Z] f23df028b6ca: Waiting [2022-03-18T14:43:48.630Z] d65c8cfc05b1: Waiting [2022-03-18T14:43:48.630Z] 2437ff75d9bd: Waiting [2022-03-18T14:43:48.909Z] 04944245beec: Verifying Checksum [2022-03-18T14:43:48.909Z] 04944245beec: Download complete [2022-03-18T14:43:48.909Z] 765212b225bb: Verifying Checksum [2022-03-18T14:43:48.909Z] 765212b225bb: Download complete [2022-03-18T14:43:48.909Z] f23df028b6ca: Verifying Checksum [2022-03-18T14:43:48.909Z] f23df028b6ca: Download complete [2022-03-18T14:43:48.909Z] d65c8cfc05b1: Verifying Checksum [2022-03-18T14:43:48.909Z] d65c8cfc05b1: Download complete [2022-03-18T14:43:48.909Z] 699f458cf7ca: Verifying Checksum [2022-03-18T14:43:48.909Z] 699f458cf7ca: Download complete [2022-03-18T14:43:49.507Z] 8998bd30e6a1: Verifying Checksum [2022-03-18T14:43:49.507Z] 8998bd30e6a1: Download complete [2022-03-18T14:43:51.494Z] 2437ff75d9bd: Verifying Checksum [2022-03-18T14:43:51.494Z] 2437ff75d9bd: Download complete [2022-03-18T14:43:53.481Z] 8998bd30e6a1: Pull complete [2022-03-18T14:43:54.076Z] 04944245beec: Pull complete [2022-03-18T14:43:55.514Z] 699f458cf7ca: Pull complete [2022-03-18T14:43:55.788Z] 765212b225bb: Pull complete [2022-03-18T14:43:56.773Z] f23df028b6ca: Pull complete [2022-03-18T14:43:57.050Z] d65c8cfc05b1: Pull complete [2022-03-18T14:44:12.155Z] 2437ff75d9bd: Pull complete [2022-03-18T14:44:12.155Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-18T14:44:12.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T14:44:12.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-18T14:44:12.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-7975 does not seem to be running inside a container [2022-03-18T14:44:12.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-18T14:44:15.037Z] $ docker top 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:16.013Z] ---> job-cost.sh [2022-03-18T14:44:16.013Z] lf-activate-venv: SKIPPING [2022-03-18T14:44:16.013Z] INFO: No Stack... [2022-03-18T14:44:16.288Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-18T14:44:17.270Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T14:44:17.984Z] + cut -d, -f6 [2022-03-18T14:44:17.984Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2022-03-18T14:44:18.059Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [2022-03-18T14:44:18.068Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] did not exist. Created. [2022-03-18T14:44:18.068Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T14:44:18.802Z] /w/workspace/device-sdk-c/2@tmp/durable-bb24dab0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-18T14:44:19.515Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-18T14:44:19.547Z] Warning: overwriting stash ‘stack-cost’ [2022-03-18T14:44:20.224Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T14:44:20.230Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-404-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T14:44:20.253Z] $ docker stop --time=1 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 [2022-03-18T14:44:21.778Z] $ docker rm -f 1a331ff848ae9f701f9661ef3592178eb0a9b2dc86beba9a68e76d9d502f8227 [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-18T14:44:22.645Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives ] [2022-03-18T14:44:22.645Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-18T14:44:22.645Z] total 16 [2022-03-18T14:44:22.645Z] drwxr-xr-x 3 root root 4096 Mar 18 14:37 . [2022-03-18T14:44:22.645Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 14:37 .. [2022-03-18T14:44:22.645Z] drwxr-xr-x 2 root root 4096 Mar 18 14:37 cost [2022-03-18T14:44:22.645Z] -rw-r--r-- 1 root root 83 Mar 18 14:37 cost.csv [2022-03-18T14:44:22.645Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-18T14:44:22.645Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives [2022-03-18T14:44:22.645Z] total 16 [2022-03-18T14:44:22.645Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 14:37 . [2022-03-18T14:44:22.645Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 14:37 .. [2022-03-18T14:44:22.645Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 14:37 cost [2022-03-18T14:44:22.645Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 18 14:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:22.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:23.813Z] ---> package-listing.sh [2022-03-18T14:44:23.813Z] ++ facter osfamily [2022-03-18T14:44:23.813Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-18T14:44:24.073Z] + OS_FAMILY=debian [2022-03-18T14:44:24.073Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-404 [2022-03-18T14:44:24.073Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-18T14:44:24.073Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-18T14:44:24.073Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-18T14:44:24.073Z] + PACKAGES=/tmp/packages_start.txt [2022-03-18T14:44:24.073Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' [2022-03-18T14:44:24.073Z] + PACKAGES=/tmp/packages_end.txt [2022-03-18T14:44:24.073Z] + case "${OS_FAMILY}" in [2022-03-18T14:44:24.073Z] + dpkg -l [2022-03-18T14:44:24.073Z] + grep '^ii' [2022-03-18T14:44:24.073Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-18T14:44:24.073Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-18T14:44:24.073Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-18T14:44:24.073Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-404 ']' [2022-03-18T14:44:24.073Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-404/archives/ [2022-03-18T14:44:24.073Z] + 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-18T14:44:24.086Z] 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-18T14:44:24.367Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-18T14:44:24.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T14:44:24.929Z] . [Pipeline] withDockerContainer [2022-03-18T14:44:24.995Z] prd-ubuntu20.04-docker-8c-8g-7974 does not seem to be running inside a container [2022-03-18T14:44:25.042Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T14:44:25.258Z] $ docker top f3d755852104c45d91648a08bb7a6d07b12fba2d72432b0629a068f8c69404dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T14:44:25.616Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-18T14:44:25.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-18T14:44:26.195Z] + ls /var/log/sa-host [2022-03-18T14:44:26.195Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T14:44:26.276Z] provisioning config files... [2022-03-18T14:44:26.284Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-404@tmp/config6613907847104591018tmp [Pipeline] { [Pipeline] echo [2022-03-18T14:44:26.306Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:26.593Z] ---> create-netrc.sh [Pipeline] } [2022-03-18T14:44:26.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:26.933Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-18T14:44:26.943Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:27.232Z] ---> sudo-logs.sh [2022-03-18T14:44:27.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-18T14:44:27.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:27.556Z] ---> job-cost.sh [2022-03-18T14:44:27.556Z] lf-activate-venv: SKIPPING [2022-03-18T14:44:27.556Z] DEBUG: total: 0.2199999988079071 [2022-03-18T14:44:27.556Z] INFO: Retrieving Stack Cost... [2022-03-18T14:44:27.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T14:44:28.385Z] INFO: Archiving Costs [Pipeline] echo [2022-03-18T14:44:28.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T14:44:28.688Z] ---> logs-deploy.sh [2022-03-18T14:44:28.688Z] lf-activate-venv: SKIPPING [2022-03-18T14:44:28.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-404/2 [2022-03-18T14:44:28.689Z] INFO: archiving workspace using pattern(s): [2022-03-18T14:44:29.631Z] Archives upload complete. [2022-03-18T14:44:29.631Z] INFO: archiving logs to Nexus