Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 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-ssh18053036683356322860.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6071008772199423962.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14426746472450475227.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7711275306662128137.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-ssh3000592192200930158.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9320 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 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 (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 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 # timeout=10 Commit message: "feat: add CORS support (#389) (#406)" > git rev-list --no-walk 9af9a7b525d77e310f1ce7683ac0f4985a68b4c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-29T06:48:17.669Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-29T06:48:17.718Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-29T06:48:17.732Z] ========================================================= [2022-03-29T06:48:17.732Z] EdgeX Global Pipelines Version Info [2022-03-29T06:48:17.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:48:18.474Z] ------------------- [2022-03-29T06:48:18.475Z] stable info: [2022-03-29T06:48:18.475Z] ------------------- [2022-03-29T06:48:18.475Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-29T06:48:18.475Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-29T06:48:18.475Z] Message: update stable to v1.0.221 [2022-03-29T06:48:19.046Z] ------------------- [2022-03-29T06:48:19.046Z] experimental info: [2022-03-29T06:48:19.046Z] ------------------- [2022-03-29T06:48:19.046Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-29T06:48:19.046Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-29T06:48:19.046Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-29T06:48:19.179Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-29T06:48:19.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-29T06:48:19.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-29T06:48:19.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-29T06:48:19.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-29T06:48:19.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-29T06:48:19.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-29T06:48:19.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-29T06:48:19.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-29T06:48:19.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-29T06:48:19.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-29T06:48:19.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-29T06:48:19.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-29T06:48:19.312Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-29T06:48:19.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-29T06:48:19.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-29T06:48:19.348Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-29T06:48:19.358Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-29T06:48:19.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-29T06:48:19.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-29T06:48:19.392Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [Pipeline] echo [2022-03-29T06:48:19.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0d2b7c [Pipeline] echo [2022-03-29T06:48:19.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T06:48:19.453Z] provisioning config files... [2022-03-29T06:48:19.465Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7442943200191309700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:48:19.769Z] ---> docker-login.sh [2022-03-29T06:48:19.769Z] nexus3.edgexfoundry.org:10001 [2022-03-29T06:48:20.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:20.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:20.030Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:20.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:20.030Z] [2022-03-29T06:48:20.030Z] Login Succeeded [2022-03-29T06:48:20.030Z] nexus3.edgexfoundry.org:10002 [2022-03-29T06:48:20.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:20.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:20.291Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:20.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:20.291Z] [2022-03-29T06:48:20.291Z] Login Succeeded [2022-03-29T06:48:20.291Z] nexus3.edgexfoundry.org:10003 [2022-03-29T06:48:20.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:20.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:20.291Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:20.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:20.291Z] [2022-03-29T06:48:20.291Z] Login Succeeded [2022-03-29T06:48:20.291Z] nexus3.edgexfoundry.org:10004 [2022-03-29T06:48:20.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:20.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:20.553Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:20.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:20.553Z] [2022-03-29T06:48:20.553Z] Login Succeeded [2022-03-29T06:48:20.553Z] docker.io [2022-03-29T06:48:20.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:21.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:21.125Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:21.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:21.125Z] [2022-03-29T06:48:21.125Z] Login Succeeded [2022-03-29T06:48:21.125Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T06:48:21.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-03-29T06:48:21.529Z] + git rev-list -1 --merges b0d2b7caa9bf3af8d95653d5536cc5c3bde74134~1..b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [Pipeline] echo [2022-03-29T06:48:21.651Z] -----------> git rev-list -1 --merges b0d2b7caa9bf3af8d95653d5536cc5c3bde74134~1..b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [false] [Pipeline] sh [2022-03-29T06:48:21.945Z] + git log --format=format:%s -1 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [Pipeline] echo [2022-03-29T06:48:21.961Z] ========================================================= [2022-03-29T06:48:21.961Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-29T06:48:21.961Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-29T06:48:22.362Z] + git rev-list -1 --merges b0d2b7caa9bf3af8d95653d5536cc5c3bde74134~1..b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [Pipeline] echo [2022-03-29T06:48:22.376Z] -----------> git rev-list -1 --merges b0d2b7caa9bf3af8d95653d5536cc5c3bde74134~1..b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [false] [Pipeline] sh [2022-03-29T06:48:22.669Z] + git log --format=format:%s -1 b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [Pipeline] echo [2022-03-29T06:48:22.685Z] ========================================================= [2022-03-29T06:48:22.685Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-29T06:48:22.685Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-29T06:48:23.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-29T06:48:23.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-29T06:48:23.217Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-29T06:48:23.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-29T06:48:23.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-29T06:48:23.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-29T06:48:23.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:48:23.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:48:23.632Z] [2022-03-29T06:48:23.632Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:48:23.955Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:48:23.955Z] latest: Pulling from edgex-devops/git-semver [2022-03-29T06:48:23.955Z] a0d0a0d46f8b: Pulling fs layer [2022-03-29T06:48:23.955Z] 3e5f54012d9b: Pulling fs layer [2022-03-29T06:48:23.955Z] 4c7163046ea9: Pulling fs layer [2022-03-29T06:48:23.955Z] 0c2d73faf560: Pulling fs layer [2022-03-29T06:48:23.955Z] 0c2d73faf560: Waiting [2022-03-29T06:48:23.955Z] 3e5f54012d9b: Verifying Checksum [2022-03-29T06:48:23.955Z] 3e5f54012d9b: Download complete [2022-03-29T06:48:23.955Z] a0d0a0d46f8b: Download complete [2022-03-29T06:48:23.955Z] 0c2d73faf560: Download complete [2022-03-29T06:48:23.955Z] 4c7163046ea9: Verifying Checksum [2022-03-29T06:48:23.955Z] 4c7163046ea9: Download complete [2022-03-29T06:48:24.217Z] a0d0a0d46f8b: Pull complete [2022-03-29T06:48:24.217Z] 3e5f54012d9b: Pull complete [2022-03-29T06:48:24.477Z] 4c7163046ea9: Pull complete [2022-03-29T06:48:24.739Z] 0c2d73faf560: Pull complete [2022-03-29T06:48:24.739Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-29T06:48:24.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:48:24.739Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-29T06:48:24.811Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:48:24.858Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-29T06:48:25.592Z] $ docker top 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-29T06:48:25.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T06:48:25.689Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T06:48:25.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T06:48:25.822Z] $ docker exec 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 ssh-agent [2022-03-29T06:48:25.933Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhacGIl/agent.14 [2022-03-29T06:48:25.933Z] SSH_AGENT_PID=20 [2022-03-29T06:48:25.942Z] Running ssh-add (command line suppressed) [2022-03-29T06:48:26.069Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_898259080035526508.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_898259080035526508.key) [2022-03-29T06:48:26.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T06:48:26.366Z] + git tag --points-at HEAD [Pipeline] } [2022-03-29T06:48:26.384Z] $ docker exec --env ******** --env ******** 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 ssh-agent -k [2022-03-29T06:48:26.506Z] unset SSH_AUTH_SOCK; [2022-03-29T06:48:26.506Z] unset SSH_AGENT_PID; [2022-03-29T06:48:26.506Z] echo Agent pid 20 killed; [2022-03-29T06:48:26.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-29T06:48:26.548Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T06:48:26.548Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T06:48:26.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T06:48:26.691Z] $ docker exec 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 ssh-agent [2022-03-29T06:48:26.823Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkdGmjL/agent.53 [2022-03-29T06:48:26.823Z] SSH_AGENT_PID=60 [2022-03-29T06:48:26.829Z] Running ssh-add (command line suppressed) [2022-03-29T06:48:26.961Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1049802801228272207.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1049802801228272207.key) [2022-03-29T06:48:26.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T06:48:27.271Z] + git semver init [2022-03-29T06:48:27.271Z] # -> Open(): unable to determine branch for HEAD [2022-03-29T06:48:27.271Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-29T06:48:27.271Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-29T06:48:27.271Z] # $SEMVER_REMOTE_NAME = origin [2022-03-29T06:48:27.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-29T06:48:27.271Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-29T06:48:27.271Z] # $SEMVER_BRANCH = main [2022-03-29T06:48:27.271Z] # $SEMVER_TEMP = /tmp/semver-630194481 [2022-03-29T06:48:27.271Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-29T06:48:28.214Z] # '/tmp/semver-630194481' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2022-03-29T06:48:28.214Z] # -> Force: false [2022-03-29T06:48:28.214Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-29T06:48:28.229Z] $ docker exec --env ******** --env ******** 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 ssh-agent -k [2022-03-29T06:48:28.342Z] unset SSH_AUTH_SOCK; [2022-03-29T06:48:28.342Z] unset SSH_AGENT_PID; [2022-03-29T06:48:28.342Z] echo Agent pid 60 killed; [2022-03-29T06:48:28.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-29T06:48:28.655Z] + git semver [Pipeline] } [2022-03-29T06:48:28.675Z] $ docker stop --time=1 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 [2022-03-29T06:48:30.042Z] $ docker rm -f 4a819d8004d46d191bf226d258badafc76b1ae8c164ac817b4b474cacd18f6d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-29T06:48:30.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-29T06:48:30.641Z] Stashed 1 file(s) [Pipeline] echo [2022-03-29T06:48:30.644Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T06:48:30.736Z] provisioning config files... [2022-03-29T06:48:30.745Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6992371946081947346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:48:31.046Z] ---> docker-login.sh [2022-03-29T06:48:31.046Z] nexus3.edgexfoundry.org:10001 [2022-03-29T06:48:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:31.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:31.046Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:31.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:31.046Z] [2022-03-29T06:48:31.046Z] Login Succeeded [2022-03-29T06:48:31.046Z] nexus3.edgexfoundry.org:10002 [2022-03-29T06:48:31.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:31.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:31.046Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:31.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:31.046Z] [2022-03-29T06:48:31.046Z] Login Succeeded [2022-03-29T06:48:31.307Z] nexus3.edgexfoundry.org:10003 [2022-03-29T06:48:31.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:31.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:31.307Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:31.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:31.307Z] [2022-03-29T06:48:31.307Z] Login Succeeded [2022-03-29T06:48:31.307Z] nexus3.edgexfoundry.org:10004 [2022-03-29T06:48:31.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:31.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:31.567Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:31.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:31.567Z] [2022-03-29T06:48:31.567Z] Login Succeeded [2022-03-29T06:48:31.567Z] docker.io [2022-03-29T06:48:31.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:48:31.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:48:31.828Z] Configure a credential helper to remove this warning. See [2022-03-29T06:48:31.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:48:31.828Z] [2022-03-29T06:48:31.828Z] Login Succeeded [2022-03-29T06:48:31.828Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T06:48:31.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-29T06:48:31.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T06:48:31.920Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-29T06:48:31.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T06:48:31.945Z] ========================================================= [2022-03-29T06:48:31.945Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-29T06:48:31.945Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:48:32.250Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2022-03-29T06:48:32.250Z] Sending build context to Docker daemon 4.517MB [2022-03-29T06:48:32.250Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-29T06:48:32.250Z] Step 2/22 : FROM ${BASE} as builder [2022-03-29T06:48:32.250Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-29T06:48:32.250Z] 59bf1c3509f3: Pulling fs layer [2022-03-29T06:48:32.250Z] c743a93c8381: Pulling fs layer [2022-03-29T06:48:32.250Z] a2ad9f71ba65: Pulling fs layer [2022-03-29T06:48:32.250Z] c743a93c8381: Verifying Checksum [2022-03-29T06:48:32.250Z] c743a93c8381: Download complete [2022-03-29T06:48:32.513Z] 59bf1c3509f3: Verifying Checksum [2022-03-29T06:48:32.513Z] 59bf1c3509f3: Download complete [2022-03-29T06:48:32.513Z] 59bf1c3509f3: Pull complete [2022-03-29T06:48:32.513Z] c743a93c8381: Pull complete [2022-03-29T06:48:33.083Z] a2ad9f71ba65: Verifying Checksum [2022-03-29T06:48:33.083Z] a2ad9f71ba65: Download complete [2022-03-29T06:48:35.624Z] a2ad9f71ba65: Pull complete [2022-03-29T06:48:35.624Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-29T06:48:35.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-29T06:48:35.624Z] ---> c9e13ccc37c5 [2022-03-29T06:48:35.624Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:48:36.567Z] ---> Running in dec7977bbd42 [2022-03-29T06:48:36.827Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-29T06:48:37.399Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:48:37.399Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:48:37.399Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:48:37.660Z] Removing intermediate container dec7977bbd42 [2022-03-29T06:48:37.660Z] ---> 9c978703b5d6 [2022-03-29T06:48:37.660Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:48:37.660Z] ---> Running in 8098d6babade [2022-03-29T06:48:38.233Z] Removing intermediate container 8098d6babade [2022-03-29T06:48:38.233Z] ---> 8d2f2826ce08 [2022-03-29T06:48:38.233Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-29T06:48:38.233Z] ---> Running in f2af81292abf [2022-03-29T06:48:38.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:48:39.750Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-29T06:48:40.011Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:48:40.581Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:48:40.581Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-29T06:48:40.581Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-29T06:48:40.842Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-29T06:48:40.842Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-29T06:48:40.842Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-29T06:48:41.104Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-29T06:48:41.677Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-29T06:48:41.938Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-29T06:48:41.938Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-29T06:48:41.938Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-29T06:48:42.200Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-29T06:48:42.200Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-29T06:48:42.200Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-29T06:48:42.461Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-29T06:48:42.722Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-29T06:48:42.722Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-29T06:48:42.722Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-29T06:48:42.984Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-29T06:48:42.984Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-29T06:48:42.984Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-29T06:48:43.245Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-29T06:48:43.245Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-29T06:48:43.245Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-29T06:48:43.506Z] (24/31) Installing flock (2.37.4-r0) [2022-03-29T06:48:43.506Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-29T06:48:43.506Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-29T06:48:43.768Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-29T06:48:43.768Z] (28/31) Installing logger (2.37.4-r0) [2022-03-29T06:48:43.768Z] (29/31) Installing partx (2.37.4-r0) [2022-03-29T06:48:44.028Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-29T06:48:44.028Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-29T06:48:44.028Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:48:44.325Z] OK: 293 MiB in 108 packages [2022-03-29T06:48:44.896Z] Removing intermediate container f2af81292abf [2022-03-29T06:48:44.896Z] ---> 85a8bc3d72a4 [2022-03-29T06:48:44.896Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-29T06:48:44.896Z] ---> Running in 3d00b1b842b9 [2022-03-29T06:48:45.474Z] Removing intermediate container 3d00b1b842b9 [2022-03-29T06:48:45.474Z] ---> 204c766fda12 [2022-03-29T06:48:45.474Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-29T06:48:45.706Z] Still waiting to schedule task [2022-03-29T06:48:45.706Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-29T06:48:45.760Z] ---> aca6c99d2f9c [2022-03-29T06:48:45.760Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-29T06:48:46.021Z] ---> 10e125d3e9ec [2022-03-29T06:48:46.021Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-29T06:48:46.021Z] ---> 7b9df8f70d82 [2022-03-29T06:48:46.021Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-29T06:48:46.282Z] ---> b29c982d94c5 [2022-03-29T06:48:46.282Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-29T06:48:46.282Z] ---> ca98af9e1884 [2022-03-29T06:48:46.282Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-29T06:48:46.543Z] ---> ad6f71ca5466 [2022-03-29T06:48:46.543Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-29T06:48:46.543Z] ---> Running in 1019a2c0bcbc [2022-03-29T06:48:46.804Z] + CPPCHECK=false [2022-03-29T06:48:46.804Z] + DOCGEN=false [2022-03-29T06:48:46.804Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-29T06:48:46.804Z] + TOMLVER=SDK-0.2 [2022-03-29T06:48:46.804Z] + CUTILVER=1.2.2 [2022-03-29T06:48:46.804Z] + '[' 0 -gt 0 ] [2022-03-29T06:48:46.804Z] + readlink -f ./scripts/build.sh [2022-03-29T06:48:46.804Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-29T06:48:46.804Z] + dirname /tmp/sdk/scripts [2022-03-29T06:48:46.804Z] + ROOT=/tmp/sdk [2022-03-29T06:48:46.804Z] + cd /tmp/sdk [2022-03-29T06:48:46.804Z] + '[' '!' -d deps ] [2022-03-29T06:48:46.804Z] + mkdir deps [2022-03-29T06:48:46.804Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-29T06:48:46.804Z] + tar -C deps -z -x -f - [2022-03-29T06:48:46.804Z] Connecting to github.com (140.82.114.4:443) [2022-03-29T06:48:47.065Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-03-29T06:48:47.327Z] writing to stdout [2022-03-29T06:48:47.327Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-29T06:48:47.327Z] written to stdout [2022-03-29T06:48:47.327Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-29T06:48:47.327Z] + + wget -Otar - -C https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz deps [2022-03-29T06:48:47.327Z] -z -x -f - [2022-03-29T06:48:47.327Z] Connecting to github.com (140.82.114.4:443) [2022-03-29T06:48:47.588Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-03-29T06:48:47.850Z] writing to stdout [2022-03-29T06:48:47.850Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-29T06:48:47.850Z] written to stdout [2022-03-29T06:48:47.850Z] + mkdir -p src/c/iot [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-29T06:48:47.850Z] + mkdir -p include/iot [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-03-29T06:48:47.850Z] + mkdir -p include/iot/os [2022-03-29T06:48:47.850Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-29T06:48:47.850Z] + mkdir -p /tmp/sdk/build/release [2022-03-29T06:48:47.850Z] + cd /tmp/sdk/build/release [2022-03-29T06:48:47.850Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-29T06:48:48.111Z] -- The C compiler identification is GNU 10.3.1 [2022-03-29T06:48:48.111Z] -- Detecting C compiler ABI info [2022-03-29T06:48:48.111Z] -- Detecting C compiler ABI info - done [2022-03-29T06:48:48.111Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-29T06:48:48.111Z] -- Detecting C compile features [2022-03-29T06:48:48.111Z] -- Detecting C compile features - done [2022-03-29T06:48:48.111Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-29T06:48:48.111Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-29T06:48:48.111Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-29T06:48:48.111Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-29T06:48:48.111Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-29T06:48:48.111Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-29T06:48:48.111Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-29T06:48:48.111Z] -- C SDK 2.2.0-dev.7 for Linux [2022-03-29T06:48:48.111Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-29T06:48:48.372Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-29T06:48:48.372Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-29T06:48:48.372Z] -- Configuring done [2022-03-29T06:48:48.372Z] -- Generating done [2022-03-29T06:48:48.372Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-29T06:48:48.372Z] + make all package [2022-03-29T06:48:48.372Z] + tee release.log [2022-03-29T06:48:48.372Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-29T06:48:48.633Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-29T06:48:48.633Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-29T06:48:48.893Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-29T06:48:49.154Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-29T06:48:49.154Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-29T06:48:49.416Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-29T06:48:49.416Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-29T06:48:49.677Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-29T06:48:49.677Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-29T06:48:50.250Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-29T06:48:50.250Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-29T06:48:50.250Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-29T06:48:50.519Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-29T06:48:50.519Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-29T06:48:50.519Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-29T06:48:50.780Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-29T06:48:51.351Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-29T06:48:51.351Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-29T06:48:51.351Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-29T06:48:51.351Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-29T06:48:51.612Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-29T06:48:51.612Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-29T06:48:51.612Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-29T06:48:51.612Z] 275 | const iot_component_factory_t * factory; [2022-03-29T06:48:51.612Z] | ^~~~~~~ [2022-03-29T06:48:51.612Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-29T06:48:52.554Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-29T06:48:52.554Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-29T06:48:52.554Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-29T06:48:52.815Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-29T06:48:52.815Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-29T06:48:52.815Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-29T06:48:53.075Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-29T06:48:53.075Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-29T06:48:53.335Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-29T06:48:53.335Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-29T06:48:53.595Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-29T06:48:53.856Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-29T06:48:53.856Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-29T06:48:54.116Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-29T06:48:54.116Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-29T06:48:55.059Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-29T06:48:55.059Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-29T06:48:55.321Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-29T06:48:55.321Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-29T06:48:55.321Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-29T06:48:55.321Z] /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-03-29T06:48:55.321Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-29T06:48:55.321Z] | ^~~~~~~~~~~~~ [2022-03-29T06:48:55.321Z] | | [2022-03-29T06:48:55.321Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-29T06:48:55.321Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:48:55.322Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-29T06:48:55.322Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-29T06:48:55.322Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-29T06:48:55.322Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-29T06:48:55.322Z] /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-03-29T06:48:55.322Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-29T06:48:55.322Z] | ^~~~~~~~~~~~ [2022-03-29T06:48:55.322Z] | | [2022-03-29T06:48:55.322Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:48:55.322Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:48:55.322Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:48:55.322Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:48:55.322Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:48:55.322Z] /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-03-29T06:48:55.322Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-29T06:48:55.322Z] | ^~~~~~~~~~~~ [2022-03-29T06:48:55.322Z] | | [2022-03-29T06:48:55.322Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:48:55.322Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:48:55.322Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:48:55.322Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:48:55.322Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:48:55.582Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-29T06:48:55.843Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-29T06:48:56.103Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-29T06:48:56.104Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-29T06:48:56.104Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-29T06:48:56.675Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-29T06:48:57.247Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-29T06:48:57.508Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-29T06:48:57.508Z] [ 76%] Linking C shared library libcsdk.so [2022-03-29T06:48:57.508Z] [ 76%] Built target csdk [2022-03-29T06:48:57.508Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-29T06:48:57.768Z] [ 79%] Linking C executable template [2022-03-29T06:48:57.768Z] [ 79%] Built target template [2022-03-29T06:48:57.768Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-29T06:48:58.029Z] [ 82%] Linking C executable device-counter [2022-03-29T06:48:58.029Z] [ 82%] Built target device-counter [2022-03-29T06:48:58.029Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-29T06:48:58.029Z] [ 85%] Linking C executable device-random [2022-03-29T06:48:58.289Z] [ 85%] Built target device-random [2022-03-29T06:48:58.289Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-29T06:48:58.289Z] [ 88%] Linking C executable device-gyro [2022-03-29T06:48:58.289Z] [ 88%] Built target device-gyro [2022-03-29T06:48:58.290Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-29T06:48:58.552Z] [ 91%] Linking C executable device-bitfields [2022-03-29T06:48:58.552Z] [ 91%] Built target device-bitfields [2022-03-29T06:48:58.552Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-29T06:48:58.813Z] [ 94%] Linking C executable template-discovery [2022-03-29T06:48:58.813Z] [ 94%] Built target template-discovery [2022-03-29T06:48:58.813Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-29T06:48:58.813Z] [ 97%] Linking C executable device-file [2022-03-29T06:48:59.075Z] [ 97%] Built target device-file [2022-03-29T06:48:59.075Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-29T06:48:59.075Z] [100%] Linking C executable device-terminal [2022-03-29T06:48:59.075Z] [100%] Built target device-terminal [2022-03-29T06:48:59.075Z] Run CPack packaging tool... [2022-03-29T06:48:59.075Z] CPack: Create package using TGZ [2022-03-29T06:48:59.075Z] CPack: Install projects [2022-03-29T06:48:59.075Z] CPack: - Run preinstall target for: Csdk [2022-03-29T06:48:59.335Z] CPack: - Install project: Csdk [] [2022-03-29T06:48:59.335Z] CPack: Create package [2022-03-29T06:48:59.335Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.7.tar.gz generated. [2022-03-29T06:48:59.335Z] + '[' false '=' true ] [2022-03-29T06:48:59.335Z] + '[' false '=' true ] [2022-03-29T06:48:59.335Z] + mkdir -p /tmp/sdk/build/debug [2022-03-29T06:48:59.335Z] + cd /tmp/sdk/build/debug [2022-03-29T06:48:59.335Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-29T06:48:59.596Z] -- The C compiler identification is GNU 10.3.1 [2022-03-29T06:48:59.596Z] -- Detecting C compiler ABI info [2022-03-29T06:48:59.596Z] -- Detecting C compiler ABI info - done [2022-03-29T06:48:59.596Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-29T06:48:59.596Z] -- Detecting C compile features [2022-03-29T06:48:59.596Z] -- Detecting C compile features - done [2022-03-29T06:48:59.596Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-29T06:48:59.596Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-29T06:48:59.596Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-29T06:48:59.596Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-29T06:48:59.596Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-29T06:48:59.596Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-29T06:48:59.596Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-29T06:48:59.596Z] -- C SDK 2.2.0-dev.7 for Linux [2022-03-29T06:48:59.596Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-29T06:48:59.856Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-29T06:48:59.856Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-29T06:48:59.857Z] -- Configuring done [2022-03-29T06:48:59.857Z] -- Generating done [2022-03-29T06:48:59.857Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-29T06:48:59.857Z] + tee debug.log [2022-03-29T06:48:59.857Z] + make [2022-03-29T06:48:59.857Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-29T06:49:00.117Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-29T06:49:00.117Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-29T06:49:00.117Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-29T06:49:00.377Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-29T06:49:00.377Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-29T06:49:00.377Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-29T06:49:00.377Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-29T06:49:00.637Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-29T06:49:00.637Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-29T06:49:00.898Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-29T06:49:00.898Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-29T06:49:00.898Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-29T06:49:00.898Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-29T06:49:01.159Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-29T06:49:01.159Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-29T06:49:01.159Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-29T06:49:01.425Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-29T06:49:01.425Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-29T06:49:01.425Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-29T06:49:01.425Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-29T06:49:01.685Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-29T06:49:01.685Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-29T06:49:01.685Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-29T06:49:01.685Z] 275 | const iot_component_factory_t * factory; [2022-03-29T06:49:01.685Z] | ^~~~~~~ [2022-03-29T06:49:01.685Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-29T06:49:01.945Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-29T06:49:01.945Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-29T06:49:01.945Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-29T06:49:01.945Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-29T06:49:02.205Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-29T06:49:02.205Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-29T06:49:02.206Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-29T06:49:02.206Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-29T06:49:02.465Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-29T06:49:02.465Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-29T06:49:02.465Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-29T06:49:02.465Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-29T06:49:02.465Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-29T06:49:02.725Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-29T06:49:02.725Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-29T06:49:02.984Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-29T06:49:02.984Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-29T06:49:03.243Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-29T06:49:03.243Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-29T06:49:03.243Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-29T06:49:03.243Z] /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-03-29T06:49:03.243Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-29T06:49:03.243Z] | ^~~~~~~~~~~~~ [2022-03-29T06:49:03.243Z] | | [2022-03-29T06:49:03.243Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-29T06:49:03.243Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:49:03.243Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-29T06:49:03.243Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-29T06:49:03.243Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-29T06:49:03.243Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-29T06:49:03.243Z] /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-03-29T06:49:03.243Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-29T06:49:03.243Z] | ^~~~~~~~~~~~ [2022-03-29T06:49:03.243Z] | | [2022-03-29T06:49:03.244Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:49:03.244Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:49:03.244Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:49:03.244Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:49:03.244Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:49:03.244Z] /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-03-29T06:49:03.244Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-29T06:49:03.244Z] | ^~~~~~~~~~~~ [2022-03-29T06:49:03.244Z] | | [2022-03-29T06:49:03.244Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:49:03.244Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:49:03.244Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:49:03.244Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:49:03.244Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:49:03.244Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-29T06:49:03.506Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-29T06:49:03.506Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-29T06:49:03.506Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-29T06:49:03.765Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-29T06:49:03.765Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-29T06:49:04.025Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-29T06:49:04.025Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-29T06:49:04.025Z] [ 76%] Linking C shared library libcsdk.so [2022-03-29T06:49:04.284Z] [ 76%] Built target csdk [2022-03-29T06:49:04.284Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-29T06:49:04.284Z] [ 79%] Linking C executable template [2022-03-29T06:49:04.284Z] [ 79%] Built target template [2022-03-29T06:49:04.284Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-29T06:49:04.284Z] [ 82%] Linking C executable device-counter [2022-03-29T06:49:04.544Z] [ 82%] Built target device-counter [2022-03-29T06:49:04.544Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-29T06:49:04.544Z] [ 85%] Linking C executable device-random [2022-03-29T06:49:04.544Z] [ 85%] Built target device-random [2022-03-29T06:49:04.544Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-29T06:49:04.803Z] [ 88%] Linking C executable device-gyro [2022-03-29T06:49:04.803Z] [ 88%] Built target device-gyro [2022-03-29T06:49:04.803Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-29T06:49:04.803Z] [ 91%] Linking C executable device-bitfields [2022-03-29T06:49:04.803Z] [ 91%] Built target device-bitfields [2022-03-29T06:49:04.803Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-29T06:49:05.064Z] [ 94%] Linking C executable template-discovery [2022-03-29T06:49:05.064Z] [ 94%] Built target template-discovery [2022-03-29T06:49:05.064Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-29T06:49:05.064Z] [ 97%] Linking C executable device-file [2022-03-29T06:49:05.325Z] [ 97%] Built target device-file [2022-03-29T06:49:05.325Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-29T06:49:05.325Z] [100%] Linking C executable device-terminal [2022-03-29T06:49:05.325Z] [100%] Built target device-terminal [2022-03-29T06:49:05.325Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] [ 76%] Built target csdk [2022-03-29T06:49:05.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.325Z] [ 79%] Built target template [2022-03-29T06:49:05.325Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 82%] Built target device-counter [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 85%] Built target device-random [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 88%] Built target device-gyro [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 91%] Built target device-bitfields [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 94%] Built target template-discovery [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [ 97%] Built target device-file [2022-03-29T06:49:05.584Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] [100%] Built target device-terminal [2022-03-29T06:49:05.584Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:05.584Z] Install the project... [2022-03-29T06:49:05.584Z] -- Install configuration: "Release" [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/devsdk [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-29T06:49:05.584Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/config.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/os.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/container.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/component.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/os [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/time.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/data.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/include/iot/json.h [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-29T06:49:05.585Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-29T06:49:05.585Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:49:06.528Z] Removing intermediate container 1019a2c0bcbc [2022-03-29T06:49:06.528Z] ---> ae9dff00fdb9 [2022-03-29T06:49:06.528Z] Step 14/22 : FROM ${BASE} [2022-03-29T06:49:06.528Z] ---> c9e13ccc37c5 [2022-03-29T06:49:06.528Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-29T06:49:06.528Z] ---> Running in 1e9477251c4b [2022-03-29T06:49:06.528Z] Removing intermediate container 1e9477251c4b [2022-03-29T06:49:06.528Z] ---> d5d45c4bed0f [2022-03-29T06:49:06.528Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:49:06.528Z] ---> Running in b86e855e1174 [2022-03-29T06:49:06.788Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-29T06:49:07.049Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:49:07.049Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:49:07.049Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:49:07.312Z] Removing intermediate container b86e855e1174 [2022-03-29T06:49:07.312Z] ---> 3c4e40b995ca [2022-03-29T06:49:07.312Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:49:07.573Z] ---> Running in 58640ec54b84 [2022-03-29T06:49:08.144Z] Removing intermediate container 58640ec54b84 [2022-03-29T06:49:08.144Z] ---> 407a5841d415 [2022-03-29T06:49:08.144Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-29T06:49:08.144Z] ---> Running in 2702a20bda9f [2022-03-29T06:49:08.417Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:09.441Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:09.441Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:10.084Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:49:10.084Z] (1/6) Installing curl (7.80.0-r0) [2022-03-29T06:49:10.084Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-29T06:49:10.084Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-29T06:49:10.084Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-29T06:49:10.343Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-29T06:49:10.343Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-29T06:49:11.287Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:49:11.287Z] OK: 283 MiB in 83 packages [2022-03-29T06:49:11.547Z] Removing intermediate container 2702a20bda9f [2022-03-29T06:49:11.547Z] ---> b1592b533320 [2022-03-29T06:49:11.547Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-29T06:49:11.807Z] ---> f87c309a9b82 [2022-03-29T06:49:11.807Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-29T06:49:11.807Z] ---> c6ea7b2f0081 [2022-03-29T06:49:11.807Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-29T06:49:12.068Z] ---> dbd0e78457d3 [2022-03-29T06:49:12.068Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-29T06:49:12.329Z] ---> 3d5ca8323ce0 [2022-03-29T06:49:12.329Z] Successfully built 3d5ca8323ce0 [2022-03-29T06:49:12.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:49:12.687Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-29T06:49:12.688Z] . [Pipeline] withDockerContainer [2022-03-29T06:49:12.762Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:49:12.806Z] $ 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-03-29T06:49:13.193Z] $ docker top 948266b95c5747fe457a83d31a4418410681f5da0549f16d24912043f32fb5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T06:49:13.543Z] + make test [2022-03-29T06:49:13.543Z] echo "make test" [2022-03-29T06:49:13.543Z] make test [Pipeline] } [2022-03-29T06:49:13.560Z] $ docker stop --time=1 948266b95c5747fe457a83d31a4418410681f5da0549f16d24912043f32fb5f2 [2022-03-29T06:49:14.899Z] $ docker rm -f 948266b95c5747fe457a83d31a4418410681f5da0549f16d24912043f32fb5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-29T06:49:16.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-29T06:49:16.294Z] + ls -al . [2022-03-29T06:49:16.294Z] total 208 [2022-03-29T06:49:16.294Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 06:48 . [2022-03-29T06:49:16.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:48 .. [2022-03-29T06:49:16.294Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 06:48 .git [2022-03-29T06:49:16.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:48 .github [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 29 06:48 .gitignore [2022-03-29T06:49:16.294Z] drwx------ 3 jenkins jenkins 4096 Mar 29 06:48 .semver [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 29 06:48 Attribution.txt [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 8321 Mar 29 06:48 CHANGES [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 29 06:48 Doxyfile [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 06:48 GOVERNANCE.md [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 29 06:48 Jenkinsfile [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 06:48 LICENSE [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 29 06:48 Makefile [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 06:48 OWNERS.md [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 29 06:48 README.md [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 29 06:48 README.v2.md [2022-03-29T06:49:16.294Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 29 06:48 VERSION [2022-03-29T06:49:16.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:48 docs [2022-03-29T06:49:16.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:48 include [2022-03-29T06:49:16.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:48 scripts [2022-03-29T06:49:16.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:48 src [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:49:16.597Z] + 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=b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 --label arch=amd64 --label version=2.2.0-dev.7 . [2022-03-29T06:49:16.597Z] Sending build context to Docker daemon 4.517MB [2022-03-29T06:49:16.597Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-29T06:49:16.597Z] Step 2/17 : FROM ${BASE} [2022-03-29T06:49:16.597Z] ---> 3d5ca8323ce0 [2022-03-29T06:49:16.597Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-29T06:49:16.597Z] ---> Running in 68730413cd92 [2022-03-29T06:49:16.857Z] Removing intermediate container 68730413cd92 [2022-03-29T06:49:16.857Z] ---> 2ba2b3eadfa3 [2022-03-29T06:49:16.857Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:49:16.857Z] ---> Running in 9f87e4a3c08e [2022-03-29T06:49:17.117Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-29T06:49:17.379Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:49:17.379Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:49:17.379Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:49:17.951Z] Removing intermediate container 9f87e4a3c08e [2022-03-29T06:49:17.951Z] ---> 049a9a17e18b [2022-03-29T06:49:17.951Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:49:17.951Z] ---> Running in aabadc4793a8 [2022-03-29T06:49:18.522Z] Removing intermediate container aabadc4793a8 [2022-03-29T06:49:18.522Z] ---> 8bc1d039fed8 [2022-03-29T06:49:18.522Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-03-29T06:49:18.522Z] ---> Running in a8030cffc508 [2022-03-29T06:49:18.782Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:19.722Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:19.722Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T06:49:20.295Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:49:20.295Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-29T06:49:20.295Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-29T06:49:20.295Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-29T06:49:20.556Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-29T06:49:20.556Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-29T06:49:20.556Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-29T06:49:20.817Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-29T06:49:20.817Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-29T06:49:20.817Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-29T06:49:21.077Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-29T06:49:21.077Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-29T06:49:21.339Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-29T06:49:21.339Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-29T06:49:21.339Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-29T06:49:21.599Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-29T06:49:21.599Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-29T06:49:21.599Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-29T06:49:21.860Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-29T06:49:21.860Z] (19/26) Installing flock (2.37.4-r0) [2022-03-29T06:49:21.860Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-29T06:49:22.121Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-29T06:49:22.121Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-29T06:49:22.121Z] (23/26) Installing logger (2.37.4-r0) [2022-03-29T06:49:22.381Z] (24/26) Installing partx (2.37.4-r0) [2022-03-29T06:49:22.381Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-29T06:49:22.381Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-29T06:49:22.641Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:49:22.641Z] OK: 294 MiB in 109 packages [2022-03-29T06:49:23.212Z] Removing intermediate container a8030cffc508 [2022-03-29T06:49:23.212Z] ---> 523ebfc23dc5 [2022-03-29T06:49:23.212Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-29T06:49:23.212Z] ---> 56198187a77f [2022-03-29T06:49:23.212Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-29T06:49:23.473Z] ---> a7ed5066400d [2022-03-29T06:49:23.473Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-29T06:49:23.734Z] ---> fb0151f6f463 [2022-03-29T06:49:23.734Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-29T06:49:23.734Z] ---> 3469e27ef430 [2022-03-29T06:49:23.734Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-29T06:49:23.996Z] ---> 093cd183c023 [2022-03-29T06:49:23.996Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-29T06:49:24.256Z] ---> 6e5cb16f2334 [2022-03-29T06:49:24.256Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-29T06:49:24.256Z] ---> Running in 268874c3c5d3 [2022-03-29T06:49:24.256Z] Removing intermediate container 268874c3c5d3 [2022-03-29T06:49:24.256Z] ---> 60be305c25a2 [2022-03-29T06:49:24.256Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-29T06:49:24.256Z] ---> Running in 06987902cb07 [2022-03-29T06:49:24.515Z] Removing intermediate container 06987902cb07 [2022-03-29T06:49:24.515Z] ---> 1706b321c560 [2022-03-29T06:49:24.515Z] Step 15/17 : LABEL arch=amd64 [2022-03-29T06:49:24.515Z] ---> Running in eca108a584e5 [2022-03-29T06:49:24.515Z] Removing intermediate container eca108a584e5 [2022-03-29T06:49:24.515Z] ---> 61a39b563c85 [2022-03-29T06:49:24.515Z] Step 16/17 : LABEL git_sha=b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [2022-03-29T06:49:24.515Z] ---> Running in bdae155ad46a [2022-03-29T06:49:24.777Z] Removing intermediate container bdae155ad46a [2022-03-29T06:49:24.777Z] ---> bc67c2b53ec0 [2022-03-29T06:49:24.777Z] Step 17/17 : LABEL version=2.2.0-dev.7 [2022-03-29T06:49:24.777Z] ---> Running in 8f2ce3edf3bc [2022-03-29T06:49:24.777Z] Removing intermediate container 8f2ce3edf3bc [2022-03-29T06:49:24.777Z] ---> 23940888d8aa [2022-03-29T06:49:24.777Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-29T06:49:24.777Z] Successfully built 23940888d8aa [2022-03-29T06:49:24.777Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:49:25.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T06:49:25.221Z] [2022-03-29T06:49:25.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:49:25.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T06:49:25.526Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-29T06:49:25.526Z] 5eb5b503b376: Pulling fs layer [2022-03-29T06:49:25.526Z] 5c69ac0246d0: Pulling fs layer [2022-03-29T06:49:25.526Z] ec43610c2a17: Pulling fs layer [2022-03-29T06:49:25.526Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-29T06:49:25.526Z] 33b1e0a273af: Pulling fs layer [2022-03-29T06:49:25.526Z] 5d3b04190fa2: Pulling fs layer [2022-03-29T06:49:25.526Z] 2f39f015ded8: Pulling fs layer [2022-03-29T06:49:25.526Z] 5d3b04190fa2: Waiting [2022-03-29T06:49:25.526Z] 3a2ae6a8a46f: Waiting [2022-03-29T06:49:25.526Z] 2f39f015ded8: Waiting [2022-03-29T06:49:25.526Z] 5c69ac0246d0: Verifying Checksum [2022-03-29T06:49:25.526Z] 5c69ac0246d0: Download complete [2022-03-29T06:49:25.526Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-29T06:49:25.526Z] 3a2ae6a8a46f: Download complete [2022-03-29T06:49:25.526Z] 33b1e0a273af: Download complete [2022-03-29T06:49:25.526Z] ec43610c2a17: Verifying Checksum [2022-03-29T06:49:25.526Z] ec43610c2a17: Download complete [2022-03-29T06:49:25.526Z] 5d3b04190fa2: Verifying Checksum [2022-03-29T06:49:25.526Z] 5d3b04190fa2: Download complete [2022-03-29T06:49:25.785Z] 5eb5b503b376: Verifying Checksum [2022-03-29T06:49:25.785Z] 5eb5b503b376: Download complete [2022-03-29T06:49:26.353Z] 2f39f015ded8: Verifying Checksum [2022-03-29T06:49:26.353Z] 2f39f015ded8: Download complete [2022-03-29T06:49:27.293Z] 5eb5b503b376: Pull complete [2022-03-29T06:49:27.294Z] 5c69ac0246d0: Pull complete [2022-03-29T06:49:27.864Z] ec43610c2a17: Pull complete [2022-03-29T06:49:27.864Z] 3a2ae6a8a46f: Pull complete [2022-03-29T06:49:28.125Z] 33b1e0a273af: Pull complete [2022-03-29T06:49:28.125Z] 5d3b04190fa2: Pull complete [2022-03-29T06:49:33.405Z] 2f39f015ded8: Pull complete [2022-03-29T06:49:33.405Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-29T06:49:33.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T06:49:33.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-29T06:49:33.475Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:49:33.518Z] $ 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-03-29T06:49:35.418Z] $ docker top 0ade5872d57a1ca7cd4514b7097d87a154d56e16004e7a66881ca0cb74197707 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:49:35.851Z] ---> job-cost.sh [2022-03-29T06:49:35.851Z] lf-activate-venv: SKIPPING [2022-03-29T06:49:35.851Z] INFO: No Stack... [2022-03-29T06:49:36.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-29T06:49:36.687Z] INFO: Archiving Costs [Pipeline] sh [2022-03-29T06:49:36.982Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-03-29T06:49:36.982Z] + cut -d, -f6 [Pipeline] lock [2022-03-29T06:49:37.000Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [2022-03-29T06:49:37.007Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] did not exist. Created. [2022-03-29T06:49:37.007Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-29T06:49:37.308Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-29T06:49:37.344Z] Stashed 1 file(s) [Pipeline] } [2022-03-29T06:49:37.351Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-29T06:49:37.374Z] $ docker stop --time=1 0ade5872d57a1ca7cd4514b7097d87a154d56e16004e7a66881ca0cb74197707 [2022-03-29T06:49:38.621Z] $ docker rm -f 0ade5872d57a1ca7cd4514b7097d87a154d56e16004e7a66881ca0cb74197707 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-29T06:50:21.546Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9321 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-03-29T06:50:21.561Z] Running in /w/workspace/device-sdk-c/22 [Pipeline] { [Pipeline] checkout [2022-03-29T06:50:22.608Z] Selected Git installation does not exist. Using Default [2022-03-29T06:50:22.609Z] The recommended git tool is: NONE [2022-03-29T06:50:29.225Z] using credential edgex-jenkins-ssh [2022-03-29T06:50:29.242Z] Cloning the remote Git repository [2022-03-29T06:50:29.324Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-29T06:50:29.409Z] > git init /w/workspace/device-sdk-c/22 # timeout=10 [2022-03-29T06:50:29.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-29T06:50:29.550Z] > git --version # timeout=10 [2022-03-29T06:50:29.611Z] > git --version # 'git version 2.25.1' [2022-03-29T06:50:29.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-29T06:50:29.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-29T06:50:30.909Z] Avoid second fetch [2022-03-29T06:50:30.910Z] Checking out Revision b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 (main) [2022-03-29T06:50:30.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-29T06:50:30.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-29T06:50:30.934Z] > git config core.sparsecheckout # timeout=10 [2022-03-29T06:50:30.962Z] > git checkout -f b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 # timeout=10 [2022-03-29T06:50:35.254Z] Commit message: "feat: add CORS support (#389) (#406)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-29T06:50:36.204Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-29T06:50:36.204Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-29T06:50:36.204Z] Dload Upload Total Spent Left Speed [2022-03-29T06:50:36.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51268 0 --:--:-- --:--:-- --:--:-- 51047 100 11843 100 11843 0 0 50828 0 --:--:-- --:--:-- --:--:-- 50828 [Pipeline] sh [2022-03-29T06:50:36.694Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-29T06:50:37.030Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-29T06:50:37.030Z] sudo tee /etc/docker/daemon.new [2022-03-29T06:50:37.030Z] { [2022-03-29T06:50:37.030Z] "registry-mirrors": [ [2022-03-29T06:50:37.030Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-29T06:50:37.030Z] ], [2022-03-29T06:50:37.030Z] "bip": "10.250.0.254/24", [2022-03-29T06:50:37.030Z] "hosts": [ [2022-03-29T06:50:37.030Z] "tcp://0.0.0.0:5555", [2022-03-29T06:50:37.030Z] "unix:///var/run/docker.sock" [2022-03-29T06:50:37.030Z] ], [2022-03-29T06:50:37.030Z] "mtu": 1458, [2022-03-29T06:50:37.030Z] "selinux-enabled": true, [2022-03-29T06:50:37.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-29T06:50:37.030Z] } [Pipeline] sh [2022-03-29T06:50:37.372Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-29T06:50:37.705Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T06:50:56.046Z] provisioning config files... [2022-03-29T06:50:56.073Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/22@tmp/config2226150538683578001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:50:56.444Z] ---> docker-login.sh [2022-03-29T06:50:56.444Z] nexus3.edgexfoundry.org:10001 [2022-03-29T06:50:57.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:50:57.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:50:57.102Z] Configure a credential helper to remove this warning. See [2022-03-29T06:50:57.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:50:57.102Z] [2022-03-29T06:50:57.102Z] Login Succeeded [2022-03-29T06:50:57.383Z] nexus3.edgexfoundry.org:10002 [2022-03-29T06:50:57.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:50:57.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:50:57.937Z] Configure a credential helper to remove this warning. See [2022-03-29T06:50:57.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:50:57.937Z] [2022-03-29T06:50:57.937Z] Login Succeeded [2022-03-29T06:50:57.937Z] nexus3.edgexfoundry.org:10003 [2022-03-29T06:50:58.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:50:58.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:50:58.213Z] Configure a credential helper to remove this warning. See [2022-03-29T06:50:58.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:50:58.213Z] [2022-03-29T06:50:58.213Z] Login Succeeded [2022-03-29T06:50:58.213Z] nexus3.edgexfoundry.org:10004 [2022-03-29T06:50:58.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:50:58.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:50:58.817Z] Configure a credential helper to remove this warning. See [2022-03-29T06:50:58.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:50:58.817Z] [2022-03-29T06:50:58.817Z] Login Succeeded [2022-03-29T06:50:58.817Z] docker.io [2022-03-29T06:50:59.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T06:50:59.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T06:50:59.686Z] Configure a credential helper to remove this warning. See [2022-03-29T06:50:59.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T06:50:59.686Z] [2022-03-29T06:50:59.686Z] Login Succeeded [2022-03-29T06:50:59.686Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T06:50:59.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-29T06:51:00.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T06:51:00.148Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-29T06:51:00.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T06:51:00.171Z] ========================================================= [2022-03-29T06:51:00.171Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-29T06:51:00.171Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:51:00.531Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2022-03-29T06:51:00.804Z] Sending build context to Docker daemon 2.751MB [2022-03-29T06:51:01.092Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-29T06:51:01.092Z] Step 2/22 : FROM ${BASE} as builder [2022-03-29T06:51:01.092Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-29T06:51:01.092Z] 9b3977197b4f: Pulling fs layer [2022-03-29T06:51:01.092Z] 2a93055cfd06: Pulling fs layer [2022-03-29T06:51:01.092Z] ff5fdaca7850: Pulling fs layer [2022-03-29T06:51:01.092Z] 2a93055cfd06: Verifying Checksum [2022-03-29T06:51:01.092Z] 2a93055cfd06: Download complete [2022-03-29T06:51:01.092Z] 9b3977197b4f: Verifying Checksum [2022-03-29T06:51:01.092Z] 9b3977197b4f: Download complete [2022-03-29T06:51:02.078Z] 9b3977197b4f: Pull complete [2022-03-29T06:51:02.078Z] 2a93055cfd06: Pull complete [2022-03-29T06:51:03.530Z] ff5fdaca7850: Verifying Checksum [2022-03-29T06:51:03.530Z] ff5fdaca7850: Download complete [2022-03-29T06:51:11.836Z] ff5fdaca7850: Pull complete [2022-03-29T06:51:11.836Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-29T06:51:11.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-29T06:51:11.836Z] ---> 0af3d9908a83 [2022-03-29T06:51:11.836Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:51:12.826Z] ---> Running in b49eb17fb66b [2022-03-29T06:51:13.812Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-29T06:51:14.084Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:51:14.084Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:51:14.084Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:51:14.684Z] Removing intermediate container b49eb17fb66b [2022-03-29T06:51:14.684Z] ---> 572e14d98b3e [2022-03-29T06:51:14.684Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:51:14.959Z] ---> Running in 3385a8aac8a4 [2022-03-29T06:51:16.416Z] Removing intermediate container 3385a8aac8a4 [2022-03-29T06:51:16.416Z] ---> 705642fd4476 [2022-03-29T06:51:16.416Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-29T06:51:16.702Z] ---> Running in cfaf182019c0 [2022-03-29T06:51:17.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:51:18.667Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-29T06:51:18.941Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:51:19.920Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:51:19.920Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-29T06:51:19.920Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-29T06:51:19.920Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-29T06:51:19.920Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-29T06:51:20.192Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-29T06:51:20.192Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-29T06:51:21.169Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-29T06:51:21.169Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-29T06:51:21.440Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-29T06:51:21.440Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-29T06:51:21.711Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-29T06:51:21.712Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-29T06:51:21.712Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-29T06:51:21.984Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-29T06:51:22.256Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-29T06:51:22.256Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-29T06:51:22.527Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-29T06:51:22.527Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-29T06:51:22.527Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-29T06:51:22.799Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-29T06:51:22.799Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-29T06:51:22.799Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-29T06:51:23.070Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-29T06:51:23.070Z] (24/31) Installing flock (2.37.4-r0) [2022-03-29T06:51:23.070Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-29T06:51:23.342Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-29T06:51:23.343Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-29T06:51:23.343Z] (28/31) Installing logger (2.37.4-r0) [2022-03-29T06:51:23.615Z] (29/31) Installing partx (2.37.4-r0) [2022-03-29T06:51:23.615Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-29T06:51:23.615Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-29T06:51:23.890Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:51:23.890Z] OK: 289 MiB in 108 packages [2022-03-29T06:51:25.331Z] Removing intermediate container cfaf182019c0 [2022-03-29T06:51:25.331Z] ---> 55f498609722 [2022-03-29T06:51:25.331Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-29T06:51:25.331Z] ---> Running in 83a1c3a76bb9 [2022-03-29T06:51:27.325Z] Removing intermediate container 83a1c3a76bb9 [2022-03-29T06:51:27.325Z] ---> 4c6f9cc5fad5 [2022-03-29T06:51:27.325Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-29T06:51:27.600Z] ---> 5911f966f12c [2022-03-29T06:51:27.600Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-29T06:51:28.586Z] ---> aecee2803dd0 [2022-03-29T06:51:28.586Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-29T06:51:28.860Z] ---> 2694e54b745b [2022-03-29T06:51:28.860Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-29T06:51:29.460Z] ---> 59a8524a7663 [2022-03-29T06:51:29.460Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-29T06:51:30.058Z] ---> e1e762b4b122 [2022-03-29T06:51:30.058Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-29T06:51:30.339Z] ---> c2c2dc72b3b5 [2022-03-29T06:51:30.339Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-29T06:51:30.617Z] ---> Running in 0220eec529bc [2022-03-29T06:51:31.600Z] + CPPCHECK=false [2022-03-29T06:51:31.600Z] + DOCGEN=false [2022-03-29T06:51:31.600Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-29T06:51:31.600Z] + TOMLVER=SDK-0.2 [2022-03-29T06:51:31.600Z] + CUTILVER=1.2.2 [2022-03-29T06:51:31.600Z] + '[' 0 -gt 0 ] [2022-03-29T06:51:31.600Z] + readlink -f ./scripts/build.sh [2022-03-29T06:51:31.600Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-29T06:51:31.600Z] + dirname /tmp/sdk/scripts [2022-03-29T06:51:31.600Z] + ROOT=/tmp/sdk [2022-03-29T06:51:31.600Z] + cd /tmp/sdk [2022-03-29T06:51:31.600Z] + '[' '!' -d deps ] [2022-03-29T06:51:31.600Z] + mkdir deps [2022-03-29T06:51:31.600Z] + tar -C deps -z -x -f - [2022-03-29T06:51:31.600Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-29T06:51:31.600Z] Connecting to github.com (140.82.113.4:443) [2022-03-29T06:51:31.600Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-03-29T06:51:31.871Z] writing to stdout [2022-03-29T06:51:31.871Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-29T06:51:31.871Z] written to stdout [2022-03-29T06:51:31.871Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-29T06:51:31.871Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-29T06:51:31.871Z] + tar -C deps -z -x -f - [2022-03-29T06:51:31.871Z] Connecting to github.com (140.82.113.4:443) [2022-03-29T06:51:32.144Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-03-29T06:51:32.433Z] writing to stdout [2022-03-29T06:51:32.707Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-29T06:51:32.707Z] written to stdout [2022-03-29T06:51:32.707Z] + mkdir -p src/c/iot [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-29T06:51:32.707Z] + mkdir -p include/iot [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-03-29T06:51:32.707Z] + mkdir -p include/iot/os [2022-03-29T06:51:32.707Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-29T06:51:32.707Z] + mkdir -p /tmp/sdk/build/release [2022-03-29T06:51:32.707Z] + cd /tmp/sdk/build/release [2022-03-29T06:51:32.708Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-29T06:51:32.983Z] -- The C compiler identification is GNU 10.3.1 [2022-03-29T06:51:32.983Z] -- Detecting C compiler ABI info [2022-03-29T06:51:33.261Z] -- Detecting C compiler ABI info - done [2022-03-29T06:51:33.536Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-29T06:51:33.536Z] -- Detecting C compile features [2022-03-29T06:51:33.536Z] -- Detecting C compile features - done [2022-03-29T06:51:33.536Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-29T06:51:33.813Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-29T06:51:33.813Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-29T06:51:33.813Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-29T06:51:33.813Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-29T06:51:33.813Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-29T06:51:33.813Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-29T06:51:33.813Z] -- C SDK 2.2.0-dev.7 for Linux [2022-03-29T06:51:33.813Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-29T06:51:34.088Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-29T06:51:34.370Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-29T06:51:34.370Z] -- Configuring done [2022-03-29T06:51:34.647Z] -- Generating done [2022-03-29T06:51:34.920Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-29T06:51:34.920Z] + make all package [2022-03-29T06:51:34.920Z] + tee release.log [2022-03-29T06:51:34.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-29T06:51:35.904Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-29T06:51:36.511Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-29T06:51:39.144Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-29T06:51:39.736Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-29T06:51:40.008Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-29T06:51:40.986Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-29T06:51:41.579Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-29T06:51:41.850Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-29T06:51:43.281Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-29T06:51:45.257Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-29T06:51:45.849Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-29T06:51:46.825Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-29T06:51:47.422Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-29T06:51:48.018Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-29T06:51:48.293Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-29T06:51:48.566Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-29T06:51:51.953Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-29T06:51:51.953Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-29T06:51:52.552Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-29T06:51:52.827Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-29T06:51:53.805Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-29T06:51:53.805Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-29T06:51:53.805Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-29T06:51:53.805Z] 275 | const iot_component_factory_t * factory; [2022-03-29T06:51:53.805Z] | ^~~~~~~ [2022-03-29T06:51:54.400Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-29T06:51:59.776Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-29T06:51:59.776Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-29T06:51:59.776Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-29T06:52:00.751Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-29T06:52:01.345Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-29T06:52:01.345Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-29T06:52:02.783Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-29T06:52:03.057Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-29T06:52:04.042Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-29T06:52:04.316Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-29T06:52:04.914Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-29T06:52:07.525Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-29T06:52:07.800Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-29T06:52:08.775Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-29T06:52:09.372Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-29T06:52:14.777Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-29T06:52:14.777Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-29T06:52:15.371Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-29T06:52:15.965Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-29T06:52:15.965Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-29T06:52:15.965Z] /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-03-29T06:52:15.965Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-29T06:52:15.965Z] | ^~~~~~~~~~~~~ [2022-03-29T06:52:15.965Z] | | [2022-03-29T06:52:15.965Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-29T06:52:15.965Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:15.965Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-29T06:52:15.965Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-29T06:52:15.965Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-29T06:52:15.965Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-29T06:52:15.965Z] /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-03-29T06:52:15.965Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-29T06:52:15.965Z] | ^~~~~~~~~~~~ [2022-03-29T06:52:15.965Z] | | [2022-03-29T06:52:15.965Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:52:15.965Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:15.965Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:52:15.965Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:52:15.965Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:52:15.965Z] /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-03-29T06:52:15.965Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-29T06:52:15.965Z] | ^~~~~~~~~~~~ [2022-03-29T06:52:15.965Z] | | [2022-03-29T06:52:15.965Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:52:15.965Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:15.965Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:52:15.965Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:52:15.965Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:52:17.392Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-29T06:52:20.008Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-29T06:52:20.008Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-29T06:52:20.601Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-29T06:52:21.193Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-29T06:52:23.804Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-29T06:52:28.092Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-29T06:52:28.682Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-29T06:52:29.273Z] [ 76%] Linking C shared library libcsdk.so [2022-03-29T06:52:29.545Z] [ 76%] Built target csdk [2022-03-29T06:52:29.545Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-29T06:52:30.516Z] [ 79%] Linking C executable template [2022-03-29T06:52:30.516Z] [ 79%] Built target template [2022-03-29T06:52:30.789Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-29T06:52:31.381Z] [ 82%] Linking C executable device-counter [2022-03-29T06:52:31.381Z] [ 82%] Built target device-counter [2022-03-29T06:52:31.653Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-29T06:52:31.924Z] [ 85%] Linking C executable device-random [2022-03-29T06:52:32.516Z] [ 85%] Built target device-random [2022-03-29T06:52:32.516Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-29T06:52:32.788Z] [ 88%] Linking C executable device-gyro [2022-03-29T06:52:33.063Z] [ 88%] Built target device-gyro [2022-03-29T06:52:33.063Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-29T06:52:33.657Z] [ 91%] Linking C executable device-bitfields [2022-03-29T06:52:33.928Z] [ 91%] Built target device-bitfields [2022-03-29T06:52:33.928Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-29T06:52:34.914Z] [ 94%] Linking C executable template-discovery [2022-03-29T06:52:35.186Z] [ 94%] Built target template-discovery [2022-03-29T06:52:35.186Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-29T06:52:36.161Z] [ 97%] Linking C executable device-file [2022-03-29T06:52:36.161Z] [ 97%] Built target device-file [2022-03-29T06:52:36.161Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-29T06:52:37.137Z] [100%] Linking C executable device-terminal [2022-03-29T06:52:37.137Z] [100%] Built target device-terminal [2022-03-29T06:52:37.409Z] Run CPack packaging tool... [2022-03-29T06:52:37.409Z] CPack: Create package using TGZ [2022-03-29T06:52:37.409Z] CPack: Install projects [2022-03-29T06:52:37.409Z] CPack: - Run preinstall target for: Csdk [2022-03-29T06:52:38.002Z] CPack: - Install project: Csdk [] [2022-03-29T06:52:38.274Z] CPack: Create package [2022-03-29T06:52:38.274Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.7.tar.gz generated. [2022-03-29T06:52:38.274Z] + '[' false '=' true ] [2022-03-29T06:52:38.274Z] + '[' false '=' true ] [2022-03-29T06:52:38.274Z] + mkdir -p /tmp/sdk/build/debug [2022-03-29T06:52:38.274Z] + cd /tmp/sdk/build/debug [2022-03-29T06:52:38.274Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-29T06:52:38.545Z] -- The C compiler identification is GNU 10.3.1 [2022-03-29T06:52:38.545Z] -- Detecting C compiler ABI info [2022-03-29T06:52:38.820Z] -- Detecting C compiler ABI info - done [2022-03-29T06:52:39.099Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-29T06:52:39.099Z] -- Detecting C compile features [2022-03-29T06:52:39.099Z] -- Detecting C compile features - done [2022-03-29T06:52:39.099Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-29T06:52:39.099Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-29T06:52:39.099Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-29T06:52:39.375Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-29T06:52:39.375Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-29T06:52:39.375Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-29T06:52:39.375Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-29T06:52:39.375Z] -- C SDK 2.2.0-dev.7 for Linux [2022-03-29T06:52:39.375Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-29T06:52:39.648Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-29T06:52:39.648Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-29T06:52:39.921Z] -- Configuring done [2022-03-29T06:52:40.192Z] -- Generating done [2022-03-29T06:52:40.192Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-29T06:52:40.192Z] + make [2022-03-29T06:52:40.192Z] + tee debug.log [2022-03-29T06:52:40.192Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-29T06:52:40.785Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-29T06:52:41.058Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-29T06:52:41.650Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-29T06:52:42.241Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-29T06:52:42.241Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-29T06:52:42.834Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-29T06:52:43.109Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-29T06:52:43.382Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-29T06:52:43.974Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-29T06:52:44.569Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-29T06:52:44.842Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-29T06:52:45.115Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-29T06:52:45.708Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-29T06:52:45.980Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-29T06:52:45.980Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-29T06:52:46.251Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-29T06:52:47.227Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-29T06:52:47.500Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-29T06:52:47.774Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-29T06:52:48.048Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-29T06:52:48.328Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-29T06:52:48.328Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-29T06:52:48.328Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-29T06:52:48.328Z] 275 | const iot_component_factory_t * factory; [2022-03-29T06:52:48.328Z] | ^~~~~~~ [2022-03-29T06:52:48.599Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-29T06:52:50.023Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-29T06:52:50.023Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-29T06:52:50.295Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-29T06:52:50.567Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-29T06:52:50.841Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-29T06:52:50.841Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-29T06:52:51.436Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-29T06:52:51.436Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-29T06:52:52.029Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-29T06:52:52.029Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-29T06:52:52.301Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-29T06:52:52.896Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-29T06:52:53.168Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-29T06:52:53.763Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-29T06:52:54.035Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-29T06:52:55.014Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-29T06:52:55.607Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-29T06:52:55.881Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-29T06:52:56.155Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-29T06:52:56.155Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-29T06:52:56.155Z] /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-03-29T06:52:56.155Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-29T06:52:56.155Z] | ^~~~~~~~~~~~~ [2022-03-29T06:52:56.155Z] | | [2022-03-29T06:52:56.155Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-29T06:52:56.155Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:56.155Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-03-29T06:52:56.155Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-29T06:52:56.155Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-29T06:52:56.155Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-29T06:52:56.155Z] /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-03-29T06:52:56.155Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-29T06:52:56.155Z] | ^~~~~~~~~~~~ [2022-03-29T06:52:56.155Z] | | [2022-03-29T06:52:56.155Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:52:56.155Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:56.155Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:52:56.155Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:52:56.155Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:52:56.155Z] /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-03-29T06:52:56.155Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-29T06:52:56.155Z] | ^~~~~~~~~~~~ [2022-03-29T06:52:56.155Z] | | [2022-03-29T06:52:56.155Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-03-29T06:52:56.428Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-29T06:52:56.428Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-03-29T06:52:56.428Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-29T06:52:56.428Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-29T06:52:56.701Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-29T06:52:58.136Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-29T06:52:58.408Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-29T06:52:58.681Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-29T06:52:58.956Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-29T06:52:59.937Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-29T06:53:00.532Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-29T06:53:01.126Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-29T06:53:01.126Z] [ 76%] Linking C shared library libcsdk.so [2022-03-29T06:53:01.405Z] [ 76%] Built target csdk [2022-03-29T06:53:01.677Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-29T06:53:01.950Z] [ 79%] Linking C executable template [2022-03-29T06:53:02.225Z] [ 79%] Built target template [2022-03-29T06:53:02.225Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-29T06:53:02.499Z] [ 82%] Linking C executable device-counter [2022-03-29T06:53:02.774Z] [ 82%] Built target device-counter [2022-03-29T06:53:02.774Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-29T06:53:03.048Z] [ 85%] Linking C executable device-random [2022-03-29T06:53:03.326Z] [ 85%] Built target device-random [2022-03-29T06:53:03.326Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-29T06:53:03.599Z] [ 88%] Linking C executable device-gyro [2022-03-29T06:53:03.873Z] [ 88%] Built target device-gyro [2022-03-29T06:53:04.146Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-29T06:53:04.419Z] [ 91%] Linking C executable device-bitfields [2022-03-29T06:53:04.689Z] [ 91%] Built target device-bitfields [2022-03-29T06:53:04.689Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-29T06:53:04.961Z] [ 94%] Linking C executable template-discovery [2022-03-29T06:53:05.235Z] [ 94%] Built target template-discovery [2022-03-29T06:53:05.235Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-29T06:53:05.508Z] [ 97%] Linking C executable device-file [2022-03-29T06:53:05.781Z] [ 97%] Built target device-file [2022-03-29T06:53:06.053Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-29T06:53:06.326Z] [100%] Linking C executable device-terminal [2022-03-29T06:53:06.599Z] [100%] Built target device-terminal [2022-03-29T06:53:06.599Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.599Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] [ 76%] Built target csdk [2022-03-29T06:53:06.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] [ 79%] Built target template [2022-03-29T06:53:06.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] [ 82%] Built target device-counter [2022-03-29T06:53:06.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] [ 85%] Built target device-random [2022-03-29T06:53:06.872Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:06.872Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] [ 88%] Built target device-gyro [2022-03-29T06:53:07.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] [ 91%] Built target device-bitfields [2022-03-29T06:53:07.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] [ 94%] Built target template-discovery [2022-03-29T06:53:07.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] [ 97%] Built target device-file [2022-03-29T06:53:07.146Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] [100%] Built target device-terminal [2022-03-29T06:53:07.146Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:07.146Z] Install the project... [2022-03-29T06:53:07.425Z] -- Install configuration: "Release" [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/devsdk [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/time.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/component.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/config.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/container.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/os.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/data.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/os [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/json.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-29T06:53:07.425Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-29T06:53:07.425Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-29T06:53:09.406Z] Removing intermediate container 0220eec529bc [2022-03-29T06:53:09.406Z] ---> 73ff40d65384 [2022-03-29T06:53:09.406Z] Step 14/22 : FROM ${BASE} [2022-03-29T06:53:09.406Z] ---> 0af3d9908a83 [2022-03-29T06:53:09.406Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-29T06:53:09.406Z] ---> Running in 05b8984ae7fb [2022-03-29T06:53:09.406Z] Removing intermediate container 05b8984ae7fb [2022-03-29T06:53:09.406Z] ---> 7e757eb13810 [2022-03-29T06:53:09.406Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:53:09.406Z] ---> Running in 51afa3c46b9b [2022-03-29T06:53:10.385Z] Connecting to iotech.jfrog.io (52.18.159.91:443) [2022-03-29T06:53:10.987Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:53:10.988Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:53:10.988Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:53:11.598Z] Removing intermediate container 51afa3c46b9b [2022-03-29T06:53:11.598Z] ---> bc569425ad93 [2022-03-29T06:53:11.598Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:53:11.598Z] ---> Running in abe090fe7c40 [2022-03-29T06:53:13.041Z] Removing intermediate container abe090fe7c40 [2022-03-29T06:53:13.041Z] ---> 950a27c2adcc [2022-03-29T06:53:13.041Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-03-29T06:53:13.041Z] ---> Running in d20c065a813f [2022-03-29T06:53:14.022Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:15.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:15.601Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:16.194Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:53:16.194Z] (1/6) Installing curl (7.80.0-r0) [2022-03-29T06:53:16.194Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-29T06:53:16.464Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-29T06:53:16.464Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-29T06:53:16.464Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-29T06:53:16.737Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-29T06:53:17.713Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:53:17.713Z] OK: 278 MiB in 83 packages [2022-03-29T06:53:18.696Z] Removing intermediate container d20c065a813f [2022-03-29T06:53:18.696Z] ---> c94882da1a04 [2022-03-29T06:53:18.696Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-29T06:53:18.970Z] ---> f169c6901ad6 [2022-03-29T06:53:18.970Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-29T06:53:19.569Z] ---> 6179f0479a4e [2022-03-29T06:53:19.569Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-29T06:53:20.166Z] ---> cebd855247db [2022-03-29T06:53:20.166Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-29T06:53:20.768Z] ---> 2adaef54b18a [2022-03-29T06:53:20.768Z] Successfully built 2adaef54b18a [2022-03-29T06:53:20.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:53:21.190Z] + docker inspect -f . ci-base-image-arm64 [2022-03-29T06:53:21.190Z] . [Pipeline] withDockerContainer [2022-03-29T06:53:21.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-9321 does not seem to be running inside a container [2022-03-29T06:53:21.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/22 -v /w/workspace/device-sdk-c/22:/w/workspace/device-sdk-c/22:rw,z -v /w/workspace/device-sdk-c/22@tmp:/w/workspace/device-sdk-c/22@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-03-29T06:53:22.743Z] $ docker top 71853a85d939ca2089fe427defd59f34fd407023bfbbc4785cb88ec77e1180ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T06:53:23.631Z] + make test [2022-03-29T06:53:23.631Z] echo "make test" [2022-03-29T06:53:23.631Z] make test [Pipeline] } [2022-03-29T06:53:23.659Z] $ docker stop --time=1 71853a85d939ca2089fe427defd59f34fd407023bfbbc4785cb88ec77e1180ea [2022-03-29T06:53:25.251Z] $ docker rm -f 71853a85d939ca2089fe427defd59f34fd407023bfbbc4785cb88ec77e1180ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-29T06:53:25.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-29T06:53:26.195Z] + ls -al . [2022-03-29T06:53:26.195Z] total 204 [2022-03-29T06:53:26.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 06:50 . [2022-03-29T06:53:26.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:50 .. [2022-03-29T06:53:26.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 06:50 .git [2022-03-29T06:53:26.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 06:50 .github [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 29 06:50 .gitignore [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 29 06:50 Attribution.txt [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 8321 Mar 29 06:50 CHANGES [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 29 06:50 Doxyfile [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 06:50 GOVERNANCE.md [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 29 06:50 Jenkinsfile [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 06:50 LICENSE [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 29 06:50 Makefile [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 06:50 OWNERS.md [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 29 06:50 README.md [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 29 06:50 README.v2.md [2022-03-29T06:53:26.195Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 29 06:48 VERSION [2022-03-29T06:53:26.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:50 docs [2022-03-29T06:53:26.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:50 include [2022-03-29T06:53:26.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 06:50 scripts [2022-03-29T06:53:26.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 06:50 src [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:53:26.542Z] + 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=b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 --label arch=arm64 --label version=2.2.0-dev.7 . [2022-03-29T06:53:26.814Z] Sending build context to Docker daemon 2.751MB [2022-03-29T06:53:27.087Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-29T06:53:27.087Z] Step 2/17 : FROM ${BASE} [2022-03-29T06:53:27.087Z] ---> 2adaef54b18a [2022-03-29T06:53:27.087Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-29T06:53:27.087Z] ---> Running in 261a483028b4 [2022-03-29T06:53:27.360Z] Removing intermediate container 261a483028b4 [2022-03-29T06:53:27.360Z] ---> d0fe549936d0 [2022-03-29T06:53:27.360Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-03-29T06:53:27.360Z] ---> Running in 76e60747f6ac [2022-03-29T06:53:28.339Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-29T06:53:28.614Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-29T06:53:28.614Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-29T06:53:28.614Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-29T06:53:29.216Z] Removing intermediate container 76e60747f6ac [2022-03-29T06:53:29.216Z] ---> ef48cf1b9482 [2022-03-29T06:53:29.216Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-29T06:53:29.491Z] ---> Running in 6ba6439dc612 [2022-03-29T06:53:30.928Z] Removing intermediate container 6ba6439dc612 [2022-03-29T06:53:30.928Z] ---> 096186868724 [2022-03-29T06:53:30.928Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-03-29T06:53:30.928Z] ---> Running in d65c07d9e5f4 [2022-03-29T06:53:31.909Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:32.886Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:33.157Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T06:53:34.133Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-29T06:53:34.133Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-29T06:53:34.133Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-29T06:53:34.133Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-29T06:53:34.405Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-29T06:53:34.405Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-29T06:53:34.405Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-29T06:53:34.678Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-29T06:53:34.678Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-29T06:53:34.678Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-29T06:53:34.949Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-29T06:53:35.221Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-29T06:53:35.221Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-29T06:53:35.221Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-29T06:53:35.494Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-29T06:53:35.494Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-29T06:53:35.494Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-29T06:53:35.766Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-29T06:53:35.766Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-29T06:53:35.766Z] (19/26) Installing flock (2.37.4-r0) [2022-03-29T06:53:36.038Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-29T06:53:36.038Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-29T06:53:36.038Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-29T06:53:36.311Z] (23/26) Installing logger (2.37.4-r0) [2022-03-29T06:53:36.311Z] (24/26) Installing partx (2.37.4-r0) [2022-03-29T06:53:36.311Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-29T06:53:36.587Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-29T06:53:36.587Z] Executing busybox-1.34.1-r3.trigger [2022-03-29T06:53:36.587Z] OK: 290 MiB in 109 packages [2022-03-29T06:53:38.035Z] Removing intermediate container d65c07d9e5f4 [2022-03-29T06:53:38.035Z] ---> d788bf7bde98 [2022-03-29T06:53:38.035Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-29T06:53:38.633Z] ---> 2aa5570ba89a [2022-03-29T06:53:38.633Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-29T06:53:39.238Z] ---> 316c99962f13 [2022-03-29T06:53:39.238Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-29T06:53:39.831Z] ---> 9427a1727a8d [2022-03-29T06:53:39.831Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-29T06:53:40.437Z] ---> ac5026a80f7d [2022-03-29T06:53:40.437Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-29T06:53:40.710Z] ---> c80d7b0c4a35 [2022-03-29T06:53:40.710Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-29T06:53:41.309Z] ---> 640c76ddac16 [2022-03-29T06:53:41.309Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-29T06:53:41.309Z] ---> Running in c6f96b652c31 [2022-03-29T06:53:41.594Z] Removing intermediate container c6f96b652c31 [2022-03-29T06:53:41.594Z] ---> dfb69edf5b50 [2022-03-29T06:53:41.594Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-29T06:53:41.877Z] ---> Running in 53c6cc5ddc89 [2022-03-29T06:53:41.877Z] Removing intermediate container 53c6cc5ddc89 [2022-03-29T06:53:41.877Z] ---> be330b39bf6e [2022-03-29T06:53:41.877Z] Step 15/17 : LABEL arch=arm64 [2022-03-29T06:53:42.150Z] ---> Running in 7f19ed4afccc [2022-03-29T06:53:42.424Z] Removing intermediate container 7f19ed4afccc [2022-03-29T06:53:42.424Z] ---> d436327c8476 [2022-03-29T06:53:42.424Z] Step 16/17 : LABEL git_sha=b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 [2022-03-29T06:53:42.424Z] ---> Running in f6ac99bbeb5f [2022-03-29T06:53:42.696Z] Removing intermediate container f6ac99bbeb5f [2022-03-29T06:53:42.696Z] ---> 00017513dff2 [2022-03-29T06:53:42.696Z] Step 17/17 : LABEL version=2.2.0-dev.7 [2022-03-29T06:53:42.696Z] ---> Running in b8652a95a253 [2022-03-29T06:53:42.968Z] Removing intermediate container b8652a95a253 [2022-03-29T06:53:42.968Z] ---> 56058a4bd6ea [2022-03-29T06:53:42.968Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-29T06:53:43.241Z] Successfully built 56058a4bd6ea [2022-03-29T06:53:43.241Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:53:43.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T06:53:43.676Z] [2022-03-29T06:53:43.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:53:44.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T06:53:44.318Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-29T06:53:44.318Z] 8998bd30e6a1: Pulling fs layer [2022-03-29T06:53:44.318Z] 04944245beec: Pulling fs layer [2022-03-29T06:53:44.318Z] 699f458cf7ca: Pulling fs layer [2022-03-29T06:53:44.318Z] 765212b225bb: Pulling fs layer [2022-03-29T06:53:44.318Z] f23df028b6ca: Pulling fs layer [2022-03-29T06:53:44.318Z] 765212b225bb: Waiting [2022-03-29T06:53:44.318Z] f23df028b6ca: Waiting [2022-03-29T06:53:44.318Z] d65c8cfc05b1: Pulling fs layer [2022-03-29T06:53:44.318Z] 2437ff75d9bd: Pulling fs layer [2022-03-29T06:53:44.318Z] d65c8cfc05b1: Waiting [2022-03-29T06:53:44.318Z] 2437ff75d9bd: Waiting [2022-03-29T06:53:44.318Z] 04944245beec: Verifying Checksum [2022-03-29T06:53:44.318Z] 04944245beec: Download complete [2022-03-29T06:53:44.318Z] 765212b225bb: Verifying Checksum [2022-03-29T06:53:44.318Z] 765212b225bb: Download complete [2022-03-29T06:53:44.318Z] f23df028b6ca: Verifying Checksum [2022-03-29T06:53:44.318Z] f23df028b6ca: Download complete [2022-03-29T06:53:44.318Z] d65c8cfc05b1: Verifying Checksum [2022-03-29T06:53:44.318Z] d65c8cfc05b1: Download complete [2022-03-29T06:53:44.596Z] 699f458cf7ca: Verifying Checksum [2022-03-29T06:53:44.596Z] 699f458cf7ca: Download complete [2022-03-29T06:53:44.870Z] 8998bd30e6a1: Download complete [2022-03-29T06:53:47.501Z] 2437ff75d9bd: Verifying Checksum [2022-03-29T06:53:47.501Z] 2437ff75d9bd: Download complete [2022-03-29T06:53:49.479Z] 8998bd30e6a1: Pull complete [2022-03-29T06:53:49.752Z] 04944245beec: Pull complete [2022-03-29T06:53:51.187Z] 699f458cf7ca: Pull complete [2022-03-29T06:53:51.187Z] 765212b225bb: Pull complete [2022-03-29T06:53:52.169Z] f23df028b6ca: Pull complete [2022-03-29T06:53:52.442Z] d65c8cfc05b1: Pull complete [2022-03-29T06:54:07.552Z] 2437ff75d9bd: Pull complete [2022-03-29T06:54:07.552Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-29T06:54:07.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T06:54:07.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-29T06:54:07.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-9321 does not seem to be running inside a container [2022-03-29T06:54:07.854Z] $ 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/22 -v /w/workspace/device-sdk-c/22:/w/workspace/device-sdk-c/22:rw,z -v /w/workspace/device-sdk-c/22@tmp:/w/workspace/device-sdk-c/22@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-03-29T06:54:10.283Z] $ docker top eecef7ff69de3eb14f69bcb3c9a61d4ffbdfdd8a344487a89fc2b1d57157e2e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:11.222Z] ---> job-cost.sh [2022-03-29T06:54:11.222Z] lf-activate-venv: SKIPPING [2022-03-29T06:54:11.222Z] INFO: No Stack... [2022-03-29T06:54:11.816Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-29T06:54:12.408Z] INFO: Archiving Costs [Pipeline] sh [2022-03-29T06:54:13.078Z] + cut+ -d, -f6 [2022-03-29T06:54:13.078Z] cat /w/workspace/device-sdk-c/22/archives/cost.csv [Pipeline] lock [2022-03-29T06:54:13.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [2022-03-29T06:54:13.153Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] did not exist. Created. [2022-03-29T06:54:13.154Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-29T06:54:13.854Z] /w/workspace/device-sdk-c/22@tmp/durable-df61adc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-29T06:54:14.554Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-29T06:54:14.575Z] Warning: overwriting stash ‘stack-cost’ [2022-03-29T06:54:15.237Z] Stashed 1 file(s) [Pipeline] } [2022-03-29T06:54:15.244Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-29T06:54:15.267Z] $ docker stop --time=1 eecef7ff69de3eb14f69bcb3c9a61d4ffbdfdd8a344487a89fc2b1d57157e2e9 [2022-03-29T06:54:16.837Z] $ docker rm -f eecef7ff69de3eb14f69bcb3c9a61d4ffbdfdd8a344487a89fc2b1d57157e2e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2022-03-29T06:54:17.562Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-29T06:54:17.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:17.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:54:17.861Z] . [Pipeline] withDockerContainer [2022-03-29T06:54:17.928Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:54:17.965Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-29T06:54:18.334Z] $ docker top 8f3cb3e8748c1354cea764bde1e678c9aac2f42f377a5a3bc80bb4fc792a69f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-29T06:54:18.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T06:54:18.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T06:54:18.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T06:54:18.563Z] $ docker exec 8f3cb3e8748c1354cea764bde1e678c9aac2f42f377a5a3bc80bb4fc792a69f4 ssh-agent [2022-03-29T06:54:18.689Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXigGCdO/agent.13 [2022-03-29T06:54:18.689Z] SSH_AGENT_PID=19 [2022-03-29T06:54:18.695Z] Running ssh-add (command line suppressed) [2022-03-29T06:54:18.817Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7100963054374700140.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7100963054374700140.key) [2022-03-29T06:54:18.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T06:54:19.119Z] + git semver tag [2022-03-29T06:54:19.119Z] # -> Open(): unable to determine branch for HEAD [2022-03-29T06:54:19.119Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-29T06:54:19.119Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-29T06:54:19.119Z] # $SEMVER_REMOTE_NAME = origin [2022-03-29T06:54:19.119Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-29T06:54:19.119Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-29T06:54:19.119Z] # $SEMVER_BRANCH = main [2022-03-29T06:54:19.119Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-29T06:54:19.119Z] # b0d2b7caa9bf3af8d95653d5536cc5c3bde74134 HEAD [2022-03-29T06:54:19.119Z] # -> Force: false [2022-03-29T06:54:19.119Z] # 2df912f2a05faa1a83e6be6ca093b1272d6c416e refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-03-29T06:54:19.133Z] $ docker exec --env ******** --env ******** 8f3cb3e8748c1354cea764bde1e678c9aac2f42f377a5a3bc80bb4fc792a69f4 ssh-agent -k [2022-03-29T06:54:19.234Z] unset SSH_AUTH_SOCK; [2022-03-29T06:54:19.234Z] unset SSH_AGENT_PID; [2022-03-29T06:54:19.234Z] echo Agent pid 19 killed; [2022-03-29T06:54:19.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-29T06:54:19.537Z] + git semver [Pipeline] } [2022-03-29T06:54:19.555Z] $ docker stop --time=1 8f3cb3e8748c1354cea764bde1e678c9aac2f42f377a5a3bc80bb4fc792a69f4 [2022-03-29T06:54:20.827Z] $ docker rm -f 8f3cb3e8748c1354cea764bde1e678c9aac2f42f377a5a3bc80bb4fc792a69f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:21.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-29T06:54:21.244Z] [2022-03-29T06:54:21.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:21.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-29T06:54:21.547Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-29T06:54:21.547Z] ab5ef0e58194: Pulling fs layer [2022-03-29T06:54:21.547Z] 9712f1f96733: Pulling fs layer [2022-03-29T06:54:21.547Z] 63f879dbbcfc: Pulling fs layer [2022-03-29T06:54:21.547Z] 0d9ebad4ef96: Pulling fs layer [2022-03-29T06:54:21.547Z] e9a5061849ea: Pulling fs layer [2022-03-29T06:54:21.547Z] d747dcd14b5f: Pulling fs layer [2022-03-29T06:54:21.547Z] 2de7ff778b66: Pulling fs layer [2022-03-29T06:54:21.547Z] 0d9ebad4ef96: Waiting [2022-03-29T06:54:21.547Z] e9a5061849ea: Waiting [2022-03-29T06:54:21.547Z] 2de7ff778b66: Waiting [2022-03-29T06:54:21.547Z] d747dcd14b5f: Waiting [2022-03-29T06:54:21.547Z] 9712f1f96733: Verifying Checksum [2022-03-29T06:54:21.547Z] 9712f1f96733: Download complete [2022-03-29T06:54:21.806Z] 63f879dbbcfc: Verifying Checksum [2022-03-29T06:54:21.806Z] 63f879dbbcfc: Download complete [2022-03-29T06:54:22.065Z] e9a5061849ea: Verifying Checksum [2022-03-29T06:54:22.065Z] e9a5061849ea: Download complete [2022-03-29T06:54:22.065Z] d747dcd14b5f: Verifying Checksum [2022-03-29T06:54:22.065Z] d747dcd14b5f: Download complete [2022-03-29T06:54:22.065Z] 0d9ebad4ef96: Verifying Checksum [2022-03-29T06:54:22.065Z] 0d9ebad4ef96: Download complete [2022-03-29T06:54:22.065Z] ab5ef0e58194: Verifying Checksum [2022-03-29T06:54:22.065Z] ab5ef0e58194: Download complete [2022-03-29T06:54:22.065Z] 2de7ff778b66: Verifying Checksum [2022-03-29T06:54:22.065Z] 2de7ff778b66: Download complete [2022-03-29T06:54:24.607Z] ab5ef0e58194: Pull complete [2022-03-29T06:54:24.607Z] 9712f1f96733: Pull complete [2022-03-29T06:54:25.546Z] 63f879dbbcfc: Pull complete [2022-03-29T06:54:28.839Z] 0d9ebad4ef96: Pull complete [2022-03-29T06:54:29.098Z] e9a5061849ea: Pull complete [2022-03-29T06:54:29.357Z] d747dcd14b5f: Pull complete [2022-03-29T06:54:30.295Z] 2de7ff778b66: Pull complete [2022-03-29T06:54:30.295Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-29T06:54:30.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-29T06:54:30.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-29T06:54:30.364Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:54:30.403Z] $ 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-03-29T06:54:32.866Z] $ docker top a669589d6886ec5319470f7e1a658aef1f23e903238aab753b3cec63446e88e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-29T06:54:32.950Z] provisioning config files... [2022-03-29T06:54:32.958Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6224885183074417369tmp [2022-03-29T06:54:32.968Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4579284723853849714tmp [2022-03-29T06:54:32.977Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5733470591104045428tmp [Pipeline] { [Pipeline] echo [2022-03-29T06:54:32.992Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:33.283Z] ---> sigul-configuration.sh [2022-03-29T06:54:33.283Z] gpg: directory `/root/.gnupg' created [2022-03-29T06:54:33.283Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-29T06:54:33.283Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-29T06:54:33.283Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-29T06:54:33.283Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-29T06:54:33.283Z] gpg: CAST5 encrypted data [2022-03-29T06:54:33.283Z] gpg: encrypted with 1 passphrase [2022-03-29T06:54:33.283Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-29T06:54:33.577Z] + mkdir /home/jenkins [2022-03-29T06:54:33.577Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-29T06:54:33.870Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-03-29T06:54:33.880Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:34.171Z] ---> sigul-install.sh [2022-03-29T06:54:34.171Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-29T06:54:34.463Z] + git tag --list [2022-03-29T06:54:34.463Z] 0.7.0 [2022-03-29T06:54:34.463Z] 0.7.1 [2022-03-29T06:54:34.463Z] 1.0.0 [2022-03-29T06:54:34.463Z] v1.0.1 [2022-03-29T06:54:34.463Z] v1.0.2 [2022-03-29T06:54:34.463Z] v1.0.3 [2022-03-29T06:54:34.463Z] v1.1.0 [2022-03-29T06:54:34.463Z] v1.1.1 [2022-03-29T06:54:34.463Z] v1.2.0 [2022-03-29T06:54:34.463Z] v1.2.1 [2022-03-29T06:54:34.463Z] v1.2.2 [2022-03-29T06:54:34.463Z] v1.3.0 [2022-03-29T06:54:34.463Z] v1.3.1 [2022-03-29T06:54:34.463Z] v2.0.0 [2022-03-29T06:54:34.463Z] v2.0.1-dev.1 [2022-03-29T06:54:34.463Z] v2.0.1-dev.10 [2022-03-29T06:54:34.463Z] v2.0.1-dev.11 [2022-03-29T06:54:34.463Z] v2.0.1-dev.12 [2022-03-29T06:54:34.463Z] v2.0.1-dev.13 [2022-03-29T06:54:34.463Z] v2.0.1-dev.2 [2022-03-29T06:54:34.463Z] v2.0.1-dev.3 [2022-03-29T06:54:34.463Z] v2.0.1-dev.4 [2022-03-29T06:54:34.463Z] v2.0.1-dev.5 [2022-03-29T06:54:34.463Z] v2.0.1-dev.6 [2022-03-29T06:54:34.463Z] v2.0.1-dev.7 [2022-03-29T06:54:34.463Z] v2.0.1-dev.8 [2022-03-29T06:54:34.463Z] v2.0.1-dev.9 [2022-03-29T06:54:34.463Z] v2.1.0 [2022-03-29T06:54:34.463Z] v2.2.0-dev.1 [2022-03-29T06:54:34.463Z] v2.2.0-dev.2 [2022-03-29T06:54:34.463Z] v2.2.0-dev.3 [2022-03-29T06:54:34.463Z] v2.2.0-dev.4 [2022-03-29T06:54:34.463Z] v2.2.0-dev.5 [2022-03-29T06:54:34.463Z] v2.2.0-dev.6 [2022-03-29T06:54:34.463Z] v2.2.0-dev.7 [Pipeline] sh [2022-03-29T06:54:34.758Z] + lftools sign git-tag v2.2.0-dev.7 [2022-03-29T06:54:35.329Z] Signing Git tag with Sigul... [2022-03-29T06:54:35.329Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-03-29T06:54:35.600Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:35.891Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-29T06:54:35.899Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-29T06:54:35.927Z] $ docker stop --time=1 a669589d6886ec5319470f7e1a658aef1f23e903238aab753b3cec63446e88e4 [2022-03-29T06:54:37.375Z] $ docker rm -f a669589d6886ec5319470f7e1a658aef1f23e903238aab753b3cec63446e88e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-29T06:54:37.793Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-29T06:54:37.793Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:38.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:54:38.089Z] . [Pipeline] withDockerContainer [2022-03-29T06:54:38.164Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:54:38.203Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-29T06:54:38.756Z] $ docker top ec1ffe607994d8fc4227338feed50a61f65c79c261c2a09d763c7a7cd36b2665 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-29T06:54:38.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T06:54:38.845Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T06:54:38.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T06:54:38.968Z] $ docker exec ec1ffe607994d8fc4227338feed50a61f65c79c261c2a09d763c7a7cd36b2665 ssh-agent [2022-03-29T06:54:39.085Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMeNnOF/agent.14 [2022-03-29T06:54:39.085Z] SSH_AGENT_PID=20 [2022-03-29T06:54:39.092Z] Running ssh-add (command line suppressed) [2022-03-29T06:54:39.198Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8974938777440447995.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8974938777440447995.key) [2022-03-29T06:54:39.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T06:54:39.503Z] + git semver bump pre [2022-03-29T06:54:39.503Z] # -> Open(): unable to determine branch for HEAD [2022-03-29T06:54:39.503Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-29T06:54:39.503Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-29T06:54:39.503Z] # $SEMVER_REMOTE_NAME = origin [2022-03-29T06:54:39.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-29T06:54:39.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-29T06:54:39.503Z] # $SEMVER_BRANCH = main [2022-03-29T06:54:39.503Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-29T06:54:39.503Z] 2.2.0-dev.8 [Pipeline] } [2022-03-29T06:54:39.518Z] $ docker exec --env ******** --env ******** ec1ffe607994d8fc4227338feed50a61f65c79c261c2a09d763c7a7cd36b2665 ssh-agent -k [2022-03-29T06:54:39.632Z] unset SSH_AUTH_SOCK; [2022-03-29T06:54:39.632Z] unset SSH_AGENT_PID; [2022-03-29T06:54:39.633Z] echo Agent pid 20 killed; [2022-03-29T06:54:39.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-29T06:54:39.956Z] + git semver [Pipeline] } [2022-03-29T06:54:39.975Z] $ docker stop --time=1 ec1ffe607994d8fc4227338feed50a61f65c79c261c2a09d763c7a7cd36b2665 [2022-03-29T06:54:41.275Z] $ docker rm -f ec1ffe607994d8fc4227338feed50a61f65c79c261c2a09d763c7a7cd36b2665 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-29T06:54:41.664Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-29T06:54:41.664Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:41.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T06:54:41.960Z] . [Pipeline] withDockerContainer [2022-03-29T06:54:42.029Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:54:42.071Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-29T06:54:42.487Z] $ docker top 7fcef51c5e6a17e635930c283f28ece9d7712ed262733dd9bd45cd13eeb9fd13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-29T06:54:42.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T06:54:42.583Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T06:54:42.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T06:54:42.716Z] $ docker exec 7fcef51c5e6a17e635930c283f28ece9d7712ed262733dd9bd45cd13eeb9fd13 ssh-agent [2022-03-29T06:54:42.835Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDIhJpE/agent.14 [2022-03-29T06:54:42.835Z] SSH_AGENT_PID=20 [2022-03-29T06:54:42.842Z] Running ssh-add (command line suppressed) [2022-03-29T06:54:42.958Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5514733033992022297.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5514733033992022297.key) [2022-03-29T06:54:42.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T06:54:43.264Z] + git semver push [2022-03-29T06:54:43.264Z] # -> Open(): unable to determine branch for HEAD [2022-03-29T06:54:43.264Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-29T06:54:43.264Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-29T06:54:43.264Z] # $SEMVER_REMOTE_NAME = origin [2022-03-29T06:54:43.264Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-29T06:54:43.264Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-29T06:54:43.264Z] # $SEMVER_BRANCH = main [2022-03-29T06:54:43.264Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-29T06:54:45.195Z] $ docker exec --env ******** --env ******** 7fcef51c5e6a17e635930c283f28ece9d7712ed262733dd9bd45cd13eeb9fd13 ssh-agent -k [2022-03-29T06:54:45.307Z] unset SSH_AUTH_SOCK; [2022-03-29T06:54:45.307Z] unset SSH_AGENT_PID; [2022-03-29T06:54:45.307Z] echo Agent pid 20 killed; [2022-03-29T06:54:45.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-29T06:54:45.622Z] + git semver [Pipeline] } [2022-03-29T06:54:45.641Z] $ docker stop --time=1 7fcef51c5e6a17e635930c283f28ece9d7712ed262733dd9bd45cd13eeb9fd13 [2022-03-29T06:54:46.927Z] $ docker rm -f 7fcef51c5e6a17e635930c283f28ece9d7712ed262733dd9bd45cd13eeb9fd13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-29T06:54:47.445Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-03-29T06:54:47.446Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-29T06:54:47.446Z] total 16 [2022-03-29T06:54:47.446Z] drwxr-xr-x 3 root root 4096 Mar 29 06:49 . [2022-03-29T06:54:47.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 06:54 .. [2022-03-29T06:54:47.446Z] drwxr-xr-x 2 root root 4096 Mar 29 06:49 cost [2022-03-29T06:54:47.446Z] -rw-r--r-- 1 root root 82 Mar 29 06:49 cost.csv [2022-03-29T06:54:47.446Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-29T06:54:47.446Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-29T06:54:47.446Z] total 16 [2022-03-29T06:54:47.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 06:49 . [2022-03-29T06:54:47.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 06:54 .. [2022-03-29T06:54:47.446Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 06:49 cost [2022-03-29T06:54:47.446Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 29 06:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:47.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:48.605Z] ---> package-listing.sh [2022-03-29T06:54:48.605Z] ++ facter osfamily [2022-03-29T06:54:48.605Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-29T06:54:48.864Z] + OS_FAMILY=debian [2022-03-29T06:54:48.864Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-03-29T06:54:48.864Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-29T06:54:48.864Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-29T06:54:48.864Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-29T06:54:48.864Z] + PACKAGES=/tmp/packages_start.txt [2022-03-29T06:54:48.864Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-29T06:54:48.864Z] + PACKAGES=/tmp/packages_end.txt [2022-03-29T06:54:48.864Z] + case "${OS_FAMILY}" in [2022-03-29T06:54:48.864Z] + grep '^ii' [2022-03-29T06:54:48.864Z] + dpkg -l [2022-03-29T06:54:48.864Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-29T06:54:48.864Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-29T06:54:48.864Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-29T06:54:48.864Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-29T06:54:48.864Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-03-29T06:54:48.864Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-03-29T06:54:48.876Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-29T06:54:49.155Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-29T06:54:49.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T06:54:49.710Z] . [Pipeline] withDockerContainer [2022-03-29T06:54:49.772Z] prd-ubuntu20.04-docker-8c-8g-9320 does not seem to be running inside a container [2022-03-29T06:54:49.812Z] $ 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-03-29T06:54:50.056Z] $ docker top 6354936e4b7b3f2568ee56f5b9b1d2257808b342d668f55caebf5d9a53bd18f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T06:54:50.413Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-29T06:54:50.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-29T06:54:50.998Z] + ls /var/log/sa-host [2022-03-29T06:54:50.998Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T06:54:51.255Z] provisioning config files... [2022-03-29T06:54:51.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6842541626829109898tmp [Pipeline] { [Pipeline] echo [2022-03-29T06:54:51.278Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:51.567Z] ---> create-netrc.sh [Pipeline] } [2022-03-29T06:54:51.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:51.911Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-29T06:54:51.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:52.208Z] ---> sudo-logs.sh [2022-03-29T06:54:52.208Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-29T06:54:52.234Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:52.525Z] ---> job-cost.sh [2022-03-29T06:54:52.525Z] lf-activate-venv: SKIPPING [2022-03-29T06:54:52.525Z] DEBUG: total: 0.2199999988079071 [2022-03-29T06:54:52.525Z] INFO: Retrieving Stack Cost... [2022-03-29T06:54:53.096Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-29T06:54:53.357Z] INFO: Archiving Costs [Pipeline] echo [2022-03-29T06:54:53.371Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T06:54:53.658Z] ---> logs-deploy.sh [2022-03-29T06:54:53.658Z] lf-activate-venv: SKIPPING [2022-03-29T06:54:53.658Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/22 [2022-03-29T06:54:53.658Z] INFO: archiving workspace using pattern(s): [2022-03-29T06:54:54.602Z] Archives upload complete. [2022-03-29T06:54:54.602Z] INFO: archiving logs to Nexus