Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14bdc31d8719d1e6f8ec06114e1723900e8aedcd 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-ssh11787700905292966872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh10943571523461188274.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9728553345782102137.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4486012829931208105.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4313189798790332051.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47803 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 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (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 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" > git rev-list --no-walk 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T17:29:31.603Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T17:29:31.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T17:29:31.680Z] ========================================================= [2022-05-10T17:29:31.680Z] EdgeX Global Pipelines Version Info [2022-05-10T17:29:31.680Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:29:32.466Z] ------------------- [2022-05-10T17:29:32.466Z] stable info: [2022-05-10T17:29:32.466Z] ------------------- [2022-05-10T17:29:32.466Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T17:29:32.466Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T17:29:32.466Z] Message: update stable to v1.0.227 [2022-05-10T17:29:33.039Z] ------------------- [2022-05-10T17:29:33.039Z] experimental info: [2022-05-10T17:29:33.039Z] ------------------- [2022-05-10T17:29:33.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T17:29:33.039Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T17:29:33.039Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T17:29:33.199Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-05-10T17:29:33.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-05-10T17:29:33.227Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T17:29:33.238Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T17:29:33.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T17:29:33.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-05-10T17:29:33.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-05-10T17:29:33.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T17:29:33.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T17:29:33.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-05-10T17:29:33.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T17:29:33.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T17:29:33.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T17:29:33.351Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T17:29:33.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T17:29:33.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T17:29:33.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T17:29:33.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T17:29:33.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T17:29:33.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T17:29:33.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-10T17:29:33.449Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14bdc31 [Pipeline] echo [2022-05-10T17:29:33.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:29:33.505Z] provisioning config files... [2022-05-10T17:29:33.519Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7310287999561513350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:29:33.832Z] ---> docker-login.sh [2022-05-10T17:29:33.832Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:29:34.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:34.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:34.094Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:34.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:34.094Z] [2022-05-10T17:29:34.094Z] Login Succeeded [2022-05-10T17:29:34.094Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:29:34.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:34.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:34.356Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:34.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:34.356Z] [2022-05-10T17:29:34.356Z] Login Succeeded [2022-05-10T17:29:34.356Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:29:34.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:34.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:34.619Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:34.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:34.619Z] [2022-05-10T17:29:34.619Z] Login Succeeded [2022-05-10T17:29:34.619Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:29:34.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:34.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:34.619Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:34.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:34.619Z] [2022-05-10T17:29:34.619Z] Login Succeeded [2022-05-10T17:29:34.619Z] docker.io [2022-05-10T17:29:34.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:35.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:35.144Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:35.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:35.144Z] [2022-05-10T17:29:35.144Z] Login Succeeded [2022-05-10T17:29:35.144Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:29:35.152Z] 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-05-10T17:29:35.525Z] + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-10T17:29:35.654Z] -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh [2022-05-10T17:29:35.945Z] + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-10T17:29:35.962Z] ========================================================= [2022-05-10T17:29:35.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T17:29:35.962Z] ========================================================= 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-05-10T17:29:36.358Z] + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-10T17:29:36.372Z] -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh [2022-05-10T17:29:36.665Z] + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-10T17:29:36.682Z] ========================================================= [2022-05-10T17:29:36.682Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T17:29:36.682Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-05-10T17:29:37.086Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:29:37.086Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T17:29:37.086Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T17:29:37.086Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T17:29:37.086Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T17:29:37.086Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T17:29:37.086Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:29:37.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:29:37.441Z] [2022-05-10T17:29:37.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:29:37.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:29:38.010Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T17:29:38.010Z] 1fe172e4850f: Pulling fs layer [2022-05-10T17:29:38.010Z] caf521ccaac6: Pulling fs layer [2022-05-10T17:29:38.010Z] 3ead6fa29328: Pulling fs layer [2022-05-10T17:29:38.010Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T17:29:38.010Z] a8d5f1318db7: Pulling fs layer [2022-05-10T17:29:38.010Z] c427282e49a2: Pulling fs layer [2022-05-10T17:29:38.010Z] 1827001aaf11: Pulling fs layer [2022-05-10T17:29:38.010Z] 0714d37db230: Pulling fs layer [2022-05-10T17:29:38.010Z] ac28cf19c067: Pulling fs layer [2022-05-10T17:29:38.010Z] ca983d60f3e2: Pulling fs layer [2022-05-10T17:29:38.010Z] 9f894cec8388: Pulling fs layer [2022-05-10T17:29:38.010Z] 5c2a1cbceb83: Waiting [2022-05-10T17:29:38.010Z] ac28cf19c067: Waiting [2022-05-10T17:29:38.010Z] ca983d60f3e2: Waiting [2022-05-10T17:29:38.010Z] a8d5f1318db7: Waiting [2022-05-10T17:29:38.010Z] c427282e49a2: Waiting [2022-05-10T17:29:38.010Z] 1827001aaf11: Waiting [2022-05-10T17:29:38.010Z] 0714d37db230: Waiting [2022-05-10T17:29:38.010Z] 9f894cec8388: Waiting [2022-05-10T17:29:38.010Z] caf521ccaac6: Verifying Checksum [2022-05-10T17:29:38.010Z] caf521ccaac6: Download complete [2022-05-10T17:29:38.010Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T17:29:38.010Z] 5c2a1cbceb83: Download complete [2022-05-10T17:29:38.010Z] a8d5f1318db7: Verifying Checksum [2022-05-10T17:29:38.010Z] a8d5f1318db7: Download complete [2022-05-10T17:29:38.010Z] 3ead6fa29328: Verifying Checksum [2022-05-10T17:29:38.010Z] 3ead6fa29328: Download complete [2022-05-10T17:29:38.010Z] c427282e49a2: Verifying Checksum [2022-05-10T17:29:38.010Z] c427282e49a2: Download complete [2022-05-10T17:29:38.271Z] 0714d37db230: Download complete [2022-05-10T17:29:38.271Z] ac28cf19c067: Verifying Checksum [2022-05-10T17:29:38.271Z] ac28cf19c067: Download complete [2022-05-10T17:29:38.271Z] ca983d60f3e2: Verifying Checksum [2022-05-10T17:29:38.271Z] ca983d60f3e2: Download complete [2022-05-10T17:29:38.271Z] 9f894cec8388: Download complete [2022-05-10T17:29:38.271Z] 1fe172e4850f: Verifying Checksum [2022-05-10T17:29:38.271Z] 1fe172e4850f: Download complete [2022-05-10T17:29:38.530Z] 1827001aaf11: Verifying Checksum [2022-05-10T17:29:38.530Z] 1827001aaf11: Download complete [2022-05-10T17:29:39.919Z] 1fe172e4850f: Pull complete [2022-05-10T17:29:39.919Z] caf521ccaac6: Pull complete [2022-05-10T17:29:40.497Z] 3ead6fa29328: Pull complete [2022-05-10T17:29:40.497Z] 5c2a1cbceb83: Pull complete [2022-05-10T17:29:40.757Z] a8d5f1318db7: Pull complete [2022-05-10T17:29:41.016Z] c427282e49a2: Pull complete [2022-05-10T17:29:42.931Z] 1827001aaf11: Pull complete [2022-05-10T17:29:42.931Z] 0714d37db230: Pull complete [2022-05-10T17:29:43.199Z] ac28cf19c067: Pull complete [2022-05-10T17:29:43.199Z] ca983d60f3e2: Pull complete [2022-05-10T17:29:43.199Z] 9f894cec8388: Pull complete [2022-05-10T17:29:43.463Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T17:29:43.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:29:43.463Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T17:29:43.540Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:29:43.585Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:29:45.526Z] $ docker top 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 -eo pid,comm [2022-05-10T17:29:45.599Z] 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-05-10T17:29:45.599Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T17:29:45.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:29:45.630Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:29:45.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:29:45.786Z] $ docker exec 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent [2022-05-10T17:29:45.903Z] SSH_AUTH_SOCK=/tmp/ssh-9LOk5SQO6rEM/agent.32 [2022-05-10T17:29:45.903Z] SSH_AGENT_PID=38 [2022-05-10T17:29:45.918Z] Running ssh-add (command line suppressed) [2022-05-10T17:29:46.046Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1427211916406049761.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1427211916406049761.key) [2022-05-10T17:29:46.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:29:46.344Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T17:29:46.364Z] $ docker exec --env ******** --env ******** 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent -k [2022-05-10T17:29:46.487Z] unset SSH_AUTH_SOCK; [2022-05-10T17:29:46.488Z] unset SSH_AGENT_PID; [2022-05-10T17:29:46.488Z] echo Agent pid 38 killed; [2022-05-10T17:29:46.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T17:29:46.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:29:46.520Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:29:46.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:29:46.658Z] $ docker exec 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent [2022-05-10T17:29:46.792Z] SSH_AUTH_SOCK=/tmp/ssh-onlpk8vU7SHR/agent.72 [2022-05-10T17:29:46.792Z] SSH_AGENT_PID=78 [2022-05-10T17:29:46.797Z] Running ssh-add (command line suppressed) [2022-05-10T17:29:46.917Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8256733756609659010.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8256733756609659010.key) [2022-05-10T17:29:46.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:29:47.221Z] + git semver init [2022-05-10T17:29:47.482Z] 2022-05-10 17:29:47,438 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T17:29:47.482Z] 2022-05-10 17:29:47,439 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-05-10T17:29:47.482Z] 2022-05-10 17:29:47,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-05-10T17:29:47.482Z] 2022-05-10 17:29:47,439 [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-05-10T17:29:48.425Z] 2022-05-10 17:29:48,248 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-05-10T17:29:48.425Z] 2022-05-10 17:29:48,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-05-10T17:29:48.425Z] 2022-05-10 17:29:48,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:29:48.425Z] 2022-05-10 17:29:48,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:29:48.425Z] 2.2.0-dev.9 [Pipeline] } [2022-05-10T17:29:48.442Z] $ docker exec --env ******** --env ******** 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent -k [2022-05-10T17:29:48.566Z] unset SSH_AUTH_SOCK; [2022-05-10T17:29:48.566Z] unset SSH_AGENT_PID; [2022-05-10T17:29:48.566Z] echo Agent pid 78 killed; [2022-05-10T17:29:48.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:29:48.888Z] + git semver [Pipeline] } [2022-05-10T17:29:49.169Z] $ docker stop --time=1 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 [2022-05-10T17:29:50.554Z] $ docker rm -f 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:29:50.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T17:29:51.223Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T17:29:51.227Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-05-10T17:29:51.320Z] provisioning config files... [2022-05-10T17:29:51.331Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6247068617082982505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:29:51.634Z] ---> docker-login.sh [2022-05-10T17:29:51.634Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:29:51.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:51.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:51.634Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:51.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:51.634Z] [2022-05-10T17:29:51.634Z] Login Succeeded [2022-05-10T17:29:51.634Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:29:51.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:51.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:51.896Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:51.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:51.896Z] [2022-05-10T17:29:51.896Z] Login Succeeded [2022-05-10T17:29:51.896Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:29:51.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:51.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:51.896Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:51.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:51.896Z] [2022-05-10T17:29:51.896Z] Login Succeeded [2022-05-10T17:29:51.896Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:29:52.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:52.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:52.158Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:52.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:52.158Z] [2022-05-10T17:29:52.158Z] Login Succeeded [2022-05-10T17:29:52.158Z] docker.io [2022-05-10T17:29:52.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:29:52.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:29:52.419Z] Configure a credential helper to remove this warning. See [2022-05-10T17:29:52.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:29:52.419Z] [2022-05-10T17:29:52.419Z] Login Succeeded [2022-05-10T17:29:52.419Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:29:52.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T17:29:52.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:29:52.504Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-05-10T17:29:52.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:29:52.522Z] ========================================================= [2022-05-10T17:29:52.522Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-05-10T17:29:52.522Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:29:52.821Z] + 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-05-10T17:29:52.821Z] Sending build context to Docker daemon 4.543MB [2022-05-10T17:29:52.821Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-05-10T17:29:52.821Z] Step 2/22 : FROM ${BASE} as builder [2022-05-10T17:29:52.821Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-05-10T17:29:52.821Z] df9b9388f04a: Pulling fs layer [2022-05-10T17:29:52.821Z] 37ea90d01205: Pulling fs layer [2022-05-10T17:29:52.821Z] c88372d24652: Pulling fs layer [2022-05-10T17:29:53.082Z] 37ea90d01205: Download complete [2022-05-10T17:29:53.082Z] df9b9388f04a: Verifying Checksum [2022-05-10T17:29:53.082Z] df9b9388f04a: Download complete [2022-05-10T17:29:53.082Z] df9b9388f04a: Pull complete [2022-05-10T17:29:53.343Z] 37ea90d01205: Pull complete [2022-05-10T17:29:53.602Z] c88372d24652: Verifying Checksum [2022-05-10T17:29:53.602Z] c88372d24652: Download complete [2022-05-10T17:29:56.904Z] c88372d24652: Pull complete [2022-05-10T17:29:56.904Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-05-10T17:29:56.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-05-10T17:29:56.904Z] ---> 95f6e8fcc511 [2022-05-10T17:29:56.904Z] 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-05-10T17:29:57.852Z] ---> Running in 61d6ad5c367b [2022-05-10T17:29:58.113Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-05-10T17:29:58.687Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:29:58.687Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:29:58.687Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:29:58.948Z] Removing intermediate container 61d6ad5c367b [2022-05-10T17:29:58.948Z] ---> 49b4ba57059f [2022-05-10T17:29:58.948Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:29:58.948Z] ---> Running in a007dea6a718 [2022-05-10T17:29:59.520Z] Removing intermediate container a007dea6a718 [2022-05-10T17:29:59.520Z] ---> 796ae0df9aa6 [2022-05-10T17:29:59.520Z] 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-05-10T17:29:59.520Z] ---> Running in 9402e7b75f4c [2022-05-10T17:29:59.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:00.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:00.987Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:01.560Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:30:01.560Z] (1/31) Installing hiredis (1.0.2-r0) [2022-05-10T17:30:01.560Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-05-10T17:30:01.560Z] (3/31) Installing libcbor (0.8.0-r0) [2022-05-10T17:30:01.822Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-05-10T17:30:01.822Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-10T17:30:01.822Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-10T17:30:02.764Z] (7/31) Installing util-linux (2.37.4-r0) [2022-05-10T17:30:03.026Z] (8/31) Installing libblkid (2.37.4-r0) [2022-05-10T17:30:03.026Z] (9/31) Installing libeconf (0.4.2-r0) [2022-05-10T17:30:03.286Z] (10/31) Installing libuuid (2.37.4-r0) [2022-05-10T17:30:03.286Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-05-10T17:30:03.286Z] (12/31) Installing libmount (2.37.4-r0) [2022-05-10T17:30:03.546Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-05-10T17:30:03.546Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-05-10T17:30:03.806Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-05-10T17:30:03.806Z] (16/31) Installing runuser (2.37.4-r0) [2022-05-10T17:30:04.067Z] (17/31) Installing hexdump (2.37.4-r0) [2022-05-10T17:30:04.067Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-05-10T17:30:04.067Z] (19/31) Installing blkid (2.37.4-r0) [2022-05-10T17:30:04.328Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-05-10T17:30:04.328Z] (21/31) Installing mcookie (2.37.4-r0) [2022-05-10T17:30:04.328Z] (22/31) Installing wipefs (2.37.4-r0) [2022-05-10T17:30:04.592Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-05-10T17:30:04.592Z] (24/31) Installing flock (2.37.4-r0) [2022-05-10T17:30:04.592Z] (25/31) Installing lsblk (2.37.4-r0) [2022-05-10T17:30:04.853Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-05-10T17:30:04.853Z] (27/31) Installing setpriv (2.37.4-r0) [2022-05-10T17:30:04.853Z] (28/31) Installing logger (2.37.4-r0) [2022-05-10T17:30:05.116Z] (29/31) Installing partx (2.37.4-r0) [2022-05-10T17:30:05.116Z] (30/31) Installing findmnt (2.37.4-r0) [2022-05-10T17:30:05.116Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-05-10T17:30:05.378Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:30:05.378Z] OK: 293 MiB in 108 packages [2022-05-10T17:30:05.949Z] Removing intermediate container 9402e7b75f4c [2022-05-10T17:30:05.949Z] ---> 2f0f83b2c979 [2022-05-10T17:30:05.949Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-05-10T17:30:06.211Z] ---> Running in 82fb27b61c1b [2022-05-10T17:30:06.289Z] Still waiting to schedule task [2022-05-10T17:30:06.290Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T17:30:06.783Z] Removing intermediate container 82fb27b61c1b [2022-05-10T17:30:06.783Z] ---> 62d9c8f752a6 [2022-05-10T17:30:06.783Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-05-10T17:30:06.783Z] ---> 95abd2b1097e [2022-05-10T17:30:06.783Z] Step 8/22 : COPY src /tmp/sdk/src [2022-05-10T17:30:07.043Z] ---> 415eba77dcd7 [2022-05-10T17:30:07.043Z] Step 9/22 : COPY include /tmp/sdk/include [2022-05-10T17:30:07.304Z] ---> 83023ae1c7b2 [2022-05-10T17:30:07.304Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-05-10T17:30:07.304Z] ---> a0a24fb550b6 [2022-05-10T17:30:07.304Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-05-10T17:30:07.564Z] ---> a8640867ae14 [2022-05-10T17:30:07.564Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-05-10T17:30:07.564Z] ---> a8236153fbed [2022-05-10T17:30:07.564Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-05-10T17:30:07.564Z] ---> Running in 66dd2bb0ba19 [2022-05-10T17:30:07.825Z] + CPPCHECK=false [2022-05-10T17:30:07.826Z] + DOCGEN=false [2022-05-10T17:30:07.826Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-05-10T17:30:07.826Z] + TOMLVER=SDK-0.2 [2022-05-10T17:30:07.826Z] + CUTILVER=1.2.2 [2022-05-10T17:30:07.826Z] + '[' 0 -gt 0 ] [2022-05-10T17:30:07.826Z] + readlink -f ./scripts/build.sh [2022-05-10T17:30:07.826Z] + dirname /tmp/sdk/scripts/build.sh [2022-05-10T17:30:07.826Z] + dirname /tmp/sdk/scripts [2022-05-10T17:30:07.826Z] + ROOT=/tmp/sdk [2022-05-10T17:30:07.826Z] + cd /tmp/sdk [2022-05-10T17:30:07.826Z] + '[' '!' -d deps ] [2022-05-10T17:30:07.826Z] + mkdir deps [2022-05-10T17:30:07.826Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-05-10T17:30:07.826Z] + tar -C deps -z -x -f - [2022-05-10T17:30:08.091Z] Connecting to github.com (140.82.112.4:443) [2022-05-10T17:30:08.091Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-05-10T17:30:08.351Z] writing to stdout [2022-05-10T17:30:08.351Z] - 100% |********************************| 16451 0:00:00 ETA [2022-05-10T17:30:08.351Z] written to stdout [2022-05-10T17:30:08.351Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-05-10T17:30:08.351Z] + + tar -C depswget -z -O -x -f - - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-05-10T17:30:08.351Z] [2022-05-10T17:30:08.351Z] Connecting to github.com (140.82.112.4:443) [2022-05-10T17:30:08.614Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-05-10T17:30:08.614Z] writing to stdout [2022-05-10T17:30:08.875Z] - 100% |********************************| 189k 0:00:00 ETA [2022-05-10T17:30:08.875Z] written to stdout [2022-05-10T17:30:08.875Z] + mkdir -p src/c/iot [2022-05-10T17:30:08.875Z] + 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-05-10T17:30:08.875Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-05-10T17:30:08.875Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-05-10T17:30:08.875Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-05-10T17:30:08.875Z] + mkdir -p include/iot [2022-05-10T17:30:08.875Z] + 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-05-10T17:30:08.875Z] + mkdir -p include/iot/os [2022-05-10T17:30:08.875Z] + 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-05-10T17:30:08.875Z] + mkdir -p /tmp/sdk/build/release [2022-05-10T17:30:08.875Z] + cd /tmp/sdk/build/release [2022-05-10T17:30:08.875Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-05-10T17:30:08.875Z] -- The C compiler identification is GNU 10.3.1 [2022-05-10T17:30:08.875Z] -- Detecting C compiler ABI info [2022-05-10T17:30:08.875Z] -- Detecting C compiler ABI info - done [2022-05-10T17:30:09.135Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-10T17:30:09.135Z] -- Detecting C compile features [2022-05-10T17:30:09.135Z] -- Detecting C compile features - done [2022-05-10T17:30:09.135Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-10T17:30:09.135Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-10T17:30:09.135Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-10T17:30:09.135Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-10T17:30:09.135Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-10T17:30:09.135Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-10T17:30:09.135Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-10T17:30:09.135Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-10T17:30:09.135Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-10T17:30:09.135Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-10T17:30:09.135Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-10T17:30:09.135Z] -- Configuring done [2022-05-10T17:30:09.396Z] -- Generating done [2022-05-10T17:30:09.396Z] -- Build files have been written to: /tmp/sdk/build/release [2022-05-10T17:30:09.396Z] + make all package [2022-05-10T17:30:09.396Z] + tee release.log [2022-05-10T17:30:09.396Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-10T17:30:09.396Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-10T17:30:09.656Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-10T17:30:09.918Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-10T17:30:10.181Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-10T17:30:10.181Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-10T17:30:10.441Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-10T17:30:10.441Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-10T17:30:10.702Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-10T17:30:10.702Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-10T17:30:11.274Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-10T17:30:11.274Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-10T17:30:11.535Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-10T17:30:11.535Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-10T17:30:11.535Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-10T17:30:11.795Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-10T17:30:11.795Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-10T17:30:12.368Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-10T17:30:12.368Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-10T17:30:12.368Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-10T17:30:12.629Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-10T17:30:12.629Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-10T17:30:12.629Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-10T17:30:12.629Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-10T17:30:12.630Z] 275 | const iot_component_factory_t * factory; [2022-05-10T17:30:12.630Z] | ^~~~~~~ [2022-05-10T17:30:12.890Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-10T17:30:13.830Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-10T17:30:13.830Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-10T17:30:13.830Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-10T17:30:13.830Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-10T17:30:14.092Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-10T17:30:14.092Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-10T17:30:14.353Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-10T17:30:14.353Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-10T17:30:14.614Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-10T17:30:14.614Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-10T17:30:14.614Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-10T17:30:15.184Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-10T17:30:15.184Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-10T17:30:15.444Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-10T17:30:15.444Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-10T17:30:16.389Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-10T17:30:16.389Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-10T17:30:16.650Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-10T17:30:16.650Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-10T17:30:16.650Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-10T17:30:16.650Z] /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-05-10T17:30:16.650Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-10T17:30:16.650Z] | ^~~~~~~~~~~~~ [2022-05-10T17:30:16.650Z] | | [2022-05-10T17:30:16.650Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-10T17:30:16.650Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:16.650Z] /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-05-10T17:30:16.650Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-10T17:30:16.650Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-10T17:30:16.650Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-10T17:30:16.650Z] /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-05-10T17:30:16.650Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-10T17:30:16.650Z] | ^~~~~~~~~~~~ [2022-05-10T17:30:16.650Z] | | [2022-05-10T17:30:16.651Z] | 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-05-10T17:30:16.651Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:16.651Z] /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-05-10T17:30:16.651Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:30:16.651Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:30:16.651Z] /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-05-10T17:30:16.651Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-10T17:30:16.651Z] | ^~~~~~~~~~~~ [2022-05-10T17:30:16.651Z] | | [2022-05-10T17:30:16.651Z] | 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-05-10T17:30:16.651Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:16.651Z] /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-05-10T17:30:16.651Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:30:16.651Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:30:16.912Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-10T17:30:17.483Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-10T17:30:17.483Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-10T17:30:17.483Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-10T17:30:17.483Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-10T17:30:18.059Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-10T17:30:18.632Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-10T17:30:18.892Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-10T17:30:18.892Z] [ 76%] Linking C shared library libcsdk.so [2022-05-10T17:30:19.152Z] [ 76%] Built target csdk [2022-05-10T17:30:19.152Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-10T17:30:19.152Z] [ 79%] Linking C executable template [2022-05-10T17:30:19.415Z] [ 79%] Built target template [2022-05-10T17:30:19.415Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-10T17:30:19.415Z] [ 82%] Linking C executable device-counter [2022-05-10T17:30:19.415Z] [ 82%] Built target device-counter [2022-05-10T17:30:19.415Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-10T17:30:19.677Z] [ 85%] Linking C executable device-random [2022-05-10T17:30:19.677Z] [ 85%] Built target device-random [2022-05-10T17:30:19.677Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-10T17:30:19.677Z] [ 88%] Linking C executable device-gyro [2022-05-10T17:30:19.939Z] [ 88%] Built target device-gyro [2022-05-10T17:30:19.939Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-10T17:30:19.939Z] [ 91%] Linking C executable device-bitfields [2022-05-10T17:30:19.939Z] [ 91%] Built target device-bitfields [2022-05-10T17:30:19.939Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-10T17:30:20.201Z] [ 94%] Linking C executable template-discovery [2022-05-10T17:30:20.201Z] [ 94%] Built target template-discovery [2022-05-10T17:30:20.201Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-10T17:30:20.462Z] [ 97%] Linking C executable device-file [2022-05-10T17:30:20.462Z] [ 97%] Built target device-file [2022-05-10T17:30:20.462Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-10T17:30:20.722Z] [100%] Linking C executable device-terminal [2022-05-10T17:30:20.722Z] [100%] Built target device-terminal [2022-05-10T17:30:20.722Z] Run CPack packaging tool... [2022-05-10T17:30:20.722Z] CPack: Create package using TGZ [2022-05-10T17:30:20.722Z] CPack: Install projects [2022-05-10T17:30:20.722Z] CPack: - Run preinstall target for: Csdk [2022-05-10T17:30:20.983Z] CPack: - Install project: Csdk [] [2022-05-10T17:30:20.983Z] CPack: Create package [2022-05-10T17:30:20.983Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.9.tar.gz generated. [2022-05-10T17:30:20.983Z] + '[' false '=' true ] [2022-05-10T17:30:20.983Z] + '[' false '=' true ] [2022-05-10T17:30:20.983Z] + mkdir -p /tmp/sdk/build/debug [2022-05-10T17:30:20.983Z] + cd /tmp/sdk/build/debug [2022-05-10T17:30:20.983Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-05-10T17:30:21.246Z] -- The C compiler identification is GNU 10.3.1 [2022-05-10T17:30:21.246Z] -- Detecting C compiler ABI info [2022-05-10T17:30:21.246Z] -- Detecting C compiler ABI info - done [2022-05-10T17:30:21.246Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-10T17:30:21.246Z] -- Detecting C compile features [2022-05-10T17:30:21.246Z] -- Detecting C compile features - done [2022-05-10T17:30:21.246Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-10T17:30:21.246Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-10T17:30:21.246Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-10T17:30:21.246Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-10T17:30:21.246Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-10T17:30:21.246Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-10T17:30:21.246Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-10T17:30:21.246Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-10T17:30:21.246Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-10T17:30:21.519Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-10T17:30:21.520Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-10T17:30:21.520Z] -- Configuring done [2022-05-10T17:30:21.520Z] -- Generating done [2022-05-10T17:30:21.520Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-05-10T17:30:21.520Z] + + tee debug.log [2022-05-10T17:30:21.520Z] make [2022-05-10T17:30:21.520Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-10T17:30:21.780Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-10T17:30:21.780Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-10T17:30:22.041Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-10T17:30:22.041Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-10T17:30:22.041Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-10T17:30:22.041Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-10T17:30:22.302Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-10T17:30:22.302Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-10T17:30:22.302Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-10T17:30:22.562Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-10T17:30:22.562Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-10T17:30:22.562Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-10T17:30:22.823Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-10T17:30:22.823Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-10T17:30:22.823Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-10T17:30:22.823Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-10T17:30:23.085Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-10T17:30:23.085Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-10T17:30:23.344Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-10T17:30:23.344Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-10T17:30:23.344Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-10T17:30:23.344Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-10T17:30:23.344Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-10T17:30:23.344Z] 275 | const iot_component_factory_t * factory; [2022-05-10T17:30:23.344Z] | ^~~~~~~ [2022-05-10T17:30:23.344Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-10T17:30:23.606Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-10T17:30:23.606Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-10T17:30:23.886Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-10T17:30:23.886Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-10T17:30:23.886Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-10T17:30:23.886Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-10T17:30:24.185Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-10T17:30:24.185Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-10T17:30:24.185Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-10T17:30:24.185Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-10T17:30:24.185Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-10T17:30:24.458Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-10T17:30:24.458Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-10T17:30:24.458Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-10T17:30:24.458Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-10T17:30:24.765Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-10T17:30:25.029Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-10T17:30:25.029Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-10T17:30:25.029Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-10T17:30:25.029Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-10T17:30:25.029Z] | ^~~~~~~~~~~~~ [2022-05-10T17:30:25.029Z] | | [2022-05-10T17:30:25.029Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-10T17:30:25.029Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-10T17:30:25.029Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-10T17:30:25.029Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-10T17:30:25.029Z] | ^~~~~~~~~~~~ [2022-05-10T17:30:25.029Z] | | [2022-05-10T17:30:25.029Z] | 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-05-10T17:30:25.029Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:30:25.029Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-10T17:30:25.029Z] | ^~~~~~~~~~~~ [2022-05-10T17:30:25.029Z] | | [2022-05-10T17:30:25.029Z] | 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-05-10T17:30:25.029Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:30:25.029Z] /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-05-10T17:30:25.029Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:30:25.029Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:30:25.029Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-10T17:30:25.290Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-10T17:30:25.550Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-10T17:30:25.550Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-10T17:30:25.550Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-10T17:30:25.811Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-10T17:30:25.811Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-10T17:30:26.072Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-10T17:30:26.072Z] [ 76%] Linking C shared library libcsdk.so [2022-05-10T17:30:26.072Z] [ 76%] Built target csdk [2022-05-10T17:30:26.072Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-10T17:30:26.332Z] [ 79%] Linking C executable template [2022-05-10T17:30:26.332Z] [ 79%] Built target template [2022-05-10T17:30:26.332Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-10T17:30:26.332Z] [ 82%] Linking C executable device-counter [2022-05-10T17:30:26.592Z] [ 82%] Built target device-counter [2022-05-10T17:30:26.592Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-10T17:30:26.592Z] [ 85%] Linking C executable device-random [2022-05-10T17:30:26.592Z] [ 85%] Built target device-random [2022-05-10T17:30:26.592Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-10T17:30:26.592Z] [ 88%] Linking C executable device-gyro [2022-05-10T17:30:26.853Z] [ 88%] Built target device-gyro [2022-05-10T17:30:26.853Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-10T17:30:26.853Z] [ 91%] Linking C executable device-bitfields [2022-05-10T17:30:26.853Z] [ 91%] Built target device-bitfields [2022-05-10T17:30:26.853Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-10T17:30:27.115Z] [ 94%] Linking C executable template-discovery [2022-05-10T17:30:27.115Z] [ 94%] Built target template-discovery [2022-05-10T17:30:27.115Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-10T17:30:27.115Z] [ 97%] Linking C executable device-file [2022-05-10T17:30:27.115Z] [ 97%] Built target device-file [2022-05-10T17:30:27.375Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-10T17:30:27.375Z] [100%] Linking C executable device-terminal [2022-05-10T17:30:27.375Z] [100%] Built target device-terminal [2022-05-10T17:30:27.375Z] make: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] [ 76%] Built target csdk [2022-05-10T17:30:27.375Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] [ 79%] Built target template [2022-05-10T17:30:27.375Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.375Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 82%] Built target device-counter [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 85%] Built target device-random [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 88%] Built target device-gyro [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 91%] Built target device-bitfields [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 94%] Built target template-discovery [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [ 97%] Built target device-file [2022-05-10T17:30:27.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] [100%] Built target device-terminal [2022-05-10T17:30:27.636Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:27.636Z] Install the project... [2022-05-10T17:30:27.636Z] -- Install configuration: "Release" [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/lib/libcsdk.so [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/devices.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/devsdk [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/thread.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/hash.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/typecode.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/uuid.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/logger.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/config.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/os.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/container.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/defs.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/iot.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/component.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/os [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/base64.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/time.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/data.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/include/iot/json.h [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-05-10T17:30:27.636Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-05-10T17:30:27.636Z] make: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:30:28.576Z] Removing intermediate container 66dd2bb0ba19 [2022-05-10T17:30:28.576Z] ---> 780e7a18f7d8 [2022-05-10T17:30:28.577Z] Step 14/22 : FROM ${BASE} [2022-05-10T17:30:28.577Z] ---> 95f6e8fcc511 [2022-05-10T17:30:28.577Z] Step 15/22 : LABEL maintainer="IOTech " [2022-05-10T17:30:28.577Z] ---> Running in 47a1c4c57d2c [2022-05-10T17:30:28.577Z] Removing intermediate container 47a1c4c57d2c [2022-05-10T17:30:28.577Z] ---> 0d8aca7897ed [2022-05-10T17:30:28.577Z] 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-05-10T17:30:28.577Z] ---> Running in 1982d4cade26 [2022-05-10T17:30:28.837Z] Connecting to iotech.jfrog.io (54.75.147.88:443) [2022-05-10T17:30:29.408Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:30:29.408Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:30:29.408Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:30:29.668Z] Removing intermediate container 1982d4cade26 [2022-05-10T17:30:29.668Z] ---> c955a96233fe [2022-05-10T17:30:29.668Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:30:29.668Z] ---> Running in a965e605f3e4 [2022-05-10T17:30:30.239Z] Removing intermediate container a965e605f3e4 [2022-05-10T17:30:30.239Z] ---> 1d1f9aca0d84 [2022-05-10T17:30:30.239Z] 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-05-10T17:30:30.239Z] ---> Running in 02adf0a51012 [2022-05-10T17:30:30.501Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:31.449Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:31.711Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:32.285Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:30:32.285Z] (1/6) Installing curl (7.80.0-r1) [2022-05-10T17:30:32.285Z] (2/6) Installing hiredis (1.0.2-r0) [2022-05-10T17:30:32.285Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-05-10T17:30:32.285Z] (4/6) Installing libcbor (0.8.0-r0) [2022-05-10T17:30:32.547Z] (5/6) Installing libuuid (2.37.4-r0) [2022-05-10T17:30:32.547Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-10T17:30:33.491Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:30:33.491Z] OK: 283 MiB in 83 packages [2022-05-10T17:30:33.752Z] Removing intermediate container 02adf0a51012 [2022-05-10T17:30:33.753Z] ---> f2aa2fc87c89 [2022-05-10T17:30:33.753Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-05-10T17:30:34.014Z] ---> e45ffcd46a18 [2022-05-10T17:30:34.014Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-05-10T17:30:34.275Z] ---> aa11d6316198 [2022-05-10T17:30:34.275Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-05-10T17:30:34.275Z] ---> 3af380959d9f [2022-05-10T17:30:34.275Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-05-10T17:30:34.536Z] ---> 286433e3557b [2022-05-10T17:30:34.536Z] Successfully built 286433e3557b [2022-05-10T17:30:34.536Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:30:34.897Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T17:30:34.897Z] . [Pipeline] withDockerContainer [2022-05-10T17:30:34.971Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:30:35.014Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T17:30:35.434Z] $ docker top a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:30:35.789Z] + make test [2022-05-10T17:30:35.789Z] echo "make test" [2022-05-10T17:30:35.789Z] make test [Pipeline] } [2022-05-10T17:30:35.806Z] $ docker stop --time=1 a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 [2022-05-10T17:30:37.186Z] $ docker rm -f a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:30:37.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T17:30:38.058Z] + ls -al . [2022-05-10T17:30:38.058Z] total 208 [2022-05-10T17:30:38.058Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:29 . [2022-05-10T17:30:38.058Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 .. [2022-05-10T17:30:38.058Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:29 .git [2022-05-10T17:30:38.058Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 .github [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 176 May 10 17:29 .gitignore [2022-05-10T17:30:38.058Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:29 .semver [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 10 17:29 Attribution.txt [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 8321 May 10 17:29 CHANGES [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 10 17:29 Doxyfile [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:29 GOVERNANCE.md [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 784 May 10 17:29 Jenkinsfile [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:29 LICENSE [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 444 May 10 17:29 Makefile [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:29 OWNERS.md [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 4086 May 10 17:29 README.md [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 7422 May 10 17:29 README.v2.md [2022-05-10T17:30:38.058Z] -rw-rw-r-- 1 jenkins jenkins 11 May 10 17:29 VERSION [2022-05-10T17:30:38.058Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 docs [2022-05-10T17:30:38.058Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 include [2022-05-10T17:30:38.058Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 scripts [2022-05-10T17:30:38.058Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 src [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:30:38.365Z] + 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=14bdc31d8719d1e6f8ec06114e1723900e8aedcd --label arch=amd64 --label version=2.2.0-dev.9 . [2022-05-10T17:30:38.365Z] Sending build context to Docker daemon 4.543MB [2022-05-10T17:30:38.365Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-05-10T17:30:38.365Z] Step 2/17 : FROM ${BASE} [2022-05-10T17:30:38.365Z] ---> 286433e3557b [2022-05-10T17:30:38.365Z] Step 3/17 : LABEL maintainer="IOTech " [2022-05-10T17:30:38.365Z] ---> Running in 088945f11b8c [2022-05-10T17:30:38.625Z] Removing intermediate container 088945f11b8c [2022-05-10T17:30:38.625Z] ---> ed916aba1015 [2022-05-10T17:30:38.625Z] 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-05-10T17:30:38.625Z] ---> Running in 65e3cb027f36 [2022-05-10T17:30:38.888Z] Connecting to iotech.jfrog.io (54.75.147.88:443) [2022-05-10T17:30:39.461Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:30:39.461Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:30:39.461Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:30:39.461Z] Removing intermediate container 65e3cb027f36 [2022-05-10T17:30:39.461Z] ---> ac2908290db7 [2022-05-10T17:30:39.461Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:30:39.723Z] ---> Running in c7b71abe3548 [2022-05-10T17:30:40.294Z] Removing intermediate container c7b71abe3548 [2022-05-10T17:30:40.294Z] ---> 965d87a5d82a [2022-05-10T17:30:40.294Z] 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-05-10T17:30:40.294Z] ---> Running in a1b4e8bb4f82 [2022-05-10T17:30:40.556Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:41.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:41.761Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:30:42.023Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:30:42.023Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-05-10T17:30:42.285Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-10T17:30:42.285Z] (3/26) Installing util-linux (2.37.4-r0) [2022-05-10T17:30:42.285Z] (4/26) Installing libblkid (2.37.4-r0) [2022-05-10T17:30:42.547Z] (5/26) Installing libeconf (0.4.2-r0) [2022-05-10T17:30:42.547Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-05-10T17:30:42.808Z] (7/26) Installing libmount (2.37.4-r0) [2022-05-10T17:30:42.808Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-05-10T17:30:42.808Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-05-10T17:30:43.069Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-05-10T17:30:43.069Z] (11/26) Installing runuser (2.37.4-r0) [2022-05-10T17:30:43.332Z] (12/26) Installing hexdump (2.37.4-r0) [2022-05-10T17:30:43.332Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-05-10T17:30:43.332Z] (14/26) Installing blkid (2.37.4-r0) [2022-05-10T17:30:43.593Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-05-10T17:30:43.593Z] (16/26) Installing mcookie (2.37.4-r0) [2022-05-10T17:30:43.593Z] (17/26) Installing wipefs (2.37.4-r0) [2022-05-10T17:30:43.855Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-05-10T17:30:43.855Z] (19/26) Installing flock (2.37.4-r0) [2022-05-10T17:30:44.117Z] (20/26) Installing lsblk (2.37.4-r0) [2022-05-10T17:30:44.118Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-05-10T17:30:44.118Z] (22/26) Installing setpriv (2.37.4-r0) [2022-05-10T17:30:44.379Z] (23/26) Installing logger (2.37.4-r0) [2022-05-10T17:30:44.379Z] (24/26) Installing partx (2.37.4-r0) [2022-05-10T17:30:44.379Z] (25/26) Installing findmnt (2.37.4-r0) [2022-05-10T17:30:44.639Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-05-10T17:30:44.639Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:30:44.639Z] OK: 294 MiB in 109 packages [2022-05-10T17:30:45.211Z] Removing intermediate container a1b4e8bb4f82 [2022-05-10T17:30:45.211Z] ---> 3f642839d8ef [2022-05-10T17:30:45.212Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-05-10T17:30:45.471Z] ---> 1b9a9f6cff43 [2022-05-10T17:30:45.471Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-05-10T17:30:45.731Z] ---> 2fbeedd5500d [2022-05-10T17:30:45.731Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-05-10T17:30:45.731Z] ---> 41302c83b4ac [2022-05-10T17:30:45.731Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-05-10T17:30:45.999Z] ---> 030ef5fb99e4 [2022-05-10T17:30:45.999Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-05-10T17:30:46.259Z] ---> d7e679c48aa4 [2022-05-10T17:30:46.259Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-05-10T17:30:46.259Z] ---> 840b4a8a9e63 [2022-05-10T17:30:46.259Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-05-10T17:30:46.259Z] ---> Running in 3eb2fe7dbc83 [2022-05-10T17:30:46.519Z] Removing intermediate container 3eb2fe7dbc83 [2022-05-10T17:30:46.519Z] ---> 2566c326ba07 [2022-05-10T17:30:46.519Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-05-10T17:30:46.519Z] ---> Running in 595069c26c1d [2022-05-10T17:30:46.519Z] Removing intermediate container 595069c26c1d [2022-05-10T17:30:46.519Z] ---> 15e1e4e586c4 [2022-05-10T17:30:46.519Z] Step 15/17 : LABEL arch=amd64 [2022-05-10T17:30:46.520Z] ---> Running in a0d248f3aed9 [2022-05-10T17:30:46.780Z] Removing intermediate container a0d248f3aed9 [2022-05-10T17:30:46.780Z] ---> 4951a2c1da83 [2022-05-10T17:30:46.780Z] Step 16/17 : LABEL git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd [2022-05-10T17:30:46.780Z] ---> Running in 832df308c737 [2022-05-10T17:30:46.780Z] Removing intermediate container 832df308c737 [2022-05-10T17:30:46.780Z] ---> 67f7b7ad63bf [2022-05-10T17:30:46.780Z] Step 17/17 : LABEL version=2.2.0-dev.9 [2022-05-10T17:30:46.780Z] ---> Running in f4558de7a39e [2022-05-10T17:30:47.041Z] Removing intermediate container f4558de7a39e [2022-05-10T17:30:47.041Z] ---> 48a6db67b555 [2022-05-10T17:30:47.041Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-05-10T17:30:47.041Z] Successfully built 48a6db67b555 [2022-05-10T17:30:47.041Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:30:47.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:30:47.462Z] [2022-05-10T17:30:47.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:30:47.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:30:47.767Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T17:30:47.767Z] 5eb5b503b376: Pulling fs layer [2022-05-10T17:30:47.767Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T17:30:47.767Z] ec43610c2a17: Pulling fs layer [2022-05-10T17:30:47.767Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T17:30:47.767Z] 33b1e0a273af: Pulling fs layer [2022-05-10T17:30:47.767Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T17:30:47.767Z] 2f39f015ded8: Pulling fs layer [2022-05-10T17:30:47.767Z] 2f39f015ded8: Waiting [2022-05-10T17:30:47.767Z] 33b1e0a273af: Waiting [2022-05-10T17:30:47.767Z] 5d3b04190fa2: Waiting [2022-05-10T17:30:47.767Z] 3a2ae6a8a46f: Waiting [2022-05-10T17:30:47.767Z] 5c69ac0246d0: Download complete [2022-05-10T17:30:47.767Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T17:30:47.767Z] 3a2ae6a8a46f: Download complete [2022-05-10T17:30:47.767Z] ec43610c2a17: Verifying Checksum [2022-05-10T17:30:47.767Z] ec43610c2a17: Download complete [2022-05-10T17:30:48.026Z] 33b1e0a273af: Verifying Checksum [2022-05-10T17:30:48.026Z] 33b1e0a273af: Download complete [2022-05-10T17:30:48.026Z] 5d3b04190fa2: Download complete [2022-05-10T17:30:48.026Z] 5eb5b503b376: Verifying Checksum [2022-05-10T17:30:48.026Z] 5eb5b503b376: Download complete [2022-05-10T17:30:48.595Z] 2f39f015ded8: Verifying Checksum [2022-05-10T17:30:48.595Z] 2f39f015ded8: Download complete [2022-05-10T17:30:49.534Z] 5eb5b503b376: Pull complete [2022-05-10T17:30:49.534Z] 5c69ac0246d0: Pull complete [2022-05-10T17:30:50.106Z] ec43610c2a17: Pull complete [2022-05-10T17:30:50.365Z] 3a2ae6a8a46f: Pull complete [2022-05-10T17:30:50.626Z] 33b1e0a273af: Pull complete [2022-05-10T17:30:50.626Z] 5d3b04190fa2: Pull complete [2022-05-10T17:30:55.907Z] 2f39f015ded8: Pull complete [2022-05-10T17:30:55.907Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T17:30:55.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:30:55.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T17:30:55.985Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:30:56.029Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T17:30:58.060Z] $ docker top ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:30:58.455Z] ---> job-cost.sh [2022-05-10T17:30:58.455Z] lf-activate-venv: SKIPPING [2022-05-10T17:30:58.455Z] INFO: No Stack... [2022-05-10T17:30:58.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T17:30:59.291Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T17:30:59.590Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-05-10T17:30:59.591Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T17:30:59.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [2022-05-10T17:30:59.619Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] did not exist. Created. [2022-05-10T17:30:59.619Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T17:30:59.927Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T17:30:59.969Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T17:30:59.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T17:30:59.993Z] $ docker stop --time=1 ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 [2022-05-10T17:31:01.176Z] $ docker rm -f ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T17:33:08.228Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47806 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-05-10T17:33:08.242Z] Running in /w/workspace/device-sdk-c/25 [Pipeline] { [Pipeline] checkout [2022-05-10T17:33:08.584Z] Selected Git installation does not exist. Using Default [2022-05-10T17:33:08.584Z] The recommended git tool is: NONE [2022-05-10T17:33:15.623Z] using credential edgex-jenkins-ssh [2022-05-10T17:33:15.643Z] Cloning the remote Git repository [2022-05-10T17:33:15.722Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-05-10T17:33:15.808Z] > git init /w/workspace/device-sdk-c/25 # timeout=10 [2022-05-10T17:33:15.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-05-10T17:33:15.942Z] > git --version # timeout=10 [2022-05-10T17:33:15.981Z] > git --version # 'git version 2.25.1' [2022-05-10T17:33:15.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T17:33:16.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T17:33:17.277Z] Avoid second fetch [2022-05-10T17:33:17.277Z] Checking out Revision 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (main) [2022-05-10T17:33:17.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-05-10T17:33:17.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T17:33:17.306Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T17:33:17.320Z] > git checkout -f 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [2022-05-10T17:33:21.644Z] Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:33:22.501Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T17:33:22.501Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T17:33:22.501Z] Dload Upload Total Spent Left Speed [2022-05-10T17:33:22.501Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-05-10T17:33:23.026Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T17:33:23.374Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T17:33:23.374Z] + sudo tee /etc/docker/daemon.new [2022-05-10T17:33:23.374Z] { [2022-05-10T17:33:23.374Z] "registry-mirrors": [ [2022-05-10T17:33:23.374Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T17:33:23.374Z] ], [2022-05-10T17:33:23.374Z] "bip": "10.250.0.254/24", [2022-05-10T17:33:23.374Z] "hosts": [ [2022-05-10T17:33:23.374Z] "tcp://0.0.0.0:5555", [2022-05-10T17:33:23.374Z] "unix:///var/run/docker.sock" [2022-05-10T17:33:23.374Z] ], [2022-05-10T17:33:23.374Z] "mtu": 1458, [2022-05-10T17:33:23.374Z] "selinux-enabled": true, [2022-05-10T17:33:23.374Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T17:33:23.374Z] } [Pipeline] sh [2022-05-10T17:33:23.726Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T17:33:24.075Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:33:42.427Z] provisioning config files... [2022-05-10T17:33:42.450Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/25@tmp/config3452322780224971502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:33:42.816Z] ---> docker-login.sh [2022-05-10T17:33:42.816Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:33:43.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:33:43.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:33:43.684Z] Configure a credential helper to remove this warning. See [2022-05-10T17:33:43.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:33:43.684Z] [2022-05-10T17:33:43.684Z] Login Succeeded [2022-05-10T17:33:43.684Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:33:43.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:33:44.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:33:44.229Z] Configure a credential helper to remove this warning. See [2022-05-10T17:33:44.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:33:44.229Z] [2022-05-10T17:33:44.229Z] Login Succeeded [2022-05-10T17:33:44.229Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:33:44.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:33:44.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:33:44.502Z] Configure a credential helper to remove this warning. See [2022-05-10T17:33:44.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:33:44.502Z] [2022-05-10T17:33:44.502Z] Login Succeeded [2022-05-10T17:33:44.502Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:33:44.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:33:45.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:33:45.152Z] Configure a credential helper to remove this warning. See [2022-05-10T17:33:45.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:33:45.152Z] [2022-05-10T17:33:45.152Z] Login Succeeded [2022-05-10T17:33:45.152Z] docker.io [2022-05-10T17:33:45.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:33:46.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:33:46.034Z] Configure a credential helper to remove this warning. See [2022-05-10T17:33:46.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:33:46.034Z] [2022-05-10T17:33:46.034Z] Login Succeeded [2022-05-10T17:33:46.034Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:33:46.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T17:33:46.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:33:46.453Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-05-10T17:33:46.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:33:46.475Z] ========================================================= [2022-05-10T17:33:46.475Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-05-10T17:33:46.475Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:33:46.827Z] + 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-05-10T17:33:47.101Z] Sending build context to Docker daemon 2.743MB [2022-05-10T17:33:47.101Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-05-10T17:33:47.101Z] Step 2/22 : FROM ${BASE} as builder [2022-05-10T17:33:47.373Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-05-10T17:33:47.374Z] 9981e73032c8: Pulling fs layer [2022-05-10T17:33:47.374Z] 2a34a092ebf8: Pulling fs layer [2022-05-10T17:33:47.374Z] 1928f2f5eed1: Pulling fs layer [2022-05-10T17:33:47.374Z] 2a34a092ebf8: Verifying Checksum [2022-05-10T17:33:47.374Z] 2a34a092ebf8: Download complete [2022-05-10T17:33:47.647Z] 9981e73032c8: Verifying Checksum [2022-05-10T17:33:47.647Z] 9981e73032c8: Download complete [2022-05-10T17:33:48.245Z] 9981e73032c8: Pull complete [2022-05-10T17:33:48.245Z] 2a34a092ebf8: Pull complete [2022-05-10T17:33:49.678Z] 1928f2f5eed1: Verifying Checksum [2022-05-10T17:33:49.678Z] 1928f2f5eed1: Download complete [2022-05-10T17:33:57.959Z] 1928f2f5eed1: Pull complete [2022-05-10T17:33:57.959Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-05-10T17:33:57.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-05-10T17:33:57.959Z] ---> cad489bbaf40 [2022-05-10T17:33:57.959Z] 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-05-10T17:33:57.959Z] ---> Running in b41bddfa609d [2022-05-10T17:33:58.934Z] Connecting to iotech.jfrog.io (54.75.147.88:443) [2022-05-10T17:33:59.529Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:33:59.529Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:33:59.529Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:34:00.124Z] Removing intermediate container b41bddfa609d [2022-05-10T17:34:00.124Z] ---> 0690935efd17 [2022-05-10T17:34:00.124Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:34:00.124Z] ---> Running in 54af067f74df [2022-05-10T17:34:02.096Z] Removing intermediate container 54af067f74df [2022-05-10T17:34:02.096Z] ---> 58e33cbf7ffd [2022-05-10T17:34:02.096Z] 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-05-10T17:34:02.096Z] ---> Running in 36c21889c7a0 [2022-05-10T17:34:02.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:34:03.671Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:34:04.272Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:34:04.869Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:34:04.869Z] (1/31) Installing hiredis (1.0.2-r0) [2022-05-10T17:34:05.140Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-05-10T17:34:05.140Z] (3/31) Installing libcbor (0.8.0-r0) [2022-05-10T17:34:05.140Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-05-10T17:34:05.411Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-10T17:34:05.411Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-10T17:34:06.384Z] (7/31) Installing util-linux (2.37.4-r0) [2022-05-10T17:34:06.384Z] (8/31) Installing libblkid (2.37.4-r0) [2022-05-10T17:34:06.655Z] (9/31) Installing libeconf (0.4.2-r0) [2022-05-10T17:34:06.655Z] (10/31) Installing libuuid (2.37.4-r0) [2022-05-10T17:34:06.925Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-05-10T17:34:06.925Z] (12/31) Installing libmount (2.37.4-r0) [2022-05-10T17:34:06.925Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-05-10T17:34:07.196Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-05-10T17:34:07.466Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-05-10T17:34:07.466Z] (16/31) Installing runuser (2.37.4-r0) [2022-05-10T17:34:07.736Z] (17/31) Installing hexdump (2.37.4-r0) [2022-05-10T17:34:07.736Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-05-10T17:34:07.736Z] (19/31) Installing blkid (2.37.4-r0) [2022-05-10T17:34:08.008Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-05-10T17:34:08.008Z] (21/31) Installing mcookie (2.37.4-r0) [2022-05-10T17:34:08.008Z] (22/31) Installing wipefs (2.37.4-r0) [2022-05-10T17:34:08.278Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-05-10T17:34:08.278Z] (24/31) Installing flock (2.37.4-r0) [2022-05-10T17:34:08.278Z] (25/31) Installing lsblk (2.37.4-r0) [2022-05-10T17:34:08.547Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-05-10T17:34:08.547Z] (27/31) Installing setpriv (2.37.4-r0) [2022-05-10T17:34:08.547Z] (28/31) Installing logger (2.37.4-r0) [2022-05-10T17:34:08.816Z] (29/31) Installing partx (2.37.4-r0) [2022-05-10T17:34:08.816Z] (30/31) Installing findmnt (2.37.4-r0) [2022-05-10T17:34:08.816Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-05-10T17:34:09.088Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:34:09.088Z] OK: 289 MiB in 108 packages [2022-05-10T17:34:10.522Z] Removing intermediate container 36c21889c7a0 [2022-05-10T17:34:10.522Z] ---> e32428b4460a [2022-05-10T17:34:10.522Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-05-10T17:34:10.522Z] ---> Running in 94d5d58d1868 [2022-05-10T17:34:11.963Z] Removing intermediate container 94d5d58d1868 [2022-05-10T17:34:11.963Z] ---> 31a3405e7ab0 [2022-05-10T17:34:11.963Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-05-10T17:34:12.558Z] ---> 9683e21ae4f1 [2022-05-10T17:34:12.558Z] Step 8/22 : COPY src /tmp/sdk/src [2022-05-10T17:34:13.533Z] ---> 34f3ea541da6 [2022-05-10T17:34:13.533Z] Step 9/22 : COPY include /tmp/sdk/include [2022-05-10T17:34:13.807Z] ---> 637d71e8bcb3 [2022-05-10T17:34:13.807Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-05-10T17:34:14.419Z] ---> d9b19add0331 [2022-05-10T17:34:14.419Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-05-10T17:34:15.009Z] ---> 6137f4acf2ec [2022-05-10T17:34:15.009Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-05-10T17:34:15.604Z] ---> d68af52baa82 [2022-05-10T17:34:15.604Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-05-10T17:34:15.604Z] ---> Running in ac52480a067c [2022-05-10T17:34:16.573Z] + CPPCHECK=false [2022-05-10T17:34:16.573Z] + DOCGEN=false [2022-05-10T17:34:16.573Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-05-10T17:34:16.573Z] + TOMLVER=SDK-0.2 [2022-05-10T17:34:16.573Z] + CUTILVER=1.2.2 [2022-05-10T17:34:16.573Z] + '[' 0 -gt 0 ] [2022-05-10T17:34:16.573Z] + readlink -f ./scripts/build.sh [2022-05-10T17:34:16.573Z] + dirname /tmp/sdk/scripts/build.sh [2022-05-10T17:34:16.573Z] + dirname /tmp/sdk/scripts [2022-05-10T17:34:16.573Z] + ROOT=/tmp/sdk [2022-05-10T17:34:16.573Z] + cd /tmp/sdk [2022-05-10T17:34:16.573Z] + '[' '!' -d deps ] [2022-05-10T17:34:16.573Z] + mkdir deps [2022-05-10T17:34:16.573Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-05-10T17:34:16.573Z] + tar -C deps -z -x -f - [2022-05-10T17:34:16.573Z] Connecting to github.com (140.82.113.4:443) [2022-05-10T17:34:16.844Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-05-10T17:34:17.124Z] writing to stdout [2022-05-10T17:34:17.124Z] - 100% |********************************| 16451 0:00:00 ETA [2022-05-10T17:34:17.124Z] written to stdout [2022-05-10T17:34:17.124Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-05-10T17:34:17.124Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-05-10T17:34:17.124Z] + tar -C deps -z -x -f - [2022-05-10T17:34:17.124Z] Connecting to github.com (140.82.113.4:443) [2022-05-10T17:34:17.409Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-05-10T17:34:17.409Z] writing to stdout [2022-05-10T17:34:17.684Z] - 100% |********************************| 189k 0:00:00 ETA [2022-05-10T17:34:17.684Z] written to stdout [2022-05-10T17:34:17.684Z] + mkdir -p src/c/iot [2022-05-10T17:34:17.684Z] + 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-05-10T17:34:17.684Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-05-10T17:34:17.684Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-05-10T17:34:17.684Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-05-10T17:34:17.684Z] + mkdir -p include/iot [2022-05-10T17:34:17.685Z] + 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-05-10T17:34:17.685Z] + mkdir -p include/iot/os [2022-05-10T17:34:17.685Z] + 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-05-10T17:34:17.685Z] + mkdir -p /tmp/sdk/build/release [2022-05-10T17:34:17.685Z] + cd /tmp/sdk/build/release [2022-05-10T17:34:17.685Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-05-10T17:34:17.959Z] -- The C compiler identification is GNU 10.3.1 [2022-05-10T17:34:18.244Z] -- Detecting C compiler ABI info [2022-05-10T17:34:18.520Z] -- Detecting C compiler ABI info - done [2022-05-10T17:34:18.796Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-10T17:34:18.796Z] -- Detecting C compile features [2022-05-10T17:34:18.796Z] -- Detecting C compile features - done [2022-05-10T17:34:18.796Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-10T17:34:18.796Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-10T17:34:19.075Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-10T17:34:19.075Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-10T17:34:19.075Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-10T17:34:19.075Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-10T17:34:19.075Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-10T17:34:19.075Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-10T17:34:19.075Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-10T17:34:19.351Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-10T17:34:19.625Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-10T17:34:19.625Z] -- Configuring done [2022-05-10T17:34:19.898Z] -- Generating done [2022-05-10T17:34:19.898Z] -- Build files have been written to: /tmp/sdk/build/release [2022-05-10T17:34:20.184Z] + make all package [2022-05-10T17:34:20.185Z] + tee release.log [2022-05-10T17:34:20.185Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-10T17:34:21.162Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-10T17:34:21.759Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-10T17:34:25.158Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-10T17:34:25.749Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-10T17:34:26.021Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-10T17:34:27.446Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-10T17:34:28.039Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-10T17:34:28.313Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-10T17:34:30.274Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-10T17:34:32.883Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-10T17:34:33.153Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-10T17:34:34.127Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-10T17:34:35.106Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-10T17:34:35.379Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-10T17:34:35.652Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-10T17:34:36.244Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-10T17:34:40.537Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-10T17:34:40.537Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-10T17:34:40.808Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-10T17:34:41.079Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-10T17:34:42.053Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-10T17:34:42.053Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-10T17:34:42.053Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-10T17:34:42.053Z] 275 | const iot_component_factory_t * factory; [2022-05-10T17:34:42.053Z] | ^~~~~~~ [2022-05-10T17:34:43.025Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-10T17:34:48.414Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-10T17:34:48.687Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-10T17:34:48.961Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-10T17:34:49.938Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-10T17:34:50.535Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-10T17:34:50.807Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-10T17:34:52.242Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-10T17:34:52.516Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-10T17:34:53.956Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-10T17:34:54.230Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-10T17:34:54.824Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-10T17:34:57.437Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-10T17:34:58.418Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-10T17:34:59.856Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-10T17:35:00.130Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-10T17:35:05.539Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-10T17:35:06.517Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-10T17:35:07.113Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-10T17:35:07.713Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-10T17:35:07.987Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-10T17:35:07.987Z] | ^~~~~~~~~~~~~ [2022-05-10T17:35:07.987Z] | | [2022-05-10T17:35:07.987Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-10T17:35:07.987Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-10T17:35:07.987Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-10T17:35:07.987Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-10T17:35:07.987Z] | ^~~~~~~~~~~~ [2022-05-10T17:35:07.987Z] | | [2022-05-10T17:35:07.987Z] | 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-05-10T17:35:07.987Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:35:07.987Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-10T17:35:07.987Z] | ^~~~~~~~~~~~ [2022-05-10T17:35:07.987Z] | | [2022-05-10T17:35:07.987Z] | 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-05-10T17:35:07.987Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:07.987Z] /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-05-10T17:35:07.987Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:35:07.987Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:35:09.420Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-10T17:35:12.818Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-10T17:35:12.818Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-10T17:35:13.413Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-10T17:35:14.010Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-10T17:35:17.390Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-10T17:35:22.781Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-10T17:35:23.377Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-10T17:35:23.977Z] [ 76%] Linking C shared library libcsdk.so [2022-05-10T17:35:24.250Z] [ 76%] Built target csdk [2022-05-10T17:35:24.250Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-10T17:35:25.226Z] [ 79%] Linking C executable template [2022-05-10T17:35:25.498Z] [ 79%] Built target template [2022-05-10T17:35:25.498Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-10T17:35:26.092Z] [ 82%] Linking C executable device-counter [2022-05-10T17:35:26.691Z] [ 82%] Built target device-counter [2022-05-10T17:35:26.691Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-10T17:35:27.288Z] [ 85%] Linking C executable device-random [2022-05-10T17:35:27.561Z] [ 85%] Built target device-random [2022-05-10T17:35:27.561Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-10T17:35:28.155Z] [ 88%] Linking C executable device-gyro [2022-05-10T17:35:28.440Z] [ 88%] Built target device-gyro [2022-05-10T17:35:28.440Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-10T17:35:29.049Z] [ 91%] Linking C executable device-bitfields [2022-05-10T17:35:29.323Z] [ 91%] Built target device-bitfields [2022-05-10T17:35:29.323Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-10T17:35:30.755Z] [ 94%] Linking C executable template-discovery [2022-05-10T17:35:30.755Z] [ 94%] Built target template-discovery [2022-05-10T17:35:30.755Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-10T17:35:31.735Z] [ 97%] Linking C executable device-file [2022-05-10T17:35:32.008Z] [ 97%] Built target device-file [2022-05-10T17:35:32.008Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-10T17:35:32.603Z] [100%] Linking C executable device-terminal [2022-05-10T17:35:32.878Z] [100%] Built target device-terminal [2022-05-10T17:35:32.878Z] Run CPack packaging tool... [2022-05-10T17:35:33.151Z] CPack: Create package using TGZ [2022-05-10T17:35:33.151Z] CPack: Install projects [2022-05-10T17:35:33.151Z] CPack: - Run preinstall target for: Csdk [2022-05-10T17:35:33.748Z] CPack: - Install project: Csdk [] [2022-05-10T17:35:33.748Z] CPack: Create package [2022-05-10T17:35:34.019Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.9.tar.gz generated. [2022-05-10T17:35:34.019Z] + '[' false '=' true ] [2022-05-10T17:35:34.019Z] + '[' false '=' true ] [2022-05-10T17:35:34.019Z] + mkdir -p /tmp/sdk/build/debug [2022-05-10T17:35:34.019Z] + cd /tmp/sdk/build/debug [2022-05-10T17:35:34.019Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-05-10T17:35:34.294Z] -- The C compiler identification is GNU 10.3.1 [2022-05-10T17:35:34.294Z] -- Detecting C compiler ABI info [2022-05-10T17:35:34.567Z] -- Detecting C compiler ABI info - done [2022-05-10T17:35:34.567Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-10T17:35:34.567Z] -- Detecting C compile features [2022-05-10T17:35:34.843Z] -- Detecting C compile features - done [2022-05-10T17:35:34.843Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-10T17:35:34.843Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-10T17:35:34.843Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-10T17:35:34.843Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-10T17:35:34.843Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-10T17:35:35.116Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-10T17:35:35.117Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-10T17:35:35.117Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-10T17:35:35.117Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-10T17:35:35.392Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-10T17:35:35.392Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-10T17:35:35.667Z] -- Configuring done [2022-05-10T17:35:35.939Z] -- Generating done [2022-05-10T17:35:35.939Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-05-10T17:35:35.939Z] + make [2022-05-10T17:35:35.939Z] + tee debug.log [2022-05-10T17:35:36.214Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-10T17:35:36.489Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-10T17:35:37.086Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-10T17:35:38.069Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-10T17:35:38.341Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-10T17:35:38.615Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-10T17:35:39.212Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-10T17:35:39.487Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-10T17:35:39.760Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-10T17:35:40.356Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-10T17:35:41.330Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-10T17:35:41.605Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-10T17:35:42.204Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-10T17:35:42.480Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-10T17:35:43.075Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-10T17:35:43.075Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-10T17:35:43.349Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-10T17:35:44.780Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-10T17:35:44.780Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-10T17:35:45.054Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-10T17:35:45.329Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-10T17:35:45.607Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-10T17:35:45.883Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-10T17:35:45.883Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-10T17:35:45.883Z] 275 | const iot_component_factory_t * factory; [2022-05-10T17:35:45.883Z] | ^~~~~~~ [2022-05-10T17:35:46.156Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-10T17:35:47.593Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-10T17:35:47.868Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-10T17:35:48.142Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-10T17:35:48.417Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-10T17:35:49.016Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-10T17:35:49.016Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-10T17:35:49.625Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-10T17:35:49.625Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-10T17:35:50.223Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-10T17:35:50.498Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-10T17:35:50.774Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-10T17:35:51.372Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-10T17:35:51.372Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-10T17:35:51.972Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-10T17:35:52.570Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-10T17:35:53.555Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-10T17:35:54.156Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-10T17:35:54.432Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-10T17:35:54.709Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-10T17:35:54.983Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-10T17:35:54.984Z] | ^~~~~~~~~~~~~ [2022-05-10T17:35:54.984Z] | | [2022-05-10T17:35:54.984Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-10T17:35:54.984Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-10T17:35:54.984Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-10T17:35:54.984Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-10T17:35:54.984Z] | ^~~~~~~~~~~~ [2022-05-10T17:35:54.984Z] | | [2022-05-10T17:35:54.984Z] | 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-05-10T17:35:54.984Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:35:54.984Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-10T17:35:54.984Z] | ^~~~~~~~~~~~ [2022-05-10T17:35:54.984Z] | | [2022-05-10T17:35:54.984Z] | 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-05-10T17:35:54.984Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-10T17:35:54.984Z] /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-05-10T17:35:54.984Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-10T17:35:54.984Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-10T17:35:55.259Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-10T17:35:57.248Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-10T17:35:57.248Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-10T17:35:57.847Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-10T17:35:58.123Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-10T17:35:59.099Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-10T17:35:59.697Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-10T17:35:59.972Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-10T17:36:00.248Z] [ 76%] Linking C shared library libcsdk.so [2022-05-10T17:36:00.524Z] [ 76%] Built target csdk [2022-05-10T17:36:00.797Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-10T17:36:01.072Z] [ 79%] Linking C executable template [2022-05-10T17:36:01.346Z] [ 79%] Built target template [2022-05-10T17:36:01.346Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-10T17:36:01.622Z] [ 82%] Linking C executable device-counter [2022-05-10T17:36:01.897Z] [ 82%] Built target device-counter [2022-05-10T17:36:02.170Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-10T17:36:02.452Z] [ 85%] Linking C executable device-random [2022-05-10T17:36:02.730Z] [ 85%] Built target device-random [2022-05-10T17:36:02.730Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-10T17:36:03.004Z] [ 88%] Linking C executable device-gyro [2022-05-10T17:36:03.279Z] [ 88%] Built target device-gyro [2022-05-10T17:36:03.279Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-10T17:36:03.553Z] [ 91%] Linking C executable device-bitfields [2022-05-10T17:36:03.827Z] [ 91%] Built target device-bitfields [2022-05-10T17:36:03.827Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-10T17:36:04.443Z] [ 94%] Linking C executable template-discovery [2022-05-10T17:36:04.716Z] [ 94%] Built target template-discovery [2022-05-10T17:36:04.717Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-10T17:36:04.992Z] [ 97%] Linking C executable device-file [2022-05-10T17:36:05.270Z] [ 97%] Built target device-file [2022-05-10T17:36:05.544Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-10T17:36:05.820Z] [100%] Linking C executable device-terminal [2022-05-10T17:36:06.416Z] [100%] Built target device-terminal [2022-05-10T17:36:06.416Z] make: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.416Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.416Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.416Z] [ 76%] Built target csdk [2022-05-10T17:36:06.416Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.416Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] [ 79%] Built target template [2022-05-10T17:36:06.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] [ 82%] Built target device-counter [2022-05-10T17:36:06.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] [ 85%] Built target device-random [2022-05-10T17:36:06.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] [ 88%] Built target device-gyro [2022-05-10T17:36:06.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] [ 91%] Built target device-bitfields [2022-05-10T17:36:06.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] [ 94%] Built target template-discovery [2022-05-10T17:36:06.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] [ 97%] Built target device-file [2022-05-10T17:36:06.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] [100%] Built target device-terminal [2022-05-10T17:36:06.965Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:06.965Z] Install the project... [2022-05-10T17:36:06.965Z] -- Install configuration: "Release" [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/lib/libcsdk.so [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/devsdk [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/devices.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/defs.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/time.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/base64.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/component.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/config.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/container.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/uuid.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/os.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/thread.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/data.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/typecode.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/hash.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/logger.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/os [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/json.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/include/iot/iot.h [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-05-10T17:36:06.965Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-05-10T17:36:06.965Z] make: Leaving directory '/tmp/sdk/build/release' [2022-05-10T17:36:08.950Z] Removing intermediate container ac52480a067c [2022-05-10T17:36:08.950Z] ---> 9c57ff250c72 [2022-05-10T17:36:08.950Z] Step 14/22 : FROM ${BASE} [2022-05-10T17:36:08.950Z] ---> cad489bbaf40 [2022-05-10T17:36:08.950Z] Step 15/22 : LABEL maintainer="IOTech " [2022-05-10T17:36:08.950Z] ---> Running in 38b368adb5f6 [2022-05-10T17:36:09.226Z] Removing intermediate container 38b368adb5f6 [2022-05-10T17:36:09.226Z] ---> f1ec00179df0 [2022-05-10T17:36:09.226Z] 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-05-10T17:36:09.226Z] ---> Running in 035cfa439e9d [2022-05-10T17:36:10.669Z] Connecting to iotech.jfrog.io (54.75.147.88:443) [2022-05-10T17:36:10.944Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:36:10.944Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:36:10.944Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:36:11.547Z] Removing intermediate container 035cfa439e9d [2022-05-10T17:36:11.547Z] ---> f1b4ed38428d [2022-05-10T17:36:11.547Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:36:11.547Z] ---> Running in a0ce0046869d [2022-05-10T17:36:13.528Z] Removing intermediate container a0ce0046869d [2022-05-10T17:36:13.528Z] ---> 76f91956860e [2022-05-10T17:36:13.528Z] 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-05-10T17:36:13.528Z] ---> Running in d58d766c8b62 [2022-05-10T17:36:14.510Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:15.109Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:15.708Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:16.691Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:36:16.691Z] (1/6) Installing curl (7.80.0-r1) [2022-05-10T17:36:16.691Z] (2/6) Installing hiredis (1.0.2-r0) [2022-05-10T17:36:16.691Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-05-10T17:36:16.966Z] (4/6) Installing libcbor (0.8.0-r0) [2022-05-10T17:36:16.966Z] (5/6) Installing libuuid (2.37.4-r0) [2022-05-10T17:36:16.966Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-10T17:36:17.948Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:36:17.948Z] OK: 278 MiB in 83 packages [2022-05-10T17:36:18.941Z] Removing intermediate container d58d766c8b62 [2022-05-10T17:36:18.941Z] ---> 8cee727adf3b [2022-05-10T17:36:18.941Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-05-10T17:36:19.540Z] ---> 7fb4f99f161c [2022-05-10T17:36:19.540Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-05-10T17:36:20.136Z] ---> 25f6e47c6dd4 [2022-05-10T17:36:20.136Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-05-10T17:36:20.740Z] ---> 4e0419016325 [2022-05-10T17:36:20.740Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-05-10T17:36:21.015Z] ---> c72cc9038905 [2022-05-10T17:36:21.288Z] Successfully built c72cc9038905 [2022-05-10T17:36:21.288Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:36:21.698Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T17:36:21.698Z] . [Pipeline] withDockerContainer [2022-05-10T17:36:21.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-47806 does not seem to be running inside a container [2022-05-10T17:36:22.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/25 -v /w/workspace/device-sdk-c/25:/w/workspace/device-sdk-c/25:rw,z -v /w/workspace/device-sdk-c/25@tmp:/w/workspace/device-sdk-c/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T17:36:23.360Z] $ docker top 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:36:24.289Z] + make test [2022-05-10T17:36:24.289Z] echo "make test" [2022-05-10T17:36:24.289Z] make test [Pipeline] } [2022-05-10T17:36:24.328Z] $ docker stop --time=1 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 [2022-05-10T17:36:25.969Z] $ docker rm -f 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:36:26.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T17:36:26.920Z] + ls -al . [2022-05-10T17:36:26.920Z] total 204 [2022-05-10T17:36:26.920Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:33 . [2022-05-10T17:36:26.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 .. [2022-05-10T17:36:26.920Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:33 .git [2022-05-10T17:36:26.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 .github [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 176 May 10 17:33 .gitignore [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 10 17:33 Attribution.txt [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 8321 May 10 17:33 CHANGES [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 10 17:33 Doxyfile [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:33 GOVERNANCE.md [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 784 May 10 17:33 Jenkinsfile [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:33 LICENSE [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 444 May 10 17:33 Makefile [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:33 OWNERS.md [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 4086 May 10 17:33 README.md [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 7422 May 10 17:33 README.v2.md [2022-05-10T17:36:26.920Z] -rw-rw-r-- 1 jenkins jenkins 11 May 10 17:29 VERSION [2022-05-10T17:36:26.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 docs [2022-05-10T17:36:26.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 include [2022-05-10T17:36:26.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 scripts [2022-05-10T17:36:26.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 src [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:36:27.270Z] + 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=14bdc31d8719d1e6f8ec06114e1723900e8aedcd --label arch=arm64 --label version=2.2.0-dev.9 . [2022-05-10T17:36:27.545Z] Sending build context to Docker daemon 2.743MB [2022-05-10T17:36:27.820Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-05-10T17:36:27.820Z] Step 2/17 : FROM ${BASE} [2022-05-10T17:36:27.820Z] ---> c72cc9038905 [2022-05-10T17:36:27.820Z] Step 3/17 : LABEL maintainer="IOTech " [2022-05-10T17:36:27.820Z] ---> Running in 7dfb7b0640f7 [2022-05-10T17:36:28.108Z] Removing intermediate container 7dfb7b0640f7 [2022-05-10T17:36:28.108Z] ---> fdd9efab038e [2022-05-10T17:36:28.108Z] 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-05-10T17:36:28.108Z] ---> Running in 0c167ee56721 [2022-05-10T17:36:29.093Z] Connecting to iotech.jfrog.io (34.250.90.209:443) [2022-05-10T17:36:29.691Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-10T17:36:29.691Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-10T17:36:29.691Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-10T17:36:30.291Z] Removing intermediate container 0c167ee56721 [2022-05-10T17:36:30.291Z] ---> 37f7a1b378c4 [2022-05-10T17:36:30.291Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-10T17:36:30.291Z] ---> Running in 21f90062684a [2022-05-10T17:36:32.273Z] Removing intermediate container 21f90062684a [2022-05-10T17:36:32.273Z] ---> 3c320cf43c31 [2022-05-10T17:36:32.273Z] 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-05-10T17:36:32.273Z] ---> Running in edaf23f908f9 [2022-05-10T17:36:32.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:33.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:34.445Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:36:35.037Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-10T17:36:35.312Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-05-10T17:36:35.312Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-10T17:36:35.312Z] (3/26) Installing util-linux (2.37.4-r0) [2022-05-10T17:36:35.584Z] (4/26) Installing libblkid (2.37.4-r0) [2022-05-10T17:36:35.584Z] (5/26) Installing libeconf (0.4.2-r0) [2022-05-10T17:36:35.859Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-05-10T17:36:35.859Z] (7/26) Installing libmount (2.37.4-r0) [2022-05-10T17:36:35.859Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-05-10T17:36:36.132Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-05-10T17:36:36.405Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-05-10T17:36:36.405Z] (11/26) Installing runuser (2.37.4-r0) [2022-05-10T17:36:36.679Z] (12/26) Installing hexdump (2.37.4-r0) [2022-05-10T17:36:36.679Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-05-10T17:36:36.679Z] (14/26) Installing blkid (2.37.4-r0) [2022-05-10T17:36:36.952Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-05-10T17:36:36.952Z] (16/26) Installing mcookie (2.37.4-r0) [2022-05-10T17:36:36.952Z] (17/26) Installing wipefs (2.37.4-r0) [2022-05-10T17:36:37.228Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-05-10T17:36:37.228Z] (19/26) Installing flock (2.37.4-r0) [2022-05-10T17:36:37.228Z] (20/26) Installing lsblk (2.37.4-r0) [2022-05-10T17:36:37.505Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-05-10T17:36:37.505Z] (22/26) Installing setpriv (2.37.4-r0) [2022-05-10T17:36:37.505Z] (23/26) Installing logger (2.37.4-r0) [2022-05-10T17:36:37.505Z] (24/26) Installing partx (2.37.4-r0) [2022-05-10T17:36:37.779Z] (25/26) Installing findmnt (2.37.4-r0) [2022-05-10T17:36:37.779Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-05-10T17:36:38.056Z] Executing busybox-1.34.1-r5.trigger [2022-05-10T17:36:38.056Z] OK: 290 MiB in 109 packages [2022-05-10T17:36:39.500Z] Removing intermediate container edaf23f908f9 [2022-05-10T17:36:39.500Z] ---> 6ff5a141f50c [2022-05-10T17:36:39.500Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-05-10T17:36:40.104Z] ---> 659f42900ab6 [2022-05-10T17:36:40.104Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-05-10T17:36:41.094Z] ---> 83b34e04eb86 [2022-05-10T17:36:41.094Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-05-10T17:36:41.370Z] ---> 564637e90be2 [2022-05-10T17:36:41.370Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-05-10T17:36:41.969Z] ---> 3fb84706e09d [2022-05-10T17:36:41.969Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-05-10T17:36:42.568Z] ---> abfc1b0093ae [2022-05-10T17:36:42.568Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-05-10T17:36:43.167Z] ---> 2b150587474d [2022-05-10T17:36:43.167Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-05-10T17:36:43.167Z] ---> Running in b80a11f98a30 [2022-05-10T17:36:43.445Z] Removing intermediate container b80a11f98a30 [2022-05-10T17:36:43.445Z] ---> 003ffe0a98e4 [2022-05-10T17:36:43.445Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-05-10T17:36:43.720Z] ---> Running in 708e58ad92d9 [2022-05-10T17:36:43.996Z] Removing intermediate container 708e58ad92d9 [2022-05-10T17:36:43.996Z] ---> 9522b8ec3c56 [2022-05-10T17:36:43.996Z] Step 15/17 : LABEL arch=arm64 [2022-05-10T17:36:43.996Z] ---> Running in 26239617bae8 [2022-05-10T17:36:44.272Z] Removing intermediate container 26239617bae8 [2022-05-10T17:36:44.272Z] ---> 347c5c5fd913 [2022-05-10T17:36:44.272Z] Step 16/17 : LABEL git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd [2022-05-10T17:36:44.547Z] ---> Running in cd5be983d40b [2022-05-10T17:36:44.824Z] Removing intermediate container cd5be983d40b [2022-05-10T17:36:44.824Z] ---> 042f5ceacf8d [2022-05-10T17:36:44.824Z] Step 17/17 : LABEL version=2.2.0-dev.9 [2022-05-10T17:36:44.824Z] ---> Running in 4bf2910839b4 [2022-05-10T17:36:45.096Z] Removing intermediate container 4bf2910839b4 [2022-05-10T17:36:45.096Z] ---> 336f304ef65f [2022-05-10T17:36:45.097Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-05-10T17:36:45.097Z] Successfully built 336f304ef65f [2022-05-10T17:36:45.097Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:36:45.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:36:45.519Z] [2022-05-10T17:36:45.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:36:45.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:36:46.147Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T17:36:46.147Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T17:36:46.147Z] 04944245beec: Pulling fs layer [2022-05-10T17:36:46.147Z] 699f458cf7ca: Pulling fs layer [2022-05-10T17:36:46.147Z] 765212b225bb: Pulling fs layer [2022-05-10T17:36:46.147Z] f23df028b6ca: Pulling fs layer [2022-05-10T17:36:46.147Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T17:36:46.147Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T17:36:46.147Z] 765212b225bb: Waiting [2022-05-10T17:36:46.147Z] f23df028b6ca: Waiting [2022-05-10T17:36:46.147Z] d65c8cfc05b1: Waiting [2022-05-10T17:36:46.147Z] 2437ff75d9bd: Waiting [2022-05-10T17:36:46.147Z] 04944245beec: Verifying Checksum [2022-05-10T17:36:46.147Z] 04944245beec: Download complete [2022-05-10T17:36:46.147Z] 765212b225bb: Verifying Checksum [2022-05-10T17:36:46.147Z] 765212b225bb: Download complete [2022-05-10T17:36:46.147Z] f23df028b6ca: Download complete [2022-05-10T17:36:46.423Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T17:36:46.423Z] d65c8cfc05b1: Download complete [2022-05-10T17:36:46.423Z] 699f458cf7ca: Verifying Checksum [2022-05-10T17:36:46.423Z] 699f458cf7ca: Download complete [2022-05-10T17:36:46.702Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T17:36:46.702Z] 8998bd30e6a1: Download complete [2022-05-10T17:36:49.353Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T17:36:49.353Z] 2437ff75d9bd: Download complete [2022-05-10T17:36:51.334Z] 8998bd30e6a1: Pull complete [2022-05-10T17:36:51.608Z] 04944245beec: Pull complete [2022-05-10T17:36:53.048Z] 699f458cf7ca: Pull complete [2022-05-10T17:36:53.323Z] 765212b225bb: Pull complete [2022-05-10T17:36:54.309Z] f23df028b6ca: Pull complete [2022-05-10T17:36:54.588Z] d65c8cfc05b1: Pull complete [2022-05-10T17:37:13.032Z] 2437ff75d9bd: Pull complete [2022-05-10T17:37:13.032Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T17:37:13.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:37:13.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T17:37:13.293Z] prd-ubuntu20.04-docker-arm64-4c-16g-47806 does not seem to be running inside a container [2022-05-10T17:37:13.404Z] $ 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/25 -v /w/workspace/device-sdk-c/25:/w/workspace/device-sdk-c/25:rw,z -v /w/workspace/device-sdk-c/25@tmp:/w/workspace/device-sdk-c/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T17:37:16.160Z] $ docker top 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:17.139Z] ---> job-cost.sh [2022-05-10T17:37:17.139Z] lf-activate-venv: SKIPPING [2022-05-10T17:37:17.139Z] INFO: No Stack... [2022-05-10T17:37:17.738Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T17:37:18.741Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T17:37:19.406Z] + cat /w/workspace/device-sdk-c/25/archives/cost.csv [2022-05-10T17:37:19.406Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T17:37:19.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [2022-05-10T17:37:19.493Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] did not exist. Created. [2022-05-10T17:37:19.493Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T17:37:20.167Z] /w/workspace/device-sdk-c/25@tmp/durable-fba51bde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T17:37:20.848Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T17:37:20.874Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T17:37:21.343Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T17:37:21.353Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T17:37:21.388Z] $ docker stop --time=1 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 [2022-05-10T17:37:22.887Z] $ docker rm -f 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 [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-05-10T17:37:23.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:37:23.587Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:23.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:37:23.890Z] . [Pipeline] withDockerContainer [2022-05-10T17:37:23.963Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:37:24.004Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:37:24.400Z] $ docker top 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T17:37:24.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:37:24.503Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:37:24.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:37:24.640Z] $ docker exec 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd ssh-agent [2022-05-10T17:37:24.779Z] SSH_AUTH_SOCK=/tmp/ssh-0roGPQ99RNzx/agent.33 [2022-05-10T17:37:24.779Z] SSH_AGENT_PID=39 [2022-05-10T17:37:24.785Z] Running ssh-add (command line suppressed) [2022-05-10T17:37:24.907Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6296994752751047680.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6296994752751047680.key) [2022-05-10T17:37:24.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:37:25.216Z] + git semver tag [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,406 [run_tag] DEBUG tag force:False [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,406 [check_head_tag] DEBUG check head tag [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,407 [execute] INFO git cat-file --batch-check [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,411 [execute] INFO git cat-file --batch [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,424 [execute] INFO git tag -a v2.2.0-dev.9 -m v2.2.0-dev.9 [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,424 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.9', '-m', 'v2.2.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T17:37:25.477Z] 2022-05-10 17:37:25,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:25.477Z] 2.2.0-dev.9 [Pipeline] } [2022-05-10T17:37:25.491Z] $ docker exec --env ******** --env ******** 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd ssh-agent -k [2022-05-10T17:37:25.613Z] unset SSH_AUTH_SOCK; [2022-05-10T17:37:25.614Z] unset SSH_AGENT_PID; [2022-05-10T17:37:25.614Z] echo Agent pid 39 killed; [2022-05-10T17:37:25.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:37:25.925Z] + git semver [Pipeline] } [2022-05-10T17:37:26.207Z] $ docker stop --time=1 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd [2022-05-10T17:37:27.525Z] $ docker rm -f 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:27.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:37:27.921Z] [2022-05-10T17:37:27.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:28.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:37:28.229Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T17:37:28.229Z] ab5ef0e58194: Pulling fs layer [2022-05-10T17:37:28.229Z] 9712f1f96733: Pulling fs layer [2022-05-10T17:37:28.229Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T17:37:28.229Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T17:37:28.229Z] e9a5061849ea: Pulling fs layer [2022-05-10T17:37:28.229Z] d747dcd14b5f: Pulling fs layer [2022-05-10T17:37:28.229Z] 2de7ff778b66: Pulling fs layer [2022-05-10T17:37:28.229Z] e9a5061849ea: Waiting [2022-05-10T17:37:28.229Z] d747dcd14b5f: Waiting [2022-05-10T17:37:28.229Z] 0d9ebad4ef96: Waiting [2022-05-10T17:37:28.229Z] 2de7ff778b66: Waiting [2022-05-10T17:37:28.229Z] 9712f1f96733: Verifying Checksum [2022-05-10T17:37:28.229Z] 9712f1f96733: Download complete [2022-05-10T17:37:28.493Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T17:37:28.493Z] 63f879dbbcfc: Download complete [2022-05-10T17:37:28.755Z] e9a5061849ea: Verifying Checksum [2022-05-10T17:37:28.755Z] e9a5061849ea: Download complete [2022-05-10T17:37:28.755Z] d747dcd14b5f: Verifying Checksum [2022-05-10T17:37:28.755Z] d747dcd14b5f: Download complete [2022-05-10T17:37:28.755Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T17:37:28.755Z] 0d9ebad4ef96: Download complete [2022-05-10T17:37:28.755Z] ab5ef0e58194: Verifying Checksum [2022-05-10T17:37:28.755Z] ab5ef0e58194: Download complete [2022-05-10T17:37:28.755Z] 2de7ff778b66: Verifying Checksum [2022-05-10T17:37:28.755Z] 2de7ff778b66: Download complete [2022-05-10T17:37:32.055Z] ab5ef0e58194: Pull complete [2022-05-10T17:37:32.055Z] 9712f1f96733: Pull complete [2022-05-10T17:37:32.622Z] 63f879dbbcfc: Pull complete [2022-05-10T17:37:36.818Z] 0d9ebad4ef96: Pull complete [2022-05-10T17:37:36.818Z] e9a5061849ea: Pull complete [2022-05-10T17:37:36.818Z] d747dcd14b5f: Pull complete [2022-05-10T17:37:38.198Z] 2de7ff778b66: Pull complete [2022-05-10T17:37:38.198Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T17:37:38.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:37:38.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T17:37:38.259Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:37:38.292Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T17:37:40.154Z] $ docker top d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:37:40.235Z] provisioning config files... [2022-05-10T17:37:40.243Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7305781647168934079tmp [2022-05-10T17:37:40.256Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3350234187025244661tmp [2022-05-10T17:37:40.268Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4824702944352203314tmp [Pipeline] { [Pipeline] echo [2022-05-10T17:37:40.283Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:40.570Z] ---> sigul-configuration.sh [2022-05-10T17:37:40.570Z] gpg: directory `/root/.gnupg' created [2022-05-10T17:37:40.570Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T17:37:40.570Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T17:37:40.570Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T17:37:40.570Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T17:37:40.570Z] gpg: CAST5 encrypted data [2022-05-10T17:37:40.570Z] gpg: encrypted with 1 passphrase [2022-05-10T17:37:40.570Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T17:37:40.861Z] + mkdir /home/jenkins [2022-05-10T17:37:40.861Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T17:37:41.155Z] + 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-05-10T17:37:41.166Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:41.455Z] ---> sigul-install.sh [2022-05-10T17:37:41.455Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T17:37:41.744Z] + git tag --list [2022-05-10T17:37:41.744Z] 0.7.0 [2022-05-10T17:37:41.744Z] 0.7.1 [2022-05-10T17:37:41.744Z] 1.0.0 [2022-05-10T17:37:41.744Z] v1.0.1 [2022-05-10T17:37:41.744Z] v1.0.2 [2022-05-10T17:37:41.744Z] v1.0.3 [2022-05-10T17:37:41.744Z] v1.1.0 [2022-05-10T17:37:41.744Z] v1.1.1 [2022-05-10T17:37:41.744Z] v1.2.0 [2022-05-10T17:37:41.744Z] v1.2.1 [2022-05-10T17:37:41.744Z] v1.2.2 [2022-05-10T17:37:41.744Z] v1.3.0 [2022-05-10T17:37:41.744Z] v1.3.1 [2022-05-10T17:37:41.744Z] v2.0.0 [2022-05-10T17:37:41.744Z] v2.0.1-dev.1 [2022-05-10T17:37:41.744Z] v2.0.1-dev.10 [2022-05-10T17:37:41.744Z] v2.0.1-dev.11 [2022-05-10T17:37:41.744Z] v2.0.1-dev.12 [2022-05-10T17:37:41.744Z] v2.0.1-dev.13 [2022-05-10T17:37:41.744Z] v2.0.1-dev.2 [2022-05-10T17:37:41.744Z] v2.0.1-dev.3 [2022-05-10T17:37:41.744Z] v2.0.1-dev.4 [2022-05-10T17:37:41.744Z] v2.0.1-dev.5 [2022-05-10T17:37:41.744Z] v2.0.1-dev.6 [2022-05-10T17:37:41.744Z] v2.0.1-dev.7 [2022-05-10T17:37:41.744Z] v2.0.1-dev.8 [2022-05-10T17:37:41.744Z] v2.0.1-dev.9 [2022-05-10T17:37:41.744Z] v2.1.0 [2022-05-10T17:37:41.744Z] v2.2.0-dev.1 [2022-05-10T17:37:41.744Z] v2.2.0-dev.2 [2022-05-10T17:37:41.744Z] v2.2.0-dev.3 [2022-05-10T17:37:41.744Z] v2.2.0-dev.4 [2022-05-10T17:37:41.744Z] v2.2.0-dev.5 [2022-05-10T17:37:41.744Z] v2.2.0-dev.6 [2022-05-10T17:37:41.744Z] v2.2.0-dev.7 [2022-05-10T17:37:41.744Z] v2.2.0-dev.8 [2022-05-10T17:37:41.744Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T17:37:42.037Z] + lftools sign git-tag v2.2.0-dev.9 [2022-05-10T17:37:42.610Z] Signing Git tag with Sigul... [2022-05-10T17:37:42.610Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-05-10T17:37:43.192Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:43.480Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T17:37:43.494Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T17:37:43.517Z] $ docker stop --time=1 d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 [2022-05-10T17:37:45.091Z] $ docker rm -f d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T17:37:45.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:37:45.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:45.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:37:45.775Z] . [Pipeline] withDockerContainer [2022-05-10T17:37:45.942Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:37:45.996Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:37:46.376Z] $ docker top 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T17:37:46.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:37:46.467Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:37:46.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:37:46.620Z] $ docker exec 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 ssh-agent [2022-05-10T17:37:46.753Z] SSH_AUTH_SOCK=/tmp/ssh-EMXs9tJ7084k/agent.34 [2022-05-10T17:37:46.753Z] SSH_AGENT_PID=40 [2022-05-10T17:37:46.758Z] Running ssh-add (command line suppressed) [2022-05-10T17:37:46.884Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5423177429421540683.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5423177429421540683.key) [2022-05-10T17:37:46.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:37:47.186Z] + git semver bump pre [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [bump_version] DEBUG bumping version:2.2.0-dev.9 on axis:pre with prefix:dev [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [bump_version] DEBUG bumped version:2.2.0-dev.10 [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [write_version] DEBUG write version:2.2.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,388 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,390 [execute] INFO git cat-file --batch-check [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,397 [execute] INFO git cat-file --batch [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T17:37:47.447Z] 2022-05-10 17:37:47,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:47.447Z] 2.2.0-dev.10 [Pipeline] } [2022-05-10T17:37:47.461Z] $ docker exec --env ******** --env ******** 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 ssh-agent -k [2022-05-10T17:37:47.590Z] unset SSH_AUTH_SOCK; [2022-05-10T17:37:47.591Z] unset SSH_AGENT_PID; [2022-05-10T17:37:47.591Z] echo Agent pid 40 killed; [2022-05-10T17:37:47.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:37:47.907Z] + git semver [Pipeline] } [2022-05-10T17:37:48.185Z] $ docker stop --time=1 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 [2022-05-10T17:37:49.513Z] $ docker rm -f 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:37:49.864Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:37:49.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:50.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:37:50.159Z] . [Pipeline] withDockerContainer [2022-05-10T17:37:50.232Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:37:50.267Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:37:50.658Z] $ docker top 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T17:37:50.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:37:50.756Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:37:50.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:37:50.886Z] $ docker exec 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 ssh-agent [2022-05-10T17:37:51.020Z] SSH_AUTH_SOCK=/tmp/ssh-DjZg46h7KIGR/agent.33 [2022-05-10T17:37:51.020Z] SSH_AGENT_PID=39 [2022-05-10T17:37:51.024Z] Running ssh-add (command line suppressed) [2022-05-10T17:37:51.150Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8950152364561083615.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8950152364561083615.key) [2022-05-10T17:37:51.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:37:51.464Z] + git semver push [2022-05-10T17:37:51.724Z] 2022-05-10 17:37:51,668 [run_push] DEBUG push [2022-05-10T17:37:51.724Z] 2022-05-10 17:37:51,669 [execute] INFO git push origin semver [2022-05-10T17:37:51.724Z] 2022-05-10 17:37:51,669 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T17:37:52.669Z] 2022-05-10 17:37:52,483 [run_push] DEBUG push all version tags [2022-05-10T17:37:52.669Z] 2022-05-10 17:37:52,484 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T17:37:52.669Z] 2022-05-10 17:37:52,484 [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-05-10T17:37:53.610Z] 2022-05-10 17:37:53,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-10T17:37:53.610Z] 2.2.0-dev.10 [Pipeline] } [2022-05-10T17:37:53.626Z] $ docker exec --env ******** --env ******** 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 ssh-agent -k [2022-05-10T17:37:53.742Z] unset SSH_AUTH_SOCK; [2022-05-10T17:37:53.742Z] unset SSH_AGENT_PID; [2022-05-10T17:37:53.742Z] echo Agent pid 39 killed; [2022-05-10T17:37:53.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:37:54.050Z] + git semver [Pipeline] } [2022-05-10T17:37:54.328Z] $ docker stop --time=1 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 [2022-05-10T17:37:55.630Z] $ docker rm -f 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 [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-05-10T17:37:56.080Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-05-10T17:37:56.080Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-10T17:37:56.080Z] total 16 [2022-05-10T17:37:56.080Z] drwxr-xr-x 3 root root 4096 May 10 17:30 . [2022-05-10T17:37:56.080Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:37 .. [2022-05-10T17:37:56.080Z] drwxr-xr-x 2 root root 4096 May 10 17:30 cost [2022-05-10T17:37:56.080Z] -rw-r--r-- 1 root root 82 May 10 17:30 cost.csv [2022-05-10T17:37:56.080Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-10T17:37:56.080Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-10T17:37:56.080Z] total 16 [2022-05-10T17:37:56.080Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:30 . [2022-05-10T17:37:56.080Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:37 .. [2022-05-10T17:37:56.080Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:30 cost [2022-05-10T17:37:56.080Z] -rw-r--r-- 1 jenkins jenkins 82 May 10 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:56.374Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:37:57.255Z] ---> package-listing.sh [2022-05-10T17:37:57.256Z] ++ facter osfamily [2022-05-10T17:37:57.256Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T17:37:57.516Z] + OS_FAMILY=debian [2022-05-10T17:37:57.516Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-05-10T17:37:57.516Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T17:37:57.516Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T17:37:57.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T17:37:57.516Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T17:37:57.516Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-05-10T17:37:57.516Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T17:37:57.516Z] + case "${OS_FAMILY}" in [2022-05-10T17:37:57.516Z] + dpkg -l [2022-05-10T17:37:57.516Z] + grep '^ii' [2022-05-10T17:37:57.516Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T17:37:57.516Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T17:37:57.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T17:37:57.516Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-05-10T17:37:57.516Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-05-10T17:37:57.516Z] + 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-05-10T17:37:57.529Z] 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-05-10T17:37:57.811Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:37:58.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:37:58.363Z] . [Pipeline] withDockerContainer [2022-05-10T17:37:58.435Z] prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container [2022-05-10T17:37:58.473Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T17:37:58.728Z] $ docker top a6c09a9587ccdcfbef10851cec596dd245df53c4b97dedd053cd2cb1641e5879 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:37:59.085Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T17:37:59.374Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T17:37:59.660Z] + ls /var/log/sa-host [2022-05-10T17:37:59.660Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:37:59.747Z] provisioning config files... [2022-05-10T17:37:59.755Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4823395834542401249tmp [Pipeline] { [Pipeline] echo [2022-05-10T17:37:59.768Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:38:00.053Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T17:38:00.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:38:00.385Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T17:38:00.399Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:38:00.685Z] ---> sudo-logs.sh [2022-05-10T17:38:00.685Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T17:38:00.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:38:00.994Z] ---> job-cost.sh [2022-05-10T17:38:00.994Z] lf-activate-venv: SKIPPING [2022-05-10T17:38:00.994Z] DEBUG: total: 0.2199999988079071 [2022-05-10T17:38:00.994Z] INFO: Retrieving Stack Cost... [2022-05-10T17:38:01.254Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T17:38:01.824Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T17:38:01.837Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:38:02.122Z] ---> logs-deploy.sh [2022-05-10T17:38:02.122Z] lf-activate-venv: SKIPPING [2022-05-10T17:38:02.122Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/25 [2022-05-10T17:38:02.122Z] INFO: archiving workspace using pattern(s): [2022-05-10T17:38:03.062Z] Archives upload complete. [2022-05-10T17:38:03.062Z] INFO: archiving logs to Nexus