Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 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-ssh12244258926778563234.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-ssh17769070115096046144.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-ssh17246228008174362118.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-ssh6197918057838005460.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-ssh7276567744709271093.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-7977 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 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (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 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 Commit message: "feat: upload secrets from file (#404)" > git rev-list --no-walk 48c08245ad9168b435c5e70f99b42d590e34b603 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-18T15:21:44.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-18T15:21:45.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-18T15:21:45.055Z] ========================================================= [2022-03-18T15:21:45.055Z] EdgeX Global Pipelines Version Info [2022-03-18T15:21:45.055Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:21:45.838Z] ------------------- [2022-03-18T15:21:45.838Z] stable info: [2022-03-18T15:21:45.838Z] ------------------- [2022-03-18T15:21:45.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-18T15:21:45.838Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T15:21:45.838Z] Message: update stable to v1.0.221 [2022-03-18T15:21:46.408Z] ------------------- [2022-03-18T15:21:46.408Z] experimental info: [2022-03-18T15:21:46.408Z] ------------------- [2022-03-18T15:21:46.408Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-18T15:21:46.408Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T15:21:46.408Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-18T15:21:46.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-03-18T15:21:46.551Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-03-18T15:21:46.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-18T15:21:46.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-18T15:21:46.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-18T15:21:46.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-03-18T15:21:46.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-03-18T15:21:46.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-18T15:21:46.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-18T15:21:46.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-03-18T15:21:46.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-18T15:21:46.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-18T15:21:46.682Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-18T15:21:46.693Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T15:21:46.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-18T15:21:46.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-18T15:21:46.727Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-18T15:21:46.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-18T15:21:46.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-18T15:21:46.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-18T15:21:46.771Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo [2022-03-18T15:21:46.782Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f9fd7b [Pipeline] echo [2022-03-18T15:21:46.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T15:21:46.831Z] provisioning config files... [2022-03-18T15:21:46.844Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5782878796414541602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:21:47.150Z] ---> docker-login.sh [2022-03-18T15:21:47.150Z] nexus3.edgexfoundry.org:10001 [2022-03-18T15:21:47.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:47.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:47.412Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:47.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:47.412Z] [2022-03-18T15:21:47.412Z] Login Succeeded [2022-03-18T15:21:47.412Z] nexus3.edgexfoundry.org:10002 [2022-03-18T15:21:47.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:47.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:47.673Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:47.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:47.673Z] [2022-03-18T15:21:47.673Z] Login Succeeded [2022-03-18T15:21:47.673Z] nexus3.edgexfoundry.org:10003 [2022-03-18T15:21:47.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:47.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:47.673Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:47.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:47.673Z] [2022-03-18T15:21:47.673Z] Login Succeeded [2022-03-18T15:21:47.673Z] nexus3.edgexfoundry.org:10004 [2022-03-18T15:21:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:47.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:47.935Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:47.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:47.935Z] [2022-03-18T15:21:47.935Z] Login Succeeded [2022-03-18T15:21:47.935Z] docker.io [2022-03-18T15:21:47.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:48.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:48.543Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:48.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:48.543Z] [2022-03-18T15:21:48.543Z] Login Succeeded [2022-03-18T15:21:48.543Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T15:21:48.552Z] 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-18T15:21:48.947Z] + git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo [2022-03-18T15:21:49.055Z] -----------> git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [false] [Pipeline] sh [2022-03-18T15:21:49.348Z] + git log --format=format:%s -1 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo [2022-03-18T15:21:49.366Z] ========================================================= [2022-03-18T15:21:49.366Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T15:21:49.366Z] ========================================================= 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-18T15:21:49.751Z] + git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo [2022-03-18T15:21:49.766Z] -----------> git rev-list -1 --merges 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4~1..0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [false] [Pipeline] sh [2022-03-18T15:21:50.058Z] + git log --format=format:%s -1 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [Pipeline] echo [2022-03-18T15:21:50.075Z] ========================================================= [2022-03-18T15:21:50.075Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T15:21:50.075Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-03-18T15:21:50.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T15:21:50.628Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-18T15:21:50.628Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-18T15:21:50.628Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-18T15:21:50.628Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-18T15:21:50.628Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-18T15:21:50.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:21:51.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:21:51.054Z] [2022-03-18T15:21:51.054Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:21:51.360Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:21:51.360Z] latest: Pulling from edgex-devops/git-semver [2022-03-18T15:21:51.360Z] a0d0a0d46f8b: Pulling fs layer [2022-03-18T15:21:51.360Z] 3e5f54012d9b: Pulling fs layer [2022-03-18T15:21:51.360Z] 4c7163046ea9: Pulling fs layer [2022-03-18T15:21:51.360Z] 0c2d73faf560: Pulling fs layer [2022-03-18T15:21:51.360Z] 0c2d73faf560: Waiting [2022-03-18T15:21:51.360Z] 3e5f54012d9b: Verifying Checksum [2022-03-18T15:21:51.360Z] 3e5f54012d9b: Download complete [2022-03-18T15:21:51.360Z] a0d0a0d46f8b: Download complete [2022-03-18T15:21:51.360Z] 0c2d73faf560: Verifying Checksum [2022-03-18T15:21:51.360Z] 0c2d73faf560: Download complete [2022-03-18T15:21:51.360Z] 4c7163046ea9: Verifying Checksum [2022-03-18T15:21:51.360Z] 4c7163046ea9: Download complete [2022-03-18T15:21:51.622Z] a0d0a0d46f8b: Pull complete [2022-03-18T15:21:51.622Z] 3e5f54012d9b: Pull complete [2022-03-18T15:21:51.884Z] 4c7163046ea9: Pull complete [2022-03-18T15:21:52.145Z] 0c2d73faf560: Pull complete [2022-03-18T15:21:52.145Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-18T15:21:52.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:21:52.146Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-18T15:21:52.229Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:21:52.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T15:21:52.879Z] $ docker top a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T15:21:53.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T15:21:53.013Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T15:21:53.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T15:21:53.152Z] $ docker exec a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent [2022-03-18T15:21:53.301Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKdNcpI/agent.13 [2022-03-18T15:21:53.301Z] SSH_AGENT_PID=19 [2022-03-18T15:21:53.310Z] Running ssh-add (command line suppressed) [2022-03-18T15:21:53.424Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9206152710117286386.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9206152710117286386.key) [2022-03-18T15:21:53.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T15:21:53.746Z] + git tag --points-at HEAD [Pipeline] } [2022-03-18T15:21:53.754Z] $ docker exec --env ******** --env ******** a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent -k [2022-03-18T15:21:53.860Z] unset SSH_AUTH_SOCK; [2022-03-18T15:21:53.861Z] unset SSH_AGENT_PID; [2022-03-18T15:21:53.861Z] echo Agent pid 19 killed; [2022-03-18T15:21:53.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-18T15:21:53.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T15:21:53.916Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T15:21:54.064Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T15:21:54.053Z] $ docker exec a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent [2022-03-18T15:21:54.179Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkNgIEh/agent.53 [2022-03-18T15:21:54.179Z] SSH_AGENT_PID=59 [2022-03-18T15:21:54.185Z] Running ssh-add (command line suppressed) [2022-03-18T15:21:54.296Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7795722682095876816.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7795722682095876816.key) [2022-03-18T15:21:54.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T15:21:54.616Z] + git semver init [2022-03-18T15:21:54.616Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T15:21:54.616Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-18T15:21:54.616Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-18T15:21:54.616Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T15:21:54.616Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T15:21:54.616Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T15:21:54.616Z] # $SEMVER_BRANCH = main [2022-03-18T15:21:54.616Z] # $SEMVER_TEMP = /tmp/semver-566024001 [2022-03-18T15:21:54.616Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-03-18T15:21:55.560Z] # '/tmp/semver-566024001' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2022-03-18T15:21:55.560Z] # -> Force: false [2022-03-18T15:21:55.560Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-18T15:21:55.561Z] $ docker exec --env ******** --env ******** a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a ssh-agent -k [2022-03-18T15:21:55.655Z] unset SSH_AUTH_SOCK; [2022-03-18T15:21:55.656Z] unset SSH_AGENT_PID; [2022-03-18T15:21:55.656Z] echo Agent pid 59 killed; [2022-03-18T15:21:55.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T15:21:55.982Z] + git semver [Pipeline] } [2022-03-18T15:21:55.986Z] $ docker stop --time=1 a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a [2022-03-18T15:21:57.338Z] $ docker rm -f a91c7043807cbae4b65a66c133915524a7ffd24cfad68b9a5dbb48f7d9880c4a [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T15:21:57.710Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-18T15:21:57.966Z] Stashed 1 file(s) [Pipeline] echo [2022-03-18T15:21:57.970Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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-18T15:21:58.058Z] provisioning config files... [2022-03-18T15:21:58.066Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1308702983563490845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:21:58.367Z] ---> docker-login.sh [2022-03-18T15:21:58.367Z] nexus3.edgexfoundry.org:10001 [2022-03-18T15:21:58.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:58.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:58.367Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:58.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:58.367Z] [2022-03-18T15:21:58.367Z] Login Succeeded [2022-03-18T15:21:58.367Z] nexus3.edgexfoundry.org:10002 [2022-03-18T15:21:58.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:58.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:58.627Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:58.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:58.627Z] [2022-03-18T15:21:58.627Z] Login Succeeded [2022-03-18T15:21:58.627Z] nexus3.edgexfoundry.org:10003 [2022-03-18T15:21:58.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:58.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:58.627Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:58.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:58.627Z] [2022-03-18T15:21:58.627Z] Login Succeeded [2022-03-18T15:21:58.627Z] nexus3.edgexfoundry.org:10004 [2022-03-18T15:21:58.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:58.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:58.888Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:58.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:58.888Z] [2022-03-18T15:21:58.888Z] Login Succeeded [2022-03-18T15:21:58.888Z] docker.io [2022-03-18T15:21:58.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:21:59.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:21:59.150Z] Configure a credential helper to remove this warning. See [2022-03-18T15:21:59.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:21:59.150Z] [2022-03-18T15:21:59.150Z] Login Succeeded [2022-03-18T15:21:59.150Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T15:21:59.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T15:21:59.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T15:21:59.226Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-03-18T15:21:59.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T15:21:59.245Z] ========================================================= [2022-03-18T15:21:59.245Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-03-18T15:21:59.245Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:21:59.544Z] + 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-18T15:21:59.544Z] Sending build context to Docker daemon 4.498MB [2022-03-18T15:21:59.544Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-18T15:21:59.544Z] Step 2/22 : FROM ${BASE} as builder [2022-03-18T15:21:59.544Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-03-18T15:21:59.544Z] 59bf1c3509f3: Pulling fs layer [2022-03-18T15:21:59.544Z] c743a93c8381: Pulling fs layer [2022-03-18T15:21:59.544Z] a2ad9f71ba65: Pulling fs layer [2022-03-18T15:21:59.544Z] c743a93c8381: Verifying Checksum [2022-03-18T15:21:59.544Z] c743a93c8381: Download complete [2022-03-18T15:21:59.810Z] 59bf1c3509f3: Verifying Checksum [2022-03-18T15:21:59.810Z] 59bf1c3509f3: Download complete [2022-03-18T15:21:59.810Z] 59bf1c3509f3: Pull complete [2022-03-18T15:21:59.810Z] c743a93c8381: Pull complete [2022-03-18T15:22:00.380Z] a2ad9f71ba65: Verifying Checksum [2022-03-18T15:22:00.381Z] a2ad9f71ba65: Download complete [2022-03-18T15:22:03.684Z] a2ad9f71ba65: Pull complete [2022-03-18T15:22:03.684Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-03-18T15:22:03.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-03-18T15:22:03.684Z] ---> c9e13ccc37c5 [2022-03-18T15:22:03.684Z] 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-18T15:22:03.946Z] ---> Running in f8c9c6964f0d [2022-03-18T15:22:04.207Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-18T15:22:04.469Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:22:04.469Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:22:04.469Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:22:05.041Z] Removing intermediate container f8c9c6964f0d [2022-03-18T15:22:05.041Z] ---> 8b95fb90fc57 [2022-03-18T15:22:05.041Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:22:05.041Z] ---> Running in 4c3907b2e39e [2022-03-18T15:22:05.613Z] Removing intermediate container 4c3907b2e39e [2022-03-18T15:22:05.613Z] ---> caefc95cd029 [2022-03-18T15:22:05.613Z] 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-18T15:22:05.613Z] ---> Running in 3c4bda46fe57 [2022-03-18T15:22:05.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:06.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:07.076Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:07.337Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:22:07.337Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-18T15:22:07.598Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-18T15:22:07.598Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-18T15:22:07.598Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-18T15:22:07.859Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T15:22:07.859Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T15:22:08.801Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-18T15:22:08.801Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-18T15:22:08.801Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-18T15:22:09.064Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-18T15:22:09.064Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-18T15:22:09.327Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-18T15:22:09.327Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-18T15:22:09.327Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-18T15:22:09.589Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-18T15:22:09.852Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-18T15:22:09.852Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-18T15:22:09.852Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-18T15:22:10.113Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-18T15:22:10.113Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-18T15:22:10.113Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-18T15:22:10.375Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-18T15:22:10.375Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-18T15:22:10.375Z] (24/31) Installing flock (2.37.4-r0) [2022-03-18T15:22:10.637Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-18T15:22:10.637Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-18T15:22:10.637Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-18T15:22:10.899Z] (28/31) Installing logger (2.37.4-r0) [2022-03-18T15:22:10.899Z] (29/31) Installing partx (2.37.4-r0) [2022-03-18T15:22:11.161Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-18T15:22:11.161Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-18T15:22:11.161Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:22:11.161Z] OK: 293 MiB in 108 packages [2022-03-18T15:22:11.735Z] Removing intermediate container 3c4bda46fe57 [2022-03-18T15:22:11.735Z] ---> 65e4a5bb17ab [2022-03-18T15:22:11.735Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-18T15:22:11.735Z] ---> Running in 96adf538046c [2022-03-18T15:22:12.680Z] Removing intermediate container 96adf538046c [2022-03-18T15:22:12.680Z] ---> de3060e82f24 [2022-03-18T15:22:12.680Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-18T15:22:12.680Z] ---> 8c12f29817df [2022-03-18T15:22:12.680Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-18T15:22:12.680Z] ---> 95a8eaef1b52 [2022-03-18T15:22:12.680Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-18T15:22:12.942Z] ---> e8765662164d [2022-03-18T15:22:12.942Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-18T15:22:13.029Z] Still waiting to schedule task [2022-03-18T15:22:13.029Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-18T15:22:13.203Z] ---> 6bda93c90e61 [2022-03-18T15:22:13.203Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-18T15:22:13.203Z] ---> 4fb470ad2e67 [2022-03-18T15:22:13.203Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-18T15:22:13.464Z] ---> 31fcdd65bef8 [2022-03-18T15:22:13.464Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-18T15:22:13.464Z] ---> Running in 9f7405599fbd [2022-03-18T15:22:13.725Z] + CPPCHECK=false [2022-03-18T15:22:13.725Z] + DOCGEN=false [2022-03-18T15:22:13.725Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-18T15:22:13.725Z] + TOMLVER=SDK-0.2 [2022-03-18T15:22:13.725Z] + CUTILVER=1.2.2 [2022-03-18T15:22:13.725Z] + '[' 0 -gt 0 ] [2022-03-18T15:22:13.725Z] + readlink -f ./scripts/build.sh [2022-03-18T15:22:13.725Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-18T15:22:13.725Z] + dirname /tmp/sdk/scripts [2022-03-18T15:22:13.725Z] + ROOT=/tmp/sdk [2022-03-18T15:22:13.725Z] + cd /tmp/sdk [2022-03-18T15:22:13.725Z] + '[' '!' -d deps ] [2022-03-18T15:22:13.725Z] + mkdir deps [2022-03-18T15:22:13.725Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-18T15:22:13.725Z] + tar -C deps -z -x -f - [2022-03-18T15:22:13.725Z] Connecting to github.com (140.82.114.3:443) [2022-03-18T15:22:13.985Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-03-18T15:22:14.246Z] writing to stdout [2022-03-18T15:22:14.246Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-18T15:22:14.246Z] written to stdout [2022-03-18T15:22:14.246Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-18T15:22:14.246Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-03-18T15:22:14.246Z] + tar -C deps -z -x -f - [2022-03-18T15:22:14.246Z] Connecting to github.com (140.82.114.3:443) [2022-03-18T15:22:14.246Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-03-18T15:22:14.508Z] writing to stdout [2022-03-18T15:22:14.508Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-18T15:22:14.508Z] written to stdout [2022-03-18T15:22:14.508Z] + mkdir -p src/c/iot [2022-03-18T15:22:14.508Z] + 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-18T15:22:14.508Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-18T15:22:14.508Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-18T15:22:14.508Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-18T15:22:14.508Z] + mkdir -p include/iot [2022-03-18T15:22:14.508Z] + 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-18T15:22:14.508Z] + mkdir -p include/iot/os [2022-03-18T15:22:14.508Z] + 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-18T15:22:14.508Z] + mkdir -p /tmp/sdk/build/release [2022-03-18T15:22:14.508Z] + cd /tmp/sdk/build/release [2022-03-18T15:22:14.508Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-18T15:22:14.767Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T15:22:14.767Z] -- Detecting C compiler ABI info [2022-03-18T15:22:14.767Z] -- Detecting C compiler ABI info - done [2022-03-18T15:22:14.767Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T15:22:14.767Z] -- Detecting C compile features [2022-03-18T15:22:14.767Z] -- Detecting C compile features - done [2022-03-18T15:22:14.767Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T15:22:14.767Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T15:22:14.767Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T15:22:14.767Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T15:22:14.767Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T15:22:14.767Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T15:22:14.767Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T15:22:14.767Z] -- C SDK 2.2.0-dev.5 for Linux [2022-03-18T15:22:14.767Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T15:22:15.027Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T15:22:15.027Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T15:22:15.027Z] -- Configuring done [2022-03-18T15:22:15.027Z] -- Generating done [2022-03-18T15:22:15.027Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-18T15:22:15.027Z] + make all package [2022-03-18T15:22:15.027Z] + tee release.log [2022-03-18T15:22:15.027Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T15:22:15.287Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T15:22:15.287Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T15:22:15.858Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T15:22:15.858Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T15:22:15.858Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T15:22:16.120Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T15:22:16.120Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T15:22:16.380Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T15:22:16.380Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T15:22:16.950Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T15:22:16.950Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T15:22:16.950Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T15:22:17.210Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T15:22:17.210Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T15:22:17.210Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T15:22:17.470Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T15:22:18.040Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T15:22:18.040Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T15:22:18.040Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T15:22:18.040Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T15:22:18.301Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T15:22:18.301Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T15:22:18.301Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T15:22:18.301Z] 275 | const iot_component_factory_t * factory; [2022-03-18T15:22:18.301Z] | ^~~~~~~ [2022-03-18T15:22:18.301Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T15:22:19.244Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T15:22:19.244Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T15:22:19.244Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T15:22:19.506Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T15:22:19.506Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T15:22:19.506Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T15:22:19.768Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T15:22:19.768Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T15:22:20.029Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T15:22:20.029Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T15:22:20.290Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T15:22:20.552Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T15:22:20.552Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T15:22:20.813Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T15:22:20.813Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T15:22:21.756Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T15:22:21.756Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T15:22:22.017Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T15:22:22.017Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T15:22:22.017Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T15:22:22.017Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:22.018Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T15:22:22.018Z] | ^~~~~~~~~~~~~ [2022-03-18T15:22:22.018Z] | | [2022-03-18T15:22:22.018Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T15:22:22.018Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:22.018Z] /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-18T15:22:22.018Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T15:22:22.018Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T15:22:22.018Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T15:22:22.018Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:22.018Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-18T15:22:22.018Z] | ^~~~~~~~~~~~ [2022-03-18T15:22:22.018Z] | | [2022-03-18T15:22:22.018Z] | 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-18T15:22:22.018Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:22.018Z] /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-18T15:22:22.018Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:22:22.018Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:22:22.018Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:22.018Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T15:22:22.018Z] | ^~~~~~~~~~~~ [2022-03-18T15:22:22.018Z] | | [2022-03-18T15:22:22.018Z] | 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-18T15:22:22.018Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:22.018Z] /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-18T15:22:22.018Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:22:22.018Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:22:22.277Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T15:22:22.538Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T15:22:22.538Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T15:22:22.799Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T15:22:22.799Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T15:22:23.371Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T15:22:23.941Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T15:22:24.200Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T15:22:24.200Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T15:22:24.200Z] [ 76%] Built target csdk [2022-03-18T15:22:24.200Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T15:22:24.460Z] [ 79%] Linking C executable template [2022-03-18T15:22:24.460Z] [ 79%] Built target template [2022-03-18T15:22:24.460Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T15:22:24.720Z] [ 82%] Linking C executable device-counter [2022-03-18T15:22:24.720Z] [ 82%] Built target device-counter [2022-03-18T15:22:24.720Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T15:22:24.720Z] [ 85%] Linking C executable device-random [2022-03-18T15:22:24.981Z] [ 85%] Built target device-random [2022-03-18T15:22:24.981Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T15:22:24.981Z] [ 88%] Linking C executable device-gyro [2022-03-18T15:22:24.981Z] [ 88%] Built target device-gyro [2022-03-18T15:22:24.981Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T15:22:25.242Z] [ 91%] Linking C executable device-bitfields [2022-03-18T15:22:25.242Z] [ 91%] Built target device-bitfields [2022-03-18T15:22:25.242Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T15:22:25.503Z] [ 94%] Linking C executable template-discovery [2022-03-18T15:22:25.503Z] [ 94%] Built target template-discovery [2022-03-18T15:22:25.503Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T15:22:25.763Z] [ 97%] Linking C executable device-file [2022-03-18T15:22:25.763Z] [ 97%] Built target device-file [2022-03-18T15:22:25.763Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T15:22:25.763Z] [100%] Linking C executable device-terminal [2022-03-18T15:22:26.024Z] [100%] Built target device-terminal [2022-03-18T15:22:26.024Z] Run CPack packaging tool... [2022-03-18T15:22:26.024Z] CPack: Create package using TGZ [2022-03-18T15:22:26.024Z] CPack: Install projects [2022-03-18T15:22:26.024Z] CPack: - Run preinstall target for: Csdk [2022-03-18T15:22:26.284Z] CPack: - Install project: Csdk [] [2022-03-18T15:22:26.284Z] CPack: Create package [2022-03-18T15:22:26.284Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.5.tar.gz generated. [2022-03-18T15:22:26.284Z] + '[' false '=' true ] [2022-03-18T15:22:26.284Z] + '[' false '=' true ] [2022-03-18T15:22:26.284Z] + mkdir -p /tmp/sdk/build/debug [2022-03-18T15:22:26.284Z] + cd /tmp/sdk/build/debug [2022-03-18T15:22:26.284Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-18T15:22:26.284Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T15:22:26.284Z] -- Detecting C compiler ABI info [2022-03-18T15:22:26.284Z] -- Detecting C compiler ABI info - done [2022-03-18T15:22:26.284Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T15:22:26.284Z] -- Detecting C compile features [2022-03-18T15:22:26.284Z] -- Detecting C compile features - done [2022-03-18T15:22:26.284Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T15:22:26.544Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T15:22:26.544Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T15:22:26.544Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T15:22:26.544Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T15:22:26.544Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T15:22:26.544Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T15:22:26.544Z] -- C SDK 2.2.0-dev.5 for Linux [2022-03-18T15:22:26.544Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T15:22:26.544Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T15:22:26.544Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T15:22:26.544Z] -- Configuring done [2022-03-18T15:22:26.544Z] -- Generating done [2022-03-18T15:22:26.544Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-18T15:22:26.544Z] + + maketee [2022-03-18T15:22:26.544Z] debug.log [2022-03-18T15:22:26.805Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T15:22:26.805Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T15:22:26.805Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T15:22:27.068Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T15:22:27.068Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T15:22:27.068Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T15:22:27.068Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T15:22:27.328Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T15:22:27.328Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T15:22:27.328Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T15:22:27.589Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T15:22:27.589Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T15:22:27.589Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T15:22:27.850Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T15:22:27.850Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T15:22:27.850Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T15:22:27.850Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T15:22:28.111Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T15:22:28.111Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T15:22:28.111Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T15:22:28.371Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T15:22:28.371Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T15:22:28.371Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T15:22:28.371Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T15:22:28.371Z] 275 | const iot_component_factory_t * factory; [2022-03-18T15:22:28.371Z] | ^~~~~~~ [2022-03-18T15:22:28.371Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T15:22:28.632Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T15:22:28.632Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T15:22:28.632Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T15:22:28.893Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T15:22:28.893Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T15:22:28.893Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T15:22:28.893Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T15:22:29.154Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T15:22:29.154Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T15:22:29.154Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T15:22:29.154Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T15:22:29.415Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T15:22:29.415Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T15:22:29.415Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T15:22:29.677Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T15:22:29.677Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T15:22:29.937Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T15:22:29.937Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T15:22:29.937Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T15:22:29.938Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T15:22:29.938Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:29.938Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T15:22:29.938Z] | ^~~~~~~~~~~~~ [2022-03-18T15:22:29.938Z] | | [2022-03-18T15:22:29.938Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T15:22:29.938Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:29.938Z] /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-18T15:22:29.938Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T15:22:29.938Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T15:22:29.938Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T15:22:29.938Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:29.938Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-18T15:22:29.938Z] | ^~~~~~~~~~~~ [2022-03-18T15:22:29.938Z] | | [2022-03-18T15:22:29.938Z] | 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-18T15:22:29.938Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:29.938Z] /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-18T15:22:29.938Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:22:29.938Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:22:29.938Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:22:29.938Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T15:22:29.938Z] | ^~~~~~~~~~~~ [2022-03-18T15:22:29.938Z] | | [2022-03-18T15:22:29.938Z] | 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-18T15:22:29.938Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:22:29.938Z] /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-18T15:22:29.938Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:22:29.938Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:22:30.198Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T15:22:30.198Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T15:22:30.459Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T15:22:30.459Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T15:22:30.459Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T15:22:30.721Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T15:22:30.721Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T15:22:30.981Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T15:22:30.981Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T15:22:30.981Z] [ 76%] Built target csdk [2022-03-18T15:22:30.981Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T15:22:31.241Z] [ 79%] Linking C executable template [2022-03-18T15:22:31.241Z] [ 79%] Built target template [2022-03-18T15:22:31.241Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T15:22:31.241Z] [ 82%] Linking C executable device-counter [2022-03-18T15:22:31.241Z] [ 82%] Built target device-counter [2022-03-18T15:22:31.241Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T15:22:31.502Z] [ 85%] Linking C executable device-random [2022-03-18T15:22:31.502Z] [ 85%] Built target device-random [2022-03-18T15:22:31.502Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T15:22:31.502Z] [ 88%] Linking C executable device-gyro [2022-03-18T15:22:31.502Z] [ 88%] Built target device-gyro [2022-03-18T15:22:31.763Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T15:22:31.763Z] [ 91%] Linking C executable device-bitfields [2022-03-18T15:22:31.763Z] [ 91%] Built target device-bitfields [2022-03-18T15:22:31.763Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T15:22:31.763Z] [ 94%] Linking C executable template-discovery [2022-03-18T15:22:32.024Z] [ 94%] Built target template-discovery [2022-03-18T15:22:32.024Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T15:22:32.024Z] [ 97%] Linking C executable device-file [2022-03-18T15:22:32.024Z] [ 97%] Built target device-file [2022-03-18T15:22:32.024Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T15:22:32.284Z] [100%] Linking C executable device-terminal [2022-03-18T15:22:32.284Z] [100%] Built target device-terminal [2022-03-18T15:22:32.284Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 76%] Built target csdk [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 79%] Built target template [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 82%] Built target device-counter [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 85%] Built target device-random [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 88%] Built target device-gyro [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.284Z] [ 91%] Built target device-bitfields [2022-03-18T15:22:32.284Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] [ 94%] Built target template-discovery [2022-03-18T15:22:32.544Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] [ 97%] Built target device-file [2022-03-18T15:22:32.544Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] [100%] Built target device-terminal [2022-03-18T15:22:32.544Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:32.544Z] Install the project... [2022-03-18T15:22:32.544Z] -- Install configuration: "Release" [2022-03-18T15:22:32.544Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-18T15:22:32.544Z] -- Installing: /usr/local/include [2022-03-18T15:22:32.544Z] -- Installing: /usr/local/include/edgex [2022-03-18T15:22:32.544Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-18T15:22:32.544Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/devsdk [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/config.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/os.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/container.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/component.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/os [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/time.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/data.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/include/iot/json.h [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-18T15:22:32.545Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-18T15:22:32.545Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:22:33.112Z] Removing intermediate container 9f7405599fbd [2022-03-18T15:22:33.113Z] ---> d040c6af93d2 [2022-03-18T15:22:33.113Z] Step 14/22 : FROM ${BASE} [2022-03-18T15:22:33.113Z] ---> c9e13ccc37c5 [2022-03-18T15:22:33.113Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-18T15:22:33.113Z] ---> Running in 2721b60cd550 [2022-03-18T15:22:33.113Z] Removing intermediate container 2721b60cd550 [2022-03-18T15:22:33.113Z] ---> f42889545a24 [2022-03-18T15:22:33.113Z] 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-18T15:22:33.374Z] ---> Running in 97ba056f06ef [2022-03-18T15:22:33.635Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-18T15:22:33.895Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:22:33.895Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:22:33.895Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:22:34.156Z] Removing intermediate container 97ba056f06ef [2022-03-18T15:22:34.156Z] ---> f44fe50a373d [2022-03-18T15:22:34.156Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:22:34.156Z] ---> Running in 246e82d87967 [2022-03-18T15:22:34.728Z] Removing intermediate container 246e82d87967 [2022-03-18T15:22:34.728Z] ---> 1709869d4ab4 [2022-03-18T15:22:34.728Z] 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-18T15:22:34.728Z] ---> Running in a19f8b484bc6 [2022-03-18T15:22:34.988Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:35.930Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:36.191Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:36.764Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:22:36.764Z] (1/6) Installing curl (7.80.0-r0) [2022-03-18T15:22:36.764Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-18T15:22:36.764Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-18T15:22:36.764Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-18T15:22:37.024Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-18T15:22:37.024Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T15:22:37.963Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:22:37.963Z] OK: 283 MiB in 83 packages [2022-03-18T15:22:38.226Z] Removing intermediate container a19f8b484bc6 [2022-03-18T15:22:38.226Z] ---> 3ce74bb8d4f9 [2022-03-18T15:22:38.226Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-18T15:22:38.226Z] ---> c93c8b5958da [2022-03-18T15:22:38.226Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-18T15:22:38.486Z] ---> e866b90d82b6 [2022-03-18T15:22:38.486Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-18T15:22:38.486Z] ---> 74c5c403893d [2022-03-18T15:22:38.486Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-18T15:22:38.748Z] ---> 414a1523973b [2022-03-18T15:22:38.748Z] Successfully built 414a1523973b [2022-03-18T15:22:38.748Z] 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-18T15:22:39.106Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T15:22:39.106Z] . [Pipeline] withDockerContainer [2022-03-18T15:22:39.176Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:22:39.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-18T15:22:39.589Z] $ docker top 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T15:22:39.936Z] + make test [2022-03-18T15:22:39.936Z] echo "make test" [2022-03-18T15:22:39.936Z] make test [Pipeline] } [2022-03-18T15:22:39.956Z] $ docker stop --time=1 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e [2022-03-18T15:22:41.256Z] $ docker rm -f 61bdc25b4fe6c93f6d5bfbbeb45b72b0db57ad085d8ff2c5e515df26e8c3b05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T15:22:42.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T15:22:42.739Z] + ls -al . [2022-03-18T15:22:42.739Z] total 208 [2022-03-18T15:22:42.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 15:21 . [2022-03-18T15:22:42.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 .. [2022-03-18T15:22:42.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:21 .git [2022-03-18T15:22:42.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 15:21 .github [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 15:21 .gitignore [2022-03-18T15:22:42.739Z] drwx------ 3 jenkins jenkins 4096 Mar 18 15:21 .semver [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 15:21 Attribution.txt [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 15:21 CHANGES [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 15:21 Doxyfile [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 15:21 GOVERNANCE.md [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 15:21 Jenkinsfile [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 15:21 LICENSE [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 15:21 Makefile [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 15:21 OWNERS.md [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 15:21 README.md [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 15:21 README.v2.md [2022-03-18T15:22:42.739Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 18 15:21 VERSION [2022-03-18T15:22:42.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:21 docs [2022-03-18T15:22:42.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 include [2022-03-18T15:22:42.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:21 scripts [2022-03-18T15:22:42.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:21 src [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:22:43.051Z] + 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=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 --label arch=amd64 --label version=2.2.0-dev.5 . [2022-03-18T15:22:43.051Z] Sending build context to Docker daemon 4.498MB [2022-03-18T15:22:43.051Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-18T15:22:43.051Z] Step 2/17 : FROM ${BASE} [2022-03-18T15:22:43.051Z] ---> 414a1523973b [2022-03-18T15:22:43.051Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-18T15:22:43.051Z] ---> Running in eb08bad932f3 [2022-03-18T15:22:43.051Z] Removing intermediate container eb08bad932f3 [2022-03-18T15:22:43.051Z] ---> 444f2c5a4e28 [2022-03-18T15:22:43.051Z] 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-18T15:22:43.313Z] ---> Running in e5f1f04f3f35 [2022-03-18T15:22:43.575Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-18T15:22:43.840Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:22:43.840Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:22:43.840Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:22:44.101Z] Removing intermediate container e5f1f04f3f35 [2022-03-18T15:22:44.101Z] ---> 503363901a2b [2022-03-18T15:22:44.101Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:22:44.101Z] ---> Running in f30d31d0435e [2022-03-18T15:22:44.675Z] Removing intermediate container f30d31d0435e [2022-03-18T15:22:44.675Z] ---> 6687beba2220 [2022-03-18T15:22:44.675Z] 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-18T15:22:44.675Z] ---> Running in da785d656eaa [2022-03-18T15:22:45.244Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:45.815Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:46.075Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-18T15:22:46.647Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:22:46.647Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-18T15:22:46.647Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T15:22:46.908Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-18T15:22:46.908Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-18T15:22:46.908Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-18T15:22:47.169Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-18T15:22:47.169Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-18T15:22:47.169Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-18T15:22:47.429Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-18T15:22:47.429Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-18T15:22:47.690Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-18T15:22:47.690Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-18T15:22:47.952Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-18T15:22:47.952Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-18T15:22:47.952Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-18T15:22:48.213Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-18T15:22:48.213Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-18T15:22:48.213Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-18T15:22:48.474Z] (19/26) Installing flock (2.37.4-r0) [2022-03-18T15:22:48.474Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-18T15:22:48.474Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-18T15:22:48.736Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-18T15:22:48.736Z] (23/26) Installing logger (2.37.4-r0) [2022-03-18T15:22:48.736Z] (24/26) Installing partx (2.37.4-r0) [2022-03-18T15:22:48.996Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-18T15:22:48.996Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-18T15:22:48.996Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:22:48.996Z] OK: 294 MiB in 109 packages [2022-03-18T15:22:49.567Z] Removing intermediate container da785d656eaa [2022-03-18T15:22:49.567Z] ---> 9ca8b057ed47 [2022-03-18T15:22:49.567Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-18T15:22:49.828Z] ---> defcf13ea5fb [2022-03-18T15:22:49.828Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-18T15:22:49.828Z] ---> 6d16ba76bf38 [2022-03-18T15:22:49.828Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-18T15:22:50.089Z] ---> 0820c9237311 [2022-03-18T15:22:50.089Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-18T15:22:50.351Z] ---> 9cf6ed7fbb89 [2022-03-18T15:22:50.351Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-18T15:22:50.351Z] ---> 1515c8917be7 [2022-03-18T15:22:50.351Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-18T15:22:50.611Z] ---> 3616f0d0b0d4 [2022-03-18T15:22:50.611Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-18T15:22:50.611Z] ---> Running in e34f41466f54 [2022-03-18T15:22:50.611Z] Removing intermediate container e34f41466f54 [2022-03-18T15:22:50.611Z] ---> 5c4778507fb5 [2022-03-18T15:22:50.611Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-18T15:22:50.611Z] ---> Running in ad10fd312181 [2022-03-18T15:22:50.611Z] Removing intermediate container ad10fd312181 [2022-03-18T15:22:50.611Z] ---> e3d54994c493 [2022-03-18T15:22:50.611Z] Step 15/17 : LABEL arch=amd64 [2022-03-18T15:22:50.871Z] ---> Running in 1fd094d1201f [2022-03-18T15:22:50.871Z] Removing intermediate container 1fd094d1201f [2022-03-18T15:22:50.871Z] ---> e5837cbb065e [2022-03-18T15:22:50.871Z] Step 16/17 : LABEL git_sha=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [2022-03-18T15:22:50.871Z] ---> Running in 321bee6808b1 [2022-03-18T15:22:50.871Z] Removing intermediate container 321bee6808b1 [2022-03-18T15:22:50.871Z] ---> 07d4717570fd [2022-03-18T15:22:50.871Z] Step 17/17 : LABEL version=2.2.0-dev.5 [2022-03-18T15:22:50.871Z] ---> Running in 0e953a73a083 [2022-03-18T15:22:51.132Z] Removing intermediate container 0e953a73a083 [2022-03-18T15:22:51.132Z] ---> efec3724b7c8 [2022-03-18T15:22:51.132Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-03-18T15:22:51.132Z] Successfully built efec3724b7c8 [2022-03-18T15:22:51.132Z] 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-18T15:22:51.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T15:22:51.564Z] [2022-03-18T15:22:51.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:22:51.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T15:22:51.867Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-18T15:22:51.867Z] 5eb5b503b376: Pulling fs layer [2022-03-18T15:22:51.867Z] 5c69ac0246d0: Pulling fs layer [2022-03-18T15:22:51.867Z] ec43610c2a17: Pulling fs layer [2022-03-18T15:22:51.867Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-18T15:22:51.867Z] 33b1e0a273af: Pulling fs layer [2022-03-18T15:22:51.867Z] 5d3b04190fa2: Pulling fs layer [2022-03-18T15:22:51.867Z] 2f39f015ded8: Pulling fs layer [2022-03-18T15:22:51.867Z] 5d3b04190fa2: Waiting [2022-03-18T15:22:51.867Z] 33b1e0a273af: Waiting [2022-03-18T15:22:51.867Z] 3a2ae6a8a46f: Waiting [2022-03-18T15:22:51.867Z] 2f39f015ded8: Waiting [2022-03-18T15:22:51.867Z] 5c69ac0246d0: Verifying Checksum [2022-03-18T15:22:51.867Z] 5c69ac0246d0: Download complete [2022-03-18T15:22:51.867Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-18T15:22:51.867Z] 3a2ae6a8a46f: Download complete [2022-03-18T15:22:51.867Z] 33b1e0a273af: Verifying Checksum [2022-03-18T15:22:51.867Z] 33b1e0a273af: Download complete [2022-03-18T15:22:51.867Z] 5d3b04190fa2: Download complete [2022-03-18T15:22:51.867Z] ec43610c2a17: Verifying Checksum [2022-03-18T15:22:51.867Z] ec43610c2a17: Download complete [2022-03-18T15:22:52.126Z] 5eb5b503b376: Verifying Checksum [2022-03-18T15:22:52.126Z] 5eb5b503b376: Download complete [2022-03-18T15:22:52.697Z] 2f39f015ded8: Download complete [2022-03-18T15:22:53.267Z] 5eb5b503b376: Pull complete [2022-03-18T15:22:53.527Z] 5c69ac0246d0: Pull complete [2022-03-18T15:22:53.787Z] ec43610c2a17: Pull complete [2022-03-18T15:22:53.787Z] 3a2ae6a8a46f: Pull complete [2022-03-18T15:22:54.046Z] 33b1e0a273af: Pull complete [2022-03-18T15:22:54.046Z] 5d3b04190fa2: Pull complete [2022-03-18T15:22:58.243Z] 2f39f015ded8: Pull complete [2022-03-18T15:22:58.243Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-18T15:22:58.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T15:22:58.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-18T15:22:58.309Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:22:58.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T15:22:59.644Z] $ docker top b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:23:00.063Z] ---> job-cost.sh [2022-03-18T15:23:00.064Z] lf-activate-venv: SKIPPING [2022-03-18T15:23:00.064Z] INFO: No Stack... [2022-03-18T15:23:00.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T15:23:00.895Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T15:23:01.186Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-03-18T15:23:01.186Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T15:23:01.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [2022-03-18T15:23:01.207Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] did not exist. Created. [2022-03-18T15:23:01.207Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T15:23:01.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-18T15:23:01.547Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T15:23:01.553Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T15:23:01.582Z] $ docker stop --time=1 b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 [2022-03-18T15:23:02.740Z] $ docker rm -f b4ce2aae304d7c1ccd7a03e92205b8ca3795c30eaf2c3e69660b4a82e1a3d102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-18T15:23:49.174Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7978 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-03-18T15:23:49.187Z] Running in /w/workspace/device-sdk-c/20 [Pipeline] { [Pipeline] checkout [2022-03-18T15:23:49.416Z] Selected Git installation does not exist. Using Default [2022-03-18T15:23:49.417Z] The recommended git tool is: NONE [2022-03-18T15:23:56.742Z] using credential edgex-jenkins-ssh [2022-03-18T15:23:56.765Z] Cloning the remote Git repository [2022-03-18T15:23:56.849Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-03-18T15:23:56.942Z] > git init /w/workspace/device-sdk-c/20 # timeout=10 [2022-03-18T15:23:57.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-03-18T15:23:57.099Z] > git --version # timeout=10 [2022-03-18T15:23:57.151Z] > git --version # 'git version 2.25.1' [2022-03-18T15:23:57.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T15:23:58.443Z] Avoid second fetch [2022-03-18T15:23:58.443Z] Checking out Revision 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 (main) [2022-03-18T15:23:57.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T15:23:58.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-03-18T15:23:58.428Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T15:23:58.564Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T15:23:58.628Z] > git checkout -f 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 # timeout=10 [2022-03-18T15:24:03.632Z] Commit message: "feat: upload secrets from file (#404)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T15:24:04.702Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-18T15:24:04.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T15:24:04.702Z] Dload Upload Total Spent Left Speed [2022-03-18T15:24:04.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43380 0 --:--:-- --:--:-- --:--:-- 43380 [Pipeline] sh [2022-03-18T15:24:05.284Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-18T15:24:05.632Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-18T15:24:05.632Z] + sudo tee /etc/docker/daemon.new [2022-03-18T15:24:05.632Z] { [2022-03-18T15:24:05.632Z] "registry-mirrors": [ [2022-03-18T15:24:05.632Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-18T15:24:05.632Z] ], [2022-03-18T15:24:05.632Z] "bip": "10.250.0.254/24", [2022-03-18T15:24:05.632Z] "hosts": [ [2022-03-18T15:24:05.632Z] "tcp://0.0.0.0:5555", [2022-03-18T15:24:05.632Z] "unix:///var/run/docker.sock" [2022-03-18T15:24:05.632Z] ], [2022-03-18T15:24:05.632Z] "mtu": 1458, [2022-03-18T15:24:05.632Z] "selinux-enabled": true, [2022-03-18T15:24:05.632Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-18T15:24:05.632Z] } [Pipeline] sh [2022-03-18T15:24:05.982Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-18T15:24:06.329Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T15:24:24.687Z] provisioning config files... [2022-03-18T15:24:24.712Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/20@tmp/config4672904499180319833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:24:25.083Z] ---> docker-login.sh [2022-03-18T15:24:25.083Z] nexus3.edgexfoundry.org:10001 [2022-03-18T15:24:25.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:24:25.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:24:25.965Z] Configure a credential helper to remove this warning. See [2022-03-18T15:24:25.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:24:25.965Z] [2022-03-18T15:24:25.965Z] Login Succeeded [2022-03-18T15:24:25.965Z] nexus3.edgexfoundry.org:10002 [2022-03-18T15:24:26.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:24:26.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:24:26.512Z] Configure a credential helper to remove this warning. See [2022-03-18T15:24:26.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:24:26.512Z] [2022-03-18T15:24:26.513Z] Login Succeeded [2022-03-18T15:24:26.513Z] nexus3.edgexfoundry.org:10003 [2022-03-18T15:24:26.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:24:26.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:24:26.790Z] Configure a credential helper to remove this warning. See [2022-03-18T15:24:26.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:24:26.790Z] [2022-03-18T15:24:26.790Z] Login Succeeded [2022-03-18T15:24:26.790Z] nexus3.edgexfoundry.org:10004 [2022-03-18T15:24:27.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:24:27.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:24:27.393Z] Configure a credential helper to remove this warning. See [2022-03-18T15:24:27.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:24:27.393Z] [2022-03-18T15:24:27.393Z] Login Succeeded [2022-03-18T15:24:27.393Z] docker.io [2022-03-18T15:24:27.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-18T15:24:28.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-18T15:24:28.263Z] Configure a credential helper to remove this warning. See [2022-03-18T15:24:28.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-18T15:24:28.263Z] [2022-03-18T15:24:28.263Z] Login Succeeded [2022-03-18T15:24:28.263Z] ---> docker-login.sh ends [Pipeline] } [2022-03-18T15:24:28.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-18T15:24:28.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T15:24:28.975Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-03-18T15:24:28.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T15:24:28.997Z] ========================================================= [2022-03-18T15:24:28.997Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-03-18T15:24:28.997Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:24:29.337Z] + 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-18T15:24:29.939Z] Sending build context to Docker daemon 2.738MB [2022-03-18T15:24:29.939Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-03-18T15:24:29.939Z] Step 2/22 : FROM ${BASE} as builder [2022-03-18T15:24:29.939Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-03-18T15:24:29.939Z] 9b3977197b4f: Pulling fs layer [2022-03-18T15:24:29.939Z] 2a93055cfd06: Pulling fs layer [2022-03-18T15:24:29.939Z] ff5fdaca7850: Pulling fs layer [2022-03-18T15:24:29.939Z] 2a93055cfd06: Download complete [2022-03-18T15:24:29.939Z] 9b3977197b4f: Download complete [2022-03-18T15:24:30.929Z] 9b3977197b4f: Pull complete [2022-03-18T15:24:30.929Z] 2a93055cfd06: Pull complete [2022-03-18T15:24:32.369Z] ff5fdaca7850: Verifying Checksum [2022-03-18T15:24:32.369Z] ff5fdaca7850: Download complete [2022-03-18T15:24:40.664Z] ff5fdaca7850: Pull complete [2022-03-18T15:24:40.664Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-03-18T15:24:40.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-03-18T15:24:40.664Z] ---> 0af3d9908a83 [2022-03-18T15:24:40.664Z] 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-18T15:24:40.940Z] ---> Running in 2b036f0ad42d [2022-03-18T15:24:42.376Z] Connecting to iotech.jfrog.io (52.49.191.191:443) [2022-03-18T15:24:42.652Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:24:42.652Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:24:42.652Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:24:43.255Z] Removing intermediate container 2b036f0ad42d [2022-03-18T15:24:43.255Z] ---> 41cbafa7ce9c [2022-03-18T15:24:43.255Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:24:43.255Z] ---> Running in 2f661ecc413b [2022-03-18T15:24:45.236Z] Removing intermediate container 2f661ecc413b [2022-03-18T15:24:45.236Z] ---> d0efdb11d2a8 [2022-03-18T15:24:45.236Z] 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-18T15:24:45.236Z] ---> Running in 6afc0d601a96 [2022-03-18T15:24:45.835Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:24:46.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T15:24:47.092Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:24:48.073Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:24:48.073Z] (1/31) Installing hiredis (1.0.2-r0) [2022-03-18T15:24:48.073Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-03-18T15:24:48.073Z] (3/31) Installing libcbor (0.8.0-r0) [2022-03-18T15:24:48.344Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-03-18T15:24:48.344Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T15:24:48.344Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T15:24:49.316Z] (7/31) Installing util-linux (2.37.4-r0) [2022-03-18T15:24:49.316Z] (8/31) Installing libblkid (2.37.4-r0) [2022-03-18T15:24:49.588Z] (9/31) Installing libeconf (0.4.2-r0) [2022-03-18T15:24:49.588Z] (10/31) Installing libuuid (2.37.4-r0) [2022-03-18T15:24:49.860Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-03-18T15:24:49.861Z] (12/31) Installing libmount (2.37.4-r0) [2022-03-18T15:24:49.861Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-03-18T15:24:50.132Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-03-18T15:24:50.406Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-03-18T15:24:50.406Z] (16/31) Installing runuser (2.37.4-r0) [2022-03-18T15:24:50.679Z] (17/31) Installing hexdump (2.37.4-r0) [2022-03-18T15:24:50.679Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-03-18T15:24:50.679Z] (19/31) Installing blkid (2.37.4-r0) [2022-03-18T15:24:50.950Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-03-18T15:24:50.950Z] (21/31) Installing mcookie (2.37.4-r0) [2022-03-18T15:24:50.950Z] (22/31) Installing wipefs (2.37.4-r0) [2022-03-18T15:24:51.222Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-03-18T15:24:51.222Z] (24/31) Installing flock (2.37.4-r0) [2022-03-18T15:24:51.222Z] (25/31) Installing lsblk (2.37.4-r0) [2022-03-18T15:24:51.222Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-03-18T15:24:51.492Z] (27/31) Installing setpriv (2.37.4-r0) [2022-03-18T15:24:51.492Z] (28/31) Installing logger (2.37.4-r0) [2022-03-18T15:24:51.492Z] (29/31) Installing partx (2.37.4-r0) [2022-03-18T15:24:51.765Z] (30/31) Installing findmnt (2.37.4-r0) [2022-03-18T15:24:51.765Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-03-18T15:24:52.039Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:24:52.039Z] OK: 289 MiB in 108 packages [2022-03-18T15:24:53.485Z] Removing intermediate container 6afc0d601a96 [2022-03-18T15:24:53.485Z] ---> 0abd034e1bc5 [2022-03-18T15:24:53.485Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-03-18T15:24:53.485Z] ---> Running in 9120808c9af1 [2022-03-18T15:24:55.465Z] Removing intermediate container 9120808c9af1 [2022-03-18T15:24:55.465Z] ---> 2048f5c4e6d6 [2022-03-18T15:24:55.465Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-03-18T15:24:55.739Z] ---> 429f759679df [2022-03-18T15:24:55.739Z] Step 8/22 : COPY src /tmp/sdk/src [2022-03-18T15:24:56.739Z] ---> 678417303dd7 [2022-03-18T15:24:56.739Z] Step 9/22 : COPY include /tmp/sdk/include [2022-03-18T15:24:57.015Z] ---> 49c58cd36c85 [2022-03-18T15:24:57.015Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-03-18T15:24:57.621Z] ---> 752d5918754f [2022-03-18T15:24:57.621Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-03-18T15:24:58.216Z] ---> 855093a23ffc [2022-03-18T15:24:58.216Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-03-18T15:24:58.814Z] ---> 23c6e68f17cf [2022-03-18T15:24:58.814Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-03-18T15:24:58.814Z] ---> Running in c2aa4dbe9c8d [2022-03-18T15:24:59.794Z] + CPPCHECK=false [2022-03-18T15:24:59.794Z] + DOCGEN=false [2022-03-18T15:24:59.794Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-03-18T15:24:59.794Z] + TOMLVER=SDK-0.2 [2022-03-18T15:24:59.794Z] + CUTILVER=1.2.2 [2022-03-18T15:24:59.794Z] + '[' 0 -gt 0 ] [2022-03-18T15:24:59.794Z] + readlink -f ./scripts/build.sh [2022-03-18T15:24:59.794Z] + dirname /tmp/sdk/scripts/build.sh [2022-03-18T15:24:59.794Z] + dirname /tmp/sdk/scripts [2022-03-18T15:24:59.794Z] + ROOT=/tmp/sdk [2022-03-18T15:24:59.794Z] + cd /tmp/sdk [2022-03-18T15:24:59.794Z] + '[' '!' -d deps ] [2022-03-18T15:24:59.794Z] + mkdir deps [2022-03-18T15:24:59.794Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-03-18T15:24:59.794Z] + tar -C deps -z -x -f - [2022-03-18T15:24:59.794Z] Connecting to github.com (140.82.112.3:443) [2022-03-18T15:25:00.067Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-18T15:25:00.340Z] writing to stdout [2022-03-18T15:25:00.340Z] - 100% |********************************| 16451 0:00:00 ETA [2022-03-18T15:25:00.340Z] written to stdout [2022-03-18T15:25:00.340Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-03-18T15:25:00.340Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x [2022-03-18T15:25:00.340Z] -f - [2022-03-18T15:25:00.340Z] Connecting to github.com (140.82.112.3:443) [2022-03-18T15:25:00.614Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-03-18T15:25:00.887Z] writing to stdout [2022-03-18T15:25:00.887Z] - 100% |********************************| 189k 0:00:00 ETA [2022-03-18T15:25:00.887Z] written to stdout [2022-03-18T15:25:00.887Z] + mkdir -p src/c/iot [2022-03-18T15:25:00.887Z] + 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-18T15:25:00.887Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-03-18T15:25:00.887Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-03-18T15:25:00.887Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-03-18T15:25:00.887Z] + mkdir -p include/iot [2022-03-18T15:25:00.887Z] + 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-18T15:25:00.887Z] + mkdir -p include/iot/os [2022-03-18T15:25:00.887Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-03-18T15:25:00.887Z] + mkdir -p /tmp/sdk/build/release [2022-03-18T15:25:00.887Z] + cd /tmp/sdk/build/release [2022-03-18T15:25:00.887Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-03-18T15:25:01.484Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T15:25:01.484Z] -- Detecting C compiler ABI info [2022-03-18T15:25:01.759Z] -- Detecting C compiler ABI info - done [2022-03-18T15:25:01.759Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T15:25:01.759Z] -- Detecting C compile features [2022-03-18T15:25:01.759Z] -- Detecting C compile features - done [2022-03-18T15:25:01.759Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T15:25:02.032Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T15:25:02.032Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T15:25:02.032Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T15:25:02.032Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T15:25:02.032Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T15:25:02.032Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T15:25:02.032Z] -- C SDK 2.2.0-dev.5 for Linux [2022-03-18T15:25:02.032Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T15:25:02.313Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T15:25:02.586Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T15:25:02.586Z] -- Configuring done [2022-03-18T15:25:02.866Z] -- Generating done [2022-03-18T15:25:02.866Z] -- Build files have been written to: /tmp/sdk/build/release [2022-03-18T15:25:02.866Z] + make all package [2022-03-18T15:25:02.866Z] + tee release.log [2022-03-18T15:25:03.139Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T15:25:03.735Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T15:25:04.331Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T15:25:06.952Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T15:25:08.413Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T15:25:08.413Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T15:25:09.393Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T15:25:09.991Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T15:25:10.266Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T15:25:11.700Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T15:25:13.673Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T15:25:14.271Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T15:25:15.253Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T15:25:16.232Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T15:25:16.507Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T15:25:16.779Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T15:25:17.054Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T15:25:20.444Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T15:25:20.716Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T15:25:20.988Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T15:25:21.583Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T15:25:22.177Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T15:25:22.449Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T15:25:22.449Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T15:25:22.449Z] 275 | const iot_component_factory_t * factory; [2022-03-18T15:25:22.449Z] | ^~~~~~~ [2022-03-18T15:25:23.040Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T15:25:28.428Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T15:25:28.428Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T15:25:28.428Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T15:25:29.399Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T15:25:29.995Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T15:25:29.995Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T15:25:31.428Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T15:25:31.713Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T15:25:32.694Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T15:25:32.966Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T15:25:33.560Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T15:25:36.170Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T15:25:36.443Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T15:25:37.874Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T15:25:38.144Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T15:25:43.532Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T15:25:43.532Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T15:25:44.125Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T15:25:44.716Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T15:25:44.988Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T15:25:44.988Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:25:44.988Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T15:25:44.988Z] | ^~~~~~~~~~~~~ [2022-03-18T15:25:44.988Z] | | [2022-03-18T15:25:44.988Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T15:25:44.988Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:25:44.988Z] /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-18T15:25:44.988Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T15:25:44.988Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T15:25:44.988Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T15:25:44.988Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:25:44.988Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-18T15:25:44.988Z] | ^~~~~~~~~~~~ [2022-03-18T15:25:44.988Z] | | [2022-03-18T15:25:44.988Z] | 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-18T15:25:44.988Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:25:44.988Z] /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-18T15:25:44.988Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:25:44.988Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:25:44.988Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:25:44.988Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T15:25:44.988Z] | ^~~~~~~~~~~~ [2022-03-18T15:25:44.988Z] | | [2022-03-18T15:25:44.988Z] | 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-18T15:25:44.988Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:25:44.988Z] /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-18T15:25:44.988Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:25:44.988Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:25:45.962Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T15:25:48.569Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T15:25:48.569Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T15:25:49.164Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T15:25:49.759Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T15:25:52.365Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T15:25:56.663Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T15:25:57.252Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T15:25:57.847Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T15:25:58.120Z] [ 76%] Built target csdk [2022-03-18T15:25:58.120Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T15:25:59.092Z] [ 79%] Linking C executable template [2022-03-18T15:25:59.364Z] [ 79%] Built target template [2022-03-18T15:25:59.364Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T15:25:59.957Z] [ 82%] Linking C executable device-counter [2022-03-18T15:26:00.231Z] [ 82%] Built target device-counter [2022-03-18T15:26:00.231Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T15:26:00.825Z] [ 85%] Linking C executable device-random [2022-03-18T15:26:01.098Z] [ 85%] Built target device-random [2022-03-18T15:26:01.098Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T15:26:01.690Z] [ 88%] Linking C executable device-gyro [2022-03-18T15:26:01.962Z] [ 88%] Built target device-gyro [2022-03-18T15:26:01.962Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T15:26:02.555Z] [ 91%] Linking C executable device-bitfields [2022-03-18T15:26:02.826Z] [ 91%] Built target device-bitfields [2022-03-18T15:26:02.826Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T15:26:03.797Z] [ 94%] Linking C executable template-discovery [2022-03-18T15:26:04.069Z] [ 94%] Built target template-discovery [2022-03-18T15:26:04.069Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T15:26:04.661Z] [ 97%] Linking C executable device-file [2022-03-18T15:26:04.934Z] [ 97%] Built target device-file [2022-03-18T15:26:05.205Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T15:26:05.799Z] [100%] Linking C executable device-terminal [2022-03-18T15:26:06.070Z] [100%] Built target device-terminal [2022-03-18T15:26:06.070Z] Run CPack packaging tool... [2022-03-18T15:26:06.070Z] CPack: Create package using TGZ [2022-03-18T15:26:06.070Z] CPack: Install projects [2022-03-18T15:26:06.070Z] CPack: - Run preinstall target for: Csdk [2022-03-18T15:26:07.045Z] CPack: - Install project: Csdk [] [2022-03-18T15:26:07.045Z] CPack: Create package [2022-03-18T15:26:07.045Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.5.tar.gz generated. [2022-03-18T15:26:07.045Z] + '[' false '=' true ] [2022-03-18T15:26:07.045Z] + '[' false '=' true ] [2022-03-18T15:26:07.045Z] + mkdir -p /tmp/sdk/build/debug [2022-03-18T15:26:07.045Z] + cd /tmp/sdk/build/debug [2022-03-18T15:26:07.045Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-03-18T15:26:07.317Z] -- The C compiler identification is GNU 10.3.1 [2022-03-18T15:26:07.591Z] -- Detecting C compiler ABI info [2022-03-18T15:26:07.864Z] -- Detecting C compiler ABI info - done [2022-03-18T15:26:07.864Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-03-18T15:26:07.864Z] -- Detecting C compile features [2022-03-18T15:26:07.864Z] -- Detecting C compile features - done [2022-03-18T15:26:07.864Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-03-18T15:26:08.156Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-03-18T15:26:08.156Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-03-18T15:26:08.156Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-03-18T15:26:08.156Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-03-18T15:26:08.156Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-03-18T15:26:08.156Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-03-18T15:26:08.156Z] -- C SDK 2.2.0-dev.5 for Linux [2022-03-18T15:26:08.156Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-03-18T15:26:08.430Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-03-18T15:26:08.702Z] -- Found Curses: /usr/lib/libcurses.so [2022-03-18T15:26:08.702Z] -- Configuring done [2022-03-18T15:26:08.975Z] -- Generating done [2022-03-18T15:26:08.975Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-03-18T15:26:08.975Z] + + teemake debug.log [2022-03-18T15:26:08.975Z] [2022-03-18T15:26:09.249Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-03-18T15:26:09.524Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-03-18T15:26:09.798Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-03-18T15:26:10.790Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-03-18T15:26:11.064Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-03-18T15:26:11.064Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-03-18T15:26:11.658Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-03-18T15:26:11.930Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-03-18T15:26:12.204Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-03-18T15:26:12.801Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-03-18T15:26:13.396Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-03-18T15:26:13.668Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-03-18T15:26:13.943Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-03-18T15:26:14.538Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-03-18T15:26:14.810Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-03-18T15:26:15.082Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-03-18T15:26:15.082Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-03-18T15:26:16.059Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-03-18T15:26:16.331Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-03-18T15:26:16.603Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-03-18T15:26:16.874Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-03-18T15:26:17.147Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-03-18T15:26:17.147Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-03-18T15:26:17.147Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-03-18T15:26:17.147Z] 275 | const iot_component_factory_t * factory; [2022-03-18T15:26:17.147Z] | ^~~~~~~ [2022-03-18T15:26:17.417Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-03-18T15:26:18.843Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-03-18T15:26:18.843Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-03-18T15:26:19.115Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-03-18T15:26:19.387Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-03-18T15:26:19.658Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-03-18T15:26:19.930Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-03-18T15:26:20.202Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-03-18T15:26:20.474Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-03-18T15:26:20.748Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-03-18T15:26:21.021Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-03-18T15:26:21.292Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-03-18T15:26:21.886Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-03-18T15:26:21.886Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-03-18T15:26:22.479Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-03-18T15:26:22.751Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-03-18T15:26:24.178Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-03-18T15:26:24.450Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-03-18T15:26:24.722Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-03-18T15:26:24.993Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-03-18T15:26:25.264Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-03-18T15:26:25.264Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:26:25.264Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-03-18T15:26:25.264Z] | ^~~~~~~~~~~~~ [2022-03-18T15:26:25.264Z] | | [2022-03-18T15:26:25.264Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-03-18T15:26:25.264Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:26:25.264Z] /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-18T15:26:25.265Z] 2784 | MHD_KeyValueIterator iterator, [2022-03-18T15:26:25.265Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-03-18T15:26:25.265Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-03-18T15:26:25.265Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:26:25.265Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-03-18T15:26:25.265Z] | ^~~~~~~~~~~~ [2022-03-18T15:26:25.265Z] | | [2022-03-18T15:26:25.265Z] | 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-18T15:26:25.265Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:26:25.265Z] /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-18T15:26:25.265Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:26:25.265Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:26:25.265Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-03-18T15:26:25.265Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-03-18T15:26:25.265Z] | ^~~~~~~~~~~~ [2022-03-18T15:26:25.265Z] | | [2022-03-18T15:26:25.265Z] | 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-18T15:26:25.265Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-03-18T15:26:25.265Z] /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-18T15:26:25.265Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-03-18T15:26:25.265Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-03-18T15:26:25.538Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-03-18T15:26:26.970Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-03-18T15:26:27.243Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-03-18T15:26:27.516Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-03-18T15:26:27.788Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-03-18T15:26:28.763Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-03-18T15:26:29.359Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-03-18T15:26:29.956Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-03-18T15:26:30.230Z] [ 76%] Linking C shared library libcsdk.so [2022-03-18T15:26:30.505Z] [ 76%] Built target csdk [2022-03-18T15:26:30.505Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-03-18T15:26:30.779Z] [ 79%] Linking C executable template [2022-03-18T15:26:31.054Z] [ 79%] Built target template [2022-03-18T15:26:31.054Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-03-18T15:26:31.652Z] [ 82%] Linking C executable device-counter [2022-03-18T15:26:31.652Z] [ 82%] Built target device-counter [2022-03-18T15:26:31.928Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-03-18T15:26:32.202Z] [ 85%] Linking C executable device-random [2022-03-18T15:26:32.476Z] [ 85%] Built target device-random [2022-03-18T15:26:32.476Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-03-18T15:26:32.748Z] [ 88%] Linking C executable device-gyro [2022-03-18T15:26:33.022Z] [ 88%] Built target device-gyro [2022-03-18T15:26:33.022Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-03-18T15:26:33.294Z] [ 91%] Linking C executable device-bitfields [2022-03-18T15:26:33.568Z] [ 91%] Built target device-bitfields [2022-03-18T15:26:33.568Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-03-18T15:26:34.164Z] [ 94%] Linking C executable template-discovery [2022-03-18T15:26:34.164Z] [ 94%] Built target template-discovery [2022-03-18T15:26:34.439Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-03-18T15:26:34.710Z] [ 97%] Linking C executable device-file [2022-03-18T15:26:34.985Z] [ 97%] Built target device-file [2022-03-18T15:26:34.985Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-03-18T15:26:35.259Z] [100%] Linking C executable device-terminal [2022-03-18T15:26:35.858Z] [100%] Built target device-terminal [2022-03-18T15:26:35.858Z] make: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] [ 76%] Built target csdk [2022-03-18T15:26:35.858Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] [ 79%] Built target template [2022-03-18T15:26:35.858Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:35.858Z] [ 82%] Built target device-counter [2022-03-18T15:26:35.858Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] [ 85%] Built target device-random [2022-03-18T15:26:36.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] [ 88%] Built target device-gyro [2022-03-18T15:26:36.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] [ 91%] Built target device-bitfields [2022-03-18T15:26:36.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] [ 94%] Built target template-discovery [2022-03-18T15:26:36.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] [ 97%] Built target device-file [2022-03-18T15:26:36.131Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.131Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.404Z] [100%] Built target device-terminal [2022-03-18T15:26:36.404Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:36.404Z] Install the project... [2022-03-18T15:26:36.404Z] -- Install configuration: "Release" [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/lib/libcsdk.so [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/devsdk [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/devices.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/defs.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/time.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/base64.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/component.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/config.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/container.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/uuid.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/os.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/thread.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/data.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/typecode.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/hash.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/logger.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/os [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-03-18T15:26:36.404Z] -- Installing: /usr/local/include/iot/json.h [2022-03-18T15:26:36.405Z] -- Installing: /usr/local/include/iot/iot.h [2022-03-18T15:26:36.405Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-03-18T15:26:36.405Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-03-18T15:26:36.405Z] make: Leaving directory '/tmp/sdk/build/release' [2022-03-18T15:26:38.431Z] Removing intermediate container c2aa4dbe9c8d [2022-03-18T15:26:38.431Z] ---> ff2156d63618 [2022-03-18T15:26:38.431Z] Step 14/22 : FROM ${BASE} [2022-03-18T15:26:38.431Z] ---> 0af3d9908a83 [2022-03-18T15:26:38.431Z] Step 15/22 : LABEL maintainer="IOTech " [2022-03-18T15:26:38.431Z] ---> Running in 41c450419d44 [2022-03-18T15:26:38.431Z] Removing intermediate container 41c450419d44 [2022-03-18T15:26:38.431Z] ---> f8aeaed1c3b0 [2022-03-18T15:26:38.431Z] 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-18T15:26:38.431Z] ---> Running in 9a846b7a2552 [2022-03-18T15:26:39.870Z] Connecting to iotech.jfrog.io (34.246.230.219:443) [2022-03-18T15:26:39.870Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:26:39.870Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:26:39.870Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:26:40.858Z] Removing intermediate container 9a846b7a2552 [2022-03-18T15:26:40.858Z] ---> 8b74d9e700aa [2022-03-18T15:26:40.858Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:26:40.858Z] ---> Running in 86f0c8da3afa [2022-03-18T15:26:42.314Z] Removing intermediate container 86f0c8da3afa [2022-03-18T15:26:42.314Z] ---> b771ee5f2e02 [2022-03-18T15:26:42.314Z] 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-18T15:26:42.314Z] ---> Running in 61e5c6230fa4 [2022-03-18T15:26:43.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:26:44.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T15:26:44.877Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:26:45.474Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:26:45.474Z] (1/6) Installing curl (7.80.0-r0) [2022-03-18T15:26:45.474Z] (2/6) Installing hiredis (1.0.2-r0) [2022-03-18T15:26:45.747Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-03-18T15:26:45.747Z] (4/6) Installing libcbor (0.8.0-r0) [2022-03-18T15:26:45.747Z] (5/6) Installing libuuid (2.37.4-r0) [2022-03-18T15:26:46.019Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-03-18T15:26:46.997Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:26:46.997Z] OK: 278 MiB in 83 packages [2022-03-18T15:26:47.981Z] Removing intermediate container 61e5c6230fa4 [2022-03-18T15:26:47.981Z] ---> 4f25805846b9 [2022-03-18T15:26:47.981Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-03-18T15:26:48.257Z] ---> 7f5035f52c92 [2022-03-18T15:26:48.257Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-03-18T15:26:48.856Z] ---> 6f87277a08a5 [2022-03-18T15:26:48.856Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-03-18T15:26:49.454Z] ---> 02aee8676659 [2022-03-18T15:26:49.454Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-03-18T15:26:50.051Z] ---> 574e35da00fd [2022-03-18T15:26:50.051Z] Successfully built 574e35da00fd [2022-03-18T15:26:50.051Z] 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-18T15:26:50.448Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T15:26:50.448Z] . [Pipeline] withDockerContainer [2022-03-18T15:26:50.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-7978 does not seem to be running inside a container [2022-03-18T15:26:50.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@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-18T15:26:52.075Z] $ docker top 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T15:26:52.980Z] + make test [2022-03-18T15:26:52.980Z] echo "make test" [2022-03-18T15:26:52.980Z] make test [Pipeline] } [2022-03-18T15:26:53.015Z] $ docker stop --time=1 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d [2022-03-18T15:26:54.691Z] $ docker rm -f 64eb8cdbb8240f4a5584ea9de2c9597c4810ef86e6ff8ae6cc000440e39f668d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T15:26:55.305Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-18T15:26:55.644Z] + ls -al . [2022-03-18T15:26:55.644Z] total 204 [2022-03-18T15:26:55.644Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:23 . [2022-03-18T15:26:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 .. [2022-03-18T15:26:55.644Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 15:24 .git [2022-03-18T15:26:55.644Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 15:23 .github [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 18 15:23 .gitignore [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 18 15:23 Attribution.txt [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 8260 Mar 18 15:23 CHANGES [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 18 15:23 Doxyfile [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 15:23 GOVERNANCE.md [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 18 15:23 Jenkinsfile [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 18 15:23 LICENSE [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 18 15:23 Makefile [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 18 15:23 OWNERS.md [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 18 15:23 README.md [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 7422 Mar 18 15:23 README.v2.md [2022-03-18T15:26:55.644Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 18 15:21 VERSION [2022-03-18T15:26:55.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:23 docs [2022-03-18T15:26:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 include [2022-03-18T15:26:55.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 15:23 scripts [2022-03-18T15:26:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 15:23 src [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:26:55.991Z] + 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=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 --label arch=arm64 --label version=2.2.0-dev.5 . [2022-03-18T15:26:56.589Z] Sending build context to Docker daemon 2.738MB [2022-03-18T15:26:56.589Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-03-18T15:26:56.589Z] Step 2/17 : FROM ${BASE} [2022-03-18T15:26:56.589Z] ---> 574e35da00fd [2022-03-18T15:26:56.589Z] Step 3/17 : LABEL maintainer="IOTech " [2022-03-18T15:26:56.589Z] ---> Running in 63c7f014306e [2022-03-18T15:26:56.863Z] Removing intermediate container 63c7f014306e [2022-03-18T15:26:56.863Z] ---> c71f3c250c2d [2022-03-18T15:26:56.863Z] 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-18T15:26:56.863Z] ---> Running in 093e9c464db2 [2022-03-18T15:26:57.844Z] Connecting to iotech.jfrog.io (52.30.156.103:443) [2022-03-18T15:26:58.439Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-03-18T15:26:58.439Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-03-18T15:26:58.439Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-03-18T15:26:59.039Z] Removing intermediate container 093e9c464db2 [2022-03-18T15:26:59.039Z] ---> 5adea1fe4da2 [2022-03-18T15:26:59.039Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-03-18T15:26:59.039Z] ---> Running in 35cc8c7a82ac [2022-03-18T15:27:01.024Z] Removing intermediate container 35cc8c7a82ac [2022-03-18T15:27:01.024Z] ---> dcb3724e5770 [2022-03-18T15:27:01.024Z] 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-18T15:27:01.024Z] ---> Running in 38d32fd038ea [2022-03-18T15:27:02.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:27:02.598Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-18T15:27:03.195Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-18T15:27:03.792Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-03-18T15:27:03.792Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-03-18T15:27:04.063Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-03-18T15:27:04.063Z] (3/26) Installing util-linux (2.37.4-r0) [2022-03-18T15:27:04.335Z] (4/26) Installing libblkid (2.37.4-r0) [2022-03-18T15:27:04.335Z] (5/26) Installing libeconf (0.4.2-r0) [2022-03-18T15:27:04.335Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-03-18T15:27:04.606Z] (7/26) Installing libmount (2.37.4-r0) [2022-03-18T15:27:04.606Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-03-18T15:27:04.606Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-03-18T15:27:04.878Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-03-18T15:27:05.148Z] (11/26) Installing runuser (2.37.4-r0) [2022-03-18T15:27:05.148Z] (12/26) Installing hexdump (2.37.4-r0) [2022-03-18T15:27:05.419Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-03-18T15:27:05.419Z] (14/26) Installing blkid (2.37.4-r0) [2022-03-18T15:27:05.419Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-03-18T15:27:05.690Z] (16/26) Installing mcookie (2.37.4-r0) [2022-03-18T15:27:05.690Z] (17/26) Installing wipefs (2.37.4-r0) [2022-03-18T15:27:05.690Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-03-18T15:27:05.961Z] (19/26) Installing flock (2.37.4-r0) [2022-03-18T15:27:05.961Z] (20/26) Installing lsblk (2.37.4-r0) [2022-03-18T15:27:05.961Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-03-18T15:27:06.232Z] (22/26) Installing setpriv (2.37.4-r0) [2022-03-18T15:27:06.232Z] (23/26) Installing logger (2.37.4-r0) [2022-03-18T15:27:06.232Z] (24/26) Installing partx (2.37.4-r0) [2022-03-18T15:27:06.504Z] (25/26) Installing findmnt (2.37.4-r0) [2022-03-18T15:27:06.504Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-03-18T15:27:06.504Z] Executing busybox-1.34.1-r3.trigger [2022-03-18T15:27:06.789Z] OK: 290 MiB in 109 packages [2022-03-18T15:27:08.230Z] Removing intermediate container 38d32fd038ea [2022-03-18T15:27:08.230Z] ---> b5eb6b0fe7ca [2022-03-18T15:27:08.230Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-03-18T15:27:08.504Z] ---> 94dc47c22303 [2022-03-18T15:27:08.504Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-03-18T15:27:09.486Z] ---> 8636408fd58e [2022-03-18T15:27:09.486Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-03-18T15:27:10.086Z] ---> 42d22cca69ab [2022-03-18T15:27:10.086Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-03-18T15:27:10.359Z] ---> 77ec29c327ce [2022-03-18T15:27:10.359Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-03-18T15:27:10.959Z] ---> 38b7ffffe55b [2022-03-18T15:27:10.959Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-03-18T15:27:11.558Z] ---> bdda6da459ef [2022-03-18T15:27:11.558Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-03-18T15:27:11.558Z] ---> Running in 7717c40b5f9d [2022-03-18T15:27:11.837Z] Removing intermediate container 7717c40b5f9d [2022-03-18T15:27:11.837Z] ---> 1d1bd84eb9dc [2022-03-18T15:27:11.837Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-03-18T15:27:11.837Z] ---> Running in ccdcd249e9d3 [2022-03-18T15:27:12.440Z] Removing intermediate container ccdcd249e9d3 [2022-03-18T15:27:12.440Z] ---> 26674b4d1872 [2022-03-18T15:27:12.440Z] Step 15/17 : LABEL arch=arm64 [2022-03-18T15:27:12.440Z] ---> Running in 4635115db262 [2022-03-18T15:27:12.714Z] Removing intermediate container 4635115db262 [2022-03-18T15:27:12.714Z] ---> 0f468cf4832e [2022-03-18T15:27:12.714Z] Step 16/17 : LABEL git_sha=0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 [2022-03-18T15:27:12.714Z] ---> Running in 7635678c8d6f [2022-03-18T15:27:12.989Z] Removing intermediate container 7635678c8d6f [2022-03-18T15:27:12.989Z] ---> 89f162dc931e [2022-03-18T15:27:12.989Z] Step 17/17 : LABEL version=2.2.0-dev.5 [2022-03-18T15:27:12.989Z] ---> Running in d0dd562eb130 [2022-03-18T15:27:13.265Z] Removing intermediate container d0dd562eb130 [2022-03-18T15:27:13.265Z] ---> c70c3b60f4c8 [2022-03-18T15:27:13.265Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-03-18T15:27:13.265Z] Successfully built c70c3b60f4c8 [2022-03-18T15:27:13.265Z] 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-18T15:27:13.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T15:27:13.703Z] [2022-03-18T15:27:13.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:27:14.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T15:27:14.333Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-18T15:27:14.333Z] 8998bd30e6a1: Pulling fs layer [2022-03-18T15:27:14.333Z] 04944245beec: Pulling fs layer [2022-03-18T15:27:14.333Z] 699f458cf7ca: Pulling fs layer [2022-03-18T15:27:14.333Z] 765212b225bb: Pulling fs layer [2022-03-18T15:27:14.333Z] f23df028b6ca: Pulling fs layer [2022-03-18T15:27:14.333Z] d65c8cfc05b1: Pulling fs layer [2022-03-18T15:27:14.333Z] 2437ff75d9bd: Pulling fs layer [2022-03-18T15:27:14.333Z] 765212b225bb: Waiting [2022-03-18T15:27:14.333Z] f23df028b6ca: Waiting [2022-03-18T15:27:14.333Z] d65c8cfc05b1: Waiting [2022-03-18T15:27:14.333Z] 2437ff75d9bd: Waiting [2022-03-18T15:27:14.333Z] 04944245beec: Download complete [2022-03-18T15:27:14.333Z] 765212b225bb: Verifying Checksum [2022-03-18T15:27:14.333Z] 765212b225bb: Download complete [2022-03-18T15:27:14.333Z] f23df028b6ca: Verifying Checksum [2022-03-18T15:27:14.333Z] f23df028b6ca: Download complete [2022-03-18T15:27:14.333Z] d65c8cfc05b1: Verifying Checksum [2022-03-18T15:27:14.333Z] d65c8cfc05b1: Download complete [2022-03-18T15:27:14.612Z] 699f458cf7ca: Verifying Checksum [2022-03-18T15:27:14.885Z] 8998bd30e6a1: Verifying Checksum [2022-03-18T15:27:14.885Z] 8998bd30e6a1: Download complete [2022-03-18T15:27:17.515Z] 2437ff75d9bd: Verifying Checksum [2022-03-18T15:27:17.515Z] 2437ff75d9bd: Download complete [2022-03-18T15:27:19.500Z] 8998bd30e6a1: Pull complete [2022-03-18T15:27:19.774Z] 04944245beec: Pull complete [2022-03-18T15:27:21.213Z] 699f458cf7ca: Pull complete [2022-03-18T15:27:21.486Z] 765212b225bb: Pull complete [2022-03-18T15:27:22.468Z] f23df028b6ca: Pull complete [2022-03-18T15:27:22.468Z] d65c8cfc05b1: Pull complete [2022-03-18T15:27:37.572Z] 2437ff75d9bd: Pull complete [2022-03-18T15:27:37.572Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-18T15:27:37.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T15:27:37.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-18T15:27:37.788Z] prd-ubuntu20.04-docker-arm64-4c-16g-7978 does not seem to be running inside a container [2022-03-18T15:27:37.887Z] $ 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/20 -v /w/workspace/device-sdk-c/20:/w/workspace/device-sdk-c/20:rw,z -v /w/workspace/device-sdk-c/20@tmp:/w/workspace/device-sdk-c/20@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-18T15:27:40.315Z] $ docker top 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:27:41.326Z] ---> job-cost.sh [2022-03-18T15:27:41.326Z] lf-activate-venv: SKIPPING [2022-03-18T15:27:41.326Z] INFO: No Stack... [2022-03-18T15:27:41.601Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-18T15:27:42.621Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T15:27:43.306Z] + cat /w/workspace/device-sdk-c/20/archives/cost.csv [2022-03-18T15:27:43.306Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T15:27:43.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [2022-03-18T15:27:43.389Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] did not exist. Created. [2022-03-18T15:27:43.389Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T15:27:44.116Z] /w/workspace/device-sdk-c/20@tmp/durable-ebd8c088/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-18T15:27:44.847Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-18T15:27:44.871Z] Warning: overwriting stash ‘stack-cost’ [2022-03-18T15:27:45.481Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T15:27:45.488Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T15:27:45.517Z] $ docker stop --time=1 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 [2022-03-18T15:27:47.050Z] $ docker rm -f 709bf4f0068d55bddc6aa83aff9b1016ea795dbd9d091064d828869b1d6797d1 [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-18T15:27:47.763Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T15:27:47.763Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:27:48.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:27:48.052Z] . [Pipeline] withDockerContainer [2022-03-18T15:27:48.115Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:27:48.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T15:27:48.528Z] $ docker top 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T15:27:48.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T15:27:48.613Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T15:27:48.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T15:27:48.744Z] $ docker exec 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 ssh-agent [2022-03-18T15:27:48.845Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcggDfH/agent.13 [2022-03-18T15:27:48.845Z] SSH_AGENT_PID=20 [2022-03-18T15:27:48.850Z] Running ssh-add (command line suppressed) [2022-03-18T15:27:48.968Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6916716853378227748.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6916716853378227748.key) [2022-03-18T15:27:48.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T15:27:49.259Z] + git semver tag [2022-03-18T15:27:49.259Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T15:27:49.259Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-18T15:27:49.259Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-18T15:27:49.259Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T15:27:49.259Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T15:27:49.259Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T15:27:49.259Z] # $SEMVER_BRANCH = main [2022-03-18T15:27:49.259Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-18T15:27:49.259Z] # 0f9fd7bebf2f77d7be2ba62bd03931a1c6f4d1f4 HEAD [2022-03-18T15:27:49.259Z] # -> Force: false [2022-03-18T15:27:49.259Z] # 2263604d63d29fda1df75f60c7d21b7f79c8cdbb refs/tags/v2.2.0-dev.5 [Pipeline] } [2022-03-18T15:27:49.286Z] $ docker exec --env ******** --env ******** 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 ssh-agent -k [2022-03-18T15:27:49.391Z] unset SSH_AUTH_SOCK; [2022-03-18T15:27:49.392Z] unset SSH_AGENT_PID; [2022-03-18T15:27:49.392Z] echo Agent pid 20 killed; [2022-03-18T15:27:49.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T15:27:49.697Z] + git semver [Pipeline] } [2022-03-18T15:27:49.725Z] $ docker stop --time=1 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 [2022-03-18T15:27:51.040Z] $ docker rm -f 89291e56a98858fc629fd119e48cd52d8f1674385730d62f191990bd454db218 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:27:51.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-18T15:27:51.415Z] [2022-03-18T15:27:51.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:27:51.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-18T15:27:51.712Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-18T15:27:51.712Z] ab5ef0e58194: Pulling fs layer [2022-03-18T15:27:51.712Z] 9712f1f96733: Pulling fs layer [2022-03-18T15:27:51.712Z] 63f879dbbcfc: Pulling fs layer [2022-03-18T15:27:51.712Z] 0d9ebad4ef96: Pulling fs layer [2022-03-18T15:27:51.712Z] e9a5061849ea: Pulling fs layer [2022-03-18T15:27:51.712Z] d747dcd14b5f: Pulling fs layer [2022-03-18T15:27:51.712Z] 2de7ff778b66: Pulling fs layer [2022-03-18T15:27:51.712Z] 0d9ebad4ef96: Waiting [2022-03-18T15:27:51.712Z] d747dcd14b5f: Waiting [2022-03-18T15:27:51.712Z] 2de7ff778b66: Waiting [2022-03-18T15:27:51.712Z] e9a5061849ea: Waiting [2022-03-18T15:27:51.712Z] 9712f1f96733: Verifying Checksum [2022-03-18T15:27:51.712Z] 9712f1f96733: Download complete [2022-03-18T15:27:51.993Z] 63f879dbbcfc: Verifying Checksum [2022-03-18T15:27:51.993Z] 63f879dbbcfc: Download complete [2022-03-18T15:27:52.285Z] 0d9ebad4ef96: Verifying Checksum [2022-03-18T15:27:52.285Z] 0d9ebad4ef96: Download complete [2022-03-18T15:27:52.285Z] d747dcd14b5f: Download complete [2022-03-18T15:27:52.285Z] e9a5061849ea: Verifying Checksum [2022-03-18T15:27:52.285Z] e9a5061849ea: Download complete [2022-03-18T15:27:52.285Z] ab5ef0e58194: Verifying Checksum [2022-03-18T15:27:52.285Z] ab5ef0e58194: Download complete [2022-03-18T15:27:52.285Z] 2de7ff778b66: Verifying Checksum [2022-03-18T15:27:52.285Z] 2de7ff778b66: Download complete [2022-03-18T15:27:54.965Z] ab5ef0e58194: Pull complete [2022-03-18T15:27:54.965Z] 9712f1f96733: Pull complete [2022-03-18T15:27:55.565Z] 63f879dbbcfc: Pull complete [2022-03-18T15:27:59.765Z] 0d9ebad4ef96: Pull complete [2022-03-18T15:27:59.765Z] e9a5061849ea: Pull complete [2022-03-18T15:28:00.026Z] d747dcd14b5f: Pull complete [2022-03-18T15:28:01.411Z] 2de7ff778b66: Pull complete [2022-03-18T15:28:01.411Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-18T15:28:01.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-18T15:28:01.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-18T15:28:01.487Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:28:01.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-18T15:28:03.225Z] $ docker top 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-18T15:28:03.307Z] provisioning config files... [2022-03-18T15:28:03.317Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7232273213228615788tmp [2022-03-18T15:28:03.329Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6387691453651304892tmp [2022-03-18T15:28:03.340Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2794764449024507619tmp [Pipeline] { [Pipeline] echo [2022-03-18T15:28:03.354Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:03.641Z] ---> sigul-configuration.sh [2022-03-18T15:28:03.641Z] gpg: directory `/root/.gnupg' created [2022-03-18T15:28:03.641Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-18T15:28:03.641Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-18T15:28:03.641Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-18T15:28:03.641Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-18T15:28:03.641Z] gpg: CAST5 encrypted data [2022-03-18T15:28:03.641Z] gpg: encrypted with 1 passphrase [2022-03-18T15:28:03.641Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-18T15:28:03.930Z] + mkdir /home/jenkins [2022-03-18T15:28:03.930Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-18T15:28:04.224Z] + 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-18T15:28:04.235Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:04.522Z] ---> sigul-install.sh [2022-03-18T15:28:04.522Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-18T15:28:04.815Z] + git tag --list [2022-03-18T15:28:04.815Z] 0.7.0 [2022-03-18T15:28:04.815Z] 0.7.1 [2022-03-18T15:28:04.815Z] 1.0.0 [2022-03-18T15:28:04.815Z] v1.0.1 [2022-03-18T15:28:04.815Z] v1.0.2 [2022-03-18T15:28:04.815Z] v1.0.3 [2022-03-18T15:28:04.815Z] v1.1.0 [2022-03-18T15:28:04.815Z] v1.1.1 [2022-03-18T15:28:04.815Z] v1.2.0 [2022-03-18T15:28:04.815Z] v1.2.1 [2022-03-18T15:28:04.815Z] v1.2.2 [2022-03-18T15:28:04.815Z] v1.3.0 [2022-03-18T15:28:04.815Z] v1.3.1 [2022-03-18T15:28:04.815Z] v2.0.0 [2022-03-18T15:28:04.815Z] v2.0.1-dev.1 [2022-03-18T15:28:04.815Z] v2.0.1-dev.10 [2022-03-18T15:28:04.815Z] v2.0.1-dev.11 [2022-03-18T15:28:04.815Z] v2.0.1-dev.12 [2022-03-18T15:28:04.815Z] v2.0.1-dev.13 [2022-03-18T15:28:04.815Z] v2.0.1-dev.2 [2022-03-18T15:28:04.815Z] v2.0.1-dev.3 [2022-03-18T15:28:04.815Z] v2.0.1-dev.4 [2022-03-18T15:28:04.815Z] v2.0.1-dev.5 [2022-03-18T15:28:04.815Z] v2.0.1-dev.6 [2022-03-18T15:28:04.815Z] v2.0.1-dev.7 [2022-03-18T15:28:04.815Z] v2.0.1-dev.8 [2022-03-18T15:28:04.815Z] v2.0.1-dev.9 [2022-03-18T15:28:04.815Z] v2.1.0 [2022-03-18T15:28:04.815Z] v2.2.0-dev.1 [2022-03-18T15:28:04.815Z] v2.2.0-dev.2 [2022-03-18T15:28:04.815Z] v2.2.0-dev.3 [2022-03-18T15:28:04.815Z] v2.2.0-dev.4 [2022-03-18T15:28:04.815Z] v2.2.0-dev.5 [Pipeline] sh [2022-03-18T15:28:05.107Z] + lftools sign git-tag v2.2.0-dev.5 [2022-03-18T15:28:05.679Z] Signing Git tag with Sigul... [2022-03-18T15:28:05.679Z] Signing v2.2.0-dev.5 [Pipeline] echo [2022-03-18T15:28:05.953Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:06.237Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-18T15:28:06.246Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-18T15:28:06.278Z] $ docker stop --time=1 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 [2022-03-18T15:28:07.550Z] $ docker rm -f 6be88c3eb67867e8554f9fe994e7be728304e7997886f48e926ecd911b1cdb41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-18T15:28:07.928Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T15:28:07.928Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:28:08.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:28:08.229Z] . [Pipeline] withDockerContainer [2022-03-18T15:28:08.294Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:28:08.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T15:28:08.703Z] $ docker top 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T15:28:08.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T15:28:08.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T15:28:08.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T15:28:08.925Z] $ docker exec 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 ssh-agent [2022-03-18T15:28:09.032Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhGEPcb/agent.14 [2022-03-18T15:28:09.032Z] SSH_AGENT_PID=20 [2022-03-18T15:28:09.038Z] Running ssh-add (command line suppressed) [2022-03-18T15:28:09.169Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8996474717216250990.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8996474717216250990.key) [2022-03-18T15:28:09.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T15:28:09.462Z] + git semver bump pre [2022-03-18T15:28:09.463Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T15:28:09.463Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-18T15:28:09.463Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-18T15:28:09.463Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T15:28:09.463Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T15:28:09.463Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T15:28:09.463Z] # $SEMVER_BRANCH = main [2022-03-18T15:28:09.463Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-03-18T15:28:09.463Z] 2.2.0-dev.6 [Pipeline] } [2022-03-18T15:28:09.490Z] $ docker exec --env ******** --env ******** 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 ssh-agent -k [2022-03-18T15:28:09.603Z] unset SSH_AUTH_SOCK; [2022-03-18T15:28:09.603Z] unset SSH_AGENT_PID; [2022-03-18T15:28:09.604Z] echo Agent pid 20 killed; [2022-03-18T15:28:09.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T15:28:09.909Z] + git semver [Pipeline] } [2022-03-18T15:28:09.939Z] $ docker stop --time=1 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 [2022-03-18T15:28:11.243Z] $ docker rm -f 1080b10950216a59864349bee94612b0e843673d3a6cde43d40c001606834e74 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T15:28:11.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T15:28:11.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:28:11.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T15:28:11.887Z] . [Pipeline] withDockerContainer [2022-03-18T15:28:11.965Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:28:12.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T15:28:12.426Z] $ docker top 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T15:28:12.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T15:28:12.506Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T15:28:12.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T15:28:12.665Z] $ docker exec 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 ssh-agent [2022-03-18T15:28:12.791Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbLgChl/agent.14 [2022-03-18T15:28:12.792Z] SSH_AGENT_PID=20 [2022-03-18T15:28:12.798Z] Running ssh-add (command line suppressed) [2022-03-18T15:28:12.938Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4853941804140226744.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4853941804140226744.key) [2022-03-18T15:28:12.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T15:28:13.233Z] + git semver push [2022-03-18T15:28:13.233Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T15:28:13.233Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-03-18T15:28:13.233Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-03-18T15:28:13.233Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T15:28:13.233Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T15:28:13.233Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T15:28:13.233Z] # $SEMVER_BRANCH = main [2022-03-18T15:28:13.233Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-03-18T15:28:15.169Z] $ docker exec --env ******** --env ******** 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 ssh-agent -k [2022-03-18T15:28:15.282Z] unset SSH_AUTH_SOCK; [2022-03-18T15:28:15.282Z] unset SSH_AGENT_PID; [2022-03-18T15:28:15.283Z] echo Agent pid 20 killed; [2022-03-18T15:28:15.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T15:28:15.576Z] + git semver [Pipeline] } [2022-03-18T15:28:15.603Z] $ docker stop --time=1 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 [2022-03-18T15:28:16.894Z] $ docker rm -f 36d91044bd3e8caf435a165f28a98c466873d25bcc3aadbc7a39e4dd85bab784 [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-18T15:28:17.389Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-03-18T15:28:17.389Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-18T15:28:17.389Z] total 16 [2022-03-18T15:28:17.389Z] drwxr-xr-x 3 root root 4096 Mar 18 15:23 . [2022-03-18T15:28:17.389Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 15:28 .. [2022-03-18T15:28:17.389Z] drwxr-xr-x 2 root root 4096 Mar 18 15:23 cost [2022-03-18T15:28:17.389Z] -rw-r--r-- 1 root root 82 Mar 18 15:23 cost.csv [2022-03-18T15:28:17.389Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-18T15:28:17.389Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-03-18T15:28:17.389Z] total 16 [2022-03-18T15:28:17.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 15:23 . [2022-03-18T15:28:17.389Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 15:28 .. [2022-03-18T15:28:17.389Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 15:23 cost [2022-03-18T15:28:17.389Z] -rw-r--r-- 1 jenkins jenkins 82 Mar 18 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:17.680Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:18.542Z] ---> package-listing.sh [2022-03-18T15:28:18.542Z] ++ facter osfamily [2022-03-18T15:28:18.542Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-18T15:28:18.801Z] + OS_FAMILY=debian [2022-03-18T15:28:18.801Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-03-18T15:28:18.801Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-18T15:28:18.801Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-18T15:28:18.801Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-18T15:28:18.801Z] + PACKAGES=/tmp/packages_start.txt [2022-03-18T15:28:18.801Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-18T15:28:18.801Z] + PACKAGES=/tmp/packages_end.txt [2022-03-18T15:28:18.801Z] + case "${OS_FAMILY}" in [2022-03-18T15:28:18.801Z] + dpkg -l [2022-03-18T15:28:18.801Z] + grep '^ii' [2022-03-18T15:28:18.801Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-18T15:28:18.801Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-18T15:28:18.801Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-18T15:28:18.801Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-03-18T15:28:18.801Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-03-18T15:28:18.802Z] + 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-18T15:28:18.814Z] 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-18T15:28:19.093Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-18T15:28:19.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T15:28:19.652Z] . [Pipeline] withDockerContainer [2022-03-18T15:28:19.716Z] prd-ubuntu20.04-docker-8c-8g-7977 does not seem to be running inside a container [2022-03-18T15:28:19.758Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T15:28:19.955Z] $ docker top 2a3dae75ae5bd41bfdfc608b1ba7e52afa6c73601312ef8ba72601a02f7a180a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T15:28:20.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-18T15:28:20.577Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-18T15:28:20.887Z] + ls /var/log/sa-host [2022-03-18T15:28:20.887Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T15:28:21.128Z] provisioning config files... [2022-03-18T15:28:21.137Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5996789552988604047tmp [Pipeline] { [Pipeline] echo [2022-03-18T15:28:21.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:21.437Z] ---> create-netrc.sh [Pipeline] } [2022-03-18T15:28:21.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:21.776Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-18T15:28:21.785Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:22.067Z] ---> sudo-logs.sh [2022-03-18T15:28:22.068Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-18T15:28:22.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:22.375Z] ---> job-cost.sh [2022-03-18T15:28:22.376Z] lf-activate-venv: SKIPPING [2022-03-18T15:28:22.376Z] DEBUG: total: 0.2199999988079071 [2022-03-18T15:28:22.376Z] INFO: Retrieving Stack Cost... [2022-03-18T15:28:22.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T15:28:23.210Z] INFO: Archiving Costs [Pipeline] echo [2022-03-18T15:28:23.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T15:28:23.506Z] ---> logs-deploy.sh [2022-03-18T15:28:23.507Z] lf-activate-venv: SKIPPING [2022-03-18T15:28:23.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/20 [2022-03-18T15:28:23.507Z] INFO: archiving workspace using pattern(s): [2022-03-18T15:28:24.443Z] Archives upload complete. [2022-03-18T15:28:24.443Z] INFO: archiving logs to Nexus