Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 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-ssh5959653995939549800.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-ssh5610132483762175706.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/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4034657830457731109.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-ssh6467351175685720262.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/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8662077079034642919.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 Running on prd-ubuntu20.04-docker-8c-8g-8990 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.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 Avoid second fetch Checking out Revision 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314) (#405)" > git rev-list --no-walk 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-24T08:01:00.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-24T08:01:00.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-24T08:01:00.096Z] ========================================================= [2022-03-24T08:01:00.096Z] EdgeX Global Pipelines Version Info [2022-03-24T08:01:00.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:01:00.864Z] ------------------- [2022-03-24T08:01:00.864Z] stable info: [2022-03-24T08:01:00.864Z] ------------------- [2022-03-24T08:01:00.864Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-24T08:01:00.864Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-24T08:01:00.864Z] Message: update stable to v1.0.221 [2022-03-24T08:01:01.445Z] ------------------- [2022-03-24T08:01:01.445Z] experimental info: [2022-03-24T08:01:01.445Z] ------------------- [2022-03-24T08:01:01.445Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-24T08:01:01.445Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-24T08:01:01.445Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-24T08:01:01.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-24T08:01:01.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-24T08:01:01.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-24T08:01:01.624Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-24T08:01:01.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-24T08:01:01.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-24T08:01:01.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-24T08:01:01.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-24T08:01:01.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-24T08:01:01.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-24T08:01:01.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-24T08:01:01.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-24T08:01:01.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-24T08:01:01.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-24T08:01:01.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-24T08:01:01.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-24T08:01:01.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-24T08:01:01.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-24T08:01:01.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-24T08:01:01.791Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-24T08:01:01.802Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo [2022-03-24T08:01:01.812Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9af9a7b [Pipeline] echo [2022-03-24T08:01:01.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T08:01:01.853Z] provisioning config files... [2022-03-24T08:01:01.868Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1752675520224293927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:01:02.207Z] ---> docker-login.sh [2022-03-24T08:01:02.207Z] nexus3.edgexfoundry.org:10001 [2022-03-24T08:01:02.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:02.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:02.735Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:02.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:02.735Z] [2022-03-24T08:01:02.735Z] Login Succeeded [2022-03-24T08:01:02.735Z] nexus3.edgexfoundry.org:10002 [2022-03-24T08:01:02.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:02.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:02.736Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:02.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:02.736Z] [2022-03-24T08:01:02.736Z] Login Succeeded [2022-03-24T08:01:02.736Z] nexus3.edgexfoundry.org:10003 [2022-03-24T08:01:02.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:02.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:02.996Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:02.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:02.996Z] [2022-03-24T08:01:02.996Z] Login Succeeded [2022-03-24T08:01:02.996Z] nexus3.edgexfoundry.org:10004 [2022-03-24T08:01:02.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:02.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:02.996Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:02.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:02.996Z] [2022-03-24T08:01:02.996Z] Login Succeeded [2022-03-24T08:01:02.996Z] docker.io [2022-03-24T08:01:03.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:03.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:03.521Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:03.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:03.521Z] [2022-03-24T08:01:03.521Z] Login Succeeded [2022-03-24T08:01:03.521Z] ---> docker-login.sh ends [Pipeline] } [2022-03-24T08:01:03.529Z] 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-24T08:01:03.894Z] + git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo [2022-03-24T08:01:03.993Z] -----------> git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [false] [Pipeline] sh [2022-03-24T08:01:04.285Z] + git log --format=format:%s -1 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo [2022-03-24T08:01:04.302Z] ========================================================= [2022-03-24T08:01:04.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-24T08:01:04.302Z] ========================================================= 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-24T08:01:04.672Z] + git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo [2022-03-24T08:01:04.688Z] -----------> git rev-list -1 --merges 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5~1..9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [false] [Pipeline] sh [2022-03-24T08:01:04.983Z] + git log --format=format:%s -1 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [Pipeline] echo [2022-03-24T08:01:04.999Z] ========================================================= [2022-03-24T08:01:04.999Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-24T08:01:04.999Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-24T08:01:05.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-24T08:01:05.557Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-24T08:01:05.557Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-24T08:01:05.557Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-24T08:01:05.557Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-24T08:01:05.557Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-24T08:01:05.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:01:05.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:01:05.992Z] [2022-03-24T08:01:05.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:01:06.306Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:01:06.307Z] latest: Pulling from edgex-devops/git-semver [2022-03-24T08:01:06.307Z] a0d0a0d46f8b: Pulling fs layer [2022-03-24T08:01:06.307Z] 3e5f54012d9b: Pulling fs layer [2022-03-24T08:01:06.307Z] 4c7163046ea9: Pulling fs layer [2022-03-24T08:01:06.307Z] 0c2d73faf560: Pulling fs layer [2022-03-24T08:01:06.307Z] 0c2d73faf560: Waiting [2022-03-24T08:01:06.307Z] 3e5f54012d9b: Verifying Checksum [2022-03-24T08:01:06.307Z] 3e5f54012d9b: Download complete [2022-03-24T08:01:06.307Z] a0d0a0d46f8b: Download complete [2022-03-24T08:01:06.307Z] 0c2d73faf560: Verifying Checksum [2022-03-24T08:01:06.307Z] 0c2d73faf560: Download complete [2022-03-24T08:01:06.307Z] 4c7163046ea9: Download complete [2022-03-24T08:01:06.567Z] a0d0a0d46f8b: Pull complete [2022-03-24T08:01:06.567Z] 3e5f54012d9b: Pull complete [2022-03-24T08:01:06.826Z] 4c7163046ea9: Pull complete [2022-03-24T08:01:07.088Z] 0c2d73faf560: Pull complete [2022-03-24T08:01:07.088Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-24T08:01:07.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:01:07.088Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-24T08:01:07.171Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:01:07.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-24T08:01:07.932Z] $ docker top 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-24T08:01:08.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T08:01:08.030Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T08:01:08.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T08:01:08.179Z] $ docker exec 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent [2022-03-24T08:01:08.286Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXINEcJA/agent.14 [2022-03-24T08:01:08.286Z] SSH_AGENT_PID=21 [2022-03-24T08:01:08.294Z] Running ssh-add (command line suppressed) [2022-03-24T08:01:08.417Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6590185865303201102.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6590185865303201102.key) [2022-03-24T08:01:08.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T08:01:08.719Z] + git tag --points-at HEAD [Pipeline] } [2022-03-24T08:01:08.740Z] $ docker exec --env ******** --env ******** 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent -k [2022-03-24T08:01:08.859Z] unset SSH_AUTH_SOCK; [2022-03-24T08:01:08.860Z] unset SSH_AGENT_PID; [2022-03-24T08:01:08.861Z] echo Agent pid 21 killed; [2022-03-24T08:01:08.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-24T08:01:08.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T08:01:08.887Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T08:01:09.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T08:01:09.032Z] $ docker exec 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent [2022-03-24T08:01:09.139Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlGfDML/agent.54 [2022-03-24T08:01:09.139Z] SSH_AGENT_PID=61 [2022-03-24T08:01:09.144Z] Running ssh-add (command line suppressed) [2022-03-24T08:01:09.264Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1611102014236853612.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1611102014236853612.key) [2022-03-24T08:01:09.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T08:01:09.571Z] + git semver init [2022-03-24T08:01:09.571Z] # -> Open(): unable to determine branch for HEAD [2022-03-24T08:01:09.571Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-24T08:01:09.571Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-24T08:01:09.571Z] # $SEMVER_REMOTE_NAME = origin [2022-03-24T08:01:09.571Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-24T08:01:09.571Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-24T08:01:09.571Z] # $SEMVER_BRANCH = main [2022-03-24T08:01:09.571Z] # $SEMVER_TEMP = /tmp/semver-248453770 [2022-03-24T08:01:09.571Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-24T08:01:10.516Z] # '/tmp/semver-248453770' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2022-03-24T08:01:10.516Z] # -> Force: false [2022-03-24T08:01:10.516Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-24T08:01:10.534Z] $ docker exec --env ******** --env ******** 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba ssh-agent -k [2022-03-24T08:01:10.647Z] unset SSH_AUTH_SOCK; [2022-03-24T08:01:10.648Z] unset SSH_AGENT_PID; [2022-03-24T08:01:10.648Z] echo Agent pid 61 killed; [2022-03-24T08:01:10.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T08:01:10.966Z] + git semver [Pipeline] } [2022-03-24T08:01:10.985Z] $ docker stop --time=1 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba [2022-03-24T08:01:12.324Z] $ docker rm -f 9597849567f356bcdfa0797fab416c901ec9dd06f4d7d959031c5c9e1a7cf9ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-24T08:01:12.685Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-24T08:01:12.980Z] Stashed 1 file(s) [Pipeline] echo [2022-03-24T08:01:12.984Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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-24T08:01:13.097Z] provisioning config files... [2022-03-24T08:01:13.106Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9035056030688587299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:01:13.404Z] ---> docker-login.sh [2022-03-24T08:01:13.404Z] nexus3.edgexfoundry.org:10001 [2022-03-24T08:01:13.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:13.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:13.404Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:13.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:13.404Z] [2022-03-24T08:01:13.404Z] Login Succeeded [2022-03-24T08:01:13.404Z] nexus3.edgexfoundry.org:10002 [2022-03-24T08:01:13.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:13.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:13.672Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:13.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:13.672Z] [2022-03-24T08:01:13.672Z] Login Succeeded [2022-03-24T08:01:13.672Z] nexus3.edgexfoundry.org:10003 [2022-03-24T08:01:13.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:13.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:13.672Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:13.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:13.672Z] [2022-03-24T08:01:13.672Z] Login Succeeded [2022-03-24T08:01:13.672Z] nexus3.edgexfoundry.org:10004 [2022-03-24T08:01:13.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:13.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:13.933Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:13.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:13.933Z] [2022-03-24T08:01:13.933Z] Login Succeeded [2022-03-24T08:01:13.933Z] docker.io [2022-03-24T08:01:13.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:01:14.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:01:14.195Z] Configure a credential helper to remove this warning. See [2022-03-24T08:01:14.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:01:14.195Z] [2022-03-24T08:01:14.195Z] Login Succeeded [2022-03-24T08:01:14.195Z] ---> docker-login.sh ends [Pipeline] } [2022-03-24T08:01:14.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-24T08:01:14.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T08:01:14.289Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-24T08:01:14.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T08:01:14.308Z] ========================================================= [2022-03-24T08:01:14.308Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-24T08:01:14.308Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:01:14.604Z] + 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-24T08:01:14.605Z] Sending build context to Docker daemon 4.505MB [2022-03-24T08:01:14.605Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-24T08:01:14.605Z] Step 2/22 : FROM ${BASE} as builder [2022-03-24T08:01:14.877Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-24T08:01:14.877Z] 59bf1c3509f3: Pulling fs layer [2022-03-24T08:01:14.877Z] c743a93c8381: Pulling fs layer [2022-03-24T08:01:14.877Z] a2ad9f71ba65: Pulling fs layer [2022-03-24T08:01:14.877Z] c743a93c8381: Verifying Checksum [2022-03-24T08:01:14.877Z] c743a93c8381: Download complete [2022-03-24T08:01:14.877Z] 59bf1c3509f3: Verifying Checksum [2022-03-24T08:01:14.877Z] 59bf1c3509f3: Download complete [2022-03-24T08:01:14.877Z] 59bf1c3509f3: Pull complete [2022-03-24T08:01:15.141Z] c743a93c8381: Pull complete [2022-03-24T08:01:15.402Z] a2ad9f71ba65: Verifying Checksum [2022-03-24T08:01:15.402Z] a2ad9f71ba65: Download complete [2022-03-24T08:01:18.700Z] a2ad9f71ba65: Pull complete [2022-03-24T08:01:18.700Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-24T08:01:18.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-24T08:01:18.700Z] ---> c9e13ccc37c5 [2022-03-24T08:01:18.700Z] 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-24T08:01:19.645Z] ---> Running in fd433d5eed5d [2022-03-24T08:01:19.906Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-24T08:01:20.166Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:01:20.166Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:01:20.166Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:01:20.427Z] Removing intermediate container fd433d5eed5d [2022-03-24T08:01:20.427Z] ---> 6ec8c39bd254 [2022-03-24T08:01:20.427Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:01:20.427Z] ---> Running in 33ab0245b268 [2022-03-24T08:01:20.998Z] Removing intermediate container 33ab0245b268 [2022-03-24T08:01:20.998Z] ---> 4f47516796ef [2022-03-24T08:01:20.998Z] 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-24T08:01:20.998Z] ---> Running in 980f9e32d421 [2022-03-24T08:01:21.257Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:22.197Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:22.458Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:23.029Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:01:23.029Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-24T08:01:23.029Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-24T08:01:23.290Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-24T08:01:23.290Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-24T08:01:23.290Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-24T08:01:23.553Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-24T08:01:24.127Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-24T08:01:24.389Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-24T08:01:24.389Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-24T08:01:24.389Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-24T08:01:24.651Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-24T08:01:24.651Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-24T08:01:24.651Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-24T08:01:24.912Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-24T08:01:25.174Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-24T08:01:25.174Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-24T08:01:25.174Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-24T08:01:25.435Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-24T08:01:25.435Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-24T08:01:25.435Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-24T08:01:25.694Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-24T08:01:25.694Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-24T08:01:25.694Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-24T08:01:25.954Z] (24/31) Installing flock (2.37.4-r0) [2022-03-24T08:01:25.955Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-24T08:01:25.955Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-24T08:01:26.215Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-24T08:01:26.215Z] (28/31) Installing logger (2.37.4-r0) [2022-03-24T08:01:26.215Z] (29/31) Installing partx (2.37.4-r0) [2022-03-24T08:01:26.474Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-24T08:01:26.474Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-24T08:01:26.735Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:01:26.735Z] OK: 293 MiB in 108 packages [2022-03-24T08:01:27.307Z] Removing intermediate container 980f9e32d421 [2022-03-24T08:01:27.307Z] ---> 617655c3f11d [2022-03-24T08:01:27.307Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-24T08:01:27.568Z] ---> Running in b714c9afb51a [2022-03-24T08:01:28.070Z] Still waiting to schedule task [2022-03-24T08:01:28.070Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-24T08:01:28.140Z] Removing intermediate container b714c9afb51a [2022-03-24T08:01:28.140Z] ---> ba961f80c3e6 [2022-03-24T08:01:28.140Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-24T08:01:28.140Z] ---> d2db8c1cfcda [2022-03-24T08:01:28.140Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-24T08:01:28.399Z] ---> c5abd5ff7201 [2022-03-24T08:01:28.399Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-24T08:01:28.658Z] ---> 02c0e344e8c4 [2022-03-24T08:01:28.658Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-24T08:01:28.658Z] ---> 3469880914c6 [2022-03-24T08:01:28.658Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-24T08:01:28.927Z] ---> f8d2a5c6ab5b [2022-03-24T08:01:28.927Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-24T08:01:29.188Z] ---> 3ea99cf6d747 [2022-03-24T08:01:29.188Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-24T08:01:29.188Z] ---> Running in 23ed44463238 [2022-03-24T08:01:29.450Z] + CPPCHECK=false [2022-03-24T08:01:29.450Z] + DOCGEN=false [2022-03-24T08:01:29.450Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-24T08:01:29.450Z] + TOMLVER=SDK-0.2 [2022-03-24T08:01:29.450Z] + CUTILVER=1.2.2 [2022-03-24T08:01:29.450Z] + '[' 0 -gt 0 ] [2022-03-24T08:01:29.450Z] + readlink -f ./scripts/build.sh [2022-03-24T08:01:29.450Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-24T08:01:29.450Z] + dirname /tmp/sdk/scripts [2022-03-24T08:01:29.450Z] + ROOT=/tmp/sdk [2022-03-24T08:01:29.450Z] + cd /tmp/sdk [2022-03-24T08:01:29.450Z] + '[' '!' -d deps ] [2022-03-24T08:01:29.450Z] + mkdir deps [2022-03-24T08:01:29.450Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-24T08:01:29.450Z] + tar -C deps -z -x -f - [2022-03-24T08:01:29.450Z] Connecting to github.com (140.82.112.3:443) [2022-03-24T08:01:29.710Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-24T08:01:29.972Z] writing to stdout [2022-03-24T08:01:29.972Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-24T08:01:29.972Z] written to stdout [2022-03-24T08:01:29.972Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-24T08:01:29.972Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-24T08:01:29.972Z] + tar -C deps -z -x -f - [2022-03-24T08:01:29.972Z] Connecting to github.com (140.82.112.3:443) [2022-03-24T08:01:29.972Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-03-24T08:01:30.232Z] writing to stdout [2022-03-24T08:01:30.232Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-24T08:01:30.232Z] written to stdout [2022-03-24T08:01:30.493Z] + mkdir -p src/c/iot [2022-03-24T08:01:30.493Z] + 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-24T08:01:30.493Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-24T08:01:30.493Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-24T08:01:30.493Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-24T08:01:30.493Z] + mkdir -p include/iot [2022-03-24T08:01:30.493Z] + 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-24T08:01:30.493Z] + mkdir -p include/iot/os [2022-03-24T08:01:30.493Z] + 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-24T08:01:30.493Z] + mkdir -p /tmp/sdk/build/release [2022-03-24T08:01:30.493Z] + cd /tmp/sdk/build/release [2022-03-24T08:01:30.493Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-24T08:01:30.493Z] -- The C compiler identification is GNU 10.3.1 [2022-03-24T08:01:30.493Z] -- Detecting C compiler ABI info [2022-03-24T08:01:30.493Z] -- Detecting C compiler ABI info - done [2022-03-24T08:01:30.493Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-24T08:01:30.493Z] -- Detecting C compile features [2022-03-24T08:01:30.493Z] -- Detecting C compile features - done [2022-03-24T08:01:30.493Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-24T08:01:30.493Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-24T08:01:30.493Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-24T08:01:30.754Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-24T08:01:30.754Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-24T08:01:30.754Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-24T08:01:30.754Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-24T08:01:30.754Z] -- C SDK 2.2.0-dev.6 for Linux [2022-03-24T08:01:30.754Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-24T08:01:30.754Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-24T08:01:30.754Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-24T08:01:30.754Z] -- Configuring done [2022-03-24T08:01:30.754Z] -- Generating done [2022-03-24T08:01:30.754Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-24T08:01:30.754Z] + make all package [2022-03-24T08:01:30.754Z] + tee release.log [2022-03-24T08:01:30.754Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-24T08:01:31.015Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-24T08:01:31.015Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-24T08:01:31.588Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-24T08:01:31.588Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-24T08:01:31.588Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-24T08:01:31.849Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-24T08:01:31.849Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-24T08:01:32.109Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-24T08:01:32.370Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-24T08:01:32.631Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-24T08:01:32.631Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-24T08:01:32.892Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-24T08:01:32.892Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-24T08:01:33.153Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-24T08:01:33.153Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-24T08:01:33.153Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-24T08:01:33.723Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-24T08:01:33.723Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-24T08:01:33.723Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-24T08:01:33.983Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-24T08:01:33.983Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-24T08:01:33.983Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-24T08:01:33.983Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-24T08:01:33.983Z] 275 | const iot_component_factory_t * factory; [2022-03-24T08:01:33.983Z] | ^~~~~~~ [2022-03-24T08:01:34.244Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-24T08:01:34.815Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-24T08:01:35.076Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-24T08:01:35.076Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-24T08:01:35.076Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-24T08:01:35.337Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-24T08:01:35.337Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-24T08:01:35.597Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-24T08:01:35.597Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-24T08:01:35.858Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-24T08:01:35.858Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-24T08:01:35.858Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-24T08:01:36.426Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-24T08:01:36.426Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-24T08:01:36.686Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-24T08:01:36.686Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-24T08:01:37.631Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-24T08:01:37.631Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-24T08:01:37.631Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-24T08:01:37.892Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-24T08:01:37.892Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-24T08:01:37.892Z] | ^~~~~~~~~~~~~ [2022-03-24T08:01:37.892Z] | | [2022-03-24T08:01:37.892Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-24T08:01:37.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-24T08:01:37.892Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-24T08:01:37.892Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 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-24T08:01:37.892Z] | ^~~~~~~~~~~~ [2022-03-24T08:01:37.892Z] | | [2022-03-24T08:01:37.892Z] | 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-24T08:01:37.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:01:37.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-24T08:01:37.892Z] | ^~~~~~~~~~~~ [2022-03-24T08:01:37.892Z] | | [2022-03-24T08:01:37.892Z] | 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-24T08:01:37.892Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:37.892Z] /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-24T08:01:37.892Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:01:37.892Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:01:37.892Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-24T08:01:38.465Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-24T08:01:38.465Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-24T08:01:38.465Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-24T08:01:38.726Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-24T08:01:38.990Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-24T08:01:39.934Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-24T08:01:39.934Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-24T08:01:39.934Z] [ 76%] Linking C shared library libcsdk.so [2022-03-24T08:01:39.934Z] [ 76%] Built target csdk [2022-03-24T08:01:40.195Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-24T08:01:40.195Z] [ 79%] Linking C executable template [2022-03-24T08:01:40.195Z] [ 79%] Built target template [2022-03-24T08:01:40.195Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-24T08:01:40.456Z] [ 82%] Linking C executable device-counter [2022-03-24T08:01:40.456Z] [ 82%] Built target device-counter [2022-03-24T08:01:40.456Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-24T08:01:40.456Z] [ 85%] Linking C executable device-random [2022-03-24T08:01:40.716Z] [ 85%] Built target device-random [2022-03-24T08:01:40.716Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-24T08:01:40.716Z] [ 88%] Linking C executable device-gyro [2022-03-24T08:01:40.716Z] [ 88%] Built target device-gyro [2022-03-24T08:01:40.716Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-24T08:01:40.977Z] [ 91%] Linking C executable device-bitfields [2022-03-24T08:01:40.977Z] [ 91%] Built target device-bitfields [2022-03-24T08:01:40.977Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-24T08:01:41.237Z] [ 94%] Linking C executable template-discovery [2022-03-24T08:01:41.237Z] [ 94%] Built target template-discovery [2022-03-24T08:01:41.237Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-24T08:01:41.498Z] [ 97%] Linking C executable device-file [2022-03-24T08:01:41.498Z] [ 97%] Built target device-file [2022-03-24T08:01:41.498Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-24T08:01:41.498Z] [100%] Linking C executable device-terminal [2022-03-24T08:01:41.759Z] [100%] Built target device-terminal [2022-03-24T08:01:41.759Z] Run CPack packaging tool... [2022-03-24T08:01:41.759Z] CPack: Create package using TGZ [2022-03-24T08:01:41.759Z] CPack: Install projects [2022-03-24T08:01:41.759Z] CPack: - Run preinstall target for: Csdk [2022-03-24T08:01:42.019Z] CPack: - Install project: Csdk [] [2022-03-24T08:01:42.019Z] CPack: Create package [2022-03-24T08:01:42.019Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.6.tar.gz generated. [2022-03-24T08:01:42.019Z] + '[' false '=' true ] [2022-03-24T08:01:42.019Z] + '[' false '=' true ] [2022-03-24T08:01:42.019Z] + mkdir -p /tmp/sdk/build/debug [2022-03-24T08:01:42.019Z] + cd /tmp/sdk/build/debug [2022-03-24T08:01:42.019Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-24T08:01:42.019Z] -- The C compiler identification is GNU 10.3.1 [2022-03-24T08:01:42.019Z] -- Detecting C compiler ABI info [2022-03-24T08:01:42.019Z] -- Detecting C compiler ABI info - done [2022-03-24T08:01:42.019Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-24T08:01:42.019Z] -- Detecting C compile features [2022-03-24T08:01:42.019Z] -- Detecting C compile features - done [2022-03-24T08:01:42.019Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-24T08:01:42.280Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-24T08:01:42.280Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-24T08:01:42.280Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-24T08:01:42.280Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-24T08:01:42.280Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-24T08:01:42.280Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-24T08:01:42.280Z] -- C SDK 2.2.0-dev.6 for Linux [2022-03-24T08:01:42.280Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-24T08:01:42.280Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-24T08:01:42.280Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-24T08:01:42.280Z] -- Configuring done [2022-03-24T08:01:42.280Z] -- Generating done [2022-03-24T08:01:42.280Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-24T08:01:42.280Z] + make [2022-03-24T08:01:42.280Z] + tee debug.log [2022-03-24T08:01:42.541Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-24T08:01:42.541Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-24T08:01:42.541Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-24T08:01:42.802Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-24T08:01:42.802Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-24T08:01:42.802Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-24T08:01:42.802Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-24T08:01:43.063Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-24T08:01:43.063Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-24T08:01:43.063Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-24T08:01:43.325Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-24T08:01:43.325Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-24T08:01:43.325Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-24T08:01:43.585Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-24T08:01:43.585Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-24T08:01:43.585Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-24T08:01:43.585Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-24T08:01:43.845Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-24T08:01:43.845Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-24T08:01:43.845Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-24T08:01:44.107Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-24T08:01:44.107Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-24T08:01:44.107Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-24T08:01:44.107Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-24T08:01:44.107Z] 275 | const iot_component_factory_t * factory; [2022-03-24T08:01:44.107Z] | ^~~~~~~ [2022-03-24T08:01:44.107Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-24T08:01:44.368Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-24T08:01:44.368Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-24T08:01:44.628Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-24T08:01:44.628Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-24T08:01:44.628Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-24T08:01:44.628Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-24T08:01:44.628Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-24T08:01:44.889Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-24T08:01:44.889Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-24T08:01:44.889Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-24T08:01:44.889Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-24T08:01:45.150Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-24T08:01:45.150Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-24T08:01:45.150Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-24T08:01:45.411Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-24T08:01:45.411Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-24T08:01:45.671Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-24T08:01:45.671Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-24T08:01:45.671Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-24T08:01:45.671Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-24T08:01:45.671Z] | ^~~~~~~~~~~~~ [2022-03-24T08:01:45.671Z] | | [2022-03-24T08:01:45.671Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-24T08:01:45.671Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-24T08:01:45.671Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-24T08:01:45.671Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 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-24T08:01:45.671Z] | ^~~~~~~~~~~~ [2022-03-24T08:01:45.671Z] | | [2022-03-24T08:01:45.671Z] | 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-24T08:01:45.671Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:01:45.671Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-24T08:01:45.671Z] | ^~~~~~~~~~~~ [2022-03-24T08:01:45.671Z] | | [2022-03-24T08:01:45.671Z] | 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-24T08:01:45.671Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:01:45.671Z] /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-24T08:01:45.671Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:01:45.671Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:01:45.932Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-24T08:01:45.932Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-24T08:01:46.192Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-24T08:01:46.193Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-24T08:01:46.193Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-24T08:01:46.453Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-24T08:01:46.453Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-24T08:01:46.713Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-24T08:01:46.713Z] [ 76%] Linking C shared library libcsdk.so [2022-03-24T08:01:46.713Z] [ 76%] Built target csdk [2022-03-24T08:01:46.713Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-24T08:01:46.975Z] [ 79%] Linking C executable template [2022-03-24T08:01:46.975Z] [ 79%] Built target template [2022-03-24T08:01:46.975Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-24T08:01:46.975Z] [ 82%] Linking C executable device-counter [2022-03-24T08:01:46.975Z] [ 82%] Built target device-counter [2022-03-24T08:01:46.975Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-24T08:01:47.236Z] [ 85%] Linking C executable device-random [2022-03-24T08:01:47.236Z] [ 85%] Built target device-random [2022-03-24T08:01:47.236Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-24T08:01:47.236Z] [ 88%] Linking C executable device-gyro [2022-03-24T08:01:47.236Z] [ 88%] Built target device-gyro [2022-03-24T08:01:47.236Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-24T08:01:47.498Z] [ 91%] Linking C executable device-bitfields [2022-03-24T08:01:47.498Z] [ 91%] Built target device-bitfields [2022-03-24T08:01:47.498Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-24T08:01:47.498Z] [ 94%] Linking C executable template-discovery [2022-03-24T08:01:47.498Z] [ 94%] Built target template-discovery [2022-03-24T08:01:47.759Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-24T08:01:47.759Z] [ 97%] Linking C executable device-file [2022-03-24T08:01:47.759Z] [ 97%] Built target device-file [2022-03-24T08:01:47.759Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-24T08:01:47.759Z] [100%] Linking C executable device-terminal [2022-03-24T08:01:48.019Z] [100%] Built target device-terminal [2022-03-24T08:01:48.019Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] [ 76%] Built target csdk [2022-03-24T08:01:48.019Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] [ 79%] Built target template [2022-03-24T08:01:48.019Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.019Z] [ 82%] Built target device-counter [2022-03-24T08:01:48.019Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [ 85%] Built target device-random [2022-03-24T08:01:48.020Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [ 88%] Built target device-gyro [2022-03-24T08:01:48.020Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [ 91%] Built target device-bitfields [2022-03-24T08:01:48.020Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [ 94%] Built target template-discovery [2022-03-24T08:01:48.020Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [ 97%] Built target device-file [2022-03-24T08:01:48.020Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.020Z] [100%] Built target device-terminal [2022-03-24T08:01:48.020Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.305Z] Install the project... [2022-03-24T08:01:48.305Z] -- Install configuration: "Release" [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/devsdk [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/config.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/os.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/container.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/component.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/os [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-24T08:01:48.305Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-24T08:01:48.306Z] -- Installing: /usr/local/include/iot/time.h [2022-03-24T08:01:48.306Z] -- Installing: /usr/local/include/iot/data.h [2022-03-24T08:01:48.306Z] -- Installing: /usr/local/include/iot/json.h [2022-03-24T08:01:48.306Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-24T08:01:48.306Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-24T08:01:48.306Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:01:48.876Z] Removing intermediate container 23ed44463238 [2022-03-24T08:01:48.876Z] ---> 2fd71f2e2193 [2022-03-24T08:01:48.876Z] Step 14/22 : FROM ${BASE} [2022-03-24T08:01:48.876Z] ---> c9e13ccc37c5 [2022-03-24T08:01:48.876Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-24T08:01:48.876Z] ---> Running in 2054617f612b [2022-03-24T08:01:48.876Z] Removing intermediate container 2054617f612b [2022-03-24T08:01:48.876Z] ---> 8d6a93597b66 [2022-03-24T08:01:48.876Z] 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-24T08:01:48.876Z] ---> Running in 044bd4b477ce [2022-03-24T08:01:49.137Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-24T08:01:49.707Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:01:49.707Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:01:49.707Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:01:49.967Z] Removing intermediate container 044bd4b477ce [2022-03-24T08:01:49.967Z] ---> e76e34d65a2c [2022-03-24T08:01:49.967Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:01:49.967Z] ---> Running in 72f05c069ce8 [2022-03-24T08:01:50.602Z] Removing intermediate container 72f05c069ce8 [2022-03-24T08:01:50.602Z] ---> 451983a25b33 [2022-03-24T08:01:50.602Z] 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-24T08:01:50.602Z] ---> Running in 9e586bb49730 [2022-03-24T08:01:50.902Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:51.491Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:51.751Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:01:52.325Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:01:52.325Z] (1/6) Installing curl (7.80.0-r0) [2022-03-24T08:01:52.325Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-24T08:01:52.587Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-24T08:01:52.587Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-24T08:01:52.587Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-24T08:01:52.847Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-24T08:01:53.420Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:01:53.420Z] OK: 283 MiB in 83 packages [2022-03-24T08:01:53.990Z] Removing intermediate container 9e586bb49730 [2022-03-24T08:01:53.990Z] ---> 0b9c081d560d [2022-03-24T08:01:53.990Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-24T08:01:53.990Z] ---> e9de30fded6b [2022-03-24T08:01:53.990Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-24T08:01:54.250Z] ---> 46214fcc9f3f [2022-03-24T08:01:54.250Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-24T08:01:54.250Z] ---> b16a48905300 [2022-03-24T08:01:54.250Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-24T08:01:54.511Z] ---> 80498b19c1a8 [2022-03-24T08:01:54.511Z] Successfully built 80498b19c1a8 [2022-03-24T08:01:54.511Z] 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-24T08:01:54.866Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-24T08:01:54.867Z] . [Pipeline] withDockerContainer [2022-03-24T08:01:54.933Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:01:54.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-24T08:01:55.342Z] $ docker top 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T08:01:55.703Z] + make test [2022-03-24T08:01:55.703Z] echo "make test" [2022-03-24T08:01:55.703Z] make test [Pipeline] } [2022-03-24T08:01:55.722Z] $ docker stop --time=1 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 [2022-03-24T08:01:57.021Z] $ docker rm -f 165e4637bb6314027516a9824fd5dcc3aa72b4154576d6bf64291239ba04e6a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-24T08:01:58.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-24T08:01:58.421Z] + ls -al . [2022-03-24T08:01:58.421Z] total 208 [2022-03-24T08:01:58.421Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 08:01 . [2022-03-24T08:01:58.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 .. [2022-03-24T08:01:58.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:00 .git [2022-03-24T08:01:58.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 08:00 .github [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 24 08:00 .gitignore [2022-03-24T08:01:58.421Z] drwx------ 3 jenkins jenkins 4096 Mar 24 08:01 .semver [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 24 08:00 Attribution.txt [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 8302 Mar 24 08:00 CHANGES [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 24 08:00 Doxyfile [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 08:00 GOVERNANCE.md [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 24 08:00 Jenkinsfile [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 08:00 LICENSE [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 24 08:00 Makefile [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 08:00 OWNERS.md [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 24 08:00 README.md [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 24 08:00 README.v2.md [2022-03-24T08:01:58.421Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 24 08:01 VERSION [2022-03-24T08:01:58.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:00 docs [2022-03-24T08:01:58.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 include [2022-03-24T08:01:58.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:00 scripts [2022-03-24T08:01:58.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:00 src [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:01:58.723Z] + 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=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 --label arch=amd64 --label version=2.2.0-dev.6 . [2022-03-24T08:01:58.723Z] Sending build context to Docker daemon 4.505MB [2022-03-24T08:01:58.723Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-24T08:01:58.723Z] Step 2/17 : FROM ${BASE} [2022-03-24T08:01:58.723Z] ---> 80498b19c1a8 [2022-03-24T08:01:58.723Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-24T08:01:58.723Z] ---> Running in 903ee9aeb3da [2022-03-24T08:01:58.983Z] Removing intermediate container 903ee9aeb3da [2022-03-24T08:01:58.983Z] ---> dc18de8041a3 [2022-03-24T08:01:58.983Z] 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-24T08:01:58.983Z] ---> Running in 3d8416ac58c0 [2022-03-24T08:01:59.245Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-24T08:01:59.505Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:01:59.505Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:01:59.505Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:01:59.767Z] Removing intermediate container 3d8416ac58c0 [2022-03-24T08:01:59.767Z] ---> 676c755c75dd [2022-03-24T08:01:59.767Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:02:00.027Z] ---> Running in 6f7aba06793a [2022-03-24T08:02:00.598Z] Removing intermediate container 6f7aba06793a [2022-03-24T08:02:00.598Z] ---> dc9d15638442 [2022-03-24T08:02:00.598Z] 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-24T08:02:00.598Z] ---> Running in 08b6f1cbc7e3 [2022-03-24T08:02:00.860Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:02:01.804Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-24T08:02:01.804Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-24T08:02:02.377Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:02:02.377Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-24T08:02:02.377Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-24T08:02:02.377Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-24T08:02:02.638Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-24T08:02:02.638Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-24T08:02:02.638Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-24T08:02:02.898Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-24T08:02:02.898Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-24T08:02:02.898Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-24T08:02:03.159Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-24T08:02:03.420Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-24T08:02:03.420Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-24T08:02:03.420Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-24T08:02:03.680Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-24T08:02:03.680Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-24T08:02:03.680Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-24T08:02:03.941Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-24T08:02:03.941Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-24T08:02:03.941Z] (19/26) Installing flock (2.37.4-r0) [2022-03-24T08:02:04.202Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-24T08:02:04.202Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-24T08:02:04.202Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-24T08:02:04.462Z] (23/26) Installing logger (2.37.4-r0) [2022-03-24T08:02:04.462Z] (24/26) Installing partx (2.37.4-r0) [2022-03-24T08:02:04.462Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-24T08:02:04.722Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-24T08:02:04.722Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:02:04.722Z] OK: 294 MiB in 109 packages [2022-03-24T08:02:05.295Z] Removing intermediate container 08b6f1cbc7e3 [2022-03-24T08:02:05.295Z] ---> 2022c421e997 [2022-03-24T08:02:05.295Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-24T08:02:05.557Z] ---> e229fb6496e4 [2022-03-24T08:02:05.557Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-24T08:02:05.557Z] ---> b34793ee6f42 [2022-03-24T08:02:05.557Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-24T08:02:05.817Z] ---> a37db778395e [2022-03-24T08:02:05.817Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-24T08:02:06.076Z] ---> 60f1d1f5706f [2022-03-24T08:02:06.076Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-24T08:02:06.076Z] ---> 21becca41cff [2022-03-24T08:02:06.076Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-24T08:02:06.336Z] ---> cde4e7043051 [2022-03-24T08:02:06.336Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-24T08:02:06.336Z] ---> Running in f48451030e90 [2022-03-24T08:02:06.336Z] Removing intermediate container f48451030e90 [2022-03-24T08:02:06.336Z] ---> c3622b1e8ee7 [2022-03-24T08:02:06.336Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-24T08:02:06.336Z] ---> Running in b1557ce6cc46 [2022-03-24T08:02:06.596Z] Removing intermediate container b1557ce6cc46 [2022-03-24T08:02:06.596Z] ---> 7db0e2f3221d [2022-03-24T08:02:06.596Z] Step 15/17 : LABEL arch=amd64 [2022-03-24T08:02:06.596Z] ---> Running in b27da5d5448b [2022-03-24T08:02:06.596Z] Removing intermediate container b27da5d5448b [2022-03-24T08:02:06.596Z] ---> a7e317aeeef3 [2022-03-24T08:02:06.596Z] Step 16/17 : LABEL git_sha=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [2022-03-24T08:02:06.596Z] ---> Running in 2f149e87184d [2022-03-24T08:02:06.596Z] Removing intermediate container 2f149e87184d [2022-03-24T08:02:06.596Z] ---> 731dda6e861b [2022-03-24T08:02:06.596Z] Step 17/17 : LABEL version=2.2.0-dev.6 [2022-03-24T08:02:06.856Z] ---> Running in f8371cd6ff60 [2022-03-24T08:02:06.856Z] Removing intermediate container f8371cd6ff60 [2022-03-24T08:02:06.856Z] ---> 092bbc01ac26 [2022-03-24T08:02:06.856Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-24T08:02:06.856Z] Successfully built 092bbc01ac26 [2022-03-24T08:02:06.856Z] 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-24T08:02:07.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T08:02:07.293Z] [2022-03-24T08:02:07.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:02:07.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T08:02:07.596Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-24T08:02:07.596Z] 5eb5b503b376: Pulling fs layer [2022-03-24T08:02:07.596Z] 5c69ac0246d0: Pulling fs layer [2022-03-24T08:02:07.596Z] ec43610c2a17: Pulling fs layer [2022-03-24T08:02:07.596Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-24T08:02:07.596Z] 33b1e0a273af: Pulling fs layer [2022-03-24T08:02:07.596Z] 5d3b04190fa2: Pulling fs layer [2022-03-24T08:02:07.596Z] 2f39f015ded8: Pulling fs layer [2022-03-24T08:02:07.596Z] 3a2ae6a8a46f: Waiting [2022-03-24T08:02:07.596Z] 5d3b04190fa2: Waiting [2022-03-24T08:02:07.596Z] 33b1e0a273af: Waiting [2022-03-24T08:02:07.596Z] 2f39f015ded8: Waiting [2022-03-24T08:02:07.596Z] 5c69ac0246d0: Verifying Checksum [2022-03-24T08:02:07.596Z] 5c69ac0246d0: Download complete [2022-03-24T08:02:07.596Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-24T08:02:07.596Z] 3a2ae6a8a46f: Download complete [2022-03-24T08:02:07.596Z] 33b1e0a273af: Verifying Checksum [2022-03-24T08:02:07.596Z] 33b1e0a273af: Download complete [2022-03-24T08:02:07.596Z] 5d3b04190fa2: Verifying Checksum [2022-03-24T08:02:07.596Z] 5d3b04190fa2: Download complete [2022-03-24T08:02:07.596Z] ec43610c2a17: Verifying Checksum [2022-03-24T08:02:07.596Z] ec43610c2a17: Download complete [2022-03-24T08:02:07.856Z] 5eb5b503b376: Verifying Checksum [2022-03-24T08:02:07.856Z] 5eb5b503b376: Download complete [2022-03-24T08:02:08.427Z] 2f39f015ded8: Download complete [2022-03-24T08:02:08.996Z] 5eb5b503b376: Pull complete [2022-03-24T08:02:09.255Z] 5c69ac0246d0: Pull complete [2022-03-24T08:02:09.822Z] ec43610c2a17: Pull complete [2022-03-24T08:02:09.822Z] 3a2ae6a8a46f: Pull complete [2022-03-24T08:02:10.082Z] 33b1e0a273af: Pull complete [2022-03-24T08:02:10.082Z] 5d3b04190fa2: Pull complete [2022-03-24T08:02:14.272Z] 2f39f015ded8: Pull complete [2022-03-24T08:02:14.272Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-24T08:02:14.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T08:02:14.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-24T08:02:14.343Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:02:14.380Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-24T08:02:16.073Z] $ docker top 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:02:16.512Z] ---> job-cost.sh [2022-03-24T08:02:16.512Z] lf-activate-venv: SKIPPING [2022-03-24T08:02:16.512Z] INFO: No Stack... [2022-03-24T08:02:17.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-24T08:02:17.343Z] INFO: Archiving Costs [Pipeline] sh [2022-03-24T08:02:17.638Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-03-24T08:02:17.639Z] + cut -d, -f6 [Pipeline] lock [2022-03-24T08:02:17.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [2022-03-24T08:02:17.659Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] did not exist. Created. [2022-03-24T08:02:17.659Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-24T08:02:17.962Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-24T08:02:17.996Z] Stashed 1 file(s) [Pipeline] } [2022-03-24T08:02:18.002Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-24T08:02:18.023Z] $ docker stop --time=1 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 [2022-03-24T08:02:19.197Z] $ docker rm -f 04376d812cb0b242658027bce974236261f89d555738d8e43bd282e393146629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-24T08:03:10.505Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8991 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-03-24T08:03:10.519Z] Running in /w/workspace/device-sdk-c/21 [Pipeline] { [Pipeline] checkout [2022-03-24T08:03:10.790Z] Selected Git installation does not exist. Using Default [2022-03-24T08:03:10.791Z] The recommended git tool is: NONE [2022-03-24T08:03:18.242Z] using credential edgex-jenkins-ssh [2022-03-24T08:03:18.267Z] Cloning the remote Git repository [2022-03-24T08:03:18.372Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-24T08:03:18.536Z] > git init /w/workspace/device-sdk-c/21 # timeout=10 [2022-03-24T08:03:18.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-24T08:03:18.684Z] > git --version # timeout=10 [2022-03-24T08:03:18.715Z] > git --version # 'git version 2.25.1' [2022-03-24T08:03:18.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-24T08:03:18.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-24T08:03:20.166Z] Avoid second fetch [2022-03-24T08:03:20.167Z] Checking out Revision 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 (main) [2022-03-24T08:03:20.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-24T08:03:20.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-24T08:03:20.192Z] > git config core.sparsecheckout # timeout=10 [2022-03-24T08:03:20.208Z] > git checkout -f 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 [2022-03-24T08:03:24.512Z] Commit message: "feat: Authenticate to Redis Streams / MQTT using secrets (#314) (#405)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-24T08:03:25.499Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-24T08:03:25.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-24T08:03:25.499Z] Dload Upload Total Spent Left Speed [2022-03-24T08:03:25.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45375 0 --:--:-- --:--:-- --:--:-- 45375 [Pipeline] sh [2022-03-24T08:03:26.021Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-24T08:03:26.369Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-24T08:03:26.369Z] + sudo tee /etc/docker/daemon.new [2022-03-24T08:03:26.369Z] { [2022-03-24T08:03:26.369Z] "registry-mirrors": [ [2022-03-24T08:03:26.369Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-24T08:03:26.369Z] ], [2022-03-24T08:03:26.369Z] "bip": "10.250.0.254/24", [2022-03-24T08:03:26.369Z] "hosts": [ [2022-03-24T08:03:26.369Z] "tcp://0.0.0.0:5555", [2022-03-24T08:03:26.369Z] "unix:///var/run/docker.sock" [2022-03-24T08:03:26.369Z] ], [2022-03-24T08:03:26.369Z] "mtu": 1458, [2022-03-24T08:03:26.369Z] "selinux-enabled": true, [2022-03-24T08:03:26.369Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-24T08:03:26.369Z] } [Pipeline] sh [2022-03-24T08:03:26.718Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-24T08:03:27.066Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T08:03:45.420Z] provisioning config files... [2022-03-24T08:03:45.445Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/21@tmp/config3484511704092246266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:03:45.809Z] ---> docker-login.sh [2022-03-24T08:03:45.809Z] nexus3.edgexfoundry.org:10001 [2022-03-24T08:03:46.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:03:46.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:03:46.682Z] Configure a credential helper to remove this warning. See [2022-03-24T08:03:46.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:03:46.682Z] [2022-03-24T08:03:46.682Z] Login Succeeded [2022-03-24T08:03:46.682Z] nexus3.edgexfoundry.org:10002 [2022-03-24T08:03:46.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:03:46.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:03:46.960Z] Configure a credential helper to remove this warning. See [2022-03-24T08:03:46.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:03:46.960Z] [2022-03-24T08:03:47.236Z] Login Succeeded [2022-03-24T08:03:47.236Z] nexus3.edgexfoundry.org:10003 [2022-03-24T08:03:47.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:03:47.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:03:47.511Z] Configure a credential helper to remove this warning. See [2022-03-24T08:03:47.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:03:47.511Z] [2022-03-24T08:03:47.511Z] Login Succeeded [2022-03-24T08:03:47.511Z] nexus3.edgexfoundry.org:10004 [2022-03-24T08:03:47.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:03:48.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:03:48.206Z] Configure a credential helper to remove this warning. See [2022-03-24T08:03:48.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:03:48.206Z] [2022-03-24T08:03:48.206Z] Login Succeeded [2022-03-24T08:03:48.206Z] docker.io [2022-03-24T08:03:48.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-24T08:03:49.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-24T08:03:49.103Z] Configure a credential helper to remove this warning. See [2022-03-24T08:03:49.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-24T08:03:49.103Z] [2022-03-24T08:03:49.103Z] Login Succeeded [2022-03-24T08:03:49.103Z] ---> docker-login.sh ends [Pipeline] } [2022-03-24T08:03:49.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-24T08:03:49.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T08:03:49.578Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-24T08:03:49.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-24T08:03:49.607Z] ========================================================= [2022-03-24T08:03:49.607Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-24T08:03:49.607Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:03:49.972Z] + 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-24T08:03:50.248Z] Sending build context to Docker daemon 2.738MB [2022-03-24T08:03:50.526Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-24T08:03:50.526Z] Step 2/22 : FROM ${BASE} as builder [2022-03-24T08:03:50.526Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-24T08:03:50.526Z] 9b3977197b4f: Pulling fs layer [2022-03-24T08:03:50.526Z] 2a93055cfd06: Pulling fs layer [2022-03-24T08:03:50.526Z] ff5fdaca7850: Pulling fs layer [2022-03-24T08:03:50.526Z] 2a93055cfd06: Download complete [2022-03-24T08:03:50.808Z] 9b3977197b4f: Download complete [2022-03-24T08:03:51.421Z] 9b3977197b4f: Pull complete [2022-03-24T08:03:51.699Z] 2a93055cfd06: Pull complete [2022-03-24T08:03:52.684Z] ff5fdaca7850: Verifying Checksum [2022-03-24T08:03:52.684Z] ff5fdaca7850: Download complete [2022-03-24T08:04:02.866Z] ff5fdaca7850: Pull complete [2022-03-24T08:04:02.866Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-24T08:04:02.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-24T08:04:02.866Z] ---> 0af3d9908a83 [2022-03-24T08:04:02.866Z] 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-24T08:04:02.866Z] ---> Running in a6436b4dcf6d [2022-03-24T08:04:03.139Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-24T08:04:03.412Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:04:03.412Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:04:03.412Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:04:04.012Z] Removing intermediate container a6436b4dcf6d [2022-03-24T08:04:04.012Z] ---> f3082cfd0e42 [2022-03-24T08:04:04.012Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:04:04.289Z] ---> Running in 7ab2478ac71d [2022-03-24T08:04:05.738Z] Removing intermediate container 7ab2478ac71d [2022-03-24T08:04:05.738Z] ---> 4999890d4afc [2022-03-24T08:04:05.738Z] 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-24T08:04:06.014Z] ---> Running in e163f3c3f61a [2022-03-24T08:04:07.002Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:04:07.598Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-24T08:04:08.194Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:04:08.793Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:04:08.793Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-24T08:04:09.064Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-24T08:04:09.064Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-24T08:04:09.335Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-24T08:04:09.335Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-24T08:04:09.335Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-24T08:04:10.307Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-24T08:04:10.307Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-24T08:04:10.579Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-24T08:04:10.579Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-24T08:04:10.850Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-24T08:04:10.850Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-24T08:04:10.850Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-24T08:04:11.126Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-24T08:04:11.398Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-24T08:04:11.398Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-24T08:04:11.671Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-24T08:04:11.671Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-24T08:04:11.671Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-24T08:04:11.944Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-24T08:04:11.944Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-24T08:04:11.944Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-24T08:04:12.222Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-24T08:04:12.223Z] (24/31) Installing flock (2.37.4-r0) [2022-03-24T08:04:12.223Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-24T08:04:12.493Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-24T08:04:12.493Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-24T08:04:12.493Z] (28/31) Installing logger (2.37.4-r0) [2022-03-24T08:04:12.763Z] (29/31) Installing partx (2.37.4-r0) [2022-03-24T08:04:12.763Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-24T08:04:12.763Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-24T08:04:13.035Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:04:13.035Z] OK: 289 MiB in 108 packages [2022-03-24T08:04:14.485Z] Removing intermediate container e163f3c3f61a [2022-03-24T08:04:14.485Z] ---> 3834dc4a0e4d [2022-03-24T08:04:14.485Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-24T08:04:14.485Z] ---> Running in 29b4e309b041 [2022-03-24T08:04:15.921Z] Removing intermediate container 29b4e309b041 [2022-03-24T08:04:15.921Z] ---> 23466163fa50 [2022-03-24T08:04:15.921Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-24T08:04:16.520Z] ---> d87db796435f [2022-03-24T08:04:16.520Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-24T08:04:17.513Z] ---> a74402e493dd [2022-03-24T08:04:17.513Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-24T08:04:18.105Z] ---> d96dc60a4a48 [2022-03-24T08:04:18.105Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-24T08:04:18.376Z] ---> 6d9170338b7d [2022-03-24T08:04:18.376Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-24T08:04:18.972Z] ---> 01a3204042fe [2022-03-24T08:04:18.972Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-24T08:04:19.570Z] ---> 2433c7aa59fc [2022-03-24T08:04:19.570Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-24T08:04:19.570Z] ---> Running in 55ce809e73cf [2022-03-24T08:04:20.550Z] + CPPCHECK=false [2022-03-24T08:04:20.550Z] + DOCGEN=false [2022-03-24T08:04:20.550Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-24T08:04:20.550Z] + TOMLVER=SDK-0.2 [2022-03-24T08:04:20.550Z] + CUTILVER=1.2.2 [2022-03-24T08:04:20.550Z] + '[' 0 -gt 0 ] [2022-03-24T08:04:20.550Z] + readlink -f ./scripts/build.sh [2022-03-24T08:04:20.550Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-24T08:04:20.550Z] + dirname /tmp/sdk/scripts [2022-03-24T08:04:20.550Z] + ROOT=/tmp/sdk [2022-03-24T08:04:20.550Z] + cd /tmp/sdk [2022-03-24T08:04:20.550Z] + '[' '!' -d deps ] [2022-03-24T08:04:20.550Z] + mkdir deps [2022-03-24T08:04:20.550Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-24T08:04:20.550Z] + tar -C deps -z -x -f - [2022-03-24T08:04:20.550Z] Connecting to github.com (140.82.112.3:443) [2022-03-24T08:04:20.822Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-03-24T08:04:21.098Z] writing to stdout [2022-03-24T08:04:21.098Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-24T08:04:21.098Z] written to stdout [2022-03-24T08:04:21.098Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-24T08:04:21.098Z] + wget -O -+ https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-24T08:04:21.098Z] tar -C deps -z -x -f - [2022-03-24T08:04:21.098Z] Connecting to github.com (140.82.112.3:443) [2022-03-24T08:04:21.098Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-03-24T08:04:21.372Z] writing to stdout [2022-03-24T08:04:21.646Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-24T08:04:21.646Z] written to stdout [2022-03-24T08:04:21.646Z] + mkdir -p src/c/iot [2022-03-24T08:04:21.646Z] + 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-24T08:04:21.646Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-24T08:04:21.646Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-24T08:04:21.646Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-24T08:04:21.646Z] + mkdir -p include/iot [2022-03-24T08:04:21.646Z] + 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-24T08:04:21.646Z] + mkdir -p include/iot/os [2022-03-24T08:04:21.646Z] + 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-24T08:04:21.646Z] + mkdir -p /tmp/sdk/build/release [2022-03-24T08:04:21.646Z] + cd /tmp/sdk/build/release [2022-03-24T08:04:21.646Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-24T08:04:21.920Z] -- The C compiler identification is GNU 10.3.1 [2022-03-24T08:04:21.920Z] -- Detecting C compiler ABI info [2022-03-24T08:04:22.195Z] -- Detecting C compiler ABI info - done [2022-03-24T08:04:22.469Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-24T08:04:22.469Z] -- Detecting C compile features [2022-03-24T08:04:22.469Z] -- Detecting C compile features - done [2022-03-24T08:04:22.469Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-24T08:04:22.469Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-24T08:04:22.469Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-24T08:04:22.469Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-24T08:04:22.743Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-24T08:04:22.743Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-24T08:04:22.743Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-24T08:04:22.743Z] -- C SDK 2.2.0-dev.6 for Linux [2022-03-24T08:04:22.743Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-24T08:04:23.016Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-24T08:04:23.016Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-24T08:04:23.287Z] -- Configuring done [2022-03-24T08:04:23.561Z] -- Generating done [2022-03-24T08:04:23.561Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-24T08:04:23.561Z] + + maketee all release.log [2022-03-24T08:04:23.561Z] package [2022-03-24T08:04:23.561Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-24T08:04:24.545Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-24T08:04:25.556Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-24T08:04:28.175Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-24T08:04:28.772Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-24T08:04:29.044Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-24T08:04:30.017Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-24T08:04:30.614Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-24T08:04:30.886Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-24T08:04:32.319Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-24T08:04:34.935Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-24T08:04:35.211Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-24T08:04:36.183Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-24T08:04:36.776Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-24T08:04:37.372Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-24T08:04:37.644Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-24T08:04:37.917Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-24T08:04:41.290Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-24T08:04:41.564Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-24T08:04:41.837Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-24T08:04:42.431Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-24T08:04:43.025Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-24T08:04:43.295Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-24T08:04:43.295Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-24T08:04:43.295Z] 275 | const iot_component_factory_t * factory; [2022-03-24T08:04:43.295Z] | ^~~~~~~ [2022-03-24T08:04:43.891Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-24T08:04:49.276Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-24T08:04:49.276Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-24T08:04:49.548Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-24T08:04:50.143Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-24T08:04:50.736Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-24T08:04:51.010Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-24T08:04:52.435Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-24T08:04:52.708Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-24T08:04:53.685Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-24T08:04:53.958Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-24T08:04:54.554Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-24T08:04:57.162Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-24T08:04:57.435Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-24T08:04:58.859Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-24T08:04:59.130Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-24T08:05:04.517Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-24T08:05:04.517Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-24T08:05:05.109Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-24T08:05:05.702Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-24T08:05:05.975Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-24T08:05:05.975Z] | ^~~~~~~~~~~~~ [2022-03-24T08:05:05.975Z] | | [2022-03-24T08:05:05.975Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-24T08:05:05.975Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-24T08:05:05.975Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-24T08:05:05.975Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 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-24T08:05:05.975Z] | ^~~~~~~~~~~~ [2022-03-24T08:05:05.975Z] | | [2022-03-24T08:05:05.975Z] | 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-24T08:05:05.975Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:05:05.975Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-24T08:05:05.975Z] | ^~~~~~~~~~~~ [2022-03-24T08:05:05.975Z] | | [2022-03-24T08:05:05.975Z] | 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-24T08:05:05.975Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:05.975Z] /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-24T08:05:05.975Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:05:05.975Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:05:06.950Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-24T08:05:09.564Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-24T08:05:09.564Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-24T08:05:10.157Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-24T08:05:10.751Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-24T08:05:13.361Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-24T08:05:17.656Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-24T08:05:18.247Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-24T08:05:19.226Z] [ 76%] Linking C shared library libcsdk.so [2022-03-24T08:05:19.226Z] [ 76%] Built target csdk [2022-03-24T08:05:19.226Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-24T08:05:20.198Z] [ 79%] Linking C executable template [2022-03-24T08:05:20.471Z] [ 79%] Built target template [2022-03-24T08:05:20.471Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-24T08:05:21.063Z] [ 82%] Linking C executable device-counter [2022-03-24T08:05:21.334Z] [ 82%] Built target device-counter [2022-03-24T08:05:21.334Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-24T08:05:21.926Z] [ 85%] Linking C executable device-random [2022-03-24T08:05:22.198Z] [ 85%] Built target device-random [2022-03-24T08:05:22.198Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-24T08:05:22.790Z] [ 88%] Linking C executable device-gyro [2022-03-24T08:05:23.062Z] [ 88%] Built target device-gyro [2022-03-24T08:05:23.062Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-24T08:05:23.655Z] [ 91%] Linking C executable device-bitfields [2022-03-24T08:05:23.925Z] [ 91%] Built target device-bitfields [2022-03-24T08:05:23.925Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-24T08:05:24.911Z] [ 94%] Linking C executable template-discovery [2022-03-24T08:05:25.182Z] [ 94%] Built target template-discovery [2022-03-24T08:05:25.182Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-24T08:05:25.782Z] [ 97%] Linking C executable device-file [2022-03-24T08:05:26.054Z] [ 97%] Built target device-file [2022-03-24T08:05:26.054Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-24T08:05:27.026Z] [100%] Linking C executable device-terminal [2022-03-24T08:05:27.026Z] [100%] Built target device-terminal [2022-03-24T08:05:27.295Z] Run CPack packaging tool... [2022-03-24T08:05:27.295Z] CPack: Create package using TGZ [2022-03-24T08:05:27.295Z] CPack: Install projects [2022-03-24T08:05:27.295Z] CPack: - Run preinstall target for: Csdk [2022-03-24T08:05:28.317Z] CPack: - Install project: Csdk [] [2022-03-24T08:05:28.317Z] CPack: Create package [2022-03-24T08:05:28.317Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.6.tar.gz generated. [2022-03-24T08:05:28.317Z] + '[' false '=' true ] [2022-03-24T08:05:28.317Z] + '[' false '=' true ] [2022-03-24T08:05:28.317Z] + mkdir -p /tmp/sdk/build/debug [2022-03-24T08:05:28.317Z] + cd /tmp/sdk/build/debug [2022-03-24T08:05:28.317Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-24T08:05:28.639Z] -- The C compiler identification is GNU 10.3.1 [2022-03-24T08:05:28.639Z] -- Detecting C compiler ABI info [2022-03-24T08:05:28.913Z] -- Detecting C compiler ABI info - done [2022-03-24T08:05:28.913Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-24T08:05:28.913Z] -- Detecting C compile features [2022-03-24T08:05:28.913Z] -- Detecting C compile features - done [2022-03-24T08:05:29.191Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-24T08:05:29.191Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-24T08:05:29.191Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-24T08:05:29.191Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-24T08:05:29.191Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-24T08:05:29.467Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-24T08:05:29.467Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-24T08:05:29.467Z] -- C SDK 2.2.0-dev.6 for Linux [2022-03-24T08:05:29.467Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-24T08:05:29.741Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-24T08:05:29.741Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-24T08:05:30.014Z] -- Configuring done [2022-03-24T08:05:30.285Z] -- Generating done [2022-03-24T08:05:30.285Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-24T08:05:30.285Z] + make [2022-03-24T08:05:30.285Z] + tee debug.log [2022-03-24T08:05:30.285Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-24T08:05:30.895Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-24T08:05:31.176Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-24T08:05:31.769Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-24T08:05:32.364Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-24T08:05:32.364Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-24T08:05:32.960Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-24T08:05:34.029Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-24T08:05:34.029Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-24T08:05:34.029Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-24T08:05:34.626Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-24T08:05:34.904Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-24T08:05:35.503Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-24T08:05:35.776Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-24T08:05:36.050Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-24T08:05:36.325Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-24T08:05:36.602Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-24T08:05:37.583Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-24T08:05:37.857Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-24T08:05:37.857Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-24T08:05:38.131Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-24T08:05:38.405Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-24T08:05:38.680Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-24T08:05:38.680Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-24T08:05:38.680Z] 275 | const iot_component_factory_t * factory; [2022-03-24T08:05:38.680Z] | ^~~~~~~ [2022-03-24T08:05:38.955Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-24T08:05:40.392Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-24T08:05:40.392Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-24T08:05:40.667Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-24T08:05:40.939Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-24T08:05:41.214Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-24T08:05:41.214Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-24T08:05:41.812Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-24T08:05:41.812Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-24T08:05:42.409Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-24T08:05:42.409Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-24T08:05:42.682Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-24T08:05:43.279Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-24T08:05:43.279Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-24T08:05:43.878Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-24T08:05:44.152Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-24T08:05:45.592Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-24T08:05:45.592Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-24T08:05:46.187Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-24T08:05:46.464Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-24T08:05:46.464Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-24T08:05:46.464Z] | ^~~~~~~~~~~~~ [2022-03-24T08:05:46.464Z] | | [2022-03-24T08:05:46.464Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-24T08:05:46.464Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-24T08:05:46.464Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-24T08:05:46.464Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 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-24T08:05:46.464Z] | ^~~~~~~~~~~~ [2022-03-24T08:05:46.464Z] | | [2022-03-24T08:05:46.464Z] | 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-24T08:05:46.464Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:05:46.464Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-24T08:05:46.464Z] | ^~~~~~~~~~~~ [2022-03-24T08:05:46.464Z] | | [2022-03-24T08:05:46.464Z] | 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-24T08:05:46.464Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-24T08:05:46.464Z] /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-24T08:05:46.464Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-24T08:05:46.464Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-24T08:05:46.740Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-24T08:05:48.722Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-24T08:05:48.722Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-24T08:05:48.993Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-24T08:05:49.266Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-24T08:05:49.860Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-24T08:05:50.842Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-24T08:05:51.115Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-24T08:05:51.386Z] [ 76%] Linking C shared library libcsdk.so [2022-03-24T08:05:51.657Z] [ 76%] Built target csdk [2022-03-24T08:05:51.657Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-24T08:05:52.260Z] [ 79%] Linking C executable template [2022-03-24T08:05:52.260Z] [ 79%] Built target template [2022-03-24T08:05:52.533Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-24T08:05:52.804Z] [ 82%] Linking C executable device-counter [2022-03-24T08:05:53.077Z] [ 82%] Built target device-counter [2022-03-24T08:05:53.077Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-24T08:05:53.350Z] [ 85%] Linking C executable device-random [2022-03-24T08:05:53.623Z] [ 85%] Built target device-random [2022-03-24T08:05:53.623Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-24T08:05:53.895Z] [ 88%] Linking C executable device-gyro [2022-03-24T08:05:54.167Z] [ 88%] Built target device-gyro [2022-03-24T08:05:54.167Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-24T08:05:54.438Z] [ 91%] Linking C executable device-bitfields [2022-03-24T08:05:54.711Z] [ 91%] Built target device-bitfields [2022-03-24T08:05:54.711Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-24T08:05:55.305Z] [ 94%] Linking C executable template-discovery [2022-03-24T08:05:55.305Z] [ 94%] Built target template-discovery [2022-03-24T08:05:55.578Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-24T08:05:55.851Z] [ 97%] Linking C executable device-file [2022-03-24T08:05:56.123Z] [ 97%] Built target device-file [2022-03-24T08:05:56.123Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-24T08:05:56.396Z] [100%] Linking C executable device-terminal [2022-03-24T08:05:56.668Z] [100%] Built target device-terminal [2022-03-24T08:05:56.940Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] [ 76%] Built target csdk [2022-03-24T08:05:56.940Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] [ 79%] Built target template [2022-03-24T08:05:56.940Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:56.940Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 82%] Built target device-counter [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 85%] Built target device-random [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 88%] Built target device-gyro [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 91%] Built target device-bitfields [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 94%] Built target template-discovery [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.212Z] [ 97%] Built target device-file [2022-03-24T08:05:57.212Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.486Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.486Z] [100%] Built target device-terminal [2022-03-24T08:05:57.486Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:57.486Z] Install the project... [2022-03-24T08:05:57.486Z] -- Install configuration: "Release" [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/devsdk [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/iot [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/iot/time.h [2022-03-24T08:05:57.486Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/component.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/config.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/container.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/os.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/data.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/os [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/json.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-24T08:05:57.487Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-24T08:05:57.487Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-24T08:05:59.461Z] Removing intermediate container 55ce809e73cf [2022-03-24T08:05:59.461Z] ---> 84fbab7ead71 [2022-03-24T08:05:59.461Z] Step 14/22 : FROM ${BASE} [2022-03-24T08:05:59.461Z] ---> 0af3d9908a83 [2022-03-24T08:05:59.461Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-24T08:05:59.461Z] ---> Running in 3d54e33e413a [2022-03-24T08:05:59.461Z] Removing intermediate container 3d54e33e413a [2022-03-24T08:05:59.461Z] ---> b837bfc01bbe [2022-03-24T08:05:59.461Z] 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-24T08:05:59.461Z] ---> Running in 5dc7b220407e [2022-03-24T08:06:00.448Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-24T08:06:01.050Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:06:01.050Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:06:01.050Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:06:01.332Z] Removing intermediate container 5dc7b220407e [2022-03-24T08:06:01.332Z] ---> 77ae8d3e24d7 [2022-03-24T08:06:01.332Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:06:01.608Z] ---> Running in dd77f7c5eea2 [2022-03-24T08:06:03.048Z] Removing intermediate container dd77f7c5eea2 [2022-03-24T08:06:03.049Z] ---> 5ea4a81bc7c4 [2022-03-24T08:06:03.049Z] 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-24T08:06:03.049Z] ---> Running in 89f6338f85c7 [2022-03-24T08:06:04.026Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:04.997Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:05.269Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:05.861Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:06:05.861Z] (1/6) Installing curl (7.80.0-r0) [2022-03-24T08:06:06.133Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-24T08:06:06.133Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-24T08:06:06.133Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-24T08:06:06.403Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-24T08:06:06.403Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-24T08:06:07.376Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:06:07.376Z] OK: 278 MiB in 83 packages [2022-03-24T08:06:07.969Z] Removing intermediate container 89f6338f85c7 [2022-03-24T08:06:07.969Z] ---> b3f49dd828a1 [2022-03-24T08:06:07.969Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-24T08:06:08.562Z] ---> 2c3eba40182b [2022-03-24T08:06:08.562Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-24T08:06:09.157Z] ---> 433fcd97b3b5 [2022-03-24T08:06:09.157Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-24T08:06:09.753Z] ---> 31989bfde06a [2022-03-24T08:06:09.753Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-24T08:06:10.023Z] ---> cb22137fe9ea [2022-03-24T08:06:10.023Z] Successfully built cb22137fe9ea [2022-03-24T08:06:10.023Z] 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-24T08:06:10.435Z] + docker inspect -f . ci-base-image-arm64 [2022-03-24T08:06:10.435Z] . [Pipeline] withDockerContainer [2022-03-24T08:06:10.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-8991 does not seem to be running inside a container [2022-03-24T08:06:10.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@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 ******** ci-base-image-arm64 cat [2022-03-24T08:06:11.891Z] $ docker top 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T08:06:12.767Z] + make test [2022-03-24T08:06:12.767Z] echo "make test" [2022-03-24T08:06:12.767Z] make test [Pipeline] } [2022-03-24T08:06:12.799Z] $ docker stop --time=1 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe [2022-03-24T08:06:14.375Z] $ docker rm -f 3eb6b7ffc0b57324e3e9abc94155938def7769441639b9a2bc9d62bc5dfb48fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-24T08:06:14.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-24T08:06:15.288Z] + ls -al . [2022-03-24T08:06:15.288Z] total 204 [2022-03-24T08:06:15.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:03 . [2022-03-24T08:06:15.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 .. [2022-03-24T08:06:15.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 08:03 .git [2022-03-24T08:06:15.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 08:03 .github [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 24 08:03 .gitignore [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 24 08:03 Attribution.txt [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 8302 Mar 24 08:03 CHANGES [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 24 08:03 Doxyfile [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 08:03 GOVERNANCE.md [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 24 08:03 Jenkinsfile [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 08:03 LICENSE [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 24 08:03 Makefile [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 08:03 OWNERS.md [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 24 08:03 README.md [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 24 08:03 README.v2.md [2022-03-24T08:06:15.288Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 24 08:01 VERSION [2022-03-24T08:06:15.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:03 docs [2022-03-24T08:06:15.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 include [2022-03-24T08:06:15.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 08:03 scripts [2022-03-24T08:06:15.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 08:03 src [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:06:15.635Z] + 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=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 --label arch=arm64 --label version=2.2.0-dev.6 . [2022-03-24T08:06:15.908Z] Sending build context to Docker daemon 2.738MB [2022-03-24T08:06:16.181Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-24T08:06:16.181Z] Step 2/17 : FROM ${BASE} [2022-03-24T08:06:16.181Z] ---> cb22137fe9ea [2022-03-24T08:06:16.181Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-24T08:06:16.182Z] ---> Running in a0b0dea34f1c [2022-03-24T08:06:16.460Z] Removing intermediate container a0b0dea34f1c [2022-03-24T08:06:16.460Z] ---> 7810117bf4b7 [2022-03-24T08:06:16.460Z] 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-24T08:06:16.460Z] ---> Running in 99c2c51c7573 [2022-03-24T08:06:17.446Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-24T08:06:18.043Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-24T08:06:18.043Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-24T08:06:18.043Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-24T08:06:18.649Z] Removing intermediate container 99c2c51c7573 [2022-03-24T08:06:18.649Z] ---> e9232d7fde4b [2022-03-24T08:06:18.649Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-24T08:06:18.649Z] ---> Running in cbf9dc8e0d62 [2022-03-24T08:06:20.097Z] Removing intermediate container cbf9dc8e0d62 [2022-03-24T08:06:20.097Z] ---> a75051f9701a [2022-03-24T08:06:20.097Z] 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-24T08:06:20.371Z] ---> Running in ce976154f4e0 [2022-03-24T08:06:21.360Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:22.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:22.614Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-24T08:06:23.210Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-24T08:06:23.210Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-24T08:06:23.484Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-24T08:06:23.484Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-24T08:06:23.484Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-24T08:06:23.759Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-24T08:06:23.759Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-24T08:06:24.032Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-24T08:06:24.032Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-24T08:06:24.032Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-24T08:06:24.303Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-24T08:06:24.576Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-24T08:06:24.576Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-24T08:06:24.576Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-24T08:06:24.847Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-24T08:06:24.847Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-24T08:06:24.847Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-24T08:06:25.119Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-24T08:06:25.119Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-24T08:06:25.119Z] (19/26) Installing flock (2.37.4-r0) [2022-03-24T08:06:25.391Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-24T08:06:25.391Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-24T08:06:25.391Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-24T08:06:25.663Z] (23/26) Installing logger (2.37.4-r0) [2022-03-24T08:06:25.663Z] (24/26) Installing partx (2.37.4-r0) [2022-03-24T08:06:25.663Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-24T08:06:25.940Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-24T08:06:25.940Z] Executing busybox-1.34.1-r3.trigger [2022-03-24T08:06:25.940Z] OK: 290 MiB in 109 packages [2022-03-24T08:06:27.377Z] Removing intermediate container ce976154f4e0 [2022-03-24T08:06:27.377Z] ---> 75da5be5c21f [2022-03-24T08:06:27.377Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-24T08:06:27.975Z] ---> 4c3f90838ddc [2022-03-24T08:06:27.975Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-24T08:06:28.957Z] ---> c63c7af98e69 [2022-03-24T08:06:28.957Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-24T08:06:29.234Z] ---> 084cdccac106 [2022-03-24T08:06:29.234Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-24T08:06:29.833Z] ---> 08902807cc95 [2022-03-24T08:06:29.833Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-24T08:06:30.108Z] ---> 3fc4eb364685 [2022-03-24T08:06:30.108Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-24T08:06:30.709Z] ---> 5c5e17678f08 [2022-03-24T08:06:30.709Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-24T08:06:30.985Z] ---> Running in b8a010ecec2f [2022-03-24T08:06:31.261Z] Removing intermediate container b8a010ecec2f [2022-03-24T08:06:31.261Z] ---> 23cf2c3594dc [2022-03-24T08:06:31.261Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-24T08:06:31.261Z] ---> Running in e119374ce656 [2022-03-24T08:06:31.544Z] Removing intermediate container e119374ce656 [2022-03-24T08:06:31.544Z] ---> eed47c99037f [2022-03-24T08:06:31.544Z] Step 15/17 : LABEL arch=arm64 [2022-03-24T08:06:31.544Z] ---> Running in 0a2b487bb5e3 [2022-03-24T08:06:31.819Z] Removing intermediate container 0a2b487bb5e3 [2022-03-24T08:06:31.819Z] ---> ed2da5ab874e [2022-03-24T08:06:32.092Z] Step 16/17 : LABEL git_sha=9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 [2022-03-24T08:06:32.093Z] ---> Running in dd9447e757df [2022-03-24T08:06:32.367Z] Removing intermediate container dd9447e757df [2022-03-24T08:06:32.367Z] ---> 26c4f008573a [2022-03-24T08:06:32.367Z] Step 17/17 : LABEL version=2.2.0-dev.6 [2022-03-24T08:06:32.367Z] ---> Running in 9e1cd3e12084 [2022-03-24T08:06:32.641Z] Removing intermediate container 9e1cd3e12084 [2022-03-24T08:06:32.641Z] ---> 40482355c1c2 [2022-03-24T08:06:32.641Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-24T08:06:32.641Z] Successfully built 40482355c1c2 [2022-03-24T08:06:32.641Z] 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-24T08:06:33.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T08:06:33.062Z] [2022-03-24T08:06:33.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:06:33.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T08:06:33.695Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-24T08:06:33.695Z] 8998bd30e6a1: Pulling fs layer [2022-03-24T08:06:33.695Z] 04944245beec: Pulling fs layer [2022-03-24T08:06:33.695Z] 699f458cf7ca: Pulling fs layer [2022-03-24T08:06:33.695Z] 765212b225bb: Pulling fs layer [2022-03-24T08:06:33.695Z] f23df028b6ca: Pulling fs layer [2022-03-24T08:06:33.695Z] d65c8cfc05b1: Pulling fs layer [2022-03-24T08:06:33.695Z] 2437ff75d9bd: Pulling fs layer [2022-03-24T08:06:33.695Z] f23df028b6ca: Waiting [2022-03-24T08:06:33.695Z] d65c8cfc05b1: Waiting [2022-03-24T08:06:33.695Z] 2437ff75d9bd: Waiting [2022-03-24T08:06:33.695Z] 765212b225bb: Waiting [2022-03-24T08:06:33.695Z] 04944245beec: Verifying Checksum [2022-03-24T08:06:33.695Z] 04944245beec: Download complete [2022-03-24T08:06:33.695Z] 765212b225bb: Verifying Checksum [2022-03-24T08:06:33.695Z] 765212b225bb: Download complete [2022-03-24T08:06:33.695Z] f23df028b6ca: Verifying Checksum [2022-03-24T08:06:33.695Z] f23df028b6ca: Download complete [2022-03-24T08:06:33.970Z] d65c8cfc05b1: Verifying Checksum [2022-03-24T08:06:33.970Z] d65c8cfc05b1: Download complete [2022-03-24T08:06:33.970Z] 699f458cf7ca: Verifying Checksum [2022-03-24T08:06:34.244Z] 8998bd30e6a1: Verifying Checksum [2022-03-24T08:06:34.244Z] 8998bd30e6a1: Download complete [2022-03-24T08:06:36.874Z] 2437ff75d9bd: Verifying Checksum [2022-03-24T08:06:36.874Z] 2437ff75d9bd: Download complete [2022-03-24T08:06:38.855Z] 8998bd30e6a1: Pull complete [2022-03-24T08:06:39.131Z] 04944245beec: Pull complete [2022-03-24T08:06:40.573Z] 699f458cf7ca: Pull complete [2022-03-24T08:06:40.849Z] 765212b225bb: Pull complete [2022-03-24T08:06:41.449Z] f23df028b6ca: Pull complete [2022-03-24T08:06:41.725Z] d65c8cfc05b1: Pull complete [2022-03-24T08:06:56.867Z] 2437ff75d9bd: Pull complete [2022-03-24T08:06:57.151Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-24T08:06:57.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-24T08:06:57.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-24T08:06:57.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-8991 does not seem to be running inside a container [2022-03-24T08:06:57.523Z] $ 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/21 -v /w/workspace/device-sdk-c/21:/w/workspace/device-sdk-c/21:rw,z -v /w/workspace/device-sdk-c/21@tmp:/w/workspace/device-sdk-c/21@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-24T08:07:00.046Z] $ docker top 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:01.058Z] ---> job-cost.sh [2022-03-24T08:07:01.058Z] lf-activate-venv: SKIPPING [2022-03-24T08:07:01.058Z] INFO: No Stack... [2022-03-24T08:07:01.663Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-24T08:07:02.264Z] INFO: Archiving Costs [Pipeline] sh [2022-03-24T08:07:02.962Z] + cat /w/workspace/device-sdk-c/21/archives/cost.csv [2022-03-24T08:07:02.962Z] + cut -d, -f6 [Pipeline] lock [2022-03-24T08:07:02.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [2022-03-24T08:07:03.006Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] did not exist. Created. [2022-03-24T08:07:03.006Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-24T08:07:03.696Z] /w/workspace/device-sdk-c/21@tmp/durable-e1f5408b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-24T08:07:04.366Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-24T08:07:04.387Z] Warning: overwriting stash ‘stack-cost’ [2022-03-24T08:07:04.826Z] Stashed 1 file(s) [Pipeline] } [2022-03-24T08:07:04.833Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-24T08:07:04.860Z] $ docker stop --time=1 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 [2022-03-24T08:07:06.378Z] $ docker rm -f 23fb8d7f242c8aad9d9c6eebc4bf446f1a82569561fe79ba9284a544b0140af2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2022-03-24T08:07:07.064Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-24T08:07:07.064Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:07.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:07:07.360Z] . [Pipeline] withDockerContainer [2022-03-24T08:07:07.424Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:07:07.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-24T08:07:07.838Z] $ docker top b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-24T08:07:07.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T08:07:07.926Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T08:07:08.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T08:07:08.061Z] $ docker exec b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e ssh-agent [2022-03-24T08:07:08.169Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXifoMEc/agent.15 [2022-03-24T08:07:08.169Z] SSH_AGENT_PID=21 [2022-03-24T08:07:08.174Z] Running ssh-add (command line suppressed) [2022-03-24T08:07:08.284Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7394052692628488199.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7394052692628488199.key) [2022-03-24T08:07:08.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T08:07:08.580Z] + git semver tag [2022-03-24T08:07:08.580Z] # -> Open(): unable to determine branch for HEAD [2022-03-24T08:07:08.580Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-24T08:07:08.580Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-24T08:07:08.580Z] # $SEMVER_REMOTE_NAME = origin [2022-03-24T08:07:08.580Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-24T08:07:08.580Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-24T08:07:08.580Z] # $SEMVER_BRANCH = main [2022-03-24T08:07:08.580Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-24T08:07:08.580Z] # 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 HEAD [2022-03-24T08:07:08.580Z] # -> Force: false [2022-03-24T08:07:08.580Z] # 396fea9382ef26052bc89c5c45709ffff2c5c110 refs/tags/v2.2.0-dev.6 [Pipeline] } [2022-03-24T08:07:08.597Z] $ docker exec --env ******** --env ******** b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e ssh-agent -k [2022-03-24T08:07:08.702Z] unset SSH_AUTH_SOCK; [2022-03-24T08:07:08.702Z] unset SSH_AGENT_PID; [2022-03-24T08:07:08.702Z] echo Agent pid 21 killed; [2022-03-24T08:07:08.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T08:07:09.016Z] + git semver [Pipeline] } [2022-03-24T08:07:09.035Z] $ docker stop --time=1 b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e [2022-03-24T08:07:10.320Z] $ docker rm -f b60aef30becfbbfb032309b9628114a54805c294cf6f337787b562b7d966d65e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:10.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-24T08:07:10.707Z] [2022-03-24T08:07:10.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:11.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-24T08:07:11.011Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-24T08:07:11.011Z] ab5ef0e58194: Pulling fs layer [2022-03-24T08:07:11.011Z] 9712f1f96733: Pulling fs layer [2022-03-24T08:07:11.011Z] 63f879dbbcfc: Pulling fs layer [2022-03-24T08:07:11.011Z] 0d9ebad4ef96: Pulling fs layer [2022-03-24T08:07:11.011Z] e9a5061849ea: Pulling fs layer [2022-03-24T08:07:11.011Z] d747dcd14b5f: Pulling fs layer [2022-03-24T08:07:11.011Z] 2de7ff778b66: Pulling fs layer [2022-03-24T08:07:11.011Z] e9a5061849ea: Waiting [2022-03-24T08:07:11.011Z] d747dcd14b5f: Waiting [2022-03-24T08:07:11.011Z] 0d9ebad4ef96: Waiting [2022-03-24T08:07:11.011Z] 9712f1f96733: Verifying Checksum [2022-03-24T08:07:11.011Z] 9712f1f96733: Download complete [2022-03-24T08:07:11.270Z] 63f879dbbcfc: Verifying Checksum [2022-03-24T08:07:11.270Z] 63f879dbbcfc: Download complete [2022-03-24T08:07:11.527Z] e9a5061849ea: Verifying Checksum [2022-03-24T08:07:11.527Z] e9a5061849ea: Download complete [2022-03-24T08:07:11.527Z] d747dcd14b5f: Verifying Checksum [2022-03-24T08:07:11.527Z] d747dcd14b5f: Download complete [2022-03-24T08:07:11.527Z] 0d9ebad4ef96: Verifying Checksum [2022-03-24T08:07:11.527Z] 0d9ebad4ef96: Download complete [2022-03-24T08:07:11.527Z] 2de7ff778b66: Verifying Checksum [2022-03-24T08:07:11.527Z] 2de7ff778b66: Download complete [2022-03-24T08:07:11.527Z] ab5ef0e58194: Verifying Checksum [2022-03-24T08:07:11.527Z] ab5ef0e58194: Download complete [2022-03-24T08:07:14.062Z] ab5ef0e58194: Pull complete [2022-03-24T08:07:14.062Z] 9712f1f96733: Pull complete [2022-03-24T08:07:14.999Z] 63f879dbbcfc: Pull complete [2022-03-24T08:07:19.195Z] 0d9ebad4ef96: Pull complete [2022-03-24T08:07:19.195Z] e9a5061849ea: Pull complete [2022-03-24T08:07:19.195Z] d747dcd14b5f: Pull complete [2022-03-24T08:07:20.137Z] 2de7ff778b66: Pull complete [2022-03-24T08:07:20.137Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-24T08:07:20.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-24T08:07:20.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-24T08:07:20.203Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:07:20.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-24T08:07:24.779Z] $ docker top 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-24T08:07:24.861Z] provisioning config files... [2022-03-24T08:07:24.878Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6915751902247476422tmp [2022-03-24T08:07:24.891Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4396366795971393686tmp [2022-03-24T08:07:24.903Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6572472779909880501tmp [Pipeline] { [Pipeline] echo [2022-03-24T08:07:24.921Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:25.207Z] ---> sigul-configuration.sh [2022-03-24T08:07:25.207Z] gpg: directory `/root/.gnupg' created [2022-03-24T08:07:25.207Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-24T08:07:25.207Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-24T08:07:25.207Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-24T08:07:25.207Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-24T08:07:25.207Z] gpg: CAST5 encrypted data [2022-03-24T08:07:25.207Z] gpg: encrypted with 1 passphrase [2022-03-24T08:07:25.207Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-24T08:07:25.496Z] + mkdir /home/jenkins [2022-03-24T08:07:25.496Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-24T08:07:25.791Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-03-24T08:07:25.802Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:26.092Z] ---> sigul-install.sh [2022-03-24T08:07:26.092Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-24T08:07:26.382Z] + git tag --list [2022-03-24T08:07:26.382Z] 0.7.0 [2022-03-24T08:07:26.382Z] 0.7.1 [2022-03-24T08:07:26.382Z] 1.0.0 [2022-03-24T08:07:26.382Z] v1.0.1 [2022-03-24T08:07:26.382Z] v1.0.2 [2022-03-24T08:07:26.382Z] v1.0.3 [2022-03-24T08:07:26.382Z] v1.1.0 [2022-03-24T08:07:26.382Z] v1.1.1 [2022-03-24T08:07:26.382Z] v1.2.0 [2022-03-24T08:07:26.382Z] v1.2.1 [2022-03-24T08:07:26.382Z] v1.2.2 [2022-03-24T08:07:26.382Z] v1.3.0 [2022-03-24T08:07:26.382Z] v1.3.1 [2022-03-24T08:07:26.382Z] v2.0.0 [2022-03-24T08:07:26.382Z] v2.0.1-dev.1 [2022-03-24T08:07:26.382Z] v2.0.1-dev.10 [2022-03-24T08:07:26.382Z] v2.0.1-dev.11 [2022-03-24T08:07:26.382Z] v2.0.1-dev.12 [2022-03-24T08:07:26.382Z] v2.0.1-dev.13 [2022-03-24T08:07:26.382Z] v2.0.1-dev.2 [2022-03-24T08:07:26.382Z] v2.0.1-dev.3 [2022-03-24T08:07:26.382Z] v2.0.1-dev.4 [2022-03-24T08:07:26.382Z] v2.0.1-dev.5 [2022-03-24T08:07:26.382Z] v2.0.1-dev.6 [2022-03-24T08:07:26.382Z] v2.0.1-dev.7 [2022-03-24T08:07:26.382Z] v2.0.1-dev.8 [2022-03-24T08:07:26.382Z] v2.0.1-dev.9 [2022-03-24T08:07:26.382Z] v2.1.0 [2022-03-24T08:07:26.382Z] v2.2.0-dev.1 [2022-03-24T08:07:26.382Z] v2.2.0-dev.2 [2022-03-24T08:07:26.382Z] v2.2.0-dev.3 [2022-03-24T08:07:26.382Z] v2.2.0-dev.4 [2022-03-24T08:07:26.382Z] v2.2.0-dev.5 [2022-03-24T08:07:26.382Z] v2.2.0-dev.6 [Pipeline] sh [2022-03-24T08:07:26.679Z] + lftools sign git-tag v2.2.0-dev.6 [2022-03-24T08:07:27.248Z] Signing Git tag with Sigul... [2022-03-24T08:07:27.249Z] Signing v2.2.0-dev.6 [Pipeline] echo [2022-03-24T08:07:27.517Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:27.800Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-24T08:07:27.806Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-24T08:07:27.829Z] $ docker stop --time=1 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 [2022-03-24T08:07:29.161Z] $ docker rm -f 8a8accadfa679ba3a5c1c5274229feda66b5076b146ab3c0e8732a92def92ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-24T08:07:29.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-24T08:07:29.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:29.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:07:29.950Z] . [Pipeline] withDockerContainer [2022-03-24T08:07:30.019Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:07:30.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-24T08:07:30.472Z] $ docker top 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-24T08:07:30.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T08:07:30.559Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T08:07:30.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T08:07:30.695Z] $ docker exec 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b ssh-agent [2022-03-24T08:07:30.805Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpmhalC/agent.15 [2022-03-24T08:07:30.805Z] SSH_AGENT_PID=21 [2022-03-24T08:07:30.810Z] Running ssh-add (command line suppressed) [2022-03-24T08:07:30.921Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5413489121775160500.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5413489121775160500.key) [2022-03-24T08:07:30.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T08:07:31.220Z] + git semver bump pre [2022-03-24T08:07:31.220Z] # -> Open(): unable to determine branch for HEAD [2022-03-24T08:07:31.220Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-24T08:07:31.220Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-24T08:07:31.220Z] # $SEMVER_REMOTE_NAME = origin [2022-03-24T08:07:31.220Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-24T08:07:31.220Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-24T08:07:31.220Z] # $SEMVER_BRANCH = main [2022-03-24T08:07:31.220Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-24T08:07:31.220Z] 2.2.0-dev.7 [Pipeline] } [2022-03-24T08:07:31.237Z] $ docker exec --env ******** --env ******** 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b ssh-agent -k [2022-03-24T08:07:31.343Z] unset SSH_AUTH_SOCK; [2022-03-24T08:07:31.343Z] unset SSH_AGENT_PID; [2022-03-24T08:07:31.343Z] echo Agent pid 21 killed; [2022-03-24T08:07:31.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T08:07:31.657Z] + git semver [Pipeline] } [2022-03-24T08:07:31.679Z] $ docker stop --time=1 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b [2022-03-24T08:07:33.004Z] $ docker rm -f 7a3e9bd50c8fb71980b80e6ecede375eb00c6aa2228c22b3da1066a252fdb97b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-24T08:07:33.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-24T08:07:33.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:33.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-24T08:07:33.672Z] . [Pipeline] withDockerContainer [2022-03-24T08:07:33.738Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:07:33.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-24T08:07:34.188Z] $ docker top 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-24T08:07:34.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-24T08:07:34.274Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-24T08:07:34.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-24T08:07:34.413Z] $ docker exec 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 ssh-agent [2022-03-24T08:07:34.551Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdhBMNo/agent.14 [2022-03-24T08:07:34.551Z] SSH_AGENT_PID=21 [2022-03-24T08:07:34.558Z] Running ssh-add (command line suppressed) [2022-03-24T08:07:34.674Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_57686689639606432.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_57686689639606432.key) [2022-03-24T08:07:34.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-24T08:07:34.974Z] + git semver push [2022-03-24T08:07:34.974Z] # -> Open(): unable to determine branch for HEAD [2022-03-24T08:07:34.974Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-24T08:07:34.974Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-24T08:07:34.974Z] # $SEMVER_REMOTE_NAME = origin [2022-03-24T08:07:34.974Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-24T08:07:34.974Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-24T08:07:34.974Z] # $SEMVER_BRANCH = main [2022-03-24T08:07:34.974Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-24T08:07:36.904Z] $ docker exec --env ******** --env ******** 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 ssh-agent -k [2022-03-24T08:07:37.017Z] unset SSH_AUTH_SOCK; [2022-03-24T08:07:37.018Z] unset SSH_AGENT_PID; [2022-03-24T08:07:37.018Z] echo Agent pid 21 killed; [2022-03-24T08:07:37.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-24T08:07:37.333Z] + git semver [Pipeline] } [2022-03-24T08:07:37.353Z] $ docker stop --time=1 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 [2022-03-24T08:07:38.670Z] $ docker rm -f 0c3b70f5302a0622e0fff88b8e64468d10b19b49ae0f8d81512a0f373aee40a9 [Pipeline] // withDockerContainer [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-24T08:07:39.190Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-03-24T08:07:39.190Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-24T08:07:39.190Z] total 16 [2022-03-24T08:07:39.190Z] drwxr-xr-x 3 root root 4096 Mar 24 08:02 . [2022-03-24T08:07:39.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 08:07 .. [2022-03-24T08:07:39.190Z] drwxr-xr-x 2 root root 4096 Mar 24 08:02 cost [2022-03-24T08:07:39.190Z] -rw-r--r-- 1 root root 82 Mar 24 08:02 cost.csv [2022-03-24T08:07:39.190Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-24T08:07:39.190Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-24T08:07:39.190Z] total 16 [2022-03-24T08:07:39.190Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 08:02 . [2022-03-24T08:07:39.190Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 08:07 .. [2022-03-24T08:07:39.190Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 08:02 cost [2022-03-24T08:07:39.190Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 24 08:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:39.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:40.353Z] ---> package-listing.sh [2022-03-24T08:07:40.353Z] ++ facter osfamily [2022-03-24T08:07:40.353Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-24T08:07:40.613Z] + OS_FAMILY=debian [2022-03-24T08:07:40.613Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-03-24T08:07:40.613Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-24T08:07:40.613Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-24T08:07:40.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-24T08:07:40.613Z] + PACKAGES=/tmp/packages_start.txt [2022-03-24T08:07:40.613Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-24T08:07:40.613Z] + PACKAGES=/tmp/packages_end.txt [2022-03-24T08:07:40.613Z] + case "${OS_FAMILY}" in [2022-03-24T08:07:40.613Z] + dpkg -l [2022-03-24T08:07:40.613Z] + grep '^ii' [2022-03-24T08:07:40.613Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-24T08:07:40.613Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-24T08:07:40.613Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-24T08:07:40.613Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-24T08:07:40.613Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-03-24T08:07:40.613Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-03-24T08:07:40.623Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-24T08:07:40.901Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-24T08:07:41.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-24T08:07:41.455Z] . [Pipeline] withDockerContainer [2022-03-24T08:07:41.516Z] prd-ubuntu20.04-docker-8c-8g-8990 does not seem to be running inside a container [2022-03-24T08:07:41.554Z] $ 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-24T08:07:41.805Z] $ docker top b5efe0d7b9c994881554620786b368070546231b6c7a29b780bbcdecd9cb69c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-24T08:07:42.149Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-24T08:07:42.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-24T08:07:42.725Z] + ls /var/log/sa-host [2022-03-24T08:07:42.725Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-24T08:07:42.930Z] provisioning config files... [2022-03-24T08:07:42.937Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7125001873641042173tmp [Pipeline] { [Pipeline] echo [2022-03-24T08:07:42.948Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:43.232Z] ---> create-netrc.sh [Pipeline] } [2022-03-24T08:07:43.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:43.575Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-24T08:07:43.584Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:43.867Z] ---> sudo-logs.sh [2022-03-24T08:07:43.867Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-24T08:07:43.890Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:44.177Z] ---> job-cost.sh [2022-03-24T08:07:44.177Z] lf-activate-venv: SKIPPING [2022-03-24T08:07:44.177Z] DEBUG: total: 0.2199999988079071 [2022-03-24T08:07:44.177Z] INFO: Retrieving Stack Cost... [2022-03-24T08:07:44.748Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-24T08:07:45.008Z] INFO: Archiving Costs [Pipeline] echo [2022-03-24T08:07:45.023Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-24T08:07:45.307Z] ---> logs-deploy.sh [2022-03-24T08:07:45.307Z] lf-activate-venv: SKIPPING [2022-03-24T08:07:45.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/21 [2022-03-24T08:07:45.307Z] INFO: archiving workspace using pattern(s): [2022-03-24T08:07:46.249Z] Archives upload complete. [2022-03-24T08:07:46.249Z] INFO: archiving logs to Nexus