Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14bdc31d8719d1e6f8ec06114e1723900e8aedcd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7011456249480129604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1689492538739305777.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14381851375735857911.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12201972958873205885.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-ssh4180689661196645521.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-40558 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" > git rev-list --no-walk 1e0fd7e27a4873259b5a640d55725fb40bcbc88d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-06T09:46:57.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-06T09:46:57.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-06T09:46:58.010Z] ========================================================= [2022-05-06T09:46:58.011Z] EdgeX Global Pipelines Version Info [2022-05-06T09:46:58.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:46:58.802Z] ------------------- [2022-05-06T09:46:58.802Z] stable info: [2022-05-06T09:46:58.802Z] ------------------- [2022-05-06T09:46:58.802Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T09:46:58.802Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-06T09:46:58.802Z] Message: update stable to v1.0.227 [2022-05-06T09:46:59.377Z] ------------------- [2022-05-06T09:46:59.377Z] experimental info: [2022-05-06T09:46:59.377Z] ------------------- [2022-05-06T09:46:59.377Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T09:46:59.377Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-06T09:46:59.377Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-06T09:46:59.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-05-06T09:46:59.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-05-06T09:46:59.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-06T09:46:59.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-06T09:46:59.555Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-06T09:46:59.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-05-06T09:46:59.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-05-06T09:46:59.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-06T09:46:59.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-06T09:46:59.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-05-06T09:46:59.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-06T09:46:59.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-06T09:46:59.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-06T09:46:59.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-06T09:46:59.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-06T09:46:59.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-06T09:46:59.719Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-06T09:46:59.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-06T09:46:59.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-06T09:46:59.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-06T09:46:59.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-06T09:46:59.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14bdc31 [Pipeline] echo [2022-05-06T09:46:59.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T09:46:59.852Z] provisioning config files... [2022-05-06T09:46:59.864Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4552931373419790993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:47:00.172Z] ---> docker-login.sh [2022-05-06T09:47:00.172Z] nexus3.edgexfoundry.org:10001 [2022-05-06T09:47:00.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:00.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:00.432Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:00.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:00.432Z] [2022-05-06T09:47:00.432Z] Login Succeeded [2022-05-06T09:47:00.432Z] nexus3.edgexfoundry.org:10002 [2022-05-06T09:47:00.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:00.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:00.695Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:00.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:00.695Z] [2022-05-06T09:47:00.695Z] Login Succeeded [2022-05-06T09:47:00.695Z] nexus3.edgexfoundry.org:10003 [2022-05-06T09:47:00.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:00.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:00.695Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:00.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:00.695Z] [2022-05-06T09:47:00.695Z] Login Succeeded [2022-05-06T09:47:00.958Z] nexus3.edgexfoundry.org:10004 [2022-05-06T09:47:00.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:00.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:00.958Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:00.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:00.958Z] [2022-05-06T09:47:00.958Z] Login Succeeded [2022-05-06T09:47:00.958Z] docker.io [2022-05-06T09:47:00.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:01.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:01.537Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:01.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:01.537Z] [2022-05-06T09:47:01.537Z] Login Succeeded [2022-05-06T09:47:01.537Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T09:47:01.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-05-06T09:47:01.946Z] + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-06T09:47:01.979Z] -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh [2022-05-06T09:47:02.272Z] + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-06T09:47:02.291Z] ========================================================= [2022-05-06T09:47:02.291Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-06T09:47:02.291Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-06T09:47:02.685Z] + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-06T09:47:02.699Z] -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh [2022-05-06T09:47:02.998Z] + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo [2022-05-06T09:47:03.016Z] ========================================================= [2022-05-06T09:47:03.016Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-06T09:47:03.016Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-05-06T09:47:03.597Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T09:47:03.597Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-06T09:47:03.597Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-06T09:47:03.597Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-06T09:47:03.597Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-06T09:47:03.597Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-06T09:47:03.597Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:47:04.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T09:47:04.031Z] [2022-05-06T09:47:04.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:47:04.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T09:47:04.344Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-06T09:47:04.344Z] 1fe172e4850f: Pulling fs layer [2022-05-06T09:47:04.344Z] caf521ccaac6: Pulling fs layer [2022-05-06T09:47:04.344Z] 3ead6fa29328: Pulling fs layer [2022-05-06T09:47:04.344Z] 5c2a1cbceb83: Pulling fs layer [2022-05-06T09:47:04.344Z] a8d5f1318db7: Pulling fs layer [2022-05-06T09:47:04.344Z] c427282e49a2: Pulling fs layer [2022-05-06T09:47:04.344Z] 1827001aaf11: Pulling fs layer [2022-05-06T09:47:04.344Z] 0714d37db230: Pulling fs layer [2022-05-06T09:47:04.344Z] ac28cf19c067: Pulling fs layer [2022-05-06T09:47:04.344Z] ca983d60f3e2: Pulling fs layer [2022-05-06T09:47:04.344Z] 9f894cec8388: Pulling fs layer [2022-05-06T09:47:04.344Z] 1827001aaf11: Waiting [2022-05-06T09:47:04.344Z] 5c2a1cbceb83: Waiting [2022-05-06T09:47:04.344Z] 0714d37db230: Waiting [2022-05-06T09:47:04.344Z] c427282e49a2: Waiting [2022-05-06T09:47:04.344Z] a8d5f1318db7: Waiting [2022-05-06T09:47:04.344Z] ac28cf19c067: Waiting [2022-05-06T09:47:04.344Z] ca983d60f3e2: Waiting [2022-05-06T09:47:04.344Z] 9f894cec8388: Waiting [2022-05-06T09:47:04.344Z] caf521ccaac6: Verifying Checksum [2022-05-06T09:47:04.344Z] caf521ccaac6: Download complete [2022-05-06T09:47:04.344Z] 5c2a1cbceb83: Download complete [2022-05-06T09:47:04.604Z] a8d5f1318db7: Download complete [2022-05-06T09:47:04.604Z] c427282e49a2: Download complete [2022-05-06T09:47:04.604Z] 3ead6fa29328: Verifying Checksum [2022-05-06T09:47:04.604Z] 3ead6fa29328: Download complete [2022-05-06T09:47:04.604Z] 0714d37db230: Download complete [2022-05-06T09:47:04.604Z] ca983d60f3e2: Download complete [2022-05-06T09:47:04.604Z] 9f894cec8388: Download complete [2022-05-06T09:47:04.604Z] 1fe172e4850f: Verifying Checksum [2022-05-06T09:47:04.604Z] 1fe172e4850f: Download complete [2022-05-06T09:47:04.864Z] 1827001aaf11: Verifying Checksum [2022-05-06T09:47:04.864Z] 1827001aaf11: Download complete [2022-05-06T09:47:06.249Z] 1fe172e4850f: Pull complete [2022-05-06T09:47:06.249Z] caf521ccaac6: Pull complete [2022-05-06T09:47:06.820Z] 3ead6fa29328: Pull complete [2022-05-06T09:47:06.820Z] 5c2a1cbceb83: Pull complete [2022-05-06T09:47:07.081Z] a8d5f1318db7: Pull complete [2022-05-06T09:47:07.342Z] c427282e49a2: Pull complete [2022-05-06T09:47:09.255Z] 1827001aaf11: Pull complete [2022-05-06T09:47:09.519Z] 0714d37db230: Pull complete [2022-05-06T09:47:09.519Z] ac28cf19c067: Pull complete [2022-05-06T09:47:09.783Z] ca983d60f3e2: Pull complete [2022-05-06T09:47:09.783Z] 9f894cec8388: Pull complete [2022-05-06T09:47:09.783Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-06T09:47:09.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T09:47:09.783Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-06T09:47:09.872Z] prd-ubuntu20.04-docker-8c-8g-40558 does not seem to be running inside a container [2022-05-06T09:47:09.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T09:47:11.471Z] $ docker top 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 -eo pid,comm [2022-05-06T09:47:11.544Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-06T09:47:11.544Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T09:47:11.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T09:47:11.583Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T09:47:11.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T09:47:11.732Z] $ docker exec 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 ssh-agent [2022-05-06T09:47:11.876Z] SSH_AUTH_SOCK=/tmp/ssh-IoESVoZISVnn/agent.33 [2022-05-06T09:47:11.876Z] SSH_AGENT_PID=39 [2022-05-06T09:47:11.886Z] Running ssh-add (command line suppressed) [2022-05-06T09:47:12.019Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2564602526587170671.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2564602526587170671.key) [2022-05-06T09:47:12.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T09:47:12.326Z] + git tag --points-at HEAD [Pipeline] } [2022-05-06T09:47:12.346Z] $ docker exec --env ******** --env ******** 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 ssh-agent -k [2022-05-06T09:47:12.459Z] unset SSH_AUTH_SOCK; [2022-05-06T09:47:12.460Z] unset SSH_AGENT_PID; [2022-05-06T09:47:12.460Z] echo Agent pid 39 killed; [2022-05-06T09:47:12.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-06T09:47:12.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T09:47:12.495Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T09:47:12.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T09:47:12.639Z] $ docker exec 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 ssh-agent [2022-05-06T09:47:12.765Z] SSH_AUTH_SOCK=/tmp/ssh-ckvpXH4pQz0l/agent.74 [2022-05-06T09:47:12.765Z] SSH_AGENT_PID=80 [2022-05-06T09:47:12.770Z] Running ssh-add (command line suppressed) [2022-05-06T09:47:12.905Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8818850303180174191.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8818850303180174191.key) [2022-05-06T09:47:12.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T09:47:13.210Z] + git semver init [2022-05-06T09:47:13.472Z] 2022-05-06 09:47:13,437 [run_init] DEBUG init version:0.0.0 force:False [2022-05-06T09:47:13.472Z] 2022-05-06 09:47:13,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-05-06T09:47:13.472Z] 2022-05-06 09:47:13,438 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-05-06T09:47:13.472Z] 2022-05-06 09:47:13,439 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-05-06T09:47:14.415Z] 2022-05-06 09:47:14,259 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-05-06T09:47:14.415Z] 2022-05-06 09:47:14,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-05-06T09:47:14.415Z] 2022-05-06 09:47:14,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-06T09:47:14.415Z] 2022-05-06 09:47:14,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-05-06T09:47:14.415Z] 2.2.0-dev.9 [Pipeline] } [2022-05-06T09:47:14.433Z] $ docker exec --env ******** --env ******** 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 ssh-agent -k [2022-05-06T09:47:14.550Z] unset SSH_AUTH_SOCK; [2022-05-06T09:47:14.550Z] unset SSH_AGENT_PID; [2022-05-06T09:47:14.550Z] echo Agent pid 80 killed; [2022-05-06T09:47:14.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T09:47:14.862Z] + git semver [Pipeline] } [2022-05-06T09:47:15.146Z] $ docker stop --time=1 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 [2022-05-06T09:47:16.547Z] $ docker rm -f 6bc95c12d4870b6957acf3ed9ae3e4cb1fcbbc293be2c3b4973062353acb8364 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T09:47:16.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-06T09:47:17.170Z] Stashed 1 file(s) [Pipeline] echo [2022-05-06T09:47:17.174Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T09:47:17.311Z] provisioning config files... [2022-05-06T09:47:17.323Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7576715731396381467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:47:17.625Z] ---> docker-login.sh [2022-05-06T09:47:17.625Z] nexus3.edgexfoundry.org:10001 [2022-05-06T09:47:17.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:17.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:17.625Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:17.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:17.625Z] [2022-05-06T09:47:17.625Z] Login Succeeded [2022-05-06T09:47:17.625Z] nexus3.edgexfoundry.org:10002 [2022-05-06T09:47:17.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:17.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:17.885Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:17.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:17.885Z] [2022-05-06T09:47:17.885Z] Login Succeeded [2022-05-06T09:47:17.885Z] nexus3.edgexfoundry.org:10003 [2022-05-06T09:47:17.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:17.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:17.885Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:17.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:17.885Z] [2022-05-06T09:47:17.885Z] Login Succeeded [2022-05-06T09:47:17.885Z] nexus3.edgexfoundry.org:10004 [2022-05-06T09:47:18.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:18.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:18.146Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:18.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:18.146Z] [2022-05-06T09:47:18.146Z] Login Succeeded [2022-05-06T09:47:18.146Z] docker.io [2022-05-06T09:47:18.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:47:18.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:47:18.407Z] Configure a credential helper to remove this warning. See [2022-05-06T09:47:18.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:47:18.407Z] [2022-05-06T09:47:18.407Z] Login Succeeded [2022-05-06T09:47:18.407Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T09:47:18.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T09:47:18.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T09:47:18.482Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-05-06T09:47:18.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T09:47:18.501Z] ========================================================= [2022-05-06T09:47:18.501Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-05-06T09:47:18.501Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:47:18.793Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2022-05-06T09:47:18.793Z] Sending build context to Docker daemon 4.541MB [2022-05-06T09:47:18.793Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-05-06T09:47:18.793Z] Step 2/22 : FROM ${BASE} as builder [2022-05-06T09:47:18.793Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-05-06T09:47:18.793Z] df9b9388f04a: Pulling fs layer [2022-05-06T09:47:18.793Z] 37ea90d01205: Pulling fs layer [2022-05-06T09:47:18.793Z] c88372d24652: Pulling fs layer [2022-05-06T09:47:18.793Z] 37ea90d01205: Verifying Checksum [2022-05-06T09:47:18.793Z] 37ea90d01205: Download complete [2022-05-06T09:47:19.053Z] df9b9388f04a: Verifying Checksum [2022-05-06T09:47:19.053Z] df9b9388f04a: Download complete [2022-05-06T09:47:19.053Z] df9b9388f04a: Pull complete [2022-05-06T09:47:19.317Z] 37ea90d01205: Pull complete [2022-05-06T09:47:19.578Z] c88372d24652: Verifying Checksum [2022-05-06T09:47:19.578Z] c88372d24652: Download complete [2022-05-06T09:47:22.873Z] c88372d24652: Pull complete [2022-05-06T09:47:22.873Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-05-06T09:47:22.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-05-06T09:47:22.873Z] ---> 95f6e8fcc511 [2022-05-06T09:47:22.873Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-05-06T09:47:23.448Z] ---> Running in 1d9cd56f13fb [2022-05-06T09:47:23.710Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-05-06T09:47:23.971Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-06T09:47:23.972Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-06T09:47:23.972Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-06T09:47:24.238Z] Removing intermediate container 1d9cd56f13fb [2022-05-06T09:47:24.238Z] ---> 97b24c24cd8e [2022-05-06T09:47:24.238Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-06T09:47:24.500Z] ---> Running in 48b2be2c472d [2022-05-06T09:47:25.077Z] Removing intermediate container 48b2be2c472d [2022-05-06T09:47:25.077Z] ---> d6e0e4c8d4a4 [2022-05-06T09:47:25.077Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-05-06T09:47:25.077Z] ---> Running in 1fe40ee11c6a [2022-05-06T09:47:25.339Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T09:47:30.644Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/main: temporary error (try again later) [2022-05-06T09:47:30.644Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-06T09:47:32.280Z] Still waiting to schedule task [2022-05-06T09:47:32.280Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-06T09:47:35.942Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/community: temporary error (try again later) [2022-05-06T09:47:35.942Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T09:47:35.942Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-06T09:47:35.942Z] ERROR: unable to select packages: [2022-05-06T09:47:35.942Z]  hiredis-dev (no such package): [2022-05-06T09:47:35.942Z] required by: world[hiredis-dev] [2022-05-06T09:47:35.942Z] libcbor-dev (no such package): [2022-05-06T09:47:35.942Z] required by: world[libcbor-dev] [2022-05-06T09:47:35.942Z] ncurses-dev (no such package): [2022-05-06T09:47:35.942Z] required by: world[ncurses-dev] [2022-05-06T09:47:35.942Z] util-linux-dev (no such package): [2022-05-06T09:47:35.942Z] required by: world[util-linux-dev] [2022-05-06T09:47:35.942Z] The command '/bin/sh -c 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' returned a non-zero code: 4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:47:36.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T09:47:36.401Z] [2022-05-06T09:47:36.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:47:36.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T09:47:36.718Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-06T09:47:36.718Z] 5eb5b503b376: Pulling fs layer [2022-05-06T09:47:36.718Z] 5c69ac0246d0: Pulling fs layer [2022-05-06T09:47:36.718Z] ec43610c2a17: Pulling fs layer [2022-05-06T09:47:36.718Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-06T09:47:36.718Z] 33b1e0a273af: Pulling fs layer [2022-05-06T09:47:36.718Z] 5d3b04190fa2: Pulling fs layer [2022-05-06T09:47:36.718Z] 2f39f015ded8: Pulling fs layer [2022-05-06T09:47:36.718Z] 3a2ae6a8a46f: Waiting [2022-05-06T09:47:36.718Z] 2f39f015ded8: Waiting [2022-05-06T09:47:36.718Z] 33b1e0a273af: Waiting [2022-05-06T09:47:36.718Z] 5d3b04190fa2: Waiting [2022-05-06T09:47:36.718Z] 5c69ac0246d0: Verifying Checksum [2022-05-06T09:47:36.718Z] 5c69ac0246d0: Download complete [2022-05-06T09:47:36.718Z] 3a2ae6a8a46f: Download complete [2022-05-06T09:47:36.718Z] 33b1e0a273af: Verifying Checksum [2022-05-06T09:47:36.718Z] 33b1e0a273af: Download complete [2022-05-06T09:47:36.718Z] ec43610c2a17: Verifying Checksum [2022-05-06T09:47:36.718Z] ec43610c2a17: Download complete [2022-05-06T09:47:36.718Z] 5d3b04190fa2: Download complete [2022-05-06T09:47:36.980Z] 5eb5b503b376: Verifying Checksum [2022-05-06T09:47:36.980Z] 5eb5b503b376: Download complete [2022-05-06T09:47:37.547Z] 2f39f015ded8: Download complete [2022-05-06T09:47:38.487Z] 5eb5b503b376: Pull complete [2022-05-06T09:47:38.487Z] 5c69ac0246d0: Pull complete [2022-05-06T09:47:39.059Z] ec43610c2a17: Pull complete [2022-05-06T09:47:39.059Z] 3a2ae6a8a46f: Pull complete [2022-05-06T09:47:39.319Z] 33b1e0a273af: Pull complete [2022-05-06T09:47:39.319Z] 5d3b04190fa2: Pull complete [2022-05-06T09:47:44.610Z] 2f39f015ded8: Pull complete [2022-05-06T09:47:44.610Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-06T09:47:44.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T09:47:44.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-06T09:47:44.701Z] prd-ubuntu20.04-docker-8c-8g-40558 does not seem to be running inside a container [2022-05-06T09:47:44.770Z] $ 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-05-06T09:47:46.521Z] $ docker top a34c61c59972dae9203fd6608296f0922ae797390f834a2077d4a09f8e575601 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:47:46.971Z] ---> job-cost.sh [2022-05-06T09:47:46.971Z] lf-activate-venv: SKIPPING [2022-05-06T09:47:46.971Z] INFO: No Stack... [2022-05-06T09:47:47.232Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T09:47:47.816Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T09:47:48.146Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-05-06T09:47:48.146Z] + cut -d, -f6 [Pipeline] lock [2022-05-06T09:47:48.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [2022-05-06T09:47:48.175Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] did not exist. Created. [2022-05-06T09:47:48.175Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T09:47:48.480Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-06T09:47:48.537Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T09:47:48.544Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T09:47:48.573Z] $ docker stop --time=1 a34c61c59972dae9203fd6608296f0922ae797390f834a2077d4a09f8e575601 [2022-05-06T09:47:49.765Z] $ docker rm -f a34c61c59972dae9203fd6608296f0922ae797390f834a2077d4a09f8e575601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-06T09:47:49.867Z] Failed in branch amd64 [2022-05-06T09:49:12.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40559 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-05-06T09:49:12.748Z] Running in /w/workspace/device-sdk-c/24 [Pipeline] { [Pipeline] checkout [2022-05-06T09:49:13.002Z] Selected Git installation does not exist. Using Default [2022-05-06T09:49:13.002Z] The recommended git tool is: NONE [2022-05-06T09:49:18.500Z] using credential edgex-jenkins-ssh [2022-05-06T09:49:18.517Z] Cloning the remote Git repository [2022-05-06T09:49:18.580Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-05-06T09:49:18.658Z] > git init /w/workspace/device-sdk-c/24 # timeout=10 [2022-05-06T09:49:18.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-05-06T09:49:18.740Z] > git --version # timeout=10 [2022-05-06T09:49:18.767Z] > git --version # 'git version 2.25.1' [2022-05-06T09:49:18.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-06T09:49:18.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T09:49:19.925Z] Avoid second fetch [2022-05-06T09:49:19.926Z] Checking out Revision 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (main) [2022-05-06T09:49:19.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-05-06T09:49:19.914Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T09:49:19.949Z] > git config core.sparsecheckout # timeout=10 [2022-05-06T09:49:19.962Z] > git checkout -f 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [2022-05-06T09:49:24.106Z] Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T09:49:25.034Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-06T09:49:25.034Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-06T09:49:25.034Z] Dload Upload Total Spent Left Speed [2022-05-06T09:49:25.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-05-06T09:49:25.546Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-06T09:49:25.895Z] + sudo tee /etc/docker/daemon.new [2022-05-06T09:49:25.895Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-06T09:49:25.895Z] { [2022-05-06T09:49:25.895Z] "registry-mirrors": [ [2022-05-06T09:49:25.895Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-06T09:49:25.895Z] ], [2022-05-06T09:49:25.895Z] "bip": "10.250.0.254/24", [2022-05-06T09:49:25.895Z] "hosts": [ [2022-05-06T09:49:25.895Z] "tcp://0.0.0.0:5555", [2022-05-06T09:49:25.895Z] "unix:///var/run/docker.sock" [2022-05-06T09:49:25.895Z] ], [2022-05-06T09:49:25.895Z] "mtu": 1458, [2022-05-06T09:49:25.895Z] "selinux-enabled": true, [2022-05-06T09:49:25.895Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-06T09:49:25.895Z] } [Pipeline] sh [2022-05-06T09:49:26.241Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-06T09:49:26.594Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T09:49:44.978Z] provisioning config files... [2022-05-06T09:49:45.000Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/24@tmp/config2357403379329939971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:49:45.358Z] ---> docker-login.sh [2022-05-06T09:49:45.358Z] nexus3.edgexfoundry.org:10001 [2022-05-06T09:49:45.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:49:46.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:49:46.234Z] Configure a credential helper to remove this warning. See [2022-05-06T09:49:46.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:49:46.234Z] [2022-05-06T09:49:46.234Z] Login Succeeded [2022-05-06T09:49:46.234Z] nexus3.edgexfoundry.org:10002 [2022-05-06T09:49:46.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:49:46.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:49:46.783Z] Configure a credential helper to remove this warning. See [2022-05-06T09:49:46.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:49:46.783Z] [2022-05-06T09:49:46.783Z] Login Succeeded [2022-05-06T09:49:46.783Z] nexus3.edgexfoundry.org:10003 [2022-05-06T09:49:47.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:49:47.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:49:47.061Z] Configure a credential helper to remove this warning. See [2022-05-06T09:49:47.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:49:47.061Z] [2022-05-06T09:49:47.061Z] Login Succeeded [2022-05-06T09:49:47.061Z] nexus3.edgexfoundry.org:10004 [2022-05-06T09:49:47.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:49:47.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:49:47.613Z] Configure a credential helper to remove this warning. See [2022-05-06T09:49:47.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:49:47.613Z] [2022-05-06T09:49:47.613Z] Login Succeeded [2022-05-06T09:49:47.613Z] docker.io [2022-05-06T09:49:47.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T09:49:48.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T09:49:48.158Z] Configure a credential helper to remove this warning. See [2022-05-06T09:49:48.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T09:49:48.158Z] [2022-05-06T09:49:48.158Z] Login Succeeded [2022-05-06T09:49:48.432Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T09:49:48.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T09:49:48.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T09:49:48.838Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-05-06T09:49:48.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T09:49:48.855Z] ========================================================= [2022-05-06T09:49:48.855Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-05-06T09:49:48.855Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:49:49.214Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2022-05-06T09:49:49.484Z] Sending build context to Docker daemon 2.743MB [2022-05-06T09:49:49.484Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-05-06T09:49:49.484Z] Step 2/22 : FROM ${BASE} as builder [2022-05-06T09:49:49.760Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-05-06T09:49:49.760Z] 9981e73032c8: Pulling fs layer [2022-05-06T09:49:49.760Z] 2a34a092ebf8: Pulling fs layer [2022-05-06T09:49:49.760Z] 1928f2f5eed1: Pulling fs layer [2022-05-06T09:49:49.760Z] 2a34a092ebf8: Verifying Checksum [2022-05-06T09:49:49.760Z] 2a34a092ebf8: Download complete [2022-05-06T09:49:49.760Z] 9981e73032c8: Verifying Checksum [2022-05-06T09:49:49.760Z] 9981e73032c8: Download complete [2022-05-06T09:49:50.363Z] 9981e73032c8: Pull complete [2022-05-06T09:49:50.639Z] 2a34a092ebf8: Pull complete [2022-05-06T09:49:52.077Z] 1928f2f5eed1: Verifying Checksum [2022-05-06T09:49:52.077Z] 1928f2f5eed1: Download complete [2022-05-06T09:50:00.374Z] 1928f2f5eed1: Pull complete [2022-05-06T09:50:00.374Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-05-06T09:50:00.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-05-06T09:50:00.374Z] ---> cad489bbaf40 [2022-05-06T09:50:00.374Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-05-06T09:50:00.977Z] ---> Running in 1a584b41edf1 [2022-05-06T09:50:01.962Z] Connecting to iotech.jfrog.io (34.250.90.209:443) [2022-05-06T09:50:02.559Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-06T09:50:02.559Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-06T09:50:02.559Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-06T09:50:03.164Z] Removing intermediate container 1a584b41edf1 [2022-05-06T09:50:03.164Z] ---> 0957b5382dd6 [2022-05-06T09:50:03.164Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-06T09:50:03.164Z] ---> Running in f293b0790d7f [2022-05-06T09:50:05.146Z] Removing intermediate container f293b0790d7f [2022-05-06T09:50:05.146Z] ---> 42e2867162bc [2022-05-06T09:50:05.146Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-05-06T09:50:05.146Z] ---> Running in 8af82e3c250e [2022-05-06T09:50:05.745Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:50:06.735Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T09:50:07.336Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:50:08.315Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-06T09:50:08.315Z] (1/31) Installing hiredis (1.0.2-r0) [2022-05-06T09:50:08.315Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-05-06T09:50:08.315Z] (3/31) Installing libcbor (0.8.0-r0) [2022-05-06T09:50:08.588Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-05-06T09:50:08.588Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-06T09:50:08.588Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-06T09:50:09.563Z] (7/31) Installing util-linux (2.37.4-r0) [2022-05-06T09:50:09.563Z] (8/31) Installing libblkid (2.37.4-r0) [2022-05-06T09:50:09.835Z] (9/31) Installing libeconf (0.4.2-r0) [2022-05-06T09:50:10.108Z] (10/31) Installing libuuid (2.37.4-r0) [2022-05-06T09:50:10.108Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-05-06T09:50:10.381Z] (12/31) Installing libmount (2.37.4-r0) [2022-05-06T09:50:10.381Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-05-06T09:50:10.381Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-05-06T09:50:10.653Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-05-06T09:50:10.926Z] (16/31) Installing runuser (2.37.4-r0) [2022-05-06T09:50:10.926Z] (17/31) Installing hexdump (2.37.4-r0) [2022-05-06T09:50:11.199Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-05-06T09:50:11.199Z] (19/31) Installing blkid (2.37.4-r0) [2022-05-06T09:50:11.199Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-05-06T09:50:11.470Z] (21/31) Installing mcookie (2.37.4-r0) [2022-05-06T09:50:11.470Z] (22/31) Installing wipefs (2.37.4-r0) [2022-05-06T09:50:11.470Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-05-06T09:50:11.742Z] (24/31) Installing flock (2.37.4-r0) [2022-05-06T09:50:11.742Z] (25/31) Installing lsblk (2.37.4-r0) [2022-05-06T09:50:11.742Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-05-06T09:50:12.012Z] (27/31) Installing setpriv (2.37.4-r0) [2022-05-06T09:50:12.012Z] (28/31) Installing logger (2.37.4-r0) [2022-05-06T09:50:12.012Z] (29/31) Installing partx (2.37.4-r0) [2022-05-06T09:50:12.286Z] (30/31) Installing findmnt (2.37.4-r0) [2022-05-06T09:50:12.286Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-05-06T09:50:12.559Z] Executing busybox-1.34.1-r5.trigger [2022-05-06T09:50:12.559Z] OK: 289 MiB in 108 packages [2022-05-06T09:50:13.998Z] Removing intermediate container 8af82e3c250e [2022-05-06T09:50:13.998Z] ---> c1e4f837ac96 [2022-05-06T09:50:13.998Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-05-06T09:50:13.998Z] ---> Running in c95cf92d5ea2 [2022-05-06T09:50:15.455Z] Removing intermediate container c95cf92d5ea2 [2022-05-06T09:50:15.455Z] ---> 39a82a3d0ae1 [2022-05-06T09:50:15.455Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-05-06T09:50:16.069Z] ---> 7fd24a9f1977 [2022-05-06T09:50:16.069Z] Step 8/22 : COPY src /tmp/sdk/src [2022-05-06T09:50:17.065Z] ---> 92efc025f4f4 [2022-05-06T09:50:17.065Z] Step 9/22 : COPY include /tmp/sdk/include [2022-05-06T09:50:17.665Z] ---> fdf5bcf722e2 [2022-05-06T09:50:17.665Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-05-06T09:50:19.642Z] ---> 61305a07a36e [2022-05-06T09:50:19.642Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-05-06T09:50:19.917Z] ---> 00277d47ddbc [2022-05-06T09:50:19.917Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-05-06T09:50:20.520Z] ---> 286ce199ed63 [2022-05-06T09:50:20.520Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-05-06T09:50:20.520Z] ---> Running in fc7c98dceefd [2022-05-06T09:50:21.503Z] + CPPCHECK=false [2022-05-06T09:50:21.503Z] + DOCGEN=false [2022-05-06T09:50:21.503Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-05-06T09:50:21.503Z] + TOMLVER=SDK-0.2 [2022-05-06T09:50:21.503Z] + CUTILVER=1.2.2 [2022-05-06T09:50:21.503Z] + '[' 0 -gt 0 ] [2022-05-06T09:50:21.503Z] + readlink -f ./scripts/build.sh [2022-05-06T09:50:21.503Z] + dirname /tmp/sdk/scripts/build.sh [2022-05-06T09:50:21.503Z] + dirname /tmp/sdk/scripts [2022-05-06T09:50:21.503Z] + ROOT=/tmp/sdk [2022-05-06T09:50:21.503Z] + cd /tmp/sdk [2022-05-06T09:50:21.503Z] + '[' '!' -d deps ] [2022-05-06T09:50:21.503Z] + mkdir deps [2022-05-06T09:50:21.503Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-05-06T09:50:21.503Z] + tar -C deps -z -x -f - [2022-05-06T09:50:21.503Z] Connecting to github.com (140.82.113.3:443) [2022-05-06T09:50:21.774Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-05-06T09:50:22.045Z] writing to stdout [2022-05-06T09:50:22.045Z] - 100% |********************************| 16451 0:00:00 ETA [2022-05-06T09:50:22.045Z] written to stdout [2022-05-06T09:50:22.045Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-05-06T09:50:22.045Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-05-06T09:50:22.045Z] + tar -C deps -z -x -f - [2022-05-06T09:50:22.045Z] Connecting to github.com (140.82.113.3:443) [2022-05-06T09:50:22.315Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-05-06T09:50:22.315Z] writing to stdout [2022-05-06T09:50:22.588Z] - 100% |********************************| 189k 0:00:00 ETA [2022-05-06T09:50:22.588Z] written to stdout [2022-05-06T09:50:22.588Z] + mkdir -p src/c/iot [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-05-06T09:50:22.588Z] + mkdir -p include/iot [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-05-06T09:50:22.588Z] + mkdir -p include/iot/os [2022-05-06T09:50:22.588Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-05-06T09:50:22.588Z] + mkdir -p /tmp/sdk/build/release [2022-05-06T09:50:22.588Z] + cd /tmp/sdk/build/release [2022-05-06T09:50:22.588Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-05-06T09:50:22.862Z] -- The C compiler identification is GNU 10.3.1 [2022-05-06T09:50:22.862Z] -- Detecting C compiler ABI info [2022-05-06T09:50:23.135Z] -- Detecting C compiler ABI info - done [2022-05-06T09:50:23.407Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-06T09:50:23.407Z] -- Detecting C compile features [2022-05-06T09:50:23.407Z] -- Detecting C compile features - done [2022-05-06T09:50:23.407Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-06T09:50:23.681Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-06T09:50:23.681Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-06T09:50:23.681Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-06T09:50:23.681Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-06T09:50:23.681Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-06T09:50:23.681Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-06T09:50:23.681Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-06T09:50:23.681Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-06T09:50:23.955Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-06T09:50:24.227Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-06T09:50:24.227Z] -- Configuring done [2022-05-06T09:50:24.501Z] -- Generating done [2022-05-06T09:50:24.501Z] -- Build files have been written to: /tmp/sdk/build/release [2022-05-06T09:50:24.501Z] + + maketee all release.log package [2022-05-06T09:50:24.501Z] [2022-05-06T09:50:24.501Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-06T09:50:25.479Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-06T09:50:26.075Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-06T09:50:28.695Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-06T09:50:29.291Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-06T09:50:29.564Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-06T09:50:30.563Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-06T09:50:31.157Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-06T09:50:31.431Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-06T09:50:32.869Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-06T09:50:35.483Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-06T09:50:35.483Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-06T09:50:36.456Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-06T09:50:37.434Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-06T09:50:37.705Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-06T09:50:37.974Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-06T09:50:38.245Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-06T09:50:41.616Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-06T09:50:41.616Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-06T09:50:42.209Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-06T09:50:42.488Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-06T09:50:43.461Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-06T09:50:43.461Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-06T09:50:43.461Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-06T09:50:43.461Z] 275 | const iot_component_factory_t * factory; [2022-05-06T09:50:43.461Z] | ^~~~~~~ [2022-05-06T09:50:44.051Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-06T09:50:49.427Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-06T09:50:49.427Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-06T09:50:49.427Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-06T09:50:50.397Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-06T09:50:50.697Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-06T09:50:51.035Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-06T09:50:52.455Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-06T09:50:52.727Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-06T09:50:53.698Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-06T09:50:53.967Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-06T09:50:54.239Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-06T09:50:56.846Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-06T09:50:57.118Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-06T09:50:58.546Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-06T09:50:58.819Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-06T09:51:04.191Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-06T09:51:04.191Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-06T09:51:04.782Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-06T09:51:05.374Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-06T09:51:05.374Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-06T09:51:05.374Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:05.374Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-06T09:51:05.374Z] | ^~~~~~~~~~~~~ [2022-05-06T09:51:05.374Z] | | [2022-05-06T09:51:05.374Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-06T09:51:05.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:05.374Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-05-06T09:51:05.374Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-06T09:51:05.374Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-06T09:51:05.374Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-06T09:51:05.374Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:05.374Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-06T09:51:05.374Z] | ^~~~~~~~~~~~ [2022-05-06T09:51:05.374Z] | | [2022-05-06T09:51:05.374Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-05-06T09:51:05.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:05.374Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-05-06T09:51:05.374Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-06T09:51:05.374Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-06T09:51:05.374Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:05.374Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-06T09:51:05.374Z] | ^~~~~~~~~~~~ [2022-05-06T09:51:05.374Z] | | [2022-05-06T09:51:05.374Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-05-06T09:51:05.374Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:05.374Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-05-06T09:51:05.374Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-06T09:51:05.374Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-06T09:51:06.801Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-06T09:51:09.403Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-06T09:51:09.403Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-06T09:51:09.994Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-06T09:51:10.266Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-06T09:51:13.633Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-06T09:51:17.001Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-06T09:51:17.972Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-06T09:51:18.561Z] [ 76%] Linking C shared library libcsdk.so [2022-05-06T09:51:18.830Z] [ 76%] Built target csdk [2022-05-06T09:51:18.830Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-06T09:51:19.802Z] [ 79%] Linking C executable template [2022-05-06T09:51:19.802Z] [ 79%] Built target template [2022-05-06T09:51:19.802Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-06T09:51:20.392Z] [ 82%] Linking C executable device-counter [2022-05-06T09:51:20.662Z] [ 82%] Built target device-counter [2022-05-06T09:51:20.662Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-06T09:51:21.251Z] [ 85%] Linking C executable device-random [2022-05-06T09:51:21.521Z] [ 85%] Built target device-random [2022-05-06T09:51:21.521Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-06T09:51:22.112Z] [ 88%] Linking C executable device-gyro [2022-05-06T09:51:22.382Z] [ 88%] Built target device-gyro [2022-05-06T09:51:22.382Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-06T09:51:22.972Z] [ 91%] Linking C executable device-bitfields [2022-05-06T09:51:23.243Z] [ 91%] Built target device-bitfields [2022-05-06T09:51:23.243Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-06T09:51:24.213Z] [ 94%] Linking C executable template-discovery [2022-05-06T09:51:24.213Z] [ 94%] Built target template-discovery [2022-05-06T09:51:24.213Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-06T09:51:25.184Z] [ 97%] Linking C executable device-file [2022-05-06T09:51:25.184Z] [ 97%] Built target device-file [2022-05-06T09:51:25.456Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-06T09:51:26.048Z] [100%] Linking C executable device-terminal [2022-05-06T09:51:26.318Z] [100%] Built target device-terminal [2022-05-06T09:51:26.318Z] Run CPack packaging tool... [2022-05-06T09:51:26.318Z] CPack: Create package using TGZ [2022-05-06T09:51:26.318Z] CPack: Install projects [2022-05-06T09:51:26.318Z] CPack: - Run preinstall target for: Csdk [2022-05-06T09:51:27.289Z] CPack: - Install project: Csdk [] [2022-05-06T09:51:27.289Z] CPack: Create package [2022-05-06T09:51:27.289Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.9.tar.gz generated. [2022-05-06T09:51:27.289Z] + '[' false '=' true ] [2022-05-06T09:51:27.289Z] + '[' false '=' true ] [2022-05-06T09:51:27.289Z] + mkdir -p /tmp/sdk/build/debug [2022-05-06T09:51:27.289Z] + cd /tmp/sdk/build/debug [2022-05-06T09:51:27.289Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-05-06T09:51:27.559Z] -- The C compiler identification is GNU 10.3.1 [2022-05-06T09:51:27.559Z] -- Detecting C compiler ABI info [2022-05-06T09:51:27.830Z] -- Detecting C compiler ABI info - done [2022-05-06T09:51:28.105Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-05-06T09:51:28.105Z] -- Detecting C compile features [2022-05-06T09:51:28.105Z] -- Detecting C compile features - done [2022-05-06T09:51:28.105Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-05-06T09:51:28.105Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-05-06T09:51:28.105Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-05-06T09:51:28.105Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-05-06T09:51:28.105Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-05-06T09:51:28.376Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-05-06T09:51:28.376Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-05-06T09:51:28.376Z] -- C SDK 2.2.0-dev.9 for Linux [2022-05-06T09:51:28.376Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-05-06T09:51:28.646Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-05-06T09:51:28.646Z] -- Found Curses: /usr/lib/libcurses.so [2022-05-06T09:51:28.916Z] -- Configuring done [2022-05-06T09:51:29.188Z] -- Generating done [2022-05-06T09:51:29.188Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-05-06T09:51:29.188Z] + make [2022-05-06T09:51:29.188Z] + tee debug.log [2022-05-06T09:51:29.188Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-05-06T09:51:29.461Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-05-06T09:51:30.055Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-05-06T09:51:30.665Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-05-06T09:51:31.289Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-05-06T09:51:31.289Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-05-06T09:51:31.934Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-05-06T09:51:32.216Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-05-06T09:51:32.494Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-05-06T09:51:33.137Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-05-06T09:51:33.740Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-05-06T09:51:34.022Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-05-06T09:51:34.616Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-05-06T09:51:34.887Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-05-06T09:51:35.157Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-05-06T09:51:35.427Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-05-06T09:51:35.697Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-05-06T09:51:36.666Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-05-06T09:51:36.666Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-05-06T09:51:36.939Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-05-06T09:51:37.214Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-05-06T09:51:37.486Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-05-06T09:51:37.757Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-05-06T09:51:37.757Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-05-06T09:51:37.757Z] 275 | const iot_component_factory_t * factory; [2022-05-06T09:51:37.757Z] | ^~~~~~~ [2022-05-06T09:51:38.029Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-05-06T09:51:39.453Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-05-06T09:51:39.453Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-05-06T09:51:39.453Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-05-06T09:51:39.723Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-05-06T09:51:40.002Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-05-06T09:51:40.272Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-05-06T09:51:40.544Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-05-06T09:51:40.816Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-05-06T09:51:41.413Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-05-06T09:51:41.413Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-05-06T09:51:41.690Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-05-06T09:51:42.285Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-05-06T09:51:42.285Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-05-06T09:51:42.876Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-05-06T09:51:43.148Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-05-06T09:51:44.575Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-05-06T09:51:44.575Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-05-06T09:51:45.167Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-05-06T09:51:45.438Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-05-06T09:51:45.438Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-05-06T09:51:45.438Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:45.438Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-05-06T09:51:45.438Z] | ^~~~~~~~~~~~~ [2022-05-06T09:51:45.438Z] | | [2022-05-06T09:51:45.438Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-05-06T09:51:45.438Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:45.438Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-05-06T09:51:45.438Z] 2784 | MHD_KeyValueIterator iterator, [2022-05-06T09:51:45.438Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-05-06T09:51:45.438Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-05-06T09:51:45.438Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:45.438Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-05-06T09:51:45.438Z] | ^~~~~~~~~~~~ [2022-05-06T09:51:45.438Z] | | [2022-05-06T09:51:45.438Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-05-06T09:51:45.438Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:45.438Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-05-06T09:51:45.438Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-06T09:51:45.438Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-06T09:51:45.438Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-05-06T09:51:45.438Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-05-06T09:51:45.438Z] | ^~~~~~~~~~~~ [2022-05-06T09:51:45.438Z] | | [2022-05-06T09:51:45.438Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-05-06T09:51:45.438Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-05-06T09:51:45.438Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-05-06T09:51:45.438Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-05-06T09:51:45.438Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-05-06T09:51:45.709Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-05-06T09:51:47.676Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-05-06T09:51:47.676Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-05-06T09:51:47.947Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-05-06T09:51:48.219Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-05-06T09:51:49.187Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-05-06T09:51:49.782Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-05-06T09:51:50.053Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-05-06T09:51:50.324Z] [ 76%] Linking C shared library libcsdk.so [2022-05-06T09:51:50.598Z] [ 76%] Built target csdk [2022-05-06T09:51:50.598Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-05-06T09:51:51.195Z] [ 79%] Linking C executable template [2022-05-06T09:51:51.195Z] [ 79%] Built target template [2022-05-06T09:51:51.466Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-05-06T09:51:51.737Z] [ 82%] Linking C executable device-counter [2022-05-06T09:51:52.008Z] [ 82%] Built target device-counter [2022-05-06T09:51:52.008Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-05-06T09:51:52.280Z] [ 85%] Linking C executable device-random [2022-05-06T09:51:52.550Z] [ 85%] Built target device-random [2022-05-06T09:51:52.550Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-05-06T09:51:52.821Z] [ 88%] Linking C executable device-gyro [2022-05-06T09:51:53.091Z] [ 88%] Built target device-gyro [2022-05-06T09:51:53.091Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-05-06T09:51:53.360Z] [ 91%] Linking C executable device-bitfields [2022-05-06T09:51:53.631Z] [ 91%] Built target device-bitfields [2022-05-06T09:51:53.631Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-05-06T09:51:54.220Z] [ 94%] Linking C executable template-discovery [2022-05-06T09:51:54.220Z] [ 94%] Built target template-discovery [2022-05-06T09:51:54.491Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-05-06T09:51:54.760Z] [ 97%] Linking C executable device-file [2022-05-06T09:51:55.029Z] [ 97%] Built target device-file [2022-05-06T09:51:55.030Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-05-06T09:51:55.300Z] [100%] Linking C executable device-terminal [2022-05-06T09:51:55.573Z] [100%] Built target device-terminal [2022-05-06T09:51:55.844Z] make: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] [ 76%] Built target csdk [2022-05-06T09:51:55.844Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] [ 79%] Built target template [2022-05-06T09:51:55.844Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:55.844Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 82%] Built target device-counter [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 85%] Built target device-random [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 88%] Built target device-gyro [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 91%] Built target device-bitfields [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 94%] Built target template-discovery [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.115Z] [ 97%] Built target device-file [2022-05-06T09:51:56.115Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.385Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.385Z] [100%] Built target device-terminal [2022-05-06T09:51:56.385Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:56.385Z] Install the project... [2022-05-06T09:51:56.385Z] -- Install configuration: "Release" [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/lib/libcsdk.so [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/devsdk [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/devices.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/defs.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/time.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/base64.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/component.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/config.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/container.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/uuid.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/os.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/thread.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/data.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/typecode.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/hash.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/logger.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/os [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/json.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/include/iot/iot.h [2022-05-06T09:51:56.385Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-05-06T09:51:56.386Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-05-06T09:51:56.386Z] make: Leaving directory '/tmp/sdk/build/release' [2022-05-06T09:51:58.369Z] Removing intermediate container fc7c98dceefd [2022-05-06T09:51:58.369Z] ---> 1bc6eaa702df [2022-05-06T09:51:58.369Z] Step 14/22 : FROM ${BASE} [2022-05-06T09:51:58.369Z] ---> cad489bbaf40 [2022-05-06T09:51:58.370Z] Step 15/22 : LABEL maintainer="IOTech " [2022-05-06T09:51:58.370Z] ---> Running in e0e0af8fa088 [2022-05-06T09:51:58.370Z] Removing intermediate container e0e0af8fa088 [2022-05-06T09:51:58.370Z] ---> d2cc9868b674 [2022-05-06T09:51:58.370Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-05-06T09:51:58.370Z] ---> Running in 402e41b42d5e [2022-05-06T09:51:59.348Z] Connecting to iotech.jfrog.io (52.50.143.190:443) [2022-05-06T09:51:59.947Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-06T09:51:59.947Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-06T09:51:59.947Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-06T09:52:00.542Z] Removing intermediate container 402e41b42d5e [2022-05-06T09:52:00.542Z] ---> a9fd7ce5a072 [2022-05-06T09:52:00.542Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-06T09:52:00.542Z] ---> Running in d26f27cfd59f [2022-05-06T09:52:02.518Z] Removing intermediate container d26f27cfd59f [2022-05-06T09:52:02.519Z] ---> 14de78fd8d0e [2022-05-06T09:52:02.519Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-05-06T09:52:02.519Z] ---> Running in 562725d464b3 [2022-05-06T09:52:03.116Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:04.089Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:04.685Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:05.278Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-06T09:52:05.278Z] (1/6) Installing curl (7.80.0-r1) [2022-05-06T09:52:05.278Z] (2/6) Installing hiredis (1.0.2-r0) [2022-05-06T09:52:05.550Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-05-06T09:52:05.550Z] (4/6) Installing libcbor (0.8.0-r0) [2022-05-06T09:52:05.550Z] (5/6) Installing libuuid (2.37.4-r0) [2022-05-06T09:52:05.822Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-05-06T09:52:06.792Z] Executing busybox-1.34.1-r5.trigger [2022-05-06T09:52:06.792Z] OK: 278 MiB in 83 packages [2022-05-06T09:52:07.390Z] Removing intermediate container 562725d464b3 [2022-05-06T09:52:07.390Z] ---> 622c34c227d7 [2022-05-06T09:52:07.390Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-05-06T09:52:07.992Z] ---> 7ff979051676 [2022-05-06T09:52:07.992Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-05-06T09:52:08.588Z] ---> e0f81a68a4ab [2022-05-06T09:52:08.588Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-05-06T09:52:09.184Z] ---> 6f78657978dc [2022-05-06T09:52:09.184Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-05-06T09:52:09.783Z] ---> 90f66b5fd514 [2022-05-06T09:52:09.783Z] Successfully built 90f66b5fd514 [2022-05-06T09:52:09.783Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:52:10.200Z] + docker inspect -f . ci-base-image-arm64 [2022-05-06T09:52:10.200Z] . [Pipeline] withDockerContainer [2022-05-06T09:52:10.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-40559 does not seem to be running inside a container [2022-05-06T09:52:10.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/24 -v /w/workspace/device-sdk-c/24:/w/workspace/device-sdk-c/24:rw,z -v /w/workspace/device-sdk-c/24@tmp:/w/workspace/device-sdk-c/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-06T09:52:11.737Z] $ docker top dd87ae01d1b87f256bd1e6c9650b2001170000f77b0b4b9cf9f570f14eb2deb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T09:52:12.677Z] + make test [2022-05-06T09:52:12.677Z] echo "make test" [2022-05-06T09:52:12.677Z] make test [Pipeline] } [2022-05-06T09:52:12.710Z] $ docker stop --time=1 dd87ae01d1b87f256bd1e6c9650b2001170000f77b0b4b9cf9f570f14eb2deb1 [2022-05-06T09:52:14.332Z] $ docker rm -f dd87ae01d1b87f256bd1e6c9650b2001170000f77b0b4b9cf9f570f14eb2deb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T09:52:15.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-06T09:52:15.677Z] + ls -al . [2022-05-06T09:52:15.677Z] total 204 [2022-05-06T09:52:15.677Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 09:49 . [2022-05-06T09:52:15.677Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 09:49 .. [2022-05-06T09:52:15.677Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 09:49 .git [2022-05-06T09:52:15.677Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 09:49 .github [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 176 May 6 09:49 .gitignore [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 6 09:49 Attribution.txt [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 8321 May 6 09:49 CHANGES [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 6 09:49 Doxyfile [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 677 May 6 09:49 GOVERNANCE.md [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 784 May 6 09:49 Jenkinsfile [2022-05-06T09:52:15.677Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 6 09:49 LICENSE [2022-05-06T09:52:15.678Z] -rw-rw-r-- 1 jenkins jenkins 444 May 6 09:49 Makefile [2022-05-06T09:52:15.678Z] -rw-rw-r-- 1 jenkins jenkins 618 May 6 09:49 OWNERS.md [2022-05-06T09:52:15.678Z] -rw-rw-r-- 1 jenkins jenkins 4086 May 6 09:49 README.md [2022-05-06T09:52:15.678Z] -rw-rw-r-- 1 jenkins jenkins 7422 May 6 09:49 README.v2.md [2022-05-06T09:52:15.678Z] -rw-rw-r-- 1 jenkins jenkins 11 May 6 09:47 VERSION [2022-05-06T09:52:15.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 09:49 docs [2022-05-06T09:52:15.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 09:49 include [2022-05-06T09:52:15.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 09:49 scripts [2022-05-06T09:52:15.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 09:49 src [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:52:16.024Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd --label arch=arm64 --label version=2.2.0-dev.9 . [2022-05-06T09:52:16.299Z] Sending build context to Docker daemon 2.743MB [2022-05-06T09:52:16.299Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-05-06T09:52:16.299Z] Step 2/17 : FROM ${BASE} [2022-05-06T09:52:16.299Z] ---> 90f66b5fd514 [2022-05-06T09:52:16.299Z] Step 3/17 : LABEL maintainer="IOTech " [2022-05-06T09:52:16.572Z] ---> Running in 4cf0027a3c8d [2022-05-06T09:52:16.845Z] Removing intermediate container 4cf0027a3c8d [2022-05-06T09:52:16.845Z] ---> d6b5acf082c2 [2022-05-06T09:52:16.845Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-05-06T09:52:16.845Z] ---> Running in 862e14d4e557 [2022-05-06T09:52:17.824Z] Connecting to iotech.jfrog.io (54.75.147.88:443) [2022-05-06T09:52:18.419Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-05-06T09:52:18.420Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-05-06T09:52:18.420Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-05-06T09:52:19.017Z] Removing intermediate container 862e14d4e557 [2022-05-06T09:52:19.017Z] ---> 2d357eef8e26 [2022-05-06T09:52:19.017Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-05-06T09:52:19.017Z] ---> Running in 25ee36ff60c7 [2022-05-06T09:52:20.452Z] Removing intermediate container 25ee36ff60c7 [2022-05-06T09:52:20.452Z] ---> 454ced9bb9b6 [2022-05-06T09:52:20.452Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-05-06T09:52:20.452Z] ---> Running in 0224b3490e58 [2022-05-06T09:52:21.428Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:22.414Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:22.686Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T09:52:23.675Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-05-06T09:52:23.675Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-05-06T09:52:23.675Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-05-06T09:52:23.675Z] (3/26) Installing util-linux (2.37.4-r0) [2022-05-06T09:52:23.946Z] (4/26) Installing libblkid (2.37.4-r0) [2022-05-06T09:52:23.946Z] (5/26) Installing libeconf (0.4.2-r0) [2022-05-06T09:52:24.216Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-05-06T09:52:24.216Z] (7/26) Installing libmount (2.37.4-r0) [2022-05-06T09:52:24.216Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-05-06T09:52:24.486Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-05-06T09:52:24.757Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-05-06T09:52:25.027Z] (11/26) Installing runuser (2.37.4-r0) [2022-05-06T09:52:25.027Z] (12/26) Installing hexdump (2.37.4-r0) [2022-05-06T09:52:25.301Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-05-06T09:52:25.301Z] (14/26) Installing blkid (2.37.4-r0) [2022-05-06T09:52:25.301Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-05-06T09:52:25.572Z] (16/26) Installing mcookie (2.37.4-r0) [2022-05-06T09:52:25.572Z] (17/26) Installing wipefs (2.37.4-r0) [2022-05-06T09:52:25.572Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-05-06T09:52:25.572Z] (19/26) Installing flock (2.37.4-r0) [2022-05-06T09:52:25.842Z] (20/26) Installing lsblk (2.37.4-r0) [2022-05-06T09:52:25.842Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-05-06T09:52:25.842Z] (22/26) Installing setpriv (2.37.4-r0) [2022-05-06T09:52:26.114Z] (23/26) Installing logger (2.37.4-r0) [2022-05-06T09:52:26.114Z] (24/26) Installing partx (2.37.4-r0) [2022-05-06T09:52:26.114Z] (25/26) Installing findmnt (2.37.4-r0) [2022-05-06T09:52:26.389Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-05-06T09:52:26.389Z] Executing busybox-1.34.1-r5.trigger [2022-05-06T09:52:26.663Z] OK: 290 MiB in 109 packages [2022-05-06T09:52:28.105Z] Removing intermediate container 0224b3490e58 [2022-05-06T09:52:28.105Z] ---> 23bcb10c4390 [2022-05-06T09:52:28.105Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-05-06T09:52:28.378Z] ---> 5ff21c6208c9 [2022-05-06T09:52:28.378Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-05-06T09:52:29.358Z] ---> cfe33584a3bf [2022-05-06T09:52:29.358Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-05-06T09:52:29.963Z] ---> 8ee751e8e952 [2022-05-06T09:52:29.963Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-05-06T09:52:30.237Z] ---> 556ed1d5ac94 [2022-05-06T09:52:30.237Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-05-06T09:52:30.833Z] ---> db5bebd116d5 [2022-05-06T09:52:30.833Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-05-06T09:52:31.429Z] ---> a4f94fca5b56 [2022-05-06T09:52:31.429Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-05-06T09:52:31.429Z] ---> Running in bf5e05aabc7c [2022-05-06T09:52:31.703Z] Removing intermediate container bf5e05aabc7c [2022-05-06T09:52:31.703Z] ---> 666dff4ce362 [2022-05-06T09:52:31.703Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-05-06T09:52:31.703Z] ---> Running in 1ba3582d1709 [2022-05-06T09:52:31.977Z] Removing intermediate container 1ba3582d1709 [2022-05-06T09:52:31.977Z] ---> 62ed35c26a55 [2022-05-06T09:52:31.977Z] Step 15/17 : LABEL arch=arm64 [2022-05-06T09:52:32.250Z] ---> Running in 597dba055f2c [2022-05-06T09:52:32.522Z] Removing intermediate container 597dba055f2c [2022-05-06T09:52:32.523Z] ---> 7ee6fbe83290 [2022-05-06T09:52:32.523Z] Step 16/17 : LABEL git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd [2022-05-06T09:52:32.523Z] ---> Running in d1e4450972ae [2022-05-06T09:52:32.796Z] Removing intermediate container d1e4450972ae [2022-05-06T09:52:32.796Z] ---> 56505179b736 [2022-05-06T09:52:32.796Z] Step 17/17 : LABEL version=2.2.0-dev.9 [2022-05-06T09:52:32.796Z] ---> Running in 0b55806abe2a [2022-05-06T09:52:33.071Z] Removing intermediate container 0b55806abe2a [2022-05-06T09:52:33.071Z] ---> 5c4b1d894cd8 [2022-05-06T09:52:33.071Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-05-06T09:52:33.343Z] Successfully built 5c4b1d894cd8 [2022-05-06T09:52:33.343Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:52:33.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T09:52:33.793Z] [2022-05-06T09:52:33.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:52:34.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T09:52:34.420Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-06T09:52:34.420Z] 8998bd30e6a1: Pulling fs layer [2022-05-06T09:52:34.420Z] 04944245beec: Pulling fs layer [2022-05-06T09:52:34.420Z] 699f458cf7ca: Pulling fs layer [2022-05-06T09:52:34.420Z] 765212b225bb: Pulling fs layer [2022-05-06T09:52:34.420Z] f23df028b6ca: Pulling fs layer [2022-05-06T09:52:34.420Z] d65c8cfc05b1: Pulling fs layer [2022-05-06T09:52:34.420Z] 2437ff75d9bd: Pulling fs layer [2022-05-06T09:52:34.420Z] 765212b225bb: Waiting [2022-05-06T09:52:34.420Z] d65c8cfc05b1: Waiting [2022-05-06T09:52:34.420Z] 2437ff75d9bd: Waiting [2022-05-06T09:52:34.420Z] 04944245beec: Verifying Checksum [2022-05-06T09:52:34.420Z] 04944245beec: Download complete [2022-05-06T09:52:34.420Z] 765212b225bb: Verifying Checksum [2022-05-06T09:52:34.420Z] 765212b225bb: Download complete [2022-05-06T09:52:34.420Z] f23df028b6ca: Verifying Checksum [2022-05-06T09:52:34.420Z] f23df028b6ca: Download complete [2022-05-06T09:52:34.420Z] d65c8cfc05b1: Verifying Checksum [2022-05-06T09:52:34.420Z] d65c8cfc05b1: Download complete [2022-05-06T09:52:34.696Z] 699f458cf7ca: Verifying Checksum [2022-05-06T09:52:34.696Z] 699f458cf7ca: Download complete [2022-05-06T09:52:34.971Z] 8998bd30e6a1: Verifying Checksum [2022-05-06T09:52:34.971Z] 8998bd30e6a1: Download complete [2022-05-06T09:52:37.591Z] 2437ff75d9bd: Verifying Checksum [2022-05-06T09:52:37.592Z] 2437ff75d9bd: Download complete [2022-05-06T09:52:39.570Z] 8998bd30e6a1: Pull complete [2022-05-06T09:52:39.843Z] 04944245beec: Pull complete [2022-05-06T09:52:41.278Z] 699f458cf7ca: Pull complete [2022-05-06T09:52:41.552Z] 765212b225bb: Pull complete [2022-05-06T09:52:42.532Z] f23df028b6ca: Pull complete [2022-05-06T09:52:42.532Z] d65c8cfc05b1: Pull complete [2022-05-06T09:52:57.626Z] 2437ff75d9bd: Pull complete [2022-05-06T09:52:57.626Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-06T09:52:57.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T09:52:57.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-06T09:52:57.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-40559 does not seem to be running inside a container [2022-05-06T09:52:57.940Z] $ 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/24 -v /w/workspace/device-sdk-c/24:/w/workspace/device-sdk-c/24:rw,z -v /w/workspace/device-sdk-c/24@tmp:/w/workspace/device-sdk-c/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-06T09:53:00.432Z] $ docker top ab3f36959da8446cb0f50ddfc652dfe8ae5ace58d5c92ab1104ffff346a675fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:01.366Z] ---> job-cost.sh [2022-05-06T09:53:01.366Z] lf-activate-venv: SKIPPING [2022-05-06T09:53:01.366Z] INFO: No Stack... [2022-05-06T09:53:01.961Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-06T09:53:02.936Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T09:53:03.605Z] + cut -d, -f6 [2022-05-06T09:53:03.606Z] + cat /w/workspace/device-sdk-c/24/archives/cost.csv [Pipeline] lock [2022-05-06T09:53:03.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [2022-05-06T09:53:03.678Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] did not exist. Created. [2022-05-06T09:53:03.678Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T09:53:04.359Z] /w/workspace/device-sdk-c/24@tmp/durable-d255ef30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-06T09:53:05.045Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-06T09:53:05.068Z] Warning: overwriting stash ‘stack-cost’ [2022-05-06T09:53:05.525Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T09:53:05.531Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T09:53:05.555Z] $ docker stop --time=1 ab3f36959da8446cb0f50ddfc652dfe8ae5ace58d5c92ab1104ffff346a675fd [2022-05-06T09:53:07.071Z] $ docker rm -f ab3f36959da8446cb0f50ddfc652dfe8ae5ace58d5c92ab1104ffff346a675fd [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) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-06T09:53:08.009Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-05-06T09:53:08.009Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-06T09:53:08.009Z] total 16 [2022-05-06T09:53:08.009Z] drwxr-xr-x 3 root root 4096 May 6 09:47 . [2022-05-06T09:53:08.009Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 09:47 .. [2022-05-06T09:53:08.009Z] drwxr-xr-x 2 root root 4096 May 6 09:47 cost [2022-05-06T09:53:08.009Z] -rw-r--r-- 1 root root 81 May 6 09:47 cost.csv [2022-05-06T09:53:08.009Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-06T09:53:08.009Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-05-06T09:53:08.009Z] total 16 [2022-05-06T09:53:08.009Z] drwxr-xr-x 3 jenkins jenkins 4096 May 6 09:47 . [2022-05-06T09:53:08.009Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 09:47 .. [2022-05-06T09:53:08.010Z] drwxr-xr-x 2 jenkins jenkins 4096 May 6 09:47 cost [2022-05-06T09:53:08.010Z] -rw-r--r-- 1 jenkins jenkins 81 May 6 09:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:08.312Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:09.193Z] ---> package-listing.sh [2022-05-06T09:53:09.193Z] ++ facter osfamily [2022-05-06T09:53:09.193Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-06T09:53:09.456Z] + OS_FAMILY=debian [2022-05-06T09:53:09.456Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-05-06T09:53:09.456Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-06T09:53:09.456Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-06T09:53:09.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-06T09:53:09.456Z] + PACKAGES=/tmp/packages_start.txt [2022-05-06T09:53:09.456Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-05-06T09:53:09.456Z] + PACKAGES=/tmp/packages_end.txt [2022-05-06T09:53:09.456Z] + case "${OS_FAMILY}" in [2022-05-06T09:53:09.456Z] + dpkg -l [2022-05-06T09:53:09.456Z] + grep '^ii' [2022-05-06T09:53:09.456Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-06T09:53:09.456Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-06T09:53:09.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-06T09:53:09.456Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-05-06T09:53:09.456Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-05-06T09:53:09.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-05-06T09:53:09.472Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-06T09:53:09.756Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-06T09:53:10.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T09:53:10.332Z] . [Pipeline] withDockerContainer [2022-05-06T09:53:10.411Z] prd-ubuntu20.04-docker-8c-8g-40558 does not seem to be running inside a container [2022-05-06T09:53:10.455Z] $ 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-05-06T09:53:10.767Z] $ docker top f918ca56a81e7ddbf10449b28bbd38db8bfb4f57bc13a123805baeb229347680 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T09:53:11.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-06T09:53:11.435Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-06T09:53:11.728Z] + ls /var/log/sa-host [2022-05-06T09:53:11.728Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T09:53:11.962Z] provisioning config files... [2022-05-06T09:53:11.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8625513652361398142tmp [Pipeline] { [Pipeline] echo [2022-05-06T09:53:11.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:12.284Z] ---> create-netrc.sh [Pipeline] } [2022-05-06T09:53:12.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:12.643Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-06T09:53:12.656Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:12.948Z] ---> sudo-logs.sh [2022-05-06T09:53:12.948Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-06T09:53:12.980Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:13.275Z] ---> job-cost.sh [2022-05-06T09:53:13.275Z] lf-activate-venv: SKIPPING [2022-05-06T09:53:13.275Z] DEBUG: total: 0.2199999988079071 [2022-05-06T09:53:13.275Z] INFO: Retrieving Stack Cost... [2022-05-06T09:53:13.537Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T09:53:14.108Z] INFO: Archiving Costs [Pipeline] echo [2022-05-06T09:53:14.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T09:53:14.413Z] ---> logs-deploy.sh [2022-05-06T09:53:14.413Z] lf-activate-venv: SKIPPING [2022-05-06T09:53:14.413Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/24 [2022-05-06T09:53:14.413Z] INFO: archiving workspace using pattern(s): [2022-05-06T09:53:15.358Z] Archives upload complete. [2022-05-06T09:53:15.619Z] INFO: archiving logs to Nexus