Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 165bf1afc6928f684637a03d8c76ec8e2cf51e8a 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-ssh981227018903901807.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16917608405654803025.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13645498524735086241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14250316016069028254.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh14460175671327451701.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17730669751565494402.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15221 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 165bf1afc6928f684637a03d8c76ec8e2cf51e8a (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 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420) (#421)" > git rev-list --no-walk 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-21T10:27:29.156Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-21T10:27:29.211Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-21T10:27:29.230Z] ========================================================= [2022-06-21T10:27:29.230Z] EdgeX Global Pipelines Version Info [2022-06-21T10:27:29.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:27:30.002Z] ------------------- [2022-06-21T10:27:30.002Z] stable info: [2022-06-21T10:27:30.002Z] ------------------- [2022-06-21T10:27:30.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-21T10:27:30.002Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T10:27:30.002Z] Message: update stable to v1.0.234 [2022-06-21T10:27:30.575Z] ------------------- [2022-06-21T10:27:30.575Z] experimental info: [2022-06-21T10:27:30.575Z] ------------------- [2022-06-21T10:27:30.575Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-21T10:27:30.575Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T10:27:30.575Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-21T10:27:30.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-06-21T10:27:30.846Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-06-21T10:27:30.858Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-21T10:27:30.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-21T10:27:30.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-21T10:27:30.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-06-21T10:27:30.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-06-21T10:27:30.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-21T10:27:30.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-21T10:27:30.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-06-21T10:27:30.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-21T10:27:30.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-21T10:27:30.974Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T10:27:30.985Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T10:27:30.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-21T10:27:31.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-21T10:27:31.019Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-21T10:27:31.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-21T10:27:31.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-21T10:27:31.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-21T10:27:31.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo [2022-06-21T10:27:31.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 165bf1a [Pipeline] echo [2022-06-21T10:27:31.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T10:27:31.131Z] provisioning config files... [2022-06-21T10:27:31.146Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1831212466776814701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:27:31.457Z] ---> docker-login.sh [2022-06-21T10:27:31.457Z] nexus3.edgexfoundry.org:10001 [2022-06-21T10:27:31.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:31.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:31.984Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:31.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:31.984Z] [2022-06-21T10:27:31.984Z] Login Succeeded [2022-06-21T10:27:31.984Z] nexus3.edgexfoundry.org:10002 [2022-06-21T10:27:31.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:31.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:31.984Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:31.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:31.984Z] [2022-06-21T10:27:31.984Z] Login Succeeded [2022-06-21T10:27:31.984Z] nexus3.edgexfoundry.org:10003 [2022-06-21T10:27:32.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:32.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:32.246Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:32.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:32.246Z] [2022-06-21T10:27:32.246Z] Login Succeeded [2022-06-21T10:27:32.246Z] nexus3.edgexfoundry.org:10004 [2022-06-21T10:27:32.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:32.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:32.246Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:32.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:32.246Z] [2022-06-21T10:27:32.246Z] Login Succeeded [2022-06-21T10:27:32.246Z] docker.io [2022-06-21T10:27:32.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:32.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:32.770Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:32.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:32.770Z] [2022-06-21T10:27:32.770Z] Login Succeeded [2022-06-21T10:27:32.770Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T10:27:32.780Z] 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-06-21T10:27:33.153Z] + git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo [2022-06-21T10:27:33.188Z] -----------> git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [false] [Pipeline] sh [2022-06-21T10:27:33.486Z] + git log --format=format:%s -1 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo [2022-06-21T10:27:33.505Z] ========================================================= [2022-06-21T10:27:33.505Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-21T10:27:33.505Z] ========================================================= 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-06-21T10:27:33.895Z] + git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo [2022-06-21T10:27:33.907Z] -----------> git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [false] [Pipeline] sh [2022-06-21T10:27:34.200Z] + git log --format=format:%s -1 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo [2022-06-21T10:27:34.217Z] ========================================================= [2022-06-21T10:27:34.217Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-21T10:27:34.217Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-06-21T10:27:34.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T10:27:34.651Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-21T10:27:34.651Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-21T10:27:34.651Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-21T10:27:34.651Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-21T10:27:34.651Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-21T10:27:34.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:27:35.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:27:35.076Z] [2022-06-21T10:27:35.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:27:35.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:27:35.380Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-21T10:27:35.380Z] 42c077c10790: Pulling fs layer [2022-06-21T10:27:35.380Z] f63e77b7563a: Pulling fs layer [2022-06-21T10:27:35.380Z] bd5fdadae976: Pulling fs layer [2022-06-21T10:27:35.380Z] 205491f53016: Pulling fs layer [2022-06-21T10:27:35.380Z] df18705c85c3: Pulling fs layer [2022-06-21T10:27:35.380Z] bdb3f477010e: Pulling fs layer [2022-06-21T10:27:35.380Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-21T10:27:35.380Z] 2c6e9b1d212d: Pulling fs layer [2022-06-21T10:27:35.380Z] bdb8f0575790: Pulling fs layer [2022-06-21T10:27:35.380Z] 386e3cb2ff24: Pulling fs layer [2022-06-21T10:27:35.380Z] 2343380bae48: Pulling fs layer [2022-06-21T10:27:35.380Z] bdb3f477010e: Waiting [2022-06-21T10:27:35.380Z] c8a8fc8e1c8f: Waiting [2022-06-21T10:27:35.380Z] 2c6e9b1d212d: Waiting [2022-06-21T10:27:35.380Z] 386e3cb2ff24: Waiting [2022-06-21T10:27:35.380Z] bdb8f0575790: Waiting [2022-06-21T10:27:35.380Z] df18705c85c3: Waiting [2022-06-21T10:27:35.380Z] 2343380bae48: Waiting [2022-06-21T10:27:35.380Z] f63e77b7563a: Verifying Checksum [2022-06-21T10:27:35.380Z] f63e77b7563a: Download complete [2022-06-21T10:27:35.380Z] 205491f53016: Verifying Checksum [2022-06-21T10:27:35.380Z] 205491f53016: Download complete [2022-06-21T10:27:35.380Z] df18705c85c3: Verifying Checksum [2022-06-21T10:27:35.380Z] df18705c85c3: Download complete [2022-06-21T10:27:35.652Z] bdb3f477010e: Verifying Checksum [2022-06-21T10:27:35.652Z] bdb3f477010e: Download complete [2022-06-21T10:27:35.652Z] bd5fdadae976: Verifying Checksum [2022-06-21T10:27:35.652Z] bd5fdadae976: Download complete [2022-06-21T10:27:35.652Z] 2c6e9b1d212d: Download complete [2022-06-21T10:27:35.652Z] bdb8f0575790: Download complete [2022-06-21T10:27:35.652Z] 386e3cb2ff24: Verifying Checksum [2022-06-21T10:27:35.652Z] 386e3cb2ff24: Download complete [2022-06-21T10:27:35.652Z] 2343380bae48: Verifying Checksum [2022-06-21T10:27:35.652Z] 2343380bae48: Download complete [2022-06-21T10:27:35.652Z] 42c077c10790: Download complete [2022-06-21T10:27:35.914Z] c8a8fc8e1c8f: Download complete [2022-06-21T10:27:36.858Z] 42c077c10790: Pull complete [2022-06-21T10:27:36.858Z] f63e77b7563a: Pull complete [2022-06-21T10:27:37.429Z] bd5fdadae976: Pull complete [2022-06-21T10:27:37.429Z] 205491f53016: Pull complete [2022-06-21T10:27:37.689Z] df18705c85c3: Pull complete [2022-06-21T10:27:37.689Z] bdb3f477010e: Pull complete [2022-06-21T10:27:39.611Z] c8a8fc8e1c8f: Pull complete [2022-06-21T10:27:39.611Z] 2c6e9b1d212d: Pull complete [2022-06-21T10:27:39.873Z] bdb8f0575790: Pull complete [2022-06-21T10:27:39.874Z] 386e3cb2ff24: Pull complete [2022-06-21T10:27:39.874Z] 2343380bae48: Pull complete [2022-06-21T10:27:39.874Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-21T10:27:39.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:27:39.874Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:27:39.977Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:27:40.006Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T10:27:41.364Z] $ docker top c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 -eo pid,comm [2022-06-21T10:27:41.437Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-21T10:27:41.437Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T10:27:41.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T10:27:41.470Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T10:27:41.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T10:27:41.601Z] $ docker exec c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent [2022-06-21T10:27:41.719Z] SSH_AUTH_SOCK=/tmp/ssh-4OiVD23nxGG4/agent.34 [2022-06-21T10:27:41.719Z] SSH_AGENT_PID=40 [2022-06-21T10:27:41.726Z] Running ssh-add (command line suppressed) [2022-06-21T10:27:41.836Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_744218801838355930.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_744218801838355930.key) [2022-06-21T10:27:41.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T10:27:42.150Z] + git tag --points-at HEAD [Pipeline] } [2022-06-21T10:27:42.157Z] $ docker exec --env ******** --env ******** c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent -k [2022-06-21T10:27:42.271Z] unset SSH_AUTH_SOCK; [2022-06-21T10:27:42.271Z] unset SSH_AGENT_PID; [2022-06-21T10:27:42.271Z] echo Agent pid 40 killed; [2022-06-21T10:27:42.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-21T10:27:42.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T10:27:42.316Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T10:27:42.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T10:27:42.433Z] $ docker exec c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent [2022-06-21T10:27:42.556Z] SSH_AUTH_SOCK=/tmp/ssh-MlIf2ZU1aI4o/agent.74 [2022-06-21T10:27:42.556Z] SSH_AGENT_PID=81 [2022-06-21T10:27:42.562Z] Running ssh-add (command line suppressed) [2022-06-21T10:27:42.661Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4793383076780893875.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4793383076780893875.key) [2022-06-21T10:27:42.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T10:27:42.972Z] + git semver init [2022-06-21T10:27:43.233Z] 2022-06-21 10:27:43,171 [run_init] DEBUG init version:0.0.0 force:False [2022-06-21T10:27:43.233Z] 2022-06-21 10:27:43,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-06-21T10:27:43.233Z] 2022-06-21 10:27:43,172 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-06-21T10:27:43.233Z] 2022-06-21 10:27:43,173 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-06-21T10:27:44.174Z] 2022-06-21 10:27:43,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-06-21T10:27:44.174Z] 2022-06-21 10:27:43,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-06-21T10:27:44.174Z] 2022-06-21 10:27:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:27:44.174Z] 2022-06-21 10:27:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:27:44.174Z] 2.2.0-dev.10 [Pipeline] } [2022-06-21T10:27:44.178Z] $ docker exec --env ******** --env ******** c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent -k [2022-06-21T10:27:44.296Z] unset SSH_AUTH_SOCK; [2022-06-21T10:27:44.297Z] unset SSH_AGENT_PID; [2022-06-21T10:27:44.297Z] echo Agent pid 81 killed; [2022-06-21T10:27:44.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T10:27:44.617Z] + git semver [Pipeline] } [2022-06-21T10:27:44.886Z] $ docker stop --time=1 c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 [2022-06-21T10:27:46.191Z] $ docker rm -f c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T10:27:46.550Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-21T10:27:46.802Z] Stashed 1 file(s) [Pipeline] echo [2022-06-21T10:27:46.805Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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-06-21T10:27:46.961Z] provisioning config files... [2022-06-21T10:27:46.970Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2340327090180417658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:27:47.276Z] ---> docker-login.sh [2022-06-21T10:27:47.276Z] nexus3.edgexfoundry.org:10001 [2022-06-21T10:27:47.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:47.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:47.276Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:47.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:47.276Z] [2022-06-21T10:27:47.276Z] Login Succeeded [2022-06-21T10:27:47.276Z] nexus3.edgexfoundry.org:10002 [2022-06-21T10:27:47.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:47.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:47.276Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:47.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:47.276Z] [2022-06-21T10:27:47.276Z] Login Succeeded [2022-06-21T10:27:47.276Z] nexus3.edgexfoundry.org:10003 [2022-06-21T10:27:47.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:47.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:47.536Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:47.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:47.536Z] [2022-06-21T10:27:47.536Z] Login Succeeded [2022-06-21T10:27:47.536Z] nexus3.edgexfoundry.org:10004 [2022-06-21T10:27:47.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:47.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:47.799Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:47.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:47.800Z] [2022-06-21T10:27:47.800Z] Login Succeeded [2022-06-21T10:27:47.800Z] docker.io [2022-06-21T10:27:47.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:27:48.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:27:48.063Z] Configure a credential helper to remove this warning. See [2022-06-21T10:27:48.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:27:48.063Z] [2022-06-21T10:27:48.063Z] Login Succeeded [2022-06-21T10:27:48.063Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T10:27:48.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T10:27:48.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T10:27:48.150Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-06-21T10:27:48.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T10:27:48.169Z] ========================================================= [2022-06-21T10:27:48.169Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-06-21T10:27:48.169Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:27:48.473Z] + 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-06-21T10:27:48.473Z] Sending build context to Docker daemon 4.518MB [2022-06-21T10:27:48.473Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-21T10:27:48.473Z] Step 2/22 : FROM ${BASE} as builder [2022-06-21T10:27:48.473Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-06-21T10:27:48.473Z] df9b9388f04a: Pulling fs layer [2022-06-21T10:27:48.473Z] 37ea90d01205: Pulling fs layer [2022-06-21T10:27:48.473Z] c88372d24652: Pulling fs layer [2022-06-21T10:27:48.473Z] 37ea90d01205: Verifying Checksum [2022-06-21T10:27:48.473Z] 37ea90d01205: Download complete [2022-06-21T10:27:48.473Z] df9b9388f04a: Download complete [2022-06-21T10:27:48.734Z] df9b9388f04a: Pull complete [2022-06-21T10:27:48.734Z] 37ea90d01205: Pull complete [2022-06-21T10:27:49.304Z] c88372d24652: Download complete [2022-06-21T10:27:51.843Z] c88372d24652: Pull complete [2022-06-21T10:27:51.843Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-06-21T10:27:51.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-06-21T10:27:51.843Z] ---> 95f6e8fcc511 [2022-06-21T10:27:51.843Z] 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-06-21T10:27:52.786Z] ---> Running in 43e73319d35a [2022-06-21T10:27:53.047Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-21T10:27:53.313Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:27:53.313Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:27:53.313Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:27:53.573Z] Removing intermediate container 43e73319d35a [2022-06-21T10:27:53.573Z] ---> 1465c97f06bf [2022-06-21T10:27:53.573Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:27:53.573Z] ---> Running in 6437bd4d0baa [2022-06-21T10:27:54.143Z] Removing intermediate container 6437bd4d0baa [2022-06-21T10:27:54.144Z] ---> 312b65ebdda8 [2022-06-21T10:27:54.144Z] 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-06-21T10:27:54.144Z] ---> Running in 8bec8cb5a04c [2022-06-21T10:27:54.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:27:55.346Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T10:27:55.608Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:27:56.181Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:27:56.181Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-21T10:27:56.181Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-21T10:27:56.181Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-21T10:27:56.441Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-21T10:27:56.441Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-21T10:27:56.441Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-21T10:27:57.384Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-21T10:27:57.384Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-21T10:27:57.384Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-21T10:27:57.645Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-21T10:27:57.645Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-21T10:27:57.645Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-21T10:27:57.908Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-21T10:27:57.908Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-21T10:27:58.168Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-21T10:27:58.168Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-21T10:27:58.431Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-21T10:27:58.431Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-21T10:27:58.431Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-21T10:27:58.692Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-21T10:27:58.693Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-21T10:27:58.693Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-21T10:27:58.956Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-21T10:27:58.956Z] (24/31) Installing flock (2.37.4-r0) [2022-06-21T10:27:58.956Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-21T10:27:59.218Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-21T10:27:59.218Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-21T10:27:59.218Z] (28/31) Installing logger (2.37.4-r0) [2022-06-21T10:27:59.481Z] (29/31) Installing partx (2.37.4-r0) [2022-06-21T10:27:59.481Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-21T10:27:59.481Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-21T10:27:59.742Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:27:59.742Z] OK: 293 MiB in 108 packages [2022-06-21T10:28:00.314Z] Removing intermediate container 8bec8cb5a04c [2022-06-21T10:28:00.314Z] ---> 21e8e9c5555a [2022-06-21T10:28:00.314Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-21T10:28:00.314Z] ---> Running in ec3c00847513 [2022-06-21T10:28:00.886Z] Removing intermediate container ec3c00847513 [2022-06-21T10:28:00.886Z] ---> 0275f1e2585d [2022-06-21T10:28:00.886Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-21T10:28:00.886Z] ---> 9a8cdfb626da [2022-06-21T10:28:00.886Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-21T10:28:01.146Z] ---> 4311636c2091 [2022-06-21T10:28:01.146Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-21T10:28:01.407Z] ---> 676b1afe3825 [2022-06-21T10:28:01.407Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-21T10:28:01.407Z] ---> 63c4bbbd7f36 [2022-06-21T10:28:01.407Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-21T10:28:01.670Z] ---> aee76e775342 [2022-06-21T10:28:01.670Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-21T10:28:01.670Z] ---> 8110ffb2550b [2022-06-21T10:28:01.670Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-21T10:28:01.912Z] Still waiting to schedule task [2022-06-21T10:28:01.912Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-21T10:28:01.930Z] ---> Running in cc1665be5eaa [2022-06-21T10:28:02.192Z] + CPPCHECK=false [2022-06-21T10:28:02.192Z] + DOCGEN=false [2022-06-21T10:28:02.192Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-21T10:28:02.192Z] + TOMLVER=SDK-0.2 [2022-06-21T10:28:02.192Z] + CUTILVER=1.2.2 [2022-06-21T10:28:02.192Z] + '[' 0 -gt 0 ] [2022-06-21T10:28:02.192Z] + readlink -f ./scripts/build.sh [2022-06-21T10:28:02.192Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-21T10:28:02.192Z] + dirname /tmp/sdk/scripts [2022-06-21T10:28:02.192Z] + ROOT=/tmp/sdk [2022-06-21T10:28:02.192Z] + cd /tmp/sdk [2022-06-21T10:28:02.192Z] + '[' '!' -d deps ] [2022-06-21T10:28:02.192Z] + mkdir deps [2022-06-21T10:28:02.192Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-21T10:28:02.192Z] + tar -C deps -z -x -f - [2022-06-21T10:28:02.192Z] Connecting to github.com (140.82.112.4:443) [2022-06-21T10:28:02.192Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-06-21T10:28:02.453Z] writing to stdout [2022-06-21T10:28:02.453Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-21T10:28:02.453Z] written to stdout [2022-06-21T10:28:02.453Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-21T10:28:02.453Z] + + wget -O -tar https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-21T10:28:02.453Z] -C deps -z -x -f - [2022-06-21T10:28:02.453Z] Connecting to github.com (140.82.112.4:443) [2022-06-21T10:28:02.715Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-06-21T10:28:02.978Z] writing to stdout [2022-06-21T10:28:02.978Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-21T10:28:02.978Z] written to stdout [2022-06-21T10:28:02.978Z] + mkdir -p src/c/iot [2022-06-21T10:28:02.978Z] + 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-06-21T10:28:02.978Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-21T10:28:02.978Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-21T10:28:02.978Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-21T10:28:02.978Z] + mkdir -p include/iot [2022-06-21T10:28:02.978Z] + 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-06-21T10:28:02.978Z] + mkdir -p include/iot/os [2022-06-21T10:28:02.978Z] + 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-06-21T10:28:02.978Z] + mkdir -p /tmp/sdk/build/release [2022-06-21T10:28:02.978Z] + cd /tmp/sdk/build/release [2022-06-21T10:28:02.978Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-21T10:28:02.978Z] -- The C compiler identification is GNU 10.3.1 [2022-06-21T10:28:02.978Z] -- Detecting C compiler ABI info [2022-06-21T10:28:02.978Z] -- Detecting C compiler ABI info - done [2022-06-21T10:28:03.238Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-21T10:28:03.238Z] -- Detecting C compile features [2022-06-21T10:28:03.238Z] -- Detecting C compile features - done [2022-06-21T10:28:03.238Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-21T10:28:03.238Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-21T10:28:03.238Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-21T10:28:03.238Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-21T10:28:03.238Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-21T10:28:03.238Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-21T10:28:03.238Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-21T10:28:03.238Z] -- C SDK 2.2.0-dev.10 for Linux [2022-06-21T10:28:03.238Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-21T10:28:03.238Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-21T10:28:03.238Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-21T10:28:03.238Z] -- Configuring done [2022-06-21T10:28:03.238Z] -- Generating done [2022-06-21T10:28:03.238Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-21T10:28:03.238Z] + make all package [2022-06-21T10:28:03.238Z] + tee release.log [2022-06-21T10:28:03.498Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-21T10:28:03.498Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-21T10:28:03.763Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-21T10:28:04.026Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-21T10:28:04.288Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-21T10:28:04.288Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-21T10:28:04.288Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-21T10:28:04.549Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-21T10:28:04.549Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-21T10:28:04.811Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-21T10:28:05.073Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-21T10:28:05.336Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-21T10:28:05.336Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-21T10:28:05.599Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-21T10:28:05.599Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-21T10:28:05.599Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-21T10:28:05.862Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-21T10:28:06.434Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-21T10:28:06.434Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-21T10:28:06.434Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-21T10:28:06.434Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-21T10:28:06.697Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-21T10:28:06.697Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-21T10:28:06.697Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-21T10:28:06.697Z] 275 | const iot_component_factory_t * factory; [2022-06-21T10:28:06.697Z] | ^~~~~~~ [2022-06-21T10:28:06.697Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-21T10:28:07.644Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-21T10:28:07.644Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-21T10:28:07.644Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-21T10:28:07.906Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-21T10:28:07.906Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-21T10:28:08.168Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-21T10:28:08.168Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-21T10:28:08.429Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-21T10:28:08.429Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-21T10:28:08.691Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-21T10:28:08.691Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-21T10:28:08.953Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-21T10:28:09.214Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-21T10:28:09.476Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-21T10:28:09.476Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-21T10:28:10.423Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-21T10:28:10.423Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-21T10:28:10.423Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-21T10:28:10.685Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-21T10:28:10.685Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-21T10:28:10.685Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:10.685Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-21T10:28:10.685Z] | ^~~~~~~~~~~~~ [2022-06-21T10:28:10.685Z] | | [2022-06-21T10:28:10.685Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-21T10:28:10.685Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:10.685Z] /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-06-21T10:28:10.685Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-21T10:28:10.685Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-21T10:28:10.685Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-21T10:28:10.685Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:10.685Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-21T10:28:10.685Z] | ^~~~~~~~~~~~ [2022-06-21T10:28:10.685Z] | | [2022-06-21T10:28:10.685Z] | 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-06-21T10:28:10.685Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:10.685Z] /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-06-21T10:28:10.685Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:28:10.685Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:28:10.685Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:10.685Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-21T10:28:10.685Z] | ^~~~~~~~~~~~ [2022-06-21T10:28:10.685Z] | | [2022-06-21T10:28:10.685Z] | 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-06-21T10:28:10.685Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:10.685Z] /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-06-21T10:28:10.685Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:28:10.685Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:28:10.947Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-21T10:28:11.209Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-21T10:28:11.209Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-21T10:28:11.472Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-21T10:28:11.472Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-21T10:28:12.043Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-21T10:28:12.614Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-21T10:28:12.876Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-21T10:28:12.876Z] [ 76%] Linking C shared library libcsdk.so [2022-06-21T10:28:12.876Z] [ 76%] Built target csdk [2022-06-21T10:28:12.876Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-21T10:28:13.137Z] [ 79%] Linking C executable template [2022-06-21T10:28:13.137Z] [ 79%] Built target template [2022-06-21T10:28:13.138Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-21T10:28:13.399Z] [ 82%] Linking C executable device-counter [2022-06-21T10:28:13.399Z] [ 82%] Built target device-counter [2022-06-21T10:28:13.399Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-21T10:28:13.399Z] [ 85%] Linking C executable device-random [2022-06-21T10:28:13.661Z] [ 85%] Built target device-random [2022-06-21T10:28:13.661Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-21T10:28:13.661Z] [ 88%] Linking C executable device-gyro [2022-06-21T10:28:13.661Z] [ 88%] Built target device-gyro [2022-06-21T10:28:13.661Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-21T10:28:13.923Z] [ 91%] Linking C executable device-bitfields [2022-06-21T10:28:13.923Z] [ 91%] Built target device-bitfields [2022-06-21T10:28:13.923Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-21T10:28:14.185Z] [ 94%] Linking C executable template-discovery [2022-06-21T10:28:14.185Z] [ 94%] Built target template-discovery [2022-06-21T10:28:14.185Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-21T10:28:14.185Z] [ 97%] Linking C executable device-file [2022-06-21T10:28:14.445Z] [ 97%] Built target device-file [2022-06-21T10:28:14.445Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-21T10:28:14.445Z] [100%] Linking C executable device-terminal [2022-06-21T10:28:14.445Z] [100%] Built target device-terminal [2022-06-21T10:28:14.707Z] Run CPack packaging tool... [2022-06-21T10:28:14.707Z] CPack: Create package using TGZ [2022-06-21T10:28:14.707Z] CPack: Install projects [2022-06-21T10:28:14.707Z] CPack: - Run preinstall target for: Csdk [2022-06-21T10:28:14.969Z] CPack: - Install project: Csdk [] [2022-06-21T10:28:14.969Z] CPack: Create package [2022-06-21T10:28:14.969Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.10.tar.gz generated. [2022-06-21T10:28:14.969Z] + '[' false '=' true ] [2022-06-21T10:28:14.969Z] + '[' false '=' true ] [2022-06-21T10:28:14.969Z] + mkdir -p /tmp/sdk/build/debug [2022-06-21T10:28:14.969Z] + cd /tmp/sdk/build/debug [2022-06-21T10:28:14.969Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-21T10:28:14.969Z] -- The C compiler identification is GNU 10.3.1 [2022-06-21T10:28:14.969Z] -- Detecting C compiler ABI info [2022-06-21T10:28:14.969Z] -- Detecting C compiler ABI info - done [2022-06-21T10:28:14.969Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-21T10:28:14.969Z] -- Detecting C compile features [2022-06-21T10:28:14.969Z] -- Detecting C compile features - done [2022-06-21T10:28:14.969Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-21T10:28:15.230Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-21T10:28:15.230Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-21T10:28:15.230Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-21T10:28:15.230Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-21T10:28:15.230Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-21T10:28:15.230Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-21T10:28:15.230Z] -- C SDK 2.2.0-dev.10 for Linux [2022-06-21T10:28:15.230Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-21T10:28:15.230Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-21T10:28:15.230Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-21T10:28:15.230Z] -- Configuring done [2022-06-21T10:28:15.230Z] -- Generating done [2022-06-21T10:28:15.230Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-21T10:28:15.230Z] + make [2022-06-21T10:28:15.230Z] + tee debug.log [2022-06-21T10:28:15.492Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-21T10:28:15.492Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-21T10:28:15.492Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-21T10:28:15.753Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-21T10:28:15.753Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-21T10:28:15.753Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-21T10:28:16.015Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-21T10:28:16.015Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-21T10:28:16.015Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-21T10:28:16.275Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-21T10:28:16.275Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-21T10:28:16.275Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-21T10:28:16.553Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-21T10:28:16.553Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-21T10:28:16.553Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-21T10:28:16.553Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-21T10:28:16.831Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-21T10:28:16.831Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-21T10:28:16.831Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-21T10:28:17.116Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-21T10:28:17.116Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-21T10:28:17.116Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-21T10:28:17.116Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-21T10:28:17.116Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-21T10:28:17.116Z] 275 | const iot_component_factory_t * factory; [2022-06-21T10:28:17.116Z] | ^~~~~~~ [2022-06-21T10:28:17.116Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-21T10:28:17.436Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-21T10:28:17.436Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-21T10:28:17.714Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-21T10:28:17.714Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-21T10:28:17.714Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-21T10:28:17.714Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-21T10:28:17.714Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-21T10:28:17.986Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-21T10:28:17.986Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-21T10:28:17.986Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-21T10:28:17.986Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-21T10:28:18.250Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-21T10:28:18.250Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-21T10:28:18.250Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-21T10:28:18.511Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-21T10:28:18.772Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-21T10:28:18.772Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-21T10:28:18.772Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-21T10:28:18.772Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-21T10:28:18.772Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-21T10:28:18.772Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:18.772Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-21T10:28:18.772Z] | ^~~~~~~~~~~~~ [2022-06-21T10:28:18.772Z] | | [2022-06-21T10:28:18.772Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-21T10:28:18.772Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:18.772Z] /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-06-21T10:28:18.772Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-21T10:28:18.772Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-21T10:28:18.772Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-21T10:28:18.772Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:18.772Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-21T10:28:18.772Z] | ^~~~~~~~~~~~ [2022-06-21T10:28:18.772Z] | | [2022-06-21T10:28:18.772Z] | 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-06-21T10:28:18.772Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:18.772Z] /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-06-21T10:28:18.772Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:28:18.772Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:28:18.772Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:28:18.772Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-21T10:28:18.772Z] | ^~~~~~~~~~~~ [2022-06-21T10:28:18.772Z] | | [2022-06-21T10:28:18.772Z] | 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-06-21T10:28:18.772Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:28:18.772Z] /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-06-21T10:28:18.772Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:28:18.772Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:28:19.034Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-21T10:28:19.296Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-21T10:28:19.296Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-21T10:28:19.296Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-21T10:28:19.296Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-21T10:28:19.557Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-21T10:28:19.818Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-21T10:28:19.818Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-21T10:28:19.818Z] [ 76%] Linking C shared library libcsdk.so [2022-06-21T10:28:20.078Z] [ 76%] Built target csdk [2022-06-21T10:28:20.078Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-21T10:28:20.078Z] [ 79%] Linking C executable template [2022-06-21T10:28:20.078Z] [ 79%] Built target template [2022-06-21T10:28:20.078Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-21T10:28:20.340Z] [ 82%] Linking C executable device-counter [2022-06-21T10:28:20.340Z] [ 82%] Built target device-counter [2022-06-21T10:28:20.340Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-21T10:28:20.340Z] [ 85%] Linking C executable device-random [2022-06-21T10:28:20.340Z] [ 85%] Built target device-random [2022-06-21T10:28:20.340Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-21T10:28:20.600Z] [ 88%] Linking C executable device-gyro [2022-06-21T10:28:20.600Z] [ 88%] Built target device-gyro [2022-06-21T10:28:20.600Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-21T10:28:20.600Z] [ 91%] Linking C executable device-bitfields [2022-06-21T10:28:20.861Z] [ 91%] Built target device-bitfields [2022-06-21T10:28:20.861Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-21T10:28:20.861Z] [ 94%] Linking C executable template-discovery [2022-06-21T10:28:20.861Z] [ 94%] Built target template-discovery [2022-06-21T10:28:20.861Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-21T10:28:21.122Z] [ 97%] Linking C executable device-file [2022-06-21T10:28:21.122Z] [ 97%] Built target device-file [2022-06-21T10:28:21.122Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-21T10:28:21.122Z] [100%] Linking C executable device-terminal [2022-06-21T10:28:21.122Z] [100%] Built target device-terminal [2022-06-21T10:28:21.382Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 76%] Built target csdk [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 79%] Built target template [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 82%] Built target device-counter [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 85%] Built target device-random [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 88%] Built target device-gyro [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 91%] Built target device-bitfields [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 94%] Built target template-discovery [2022-06-21T10:28:21.382Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.382Z] [ 97%] Built target device-file [2022-06-21T10:28:21.383Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.383Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.383Z] [100%] Built target device-terminal [2022-06-21T10:28:21.383Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:21.383Z] Install the project... [2022-06-21T10:28:21.383Z] -- Install configuration: "Release" [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/devsdk [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/config.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/os.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/container.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/component.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/os [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/time.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/data.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/include/iot/json.h [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-21T10:28:21.383Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-21T10:28:21.383Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:28:22.323Z] Removing intermediate container cc1665be5eaa [2022-06-21T10:28:22.323Z] ---> 203ee5ec4962 [2022-06-21T10:28:22.323Z] Step 14/22 : FROM ${BASE} [2022-06-21T10:28:22.323Z] ---> 95f6e8fcc511 [2022-06-21T10:28:22.323Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-21T10:28:22.323Z] ---> Running in db1f173a5343 [2022-06-21T10:28:22.323Z] Removing intermediate container db1f173a5343 [2022-06-21T10:28:22.323Z] ---> 387702848288 [2022-06-21T10:28:22.323Z] 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-06-21T10:28:22.323Z] ---> Running in ecf21bff10c3 [2022-06-21T10:28:22.896Z] Connecting to iotech.jfrog.io (3.248.164.40:443) [2022-06-21T10:28:23.155Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:28:23.155Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:28:23.155Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:28:23.416Z] Removing intermediate container ecf21bff10c3 [2022-06-21T10:28:23.416Z] ---> 7e69f9a34a99 [2022-06-21T10:28:23.416Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:28:23.416Z] ---> Running in 6f5991bed271 [2022-06-21T10:28:23.988Z] Removing intermediate container 6f5991bed271 [2022-06-21T10:28:23.988Z] ---> 765d183e971f [2022-06-21T10:28:23.988Z] 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-06-21T10:28:23.988Z] ---> Running in fed0b543ce68 [2022-06-21T10:28:24.249Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:25.190Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:25.452Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:26.026Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:28:26.026Z] (1/6) Installing curl (7.80.0-r1) [2022-06-21T10:28:26.026Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-21T10:28:26.026Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-21T10:28:26.026Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-21T10:28:26.289Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-21T10:28:26.289Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-21T10:28:27.236Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:28:27.236Z] OK: 283 MiB in 83 packages [2022-06-21T10:28:27.497Z] Removing intermediate container fed0b543ce68 [2022-06-21T10:28:27.497Z] ---> 311731c02f02 [2022-06-21T10:28:27.497Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-21T10:28:27.497Z] ---> 126c57b7563e [2022-06-21T10:28:27.497Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-21T10:28:27.756Z] ---> 725d9934ac5a [2022-06-21T10:28:27.756Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-21T10:28:28.017Z] ---> e61b6f821857 [2022-06-21T10:28:28.017Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-21T10:28:28.017Z] ---> d4c786063b31 [2022-06-21T10:28:28.017Z] Successfully built d4c786063b31 [2022-06-21T10:28:28.017Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:28:28.403Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T10:28:28.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:28:28.496Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:28:28.542Z] $ 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-06-21T10:28:28.957Z] $ docker top 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T10:28:29.314Z] + make test [2022-06-21T10:28:29.314Z] echo "make test" [2022-06-21T10:28:29.314Z] make test [Pipeline] } [2022-06-21T10:28:29.337Z] $ docker stop --time=1 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 [2022-06-21T10:28:30.617Z] $ docker rm -f 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T10:28:31.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T10:28:31.463Z] + ls -al . [2022-06-21T10:28:31.464Z] total 208 [2022-06-21T10:28:31.464Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 10:27 . [2022-06-21T10:28:31.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 .. [2022-06-21T10:28:31.464Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:27 .git [2022-06-21T10:28:31.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 .github [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 10:27 .gitignore [2022-06-21T10:28:31.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 10:27 .semver [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 10:27 Attribution.txt [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 8321 Jun 21 10:27 CHANGES [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 10:27 Doxyfile [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 10:27 GOVERNANCE.md [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 10:27 Jenkinsfile [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 10:27 LICENSE [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 10:27 Makefile [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 21 10:27 OWNERS.md [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 21 10:27 README.md [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 21 10:27 README.v2.md [2022-06-21T10:28:31.464Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 21 10:27 VERSION [2022-06-21T10:28:31.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 docs [2022-06-21T10:28:31.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 include [2022-06-21T10:28:31.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 scripts [2022-06-21T10:28:31.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:28:31.775Z] + 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=165bf1afc6928f684637a03d8c76ec8e2cf51e8a --label arch=amd64 --label version=2.2.0-dev.10 . [2022-06-21T10:28:31.775Z] Sending build context to Docker daemon 4.518MB [2022-06-21T10:28:31.775Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-21T10:28:31.775Z] Step 2/17 : FROM ${BASE} [2022-06-21T10:28:31.775Z] ---> d4c786063b31 [2022-06-21T10:28:31.775Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-21T10:28:31.775Z] ---> Running in 90d70b3c8a42 [2022-06-21T10:28:32.035Z] Removing intermediate container 90d70b3c8a42 [2022-06-21T10:28:32.035Z] ---> 1a78fdda084f [2022-06-21T10:28:32.035Z] 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-06-21T10:28:32.035Z] ---> Running in 1291da9535d7 [2022-06-21T10:28:32.296Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-06-21T10:28:32.557Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:28:32.557Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:28:32.557Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:28:32.818Z] Removing intermediate container 1291da9535d7 [2022-06-21T10:28:32.818Z] ---> 20077c3b9db1 [2022-06-21T10:28:32.818Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:28:33.079Z] ---> Running in 9f500f8b6fbb [2022-06-21T10:28:33.650Z] Removing intermediate container 9f500f8b6fbb [2022-06-21T10:28:33.650Z] ---> b5a503ef3a3e [2022-06-21T10:28:33.650Z] 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-06-21T10:28:33.650Z] ---> Running in a098b29bc0d8 [2022-06-21T10:28:33.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:35.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:38.384Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T10:28:38.645Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:28:38.645Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-21T10:28:38.905Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-21T10:28:39.168Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-21T10:28:39.168Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-21T10:28:39.429Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-21T10:28:39.429Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-21T10:28:39.691Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-21T10:28:39.954Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-21T10:28:40.215Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-21T10:28:42.128Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-21T10:28:42.128Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-21T10:28:42.128Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-21T10:28:42.128Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-21T10:28:42.391Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-21T10:28:42.391Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-21T10:28:42.391Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-21T10:28:42.651Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-21T10:28:42.651Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-21T10:28:42.651Z] (19/26) Installing flock (2.37.4-r0) [2022-06-21T10:28:42.912Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-21T10:28:42.912Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-21T10:28:42.912Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-21T10:28:43.172Z] (23/26) Installing logger (2.37.4-r0) [2022-06-21T10:28:43.173Z] (24/26) Installing partx (2.37.4-r0) [2022-06-21T10:28:43.173Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-21T10:28:43.435Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-21T10:28:44.007Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:28:44.007Z] OK: 294 MiB in 109 packages [2022-06-21T10:28:44.950Z] Removing intermediate container a098b29bc0d8 [2022-06-21T10:28:44.950Z] ---> 3d45ff94df82 [2022-06-21T10:28:44.950Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-21T10:28:44.950Z] ---> 4e40f599d6c1 [2022-06-21T10:28:44.950Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-21T10:28:45.210Z] ---> ad4a3be17e98 [2022-06-21T10:28:45.210Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-21T10:28:45.210Z] ---> ee7cfe94844a [2022-06-21T10:28:45.210Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-21T10:28:45.471Z] ---> c42fb3e1c446 [2022-06-21T10:28:45.471Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-21T10:28:45.471Z] ---> 89a45cbf82cb [2022-06-21T10:28:45.471Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-21T10:28:45.731Z] ---> a64ec6adf0ad [2022-06-21T10:28:45.731Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-21T10:28:45.731Z] ---> Running in b64b323ee26b [2022-06-21T10:28:45.731Z] Removing intermediate container b64b323ee26b [2022-06-21T10:28:45.731Z] ---> 223dcb5797eb [2022-06-21T10:28:45.731Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-21T10:28:45.992Z] ---> Running in be203b38cf4b [2022-06-21T10:28:45.992Z] Removing intermediate container be203b38cf4b [2022-06-21T10:28:45.992Z] ---> 47c8a281a0a2 [2022-06-21T10:28:45.992Z] Step 15/17 : LABEL arch=amd64 [2022-06-21T10:28:45.992Z] ---> Running in 095937977a29 [2022-06-21T10:28:45.992Z] Removing intermediate container 095937977a29 [2022-06-21T10:28:45.992Z] ---> 192b32d58772 [2022-06-21T10:28:45.992Z] Step 16/17 : LABEL git_sha=165bf1afc6928f684637a03d8c76ec8e2cf51e8a [2022-06-21T10:28:45.992Z] ---> Running in 1548a57e904b [2022-06-21T10:28:46.252Z] Removing intermediate container 1548a57e904b [2022-06-21T10:28:46.252Z] ---> 5049ced97bb6 [2022-06-21T10:28:46.252Z] Step 17/17 : LABEL version=2.2.0-dev.10 [2022-06-21T10:28:46.252Z] ---> Running in 48811e22ecf5 [2022-06-21T10:28:46.252Z] Removing intermediate container 48811e22ecf5 [2022-06-21T10:28:46.252Z] ---> d37d6541f4d7 [2022-06-21T10:28:46.252Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-06-21T10:28:46.252Z] Successfully built d37d6541f4d7 [2022-06-21T10:28:46.252Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:28:46.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T10:28:46.689Z] [2022-06-21T10:28:46.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:28:46.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T10:28:46.989Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-21T10:28:46.989Z] 5eb5b503b376: Pulling fs layer [2022-06-21T10:28:46.989Z] 5c69ac0246d0: Pulling fs layer [2022-06-21T10:28:46.989Z] ec43610c2a17: Pulling fs layer [2022-06-21T10:28:46.989Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-21T10:28:46.989Z] 33b1e0a273af: Pulling fs layer [2022-06-21T10:28:46.989Z] 5d3b04190fa2: Pulling fs layer [2022-06-21T10:28:46.989Z] 2f39f015ded8: Pulling fs layer [2022-06-21T10:28:46.989Z] 5d3b04190fa2: Waiting [2022-06-21T10:28:46.989Z] 3a2ae6a8a46f: Waiting [2022-06-21T10:28:46.989Z] 33b1e0a273af: Waiting [2022-06-21T10:28:46.989Z] 5c69ac0246d0: Verifying Checksum [2022-06-21T10:28:46.989Z] 5c69ac0246d0: Download complete [2022-06-21T10:28:46.989Z] 3a2ae6a8a46f: Download complete [2022-06-21T10:28:46.989Z] 33b1e0a273af: Verifying Checksum [2022-06-21T10:28:46.989Z] 33b1e0a273af: Download complete [2022-06-21T10:28:46.989Z] 5d3b04190fa2: Verifying Checksum [2022-06-21T10:28:47.249Z] ec43610c2a17: Verifying Checksum [2022-06-21T10:28:47.249Z] ec43610c2a17: Download complete [2022-06-21T10:28:47.249Z] 5eb5b503b376: Verifying Checksum [2022-06-21T10:28:47.249Z] 5eb5b503b376: Download complete [2022-06-21T10:28:47.819Z] 2f39f015ded8: Download complete [2022-06-21T10:28:48.759Z] 5eb5b503b376: Pull complete [2022-06-21T10:28:48.759Z] 5c69ac0246d0: Pull complete [2022-06-21T10:28:49.330Z] ec43610c2a17: Pull complete [2022-06-21T10:28:49.330Z] 3a2ae6a8a46f: Pull complete [2022-06-21T10:28:49.590Z] 33b1e0a273af: Pull complete [2022-06-21T10:28:49.850Z] 5d3b04190fa2: Pull complete [2022-06-21T10:28:55.133Z] 2f39f015ded8: Pull complete [2022-06-21T10:28:55.133Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-21T10:28:55.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T10:28:55.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:28:55.223Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:28:55.270Z] $ 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-06-21T10:28:57.055Z] $ docker top 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:28:57.448Z] ---> job-cost.sh [2022-06-21T10:28:57.448Z] lf-activate-venv: SKIPPING [2022-06-21T10:28:57.448Z] INFO: No Stack... [2022-06-21T10:28:57.708Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T10:28:58.278Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T10:28:58.569Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-06-21T10:28:58.569Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T10:28:58.585Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [2022-06-21T10:28:58.591Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] did not exist. Created. [2022-06-21T10:28:58.591Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T10:28:58.891Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-21T10:28:58.929Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T10:28:58.938Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T10:28:58.969Z] $ docker stop --time=1 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 [2022-06-21T10:29:00.176Z] $ docker rm -f 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-21T10:29:41.024Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15222 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-06-21T10:29:41.040Z] Running in /w/workspace/device-sdk-c/26 [Pipeline] { [Pipeline] checkout [2022-06-21T10:29:41.074Z] Selected Git installation does not exist. Using Default [2022-06-21T10:29:41.074Z] The recommended git tool is: NONE [2022-06-21T10:29:47.162Z] using credential edgex-jenkins-ssh [2022-06-21T10:29:47.191Z] Cloning the remote Git repository [2022-06-21T10:29:47.271Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-06-21T10:29:47.421Z] > git init /w/workspace/device-sdk-c/26 # timeout=10 [2022-06-21T10:29:47.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-06-21T10:29:47.501Z] > git --version # timeout=10 [2022-06-21T10:29:47.517Z] > git --version # 'git version 2.25.1' [2022-06-21T10:29:47.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T10:29:48.577Z] Avoid second fetch [2022-06-21T10:29:48.577Z] Checking out Revision 165bf1afc6928f684637a03d8c76ec8e2cf51e8a (main) [2022-06-21T10:29:47.620Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T10:29:48.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-06-21T10:29:48.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T10:29:48.598Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T10:29:48.617Z] > git checkout -f 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 [2022-06-21T10:29:52.857Z] Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420) (#421)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T10:29:53.755Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-21T10:29:53.755Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T10:29:53.755Z] Dload Upload Total Spent Left Speed [2022-06-21T10:29:53.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86900 0 --:--:-- --:--:-- --:--:-- 86900 [Pipeline] sh [2022-06-21T10:29:54.442Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-21T10:29:54.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-21T10:29:54.792Z] + sudo tee /etc/docker/daemon.new [2022-06-21T10:29:54.792Z] { [2022-06-21T10:29:54.792Z] "registry-mirrors": [ [2022-06-21T10:29:54.792Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-21T10:29:54.792Z] ], [2022-06-21T10:29:54.792Z] "bip": "10.250.0.254/24", [2022-06-21T10:29:54.792Z] "hosts": [ [2022-06-21T10:29:54.792Z] "tcp://0.0.0.0:5555", [2022-06-21T10:29:54.792Z] "unix:///var/run/docker.sock" [2022-06-21T10:29:54.792Z] ], [2022-06-21T10:29:54.792Z] "mtu": 1458, [2022-06-21T10:29:54.792Z] "selinux-enabled": true, [2022-06-21T10:29:54.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-21T10:29:54.792Z] } [Pipeline] sh [2022-06-21T10:29:55.148Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-21T10:29:55.491Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T10:30:13.848Z] provisioning config files... [2022-06-21T10:30:13.872Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/26@tmp/config3606543631704152512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:30:14.236Z] ---> docker-login.sh [2022-06-21T10:30:14.236Z] nexus3.edgexfoundry.org:10001 [2022-06-21T10:30:14.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:30:15.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:30:15.107Z] Configure a credential helper to remove this warning. See [2022-06-21T10:30:15.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:30:15.107Z] [2022-06-21T10:30:15.107Z] Login Succeeded [2022-06-21T10:30:15.107Z] nexus3.edgexfoundry.org:10002 [2022-06-21T10:30:15.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:30:15.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:30:15.380Z] Configure a credential helper to remove this warning. See [2022-06-21T10:30:15.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:30:15.380Z] [2022-06-21T10:30:15.380Z] Login Succeeded [2022-06-21T10:30:15.380Z] nexus3.edgexfoundry.org:10003 [2022-06-21T10:30:15.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:30:15.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:30:15.926Z] Configure a credential helper to remove this warning. See [2022-06-21T10:30:15.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:30:15.926Z] [2022-06-21T10:30:15.926Z] Login Succeeded [2022-06-21T10:30:15.926Z] nexus3.edgexfoundry.org:10004 [2022-06-21T10:30:16.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:30:16.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:30:16.203Z] Configure a credential helper to remove this warning. See [2022-06-21T10:30:16.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:30:16.203Z] [2022-06-21T10:30:16.203Z] Login Succeeded [2022-06-21T10:30:16.203Z] docker.io [2022-06-21T10:30:16.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T10:30:17.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T10:30:17.071Z] Configure a credential helper to remove this warning. See [2022-06-21T10:30:17.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T10:30:17.071Z] [2022-06-21T10:30:17.071Z] Login Succeeded [2022-06-21T10:30:17.071Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T10:30:17.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T10:30:17.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T10:30:17.757Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-06-21T10:30:17.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T10:30:17.775Z] ========================================================= [2022-06-21T10:30:17.775Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-06-21T10:30:17.775Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:30:18.114Z] + 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-06-21T10:30:18.384Z] Sending build context to Docker daemon 2.725MB [2022-06-21T10:30:18.384Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-21T10:30:18.384Z] Step 2/22 : FROM ${BASE} as builder [2022-06-21T10:30:18.663Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-06-21T10:30:18.663Z] 9981e73032c8: Pulling fs layer [2022-06-21T10:30:18.663Z] 2a34a092ebf8: Pulling fs layer [2022-06-21T10:30:18.663Z] 1928f2f5eed1: Pulling fs layer [2022-06-21T10:30:18.663Z] 2a34a092ebf8: Verifying Checksum [2022-06-21T10:30:18.663Z] 2a34a092ebf8: Download complete [2022-06-21T10:30:18.663Z] 9981e73032c8: Verifying Checksum [2022-06-21T10:30:18.663Z] 9981e73032c8: Download complete [2022-06-21T10:30:19.265Z] 9981e73032c8: Pull complete [2022-06-21T10:30:19.537Z] 2a34a092ebf8: Pull complete [2022-06-21T10:30:20.990Z] 1928f2f5eed1: Verifying Checksum [2022-06-21T10:30:20.990Z] 1928f2f5eed1: Download complete [2022-06-21T10:30:29.286Z] 1928f2f5eed1: Pull complete [2022-06-21T10:30:29.286Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-06-21T10:30:29.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-06-21T10:30:29.286Z] ---> cad489bbaf40 [2022-06-21T10:30:29.286Z] 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-06-21T10:30:30.267Z] ---> Running in 8c79b3a5d1e4 [2022-06-21T10:30:31.249Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-21T10:30:31.521Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:30:31.521Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:30:31.521Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:30:32.118Z] Removing intermediate container 8c79b3a5d1e4 [2022-06-21T10:30:32.118Z] ---> 413e8ba60de4 [2022-06-21T10:30:32.118Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:30:32.395Z] ---> Running in 43c1a72c6ec5 [2022-06-21T10:30:33.846Z] Removing intermediate container 43c1a72c6ec5 [2022-06-21T10:30:33.846Z] ---> 9766984c8ad4 [2022-06-21T10:30:33.846Z] 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-06-21T10:30:34.120Z] ---> Running in 35f4ecf3b79d [2022-06-21T10:30:35.102Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:30:35.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T10:30:36.298Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:30:36.895Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:30:37.169Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-21T10:30:37.169Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-21T10:30:37.440Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-21T10:30:37.440Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-21T10:30:37.440Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-21T10:30:37.711Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-21T10:30:38.302Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-21T10:30:38.573Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-21T10:30:38.573Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-21T10:30:38.845Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-21T10:30:38.845Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-21T10:30:38.845Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-21T10:30:39.118Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-21T10:30:39.118Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-21T10:30:39.389Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-21T10:30:39.660Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-21T10:30:39.660Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-21T10:30:39.660Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-21T10:30:39.660Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-21T10:30:39.932Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-21T10:30:39.932Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-21T10:30:39.932Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-21T10:30:40.204Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-21T10:30:40.204Z] (24/31) Installing flock (2.37.4-r0) [2022-06-21T10:30:40.204Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-21T10:30:40.473Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-21T10:30:40.473Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-21T10:30:40.473Z] (28/31) Installing logger (2.37.4-r0) [2022-06-21T10:30:40.745Z] (29/31) Installing partx (2.37.4-r0) [2022-06-21T10:30:40.745Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-21T10:30:40.745Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-21T10:30:41.017Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:30:41.017Z] OK: 289 MiB in 108 packages [2022-06-21T10:30:42.463Z] Removing intermediate container 35f4ecf3b79d [2022-06-21T10:30:42.463Z] ---> bd0f68acc300 [2022-06-21T10:30:42.463Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-21T10:30:42.463Z] ---> Running in fd9ee3ce5be4 [2022-06-21T10:30:44.443Z] Removing intermediate container fd9ee3ce5be4 [2022-06-21T10:30:44.443Z] ---> 0b3a7c410a67 [2022-06-21T10:30:44.443Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-21T10:30:44.715Z] ---> 77168b939994 [2022-06-21T10:30:44.715Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-21T10:30:45.702Z] ---> 0524c902640f [2022-06-21T10:30:45.702Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-21T10:30:47.147Z] ---> 198abcbe0d4c [2022-06-21T10:30:47.147Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-21T10:30:47.749Z] ---> d9c650b75967 [2022-06-21T10:30:47.749Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-21T10:30:48.023Z] ---> fa6401715b58 [2022-06-21T10:30:48.023Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-21T10:30:48.624Z] ---> 8bb94e0cabe8 [2022-06-21T10:30:48.624Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-21T10:30:48.903Z] ---> Running in 19a3bba0e80e [2022-06-21T10:30:49.887Z] + CPPCHECK=false [2022-06-21T10:30:49.887Z] + DOCGEN=false [2022-06-21T10:30:49.887Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-21T10:30:49.887Z] + TOMLVER=SDK-0.2 [2022-06-21T10:30:49.887Z] + CUTILVER=1.2.2 [2022-06-21T10:30:49.887Z] + '[' 0 -gt 0 ] [2022-06-21T10:30:49.887Z] + readlink -f ./scripts/build.sh [2022-06-21T10:30:49.887Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-21T10:30:49.887Z] + dirname /tmp/sdk/scripts [2022-06-21T10:30:49.887Z] + ROOT=/tmp/sdk [2022-06-21T10:30:49.887Z] + cd /tmp/sdk [2022-06-21T10:30:49.887Z] + '[' '!' -d deps ] [2022-06-21T10:30:49.887Z] + mkdir deps [2022-06-21T10:30:49.887Z] + tar -C deps -z -x -f - [2022-06-21T10:30:49.887Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-21T10:30:49.887Z] Connecting to github.com (140.82.114.3:443) [2022-06-21T10:30:49.887Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-06-21T10:30:50.161Z] writing to stdout [2022-06-21T10:30:50.161Z] - 13036 --:--:-- ETA [2022-06-21T10:30:50.161Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-21T10:30:50.161Z] written to stdout [2022-06-21T10:30:50.161Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-21T10:30:50.161Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-21T10:30:50.161Z] + tar -C deps -z -x -f - [2022-06-21T10:30:50.161Z] Connecting to github.com (140.82.114.3:443) [2022-06-21T10:30:50.433Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-06-21T10:30:50.709Z] writing to stdout [2022-06-21T10:30:50.709Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-21T10:30:50.709Z] written to stdout [2022-06-21T10:30:50.709Z] + mkdir -p src/c/iot [2022-06-21T10:30:50.709Z] + 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-06-21T10:30:50.709Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-21T10:30:50.709Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-21T10:30:50.709Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-21T10:30:50.709Z] + mkdir -p include/iot [2022-06-21T10:30:50.709Z] + 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-06-21T10:30:50.983Z] + mkdir -p include/iot/os [2022-06-21T10:30:50.983Z] + 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-06-21T10:30:50.983Z] + mkdir -p /tmp/sdk/build/release [2022-06-21T10:30:50.983Z] + cd /tmp/sdk/build/release [2022-06-21T10:30:50.983Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-21T10:30:51.257Z] -- The C compiler identification is GNU 10.3.1 [2022-06-21T10:30:51.257Z] -- Detecting C compiler ABI info [2022-06-21T10:30:51.530Z] -- Detecting C compiler ABI info - done [2022-06-21T10:30:51.530Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-21T10:30:51.530Z] -- Detecting C compile features [2022-06-21T10:30:51.530Z] -- Detecting C compile features - done [2022-06-21T10:30:51.530Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-21T10:30:51.802Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-21T10:30:51.802Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-21T10:30:51.802Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-21T10:30:51.802Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-21T10:30:51.802Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-21T10:30:51.802Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-21T10:30:51.802Z] -- C SDK 2.2.0-dev.10 for Linux [2022-06-21T10:30:51.802Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-21T10:30:52.076Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-21T10:30:52.347Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-21T10:30:52.347Z] -- Configuring done [2022-06-21T10:30:52.622Z] -- Generating done [2022-06-21T10:30:52.622Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-21T10:30:52.622Z] + make all package [2022-06-21T10:30:52.622Z] + tee release.log [2022-06-21T10:30:52.892Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-21T10:30:53.483Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-21T10:30:54.075Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-21T10:30:56.698Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-21T10:30:57.673Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-21T10:30:57.673Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-21T10:30:58.654Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-21T10:30:59.248Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-21T10:30:59.520Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-21T10:31:00.944Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-21T10:31:03.562Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-21T10:31:03.835Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-21T10:31:04.812Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-21T10:31:05.409Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-21T10:31:06.003Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-21T10:31:06.276Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-21T10:31:06.550Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-21T10:31:09.939Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-21T10:31:09.939Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-21T10:31:10.533Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-21T10:31:10.808Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-21T10:31:11.409Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-21T10:31:11.680Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-21T10:31:11.680Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-21T10:31:11.680Z] 275 | const iot_component_factory_t * factory; [2022-06-21T10:31:11.680Z] | ^~~~~~~ [2022-06-21T10:31:12.279Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-21T10:31:17.672Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-21T10:31:17.672Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-21T10:31:17.946Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-21T10:31:18.542Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-21T10:31:19.138Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-21T10:31:19.411Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-21T10:31:20.838Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-21T10:31:20.838Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-21T10:31:21.810Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-21T10:31:22.083Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-21T10:31:22.676Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-21T10:31:25.275Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-21T10:31:25.547Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-21T10:31:26.979Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-21T10:31:26.979Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-21T10:31:32.357Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-21T10:31:32.357Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-21T10:31:32.948Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-21T10:31:33.539Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-21T10:31:33.811Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-21T10:31:33.811Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:31:33.811Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-21T10:31:33.811Z] | ^~~~~~~~~~~~~ [2022-06-21T10:31:33.811Z] | | [2022-06-21T10:31:33.811Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-21T10:31:33.811Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:31:33.811Z] /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-06-21T10:31:33.811Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-21T10:31:33.811Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-21T10:31:33.811Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-21T10:31:33.811Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:31:33.811Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-21T10:31:33.811Z] | ^~~~~~~~~~~~ [2022-06-21T10:31:33.811Z] | | [2022-06-21T10:31:33.811Z] | 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-06-21T10:31:33.811Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:31:33.811Z] /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-06-21T10:31:33.811Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:31:33.811Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:31:33.811Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:31:33.811Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-21T10:31:33.811Z] | ^~~~~~~~~~~~ [2022-06-21T10:31:33.811Z] | | [2022-06-21T10:31:33.811Z] | 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-06-21T10:31:33.811Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:31:33.811Z] /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-06-21T10:31:33.811Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:31:33.811Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:31:35.235Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-21T10:31:37.198Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-21T10:31:37.791Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-21T10:31:38.063Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-21T10:31:38.653Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-21T10:31:41.258Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-21T10:31:45.558Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-21T10:31:46.153Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-21T10:31:46.746Z] [ 76%] Linking C shared library libcsdk.so [2022-06-21T10:31:47.018Z] [ 76%] Built target csdk [2022-06-21T10:31:47.018Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-21T10:31:47.996Z] [ 79%] Linking C executable template [2022-06-21T10:31:47.996Z] [ 79%] Built target template [2022-06-21T10:31:48.266Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-21T10:31:48.856Z] [ 82%] Linking C executable device-counter [2022-06-21T10:31:48.856Z] [ 82%] Built target device-counter [2022-06-21T10:31:49.126Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-21T10:31:49.397Z] [ 85%] Linking C executable device-random [2022-06-21T10:31:49.667Z] [ 85%] Built target device-random [2022-06-21T10:31:49.937Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-21T10:31:50.208Z] [ 88%] Linking C executable device-gyro [2022-06-21T10:31:50.479Z] [ 88%] Built target device-gyro [2022-06-21T10:31:50.479Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-21T10:31:51.069Z] [ 91%] Linking C executable device-bitfields [2022-06-21T10:31:51.340Z] [ 91%] Built target device-bitfields [2022-06-21T10:31:51.340Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-21T10:31:52.312Z] [ 94%] Linking C executable template-discovery [2022-06-21T10:31:52.582Z] [ 94%] Built target template-discovery [2022-06-21T10:31:52.583Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-21T10:31:53.176Z] [ 97%] Linking C executable device-file [2022-06-21T10:31:53.448Z] [ 97%] Built target device-file [2022-06-21T10:31:53.719Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-21T10:31:54.309Z] [100%] Linking C executable device-terminal [2022-06-21T10:31:54.581Z] [100%] Built target device-terminal [2022-06-21T10:31:54.581Z] Run CPack packaging tool... [2022-06-21T10:31:54.581Z] CPack: Create package using TGZ [2022-06-21T10:31:54.581Z] CPack: Install projects [2022-06-21T10:31:54.581Z] CPack: - Run preinstall target for: Csdk [2022-06-21T10:31:55.555Z] CPack: - Install project: Csdk [] [2022-06-21T10:31:55.555Z] CPack: Create package [2022-06-21T10:31:55.555Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.10.tar.gz generated. [2022-06-21T10:31:55.555Z] + '[' false '=' true ] [2022-06-21T10:31:55.555Z] + '[' false '=' true ] [2022-06-21T10:31:55.555Z] + mkdir -p /tmp/sdk/build/debug [2022-06-21T10:31:55.555Z] + cd /tmp/sdk/build/debug [2022-06-21T10:31:55.555Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-21T10:31:55.826Z] -- The C compiler identification is GNU 10.3.1 [2022-06-21T10:31:55.826Z] -- Detecting C compiler ABI info [2022-06-21T10:31:56.095Z] -- Detecting C compiler ABI info - done [2022-06-21T10:31:56.367Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-21T10:31:56.367Z] -- Detecting C compile features [2022-06-21T10:31:56.367Z] -- Detecting C compile features - done [2022-06-21T10:31:56.367Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-21T10:31:56.367Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-21T10:31:56.367Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-21T10:31:56.367Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-21T10:31:56.367Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-21T10:31:56.642Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-21T10:31:56.642Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-21T10:31:56.642Z] -- C SDK 2.2.0-dev.10 for Linux [2022-06-21T10:31:56.642Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-21T10:31:56.911Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-21T10:31:56.911Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-21T10:31:57.182Z] -- Configuring done [2022-06-21T10:31:57.452Z] -- Generating done [2022-06-21T10:31:57.452Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-21T10:31:57.452Z] + make [2022-06-21T10:31:57.452Z] + tee debug.log [2022-06-21T10:31:57.452Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-21T10:31:57.723Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-21T10:31:58.317Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-21T10:31:58.907Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-21T10:31:59.177Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-21T10:31:59.447Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-21T10:32:00.038Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-21T10:32:00.309Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-21T10:32:00.581Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-21T10:32:00.853Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-21T10:32:01.834Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-21T10:32:01.834Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-21T10:32:02.424Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-21T10:32:02.706Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-21T10:32:02.992Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-21T10:32:03.265Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-21T10:32:03.265Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-21T10:32:04.254Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-21T10:32:04.526Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-21T10:32:04.798Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-21T10:32:05.084Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-21T10:32:05.357Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-21T10:32:05.357Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-21T10:32:05.357Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-21T10:32:05.357Z] 275 | const iot_component_factory_t * factory; [2022-06-21T10:32:05.357Z] | ^~~~~~~ [2022-06-21T10:32:05.628Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-21T10:32:07.058Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-21T10:32:07.058Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-21T10:32:07.335Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-21T10:32:07.608Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-21T10:32:07.882Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-21T10:32:07.882Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-21T10:32:08.476Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-21T10:32:08.476Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-21T10:32:09.068Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-21T10:32:09.068Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-21T10:32:09.339Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-21T10:32:09.932Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-21T10:32:10.206Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-21T10:32:10.803Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-21T10:32:11.077Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-21T10:32:12.056Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-21T10:32:12.330Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-21T10:32:12.925Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-21T10:32:13.198Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-21T10:32:13.198Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-21T10:32:13.198Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:32:13.198Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-21T10:32:13.198Z] | ^~~~~~~~~~~~~ [2022-06-21T10:32:13.198Z] | | [2022-06-21T10:32:13.198Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-21T10:32:13.198Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:32:13.198Z] /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-06-21T10:32:13.198Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-21T10:32:13.198Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-21T10:32:13.198Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-21T10:32:13.198Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:32:13.198Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-21T10:32:13.198Z] | ^~~~~~~~~~~~ [2022-06-21T10:32:13.198Z] | | [2022-06-21T10:32:13.198Z] | 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-06-21T10:32:13.198Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:32:13.198Z] /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-06-21T10:32:13.198Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:32:13.198Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:32:13.198Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-21T10:32:13.198Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-21T10:32:13.198Z] | ^~~~~~~~~~~~ [2022-06-21T10:32:13.198Z] | | [2022-06-21T10:32:13.198Z] | 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-06-21T10:32:13.198Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-21T10:32:13.198Z] /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-06-21T10:32:13.198Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-21T10:32:13.198Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-21T10:32:13.471Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-21T10:32:15.453Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-21T10:32:15.453Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-21T10:32:15.727Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-21T10:32:15.999Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-21T10:32:16.606Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-21T10:32:17.589Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-21T10:32:17.861Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-21T10:32:18.133Z] [ 76%] Linking C shared library libcsdk.so [2022-06-21T10:32:18.405Z] [ 76%] Built target csdk [2022-06-21T10:32:18.677Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-21T10:32:18.949Z] [ 79%] Linking C executable template [2022-06-21T10:32:19.223Z] [ 79%] Built target template [2022-06-21T10:32:19.223Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-21T10:32:19.498Z] [ 82%] Linking C executable device-counter [2022-06-21T10:32:19.771Z] [ 82%] Built target device-counter [2022-06-21T10:32:19.771Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-21T10:32:20.046Z] [ 85%] Linking C executable device-random [2022-06-21T10:32:20.318Z] [ 85%] Built target device-random [2022-06-21T10:32:20.318Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-21T10:32:20.591Z] [ 88%] Linking C executable device-gyro [2022-06-21T10:32:20.867Z] [ 88%] Built target device-gyro [2022-06-21T10:32:21.139Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-21T10:32:21.411Z] [ 91%] Linking C executable device-bitfields [2022-06-21T10:32:21.684Z] [ 91%] Built target device-bitfields [2022-06-21T10:32:21.684Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-21T10:32:21.955Z] [ 94%] Linking C executable template-discovery [2022-06-21T10:32:22.229Z] [ 94%] Built target template-discovery [2022-06-21T10:32:22.229Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-21T10:32:22.835Z] [ 97%] Linking C executable device-file [2022-06-21T10:32:22.835Z] [ 97%] Built target device-file [2022-06-21T10:32:22.835Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-21T10:32:23.431Z] [100%] Linking C executable device-terminal [2022-06-21T10:32:23.704Z] [100%] Built target device-terminal [2022-06-21T10:32:23.704Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.704Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.704Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.704Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] [ 76%] Built target csdk [2022-06-21T10:32:23.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] [ 79%] Built target template [2022-06-21T10:32:23.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] [ 82%] Built target device-counter [2022-06-21T10:32:23.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] [ 85%] Built target device-random [2022-06-21T10:32:23.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] [ 88%] Built target device-gyro [2022-06-21T10:32:23.978Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:23.978Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] [ 91%] Built target device-bitfields [2022-06-21T10:32:24.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] [ 94%] Built target template-discovery [2022-06-21T10:32:24.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] [ 97%] Built target device-file [2022-06-21T10:32:24.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] [100%] Built target device-terminal [2022-06-21T10:32:24.250Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:24.250Z] Install the project... [2022-06-21T10:32:24.250Z] -- Install configuration: "Release" [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/devsdk [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/time.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/component.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/config.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/container.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/os.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/data.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/os [2022-06-21T10:32:24.250Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/include/iot/json.h [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-21T10:32:24.523Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-21T10:32:24.523Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-21T10:32:26.506Z] Removing intermediate container 19a3bba0e80e [2022-06-21T10:32:26.506Z] ---> ef363a67b4fb [2022-06-21T10:32:26.506Z] Step 14/22 : FROM ${BASE} [2022-06-21T10:32:26.506Z] ---> cad489bbaf40 [2022-06-21T10:32:26.506Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-21T10:32:26.506Z] ---> Running in c73bc5340b71 [2022-06-21T10:32:26.506Z] Removing intermediate container c73bc5340b71 [2022-06-21T10:32:26.506Z] ---> b6c8ac0e1650 [2022-06-21T10:32:26.506Z] 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-06-21T10:32:26.506Z] ---> Running in 3ec510928dc9 [2022-06-21T10:32:27.481Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-21T10:32:28.077Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:32:28.077Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:32:28.077Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:32:28.676Z] Removing intermediate container 3ec510928dc9 [2022-06-21T10:32:28.676Z] ---> 0088eba78256 [2022-06-21T10:32:28.676Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:32:28.676Z] ---> Running in 4513de573785 [2022-06-21T10:32:30.656Z] Removing intermediate container 4513de573785 [2022-06-21T10:32:30.656Z] ---> b119819542eb [2022-06-21T10:32:30.656Z] 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-06-21T10:32:30.656Z] ---> Running in 9b24550fcedd [2022-06-21T10:32:31.255Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:32.232Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:32.824Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:33.418Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:32:33.418Z] (1/6) Installing curl (7.80.0-r1) [2022-06-21T10:32:33.418Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-21T10:32:33.689Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-21T10:32:33.689Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-21T10:32:33.960Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-21T10:32:33.960Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-21T10:32:34.554Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:32:34.827Z] OK: 278 MiB in 83 packages [2022-06-21T10:32:35.816Z] Removing intermediate container 9b24550fcedd [2022-06-21T10:32:35.816Z] ---> 9567e1b9349a [2022-06-21T10:32:35.816Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-21T10:32:36.417Z] ---> dfe388c98006 [2022-06-21T10:32:36.417Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-21T10:32:36.693Z] ---> 7386ce3e0cd2 [2022-06-21T10:32:36.693Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-21T10:32:37.293Z] ---> 63c9ff379dec [2022-06-21T10:32:37.293Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-21T10:32:37.892Z] ---> 0025a2d341d4 [2022-06-21T10:32:37.892Z] Successfully built 0025a2d341d4 [2022-06-21T10:32:38.164Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:32:38.569Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T10:32:38.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:32:38.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-15222 does not seem to be running inside a container [2022-06-21T10:32:38.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/26 -v /w/workspace/device-sdk-c/26:/w/workspace/device-sdk-c/26:rw,z -v /w/workspace/device-sdk-c/26@tmp:/w/workspace/device-sdk-c/26@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-06-21T10:32:40.173Z] $ docker top b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T10:32:41.084Z] + make test [2022-06-21T10:32:41.085Z] echo "make test" [2022-06-21T10:32:41.085Z] make test [Pipeline] } [2022-06-21T10:32:41.114Z] $ docker stop --time=1 b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 [2022-06-21T10:32:42.759Z] $ docker rm -f b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T10:32:43.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T10:32:43.733Z] + ls -al . [2022-06-21T10:32:43.733Z] total 204 [2022-06-21T10:32:43.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:29 . [2022-06-21T10:32:43.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 .. [2022-06-21T10:32:43.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:29 .git [2022-06-21T10:32:43.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 .github [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 10:29 .gitignore [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 10:29 Attribution.txt [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 8321 Jun 21 10:29 CHANGES [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 10:29 Doxyfile [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 10:29 GOVERNANCE.md [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 10:29 Jenkinsfile [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 10:29 LICENSE [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 10:29 Makefile [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 21 10:29 OWNERS.md [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 21 10:29 README.md [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 21 10:29 README.v2.md [2022-06-21T10:32:43.733Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 21 10:27 VERSION [2022-06-21T10:32:43.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 docs [2022-06-21T10:32:43.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 include [2022-06-21T10:32:43.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 scripts [2022-06-21T10:32:43.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:32:44.094Z] + 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=165bf1afc6928f684637a03d8c76ec8e2cf51e8a --label arch=arm64 --label version=2.2.0-dev.10 . [2022-06-21T10:32:44.367Z] Sending build context to Docker daemon 2.725MB [2022-06-21T10:32:44.367Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-21T10:32:44.367Z] Step 2/17 : FROM ${BASE} [2022-06-21T10:32:44.367Z] ---> 0025a2d341d4 [2022-06-21T10:32:44.367Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-21T10:32:44.646Z] ---> Running in efe41959d8c3 [2022-06-21T10:32:44.920Z] Removing intermediate container efe41959d8c3 [2022-06-21T10:32:44.920Z] ---> 93a70125afad [2022-06-21T10:32:44.920Z] 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-06-21T10:32:44.920Z] ---> Running in eec1ef7ae583 [2022-06-21T10:32:45.902Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-06-21T10:32:46.503Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-21T10:32:46.503Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-21T10:32:46.503Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-21T10:32:46.778Z] Removing intermediate container eec1ef7ae583 [2022-06-21T10:32:46.778Z] ---> 5fdb10829a9c [2022-06-21T10:32:46.778Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-21T10:32:47.054Z] ---> Running in bb41b0b3df73 [2022-06-21T10:32:48.505Z] Removing intermediate container bb41b0b3df73 [2022-06-21T10:32:48.505Z] ---> 2063a5a5f865 [2022-06-21T10:32:48.505Z] 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-06-21T10:32:48.505Z] ---> Running in 03afb98c4877 [2022-06-21T10:32:49.489Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:50.470Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:51.064Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T10:32:51.659Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-21T10:32:51.659Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-21T10:32:51.659Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-21T10:32:51.932Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-21T10:32:51.932Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-21T10:32:51.932Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-21T10:32:52.206Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-21T10:32:52.206Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-21T10:32:52.480Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-21T10:32:52.480Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-21T10:32:52.753Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-21T10:32:53.025Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-21T10:32:53.025Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-21T10:32:53.297Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-21T10:32:53.297Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-21T10:32:53.297Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-21T10:32:53.569Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-21T10:32:53.569Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-21T10:32:53.569Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-21T10:32:53.842Z] (19/26) Installing flock (2.37.4-r0) [2022-06-21T10:32:53.842Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-21T10:32:53.842Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-21T10:32:54.112Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-21T10:32:54.112Z] (23/26) Installing logger (2.37.4-r0) [2022-06-21T10:32:54.112Z] (24/26) Installing partx (2.37.4-r0) [2022-06-21T10:32:54.385Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-21T10:32:54.385Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-21T10:32:54.385Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T10:32:54.658Z] OK: 290 MiB in 109 packages [2022-06-21T10:32:56.093Z] Removing intermediate container 03afb98c4877 [2022-06-21T10:32:56.093Z] ---> e2f2e148a817 [2022-06-21T10:32:56.093Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-21T10:32:56.366Z] ---> 289b3034a6eb [2022-06-21T10:32:56.366Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-21T10:32:57.348Z] ---> 26fc1825d814 [2022-06-21T10:32:57.348Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-21T10:32:57.622Z] ---> 3266f2938878 [2022-06-21T10:32:57.623Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-21T10:32:58.222Z] ---> d8b50b65fe3f [2022-06-21T10:32:58.222Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-21T10:32:58.818Z] ---> da6cacac64c8 [2022-06-21T10:32:58.818Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-21T10:32:59.415Z] ---> 8dee19d16593 [2022-06-21T10:32:59.415Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-21T10:32:59.415Z] ---> Running in 4aca6e57cc2c [2022-06-21T10:32:59.693Z] Removing intermediate container 4aca6e57cc2c [2022-06-21T10:32:59.693Z] ---> b4d42063d26c [2022-06-21T10:32:59.693Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-21T10:32:59.693Z] ---> Running in de5e4b073f6a [2022-06-21T10:32:59.970Z] Removing intermediate container de5e4b073f6a [2022-06-21T10:32:59.970Z] ---> 55f9a0c69dd4 [2022-06-21T10:32:59.970Z] Step 15/17 : LABEL arch=arm64 [2022-06-21T10:33:00.245Z] ---> Running in d7e085001ce5 [2022-06-21T10:33:00.520Z] Removing intermediate container d7e085001ce5 [2022-06-21T10:33:00.520Z] ---> b2b9e29f466c [2022-06-21T10:33:00.520Z] Step 16/17 : LABEL git_sha=165bf1afc6928f684637a03d8c76ec8e2cf51e8a [2022-06-21T10:33:00.520Z] ---> Running in bfefb49f24e8 [2022-06-21T10:33:00.794Z] Removing intermediate container bfefb49f24e8 [2022-06-21T10:33:00.794Z] ---> a56b39b4f062 [2022-06-21T10:33:00.794Z] Step 17/17 : LABEL version=2.2.0-dev.10 [2022-06-21T10:33:00.794Z] ---> Running in 50957474b638 [2022-06-21T10:33:01.392Z] Removing intermediate container 50957474b638 [2022-06-21T10:33:01.392Z] ---> 9ad73a90d061 [2022-06-21T10:33:01.392Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-06-21T10:33:01.392Z] Successfully built 9ad73a90d061 [2022-06-21T10:33:01.392Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:01.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T10:33:01.827Z] [2022-06-21T10:33:01.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:02.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T10:33:02.454Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-21T10:33:02.454Z] 8998bd30e6a1: Pulling fs layer [2022-06-21T10:33:02.454Z] 04944245beec: Pulling fs layer [2022-06-21T10:33:02.454Z] 699f458cf7ca: Pulling fs layer [2022-06-21T10:33:02.454Z] 765212b225bb: Pulling fs layer [2022-06-21T10:33:02.454Z] f23df028b6ca: Pulling fs layer [2022-06-21T10:33:02.454Z] d65c8cfc05b1: Pulling fs layer [2022-06-21T10:33:02.454Z] 2437ff75d9bd: Pulling fs layer [2022-06-21T10:33:02.454Z] f23df028b6ca: Waiting [2022-06-21T10:33:02.454Z] d65c8cfc05b1: Waiting [2022-06-21T10:33:02.454Z] 2437ff75d9bd: Waiting [2022-06-21T10:33:02.454Z] 765212b225bb: Waiting [2022-06-21T10:33:02.454Z] 04944245beec: Verifying Checksum [2022-06-21T10:33:02.454Z] 04944245beec: Download complete [2022-06-21T10:33:02.454Z] 765212b225bb: Verifying Checksum [2022-06-21T10:33:02.454Z] 765212b225bb: Download complete [2022-06-21T10:33:02.454Z] f23df028b6ca: Verifying Checksum [2022-06-21T10:33:02.454Z] f23df028b6ca: Download complete [2022-06-21T10:33:02.454Z] d65c8cfc05b1: Verifying Checksum [2022-06-21T10:33:02.454Z] d65c8cfc05b1: Download complete [2022-06-21T10:33:02.729Z] 699f458cf7ca: Verifying Checksum [2022-06-21T10:33:02.729Z] 699f458cf7ca: Download complete [2022-06-21T10:33:03.004Z] 8998bd30e6a1: Verifying Checksum [2022-06-21T10:33:03.004Z] 8998bd30e6a1: Download complete [2022-06-21T10:33:05.630Z] 2437ff75d9bd: Verifying Checksum [2022-06-21T10:33:05.630Z] 2437ff75d9bd: Download complete [2022-06-21T10:33:07.068Z] 8998bd30e6a1: Pull complete [2022-06-21T10:33:07.669Z] 04944245beec: Pull complete [2022-06-21T10:33:09.108Z] 699f458cf7ca: Pull complete [2022-06-21T10:33:09.380Z] 765212b225bb: Pull complete [2022-06-21T10:33:10.363Z] f23df028b6ca: Pull complete [2022-06-21T10:33:10.363Z] d65c8cfc05b1: Pull complete [2022-06-21T10:33:25.453Z] 2437ff75d9bd: Pull complete [2022-06-21T10:33:25.453Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-21T10:33:25.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T10:33:25.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:33:25.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-15222 does not seem to be running inside a container [2022-06-21T10:33:25.808Z] $ 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/26 -v /w/workspace/device-sdk-c/26:/w/workspace/device-sdk-c/26:rw,z -v /w/workspace/device-sdk-c/26@tmp:/w/workspace/device-sdk-c/26@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-06-21T10:33:28.294Z] $ docker top 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:33:29.209Z] ---> job-cost.sh [2022-06-21T10:33:29.209Z] lf-activate-venv: SKIPPING [2022-06-21T10:33:29.209Z] INFO: No Stack... [2022-06-21T10:33:29.803Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-21T10:33:30.400Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T10:33:31.166Z] + cat /w/workspace/device-sdk-c/26/archives/cost.csv [2022-06-21T10:33:31.167Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T10:33:31.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [2022-06-21T10:33:31.255Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] did not exist. Created. [2022-06-21T10:33:31.255Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T10:33:31.976Z] /w/workspace/device-sdk-c/26@tmp/durable-528cb0c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-21T10:33:32.676Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-21T10:33:32.700Z] Warning: overwriting stash ‘stack-cost’ [2022-06-21T10:33:33.300Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T10:33:33.312Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T10:33:33.338Z] $ docker stop --time=1 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 [2022-06-21T10:33:34.864Z] $ docker rm -f 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 [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-06-21T10:33:35.575Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T10:33:35.575Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:35.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:33:35.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:33:35.964Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:33:36.016Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T10:33:36.405Z] $ docker top c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T10:33:36.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T10:33:36.484Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T10:33:36.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T10:33:36.615Z] $ docker exec c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 ssh-agent [2022-06-21T10:33:36.717Z] SSH_AUTH_SOCK=/tmp/ssh-IBNov66tJnhC/agent.33 [2022-06-21T10:33:36.717Z] SSH_AGENT_PID=39 [2022-06-21T10:33:36.723Z] Running ssh-add (command line suppressed) [2022-06-21T10:33:36.844Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4953034246970170597.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4953034246970170597.key) [2022-06-21T10:33:36.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T10:33:37.131Z] + git semver tag [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,322 [run_tag] DEBUG tag force:False [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,322 [check_head_tag] DEBUG check head tag [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,322 [execute] INFO git cat-file --batch-check [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,326 [execute] INFO git cat-file --batch [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,336 [execute] INFO git tag -a v2.2.0-dev.10 -m v2.2.0-dev.10 [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,337 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.10', '-m', 'v2.2.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-06-21T10:33:37.391Z] 2022-06-21 10:33:37,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:37.391Z] 2.2.0-dev.10 [Pipeline] } [2022-06-21T10:33:37.417Z] $ docker exec --env ******** --env ******** c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 ssh-agent -k [2022-06-21T10:33:37.529Z] unset SSH_AUTH_SOCK; [2022-06-21T10:33:37.529Z] unset SSH_AGENT_PID; [2022-06-21T10:33:37.530Z] echo Agent pid 39 killed; [2022-06-21T10:33:37.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T10:33:37.832Z] + git semver [Pipeline] } [2022-06-21T10:33:38.122Z] $ docker stop --time=1 c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 [2022-06-21T10:33:39.425Z] $ docker rm -f c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:39.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-21T10:33:39.800Z] [2022-06-21T10:33:39.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:40.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-21T10:33:40.095Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-21T10:33:40.095Z] ab5ef0e58194: Pulling fs layer [2022-06-21T10:33:40.095Z] 9712f1f96733: Pulling fs layer [2022-06-21T10:33:40.095Z] 63f879dbbcfc: Pulling fs layer [2022-06-21T10:33:40.095Z] 0d9ebad4ef96: Pulling fs layer [2022-06-21T10:33:40.095Z] e9a5061849ea: Pulling fs layer [2022-06-21T10:33:40.095Z] d747dcd14b5f: Pulling fs layer [2022-06-21T10:33:40.095Z] 2de7ff778b66: Pulling fs layer [2022-06-21T10:33:40.095Z] 0d9ebad4ef96: Waiting [2022-06-21T10:33:40.095Z] e9a5061849ea: Waiting [2022-06-21T10:33:40.095Z] d747dcd14b5f: Waiting [2022-06-21T10:33:40.095Z] 2de7ff778b66: Waiting [2022-06-21T10:33:40.095Z] 9712f1f96733: Verifying Checksum [2022-06-21T10:33:40.095Z] 9712f1f96733: Download complete [2022-06-21T10:33:40.354Z] 63f879dbbcfc: Verifying Checksum [2022-06-21T10:33:40.354Z] 63f879dbbcfc: Download complete [2022-06-21T10:33:40.613Z] ab5ef0e58194: Verifying Checksum [2022-06-21T10:33:40.613Z] ab5ef0e58194: Download complete [2022-06-21T10:33:40.613Z] d747dcd14b5f: Download complete [2022-06-21T10:33:40.613Z] e9a5061849ea: Verifying Checksum [2022-06-21T10:33:40.613Z] e9a5061849ea: Download complete [2022-06-21T10:33:40.613Z] 0d9ebad4ef96: Verifying Checksum [2022-06-21T10:33:40.613Z] 0d9ebad4ef96: Download complete [2022-06-21T10:33:40.871Z] 2de7ff778b66: Verifying Checksum [2022-06-21T10:33:40.871Z] 2de7ff778b66: Download complete [2022-06-21T10:33:43.404Z] ab5ef0e58194: Pull complete [2022-06-21T10:33:43.404Z] 9712f1f96733: Pull complete [2022-06-21T10:33:43.970Z] 63f879dbbcfc: Pull complete [2022-06-21T10:33:48.162Z] 0d9ebad4ef96: Pull complete [2022-06-21T10:33:48.162Z] e9a5061849ea: Pull complete [2022-06-21T10:33:48.162Z] d747dcd14b5f: Pull complete [2022-06-21T10:33:49.101Z] 2de7ff778b66: Pull complete [2022-06-21T10:33:49.101Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-21T10:33:49.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-21T10:33:49.101Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:33:49.202Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:33:49.254Z] $ 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-06-21T10:33:52.199Z] $ docker top 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-21T10:33:52.263Z] provisioning config files... [2022-06-21T10:33:52.272Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4064711269032762278tmp [2022-06-21T10:33:52.282Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config101378972544427342tmp [2022-06-21T10:33:52.292Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config382298305420957695tmp [Pipeline] { [Pipeline] echo [2022-06-21T10:33:52.307Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:33:52.592Z] ---> sigul-configuration.sh [2022-06-21T10:33:52.592Z] gpg: directory `/root/.gnupg' created [2022-06-21T10:33:52.592Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-21T10:33:52.592Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-21T10:33:52.592Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-21T10:33:52.592Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-21T10:33:52.592Z] gpg: CAST5 encrypted data [2022-06-21T10:33:52.592Z] gpg: encrypted with 1 passphrase [2022-06-21T10:33:52.592Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-21T10:33:52.879Z] + mkdir /home/jenkins [2022-06-21T10:33:52.879Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-21T10:33:53.171Z] + 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-06-21T10:33:53.179Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:33:53.463Z] ---> sigul-install.sh [2022-06-21T10:33:53.464Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-21T10:33:53.753Z] + git tag --list [2022-06-21T10:33:53.753Z] 0.7.0 [2022-06-21T10:33:53.753Z] 0.7.1 [2022-06-21T10:33:53.753Z] 1.0.0 [2022-06-21T10:33:53.753Z] v1.0.1 [2022-06-21T10:33:53.753Z] v1.0.2 [2022-06-21T10:33:53.753Z] v1.0.3 [2022-06-21T10:33:53.753Z] v1.1.0 [2022-06-21T10:33:53.753Z] v1.1.1 [2022-06-21T10:33:53.753Z] v1.2.0 [2022-06-21T10:33:53.753Z] v1.2.1 [2022-06-21T10:33:53.753Z] v1.2.2 [2022-06-21T10:33:53.753Z] v1.3.0 [2022-06-21T10:33:53.753Z] v1.3.1 [2022-06-21T10:33:53.753Z] v2.0.0 [2022-06-21T10:33:53.753Z] v2.1.0 [2022-06-21T10:33:53.753Z] v2.2.0-dev.1 [2022-06-21T10:33:53.753Z] v2.2.0-dev.10 [2022-06-21T10:33:53.753Z] v2.2.0-dev.2 [2022-06-21T10:33:53.753Z] v2.2.0-dev.3 [2022-06-21T10:33:53.753Z] v2.2.0-dev.4 [2022-06-21T10:33:53.753Z] v2.2.0-dev.5 [2022-06-21T10:33:53.753Z] v2.2.0-dev.6 [2022-06-21T10:33:53.753Z] v2.2.0-dev.7 [2022-06-21T10:33:53.753Z] v2.2.0-dev.8 [2022-06-21T10:33:53.753Z] v2.2.0-dev.9 [Pipeline] sh [2022-06-21T10:33:54.042Z] + lftools sign git-tag v2.2.0-dev.10 [2022-06-21T10:33:54.612Z] Signing Git tag with Sigul... [2022-06-21T10:33:54.613Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-06-21T10:33:54.882Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:33:55.169Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-21T10:33:55.177Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-21T10:33:55.212Z] $ docker stop --time=1 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d [2022-06-21T10:33:56.547Z] $ docker rm -f 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-21T10:33:56.987Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T10:33:56.987Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:33:57.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:33:57.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:33:57.379Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:33:57.430Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T10:33:57.789Z] $ docker top 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T10:33:57.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T10:33:57.869Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T10:33:57.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T10:33:58.013Z] $ docker exec 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 ssh-agent [2022-06-21T10:33:58.121Z] SSH_AUTH_SOCK=/tmp/ssh-jENXyUSO58gm/agent.34 [2022-06-21T10:33:58.121Z] SSH_AGENT_PID=40 [2022-06-21T10:33:58.126Z] Running ssh-add (command line suppressed) [2022-06-21T10:33:58.259Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5615590332313534515.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5615590332313534515.key) [2022-06-21T10:33:58.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T10:33:58.547Z] + git semver bump pre [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [bump_version] DEBUG bumping version:2.2.0-dev.10 on axis:pre with prefix:dev [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [bump_version] DEBUG bumped version:2.2.0-dev.11 [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [write_version] DEBUG write version:2.2.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,762 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,764 [execute] INFO git cat-file --batch-check [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,769 [execute] INFO git cat-file --batch [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T10:33:58.808Z] 2022-06-21 10:33:58,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:33:58.808Z] 2.2.0-dev.11 [Pipeline] } [2022-06-21T10:33:58.836Z] $ docker exec --env ******** --env ******** 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 ssh-agent -k [2022-06-21T10:33:58.953Z] unset SSH_AUTH_SOCK; [2022-06-21T10:33:58.953Z] unset SSH_AGENT_PID; [2022-06-21T10:33:58.953Z] echo Agent pid 40 killed; [2022-06-21T10:33:58.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T10:33:59.250Z] + git semver [Pipeline] } [2022-06-21T10:33:59.543Z] $ docker stop --time=1 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 [2022-06-21T10:34:00.825Z] $ docker rm -f 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T10:34:01.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T10:34:01.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:34:01.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T10:34:01.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:34:01.551Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:34:01.602Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T10:34:01.992Z] $ docker top 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T10:34:02.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T10:34:02.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T10:34:02.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T10:34:02.226Z] $ docker exec 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a ssh-agent [2022-06-21T10:34:02.343Z] SSH_AUTH_SOCK=/tmp/ssh-ErjuPRjEy0DR/agent.31 [2022-06-21T10:34:02.343Z] SSH_AGENT_PID=37 [2022-06-21T10:34:02.349Z] Running ssh-add (command line suppressed) [2022-06-21T10:34:02.500Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1148699998852390371.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1148699998852390371.key) [2022-06-21T10:34:02.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T10:34:02.787Z] + git semver push [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:02,997 [run_push] DEBUG push [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:02,997 [execute] INFO git cat-file --batch-check [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:02,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:03,002 [execute] INFO git rev-list d63f911e0f3a8138a4ef678ebf19260c5033cf28 -- [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:03,002 [execute] DEBUG Popen(['git', 'rev-list', 'd63f911e0f3a8138a4ef678ebf19260c5033cf28', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:03,010 [execute] INFO git fetch -v origin [2022-06-21T10:34:03.047Z] 2022-06-21 10:34:03,010 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-21T10:34:03.618Z] 2022-06-21 10:34:03,498 [run_push] DEBUG no remote changes detected [2022-06-21T10:34:03.618Z] 2022-06-21 10:34:03,499 [execute] INFO git push origin semver [2022-06-21T10:34:03.618Z] 2022-06-21 10:34:03,499 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-21T10:34:04.559Z] 2022-06-21 10:34:04,324 [run_push] DEBUG push all version tags [2022-06-21T10:34:04.559Z] 2022-06-21 10:34:04,325 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-21T10:34:04.559Z] 2022-06-21 10:34:04,325 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-06-21T10:34:05.132Z] 2022-06-21 10:34:05,018 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-06-21T10:34:05.132Z] 2.2.0-dev.11 [Pipeline] } [2022-06-21T10:34:05.160Z] $ docker exec --env ******** --env ******** 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a ssh-agent -k [2022-06-21T10:34:05.288Z] unset SSH_AUTH_SOCK; [2022-06-21T10:34:05.288Z] unset SSH_AGENT_PID; [2022-06-21T10:34:05.288Z] echo Agent pid 37 killed; [2022-06-21T10:34:05.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T10:34:05.587Z] + git semver [Pipeline] } [2022-06-21T10:34:05.880Z] $ docker stop --time=1 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a [2022-06-21T10:34:07.206Z] $ docker rm -f 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a [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-06-21T10:34:07.671Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-06-21T10:34:07.671Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-06-21T10:34:07.671Z] total 16 [2022-06-21T10:34:07.671Z] drwxr-xr-x 3 root root 4096 Jun 21 10:28 . [2022-06-21T10:34:07.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 10:33 .. [2022-06-21T10:34:07.671Z] drwxr-xr-x 2 root root 4096 Jun 21 10:28 cost [2022-06-21T10:34:07.671Z] -rw-r--r-- 1 root root 82 Jun 21 10:28 cost.csv [2022-06-21T10:34:07.671Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-06-21T10:34:07.671Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-06-21T10:34:07.671Z] total 16 [2022-06-21T10:34:07.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 10:28 . [2022-06-21T10:34:07.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 10:33 .. [2022-06-21T10:34:07.671Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 10:28 cost [2022-06-21T10:34:07.671Z] -rw-r--r-- 1 jenkins jenkins 82 Jun 21 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:07.966Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:08.832Z] ---> package-listing.sh [2022-06-21T10:34:08.832Z] ++ facter osfamily [2022-06-21T10:34:08.832Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-21T10:34:09.092Z] + OS_FAMILY=debian [2022-06-21T10:34:09.092Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-06-21T10:34:09.092Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-21T10:34:09.092Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-21T10:34:09.092Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-21T10:34:09.092Z] + PACKAGES=/tmp/packages_start.txt [2022-06-21T10:34:09.093Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-06-21T10:34:09.093Z] + PACKAGES=/tmp/packages_end.txt [2022-06-21T10:34:09.093Z] + case "${OS_FAMILY}" in [2022-06-21T10:34:09.093Z] + dpkg -l [2022-06-21T10:34:09.093Z] + grep '^ii' [2022-06-21T10:34:09.093Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-21T10:34:09.093Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-21T10:34:09.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-21T10:34:09.093Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-06-21T10:34:09.093Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-06-21T10:34:09.093Z] + 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-06-21T10:34:09.103Z] 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-06-21T10:34:09.382Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T10:34:09.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T10:34:09.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T10:34:10.021Z] prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container [2022-06-21T10:34:10.072Z] $ 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-06-21T10:34:10.309Z] $ docker top 47d303046fa9dcc73e90aecb4b312ab020c25a31c549ba93029d90bf665fe461 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T10:34:10.656Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-21T10:34:10.947Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-21T10:34:11.234Z] + ls /var/log/sa-host [2022-06-21T10:34:11.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T10:34:11.369Z] provisioning config files... [2022-06-21T10:34:11.379Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6488011895295891234tmp [Pipeline] { [Pipeline] echo [2022-06-21T10:34:11.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:11.678Z] ---> create-netrc.sh [Pipeline] } [2022-06-21T10:34:11.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:12.021Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-21T10:34:12.030Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:12.317Z] ---> sudo-logs.sh [2022-06-21T10:34:12.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-21T10:34:12.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:12.625Z] ---> job-cost.sh [2022-06-21T10:34:12.625Z] lf-activate-venv: SKIPPING [2022-06-21T10:34:12.625Z] DEBUG: total: 0.2199999988079071 [2022-06-21T10:34:12.625Z] INFO: Retrieving Stack Cost... [2022-06-21T10:34:12.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T10:34:13.457Z] INFO: Archiving Costs [Pipeline] echo [2022-06-21T10:34:13.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T10:34:13.752Z] ---> logs-deploy.sh [2022-06-21T10:34:13.752Z] lf-activate-venv: SKIPPING [2022-06-21T10:34:13.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/26 [2022-06-21T10:34:13.752Z] INFO: archiving workspace using pattern(s): [2022-06-21T10:34:14.693Z] Archives upload complete. [2022-06-21T10:34:14.693Z] INFO: archiving logs to Nexus