Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than 5a81276ddb39c68d2fe0e953fa52f6adfeb106a9 Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh14276249271123038365.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh13716068869959714372.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12566728030086477386.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4912217245359134604.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/PR-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/PR-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4756798926349307386.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-17063 in /w/workspace/edgexfoundry_device-sdk-c_PR-490 [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_PR-490 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 5a81276ddb39c68d2fe0e953fa52f6adfeb106a9 Merge succeeded, producing 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 Checking out Revision 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 (PR-490) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a81276ddb39c68d2fe0e953fa52f6adfeb106a9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 # timeout=10 Commit message: "Merge commit '1a776ee907d08e39928eb07fc2284b30a6e0a694' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk febfdc077f25744d1a95018e5e0d2ee4a3d893a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:54:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:54:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:54:34 ========================================================= 18:54:34 EdgeX Global Pipelines Version Info 18:54:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:54:34 ------------------- 18:54:34 stable info: 18:54:34 ------------------- 18:54:34 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:54:34 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:54:34 Message: update stable to v1.0.257 18:54:35 ------------------- 18:54:35 experimental info: 18:54:35 ------------------- 18:54:35 Commited By: **** collab-it+edgex@linuxfoundation.org 18:54:35 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:54:35 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-490 [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-490 [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-490 [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6da833a [Pipeline] echo 18:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:35 provisioning config files... 18:54:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config7592573292251310993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:36 ---> docker-login.sh 18:54:36 nexus3.edgexfoundry.org:10001 18:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:36 Configure a credential helper to remove this warning. See 18:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:36 18:54:36 Login Succeeded 18:54:36 nexus3.edgexfoundry.org:10002 18:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:36 Configure a credential helper to remove this warning. See 18:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:36 18:54:36 Login Succeeded 18:54:36 nexus3.edgexfoundry.org:10003 18:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:36 Configure a credential helper to remove this warning. See 18:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:36 18:54:36 Login Succeeded 18:54:36 nexus3.edgexfoundry.org:10004 18:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:36 Configure a credential helper to remove this warning. See 18:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:36 18:54:36 Login Succeeded 18:54:36 docker.io 18:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:37 Configure a credential helper to remove this warning. See 18:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:37 18:54:37 Login Succeeded 18:54:37 ---> docker-login.sh ends [Pipeline] } 18:54:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:54:37 + git rev-list -1 --merges 6da833ae8ca3090b8774226dcdfe7d15dbd409d1~1..6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [Pipeline] echo 18:54:37 -----------> git rev-list -1 --merges 6da833ae8ca3090b8774226dcdfe7d15dbd409d1~1..6da833ae8ca3090b8774226dcdfe7d15dbd409d1 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 18:54:37 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [false] [Pipeline] sh 18:54:37 + git log --format=format:%s -1 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [Pipeline] echo 18:54:37 ========================================================= 18:54:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:54:37 ========================================================= 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 18:54:38 + git rev-list -1 --merges 6da833ae8ca3090b8774226dcdfe7d15dbd409d1~1..6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [Pipeline] echo 18:54:38 -----------> git rev-list -1 --merges 6da833ae8ca3090b8774226dcdfe7d15dbd409d1~1..6da833ae8ca3090b8774226dcdfe7d15dbd409d1 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 18:54:38 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [false] [Pipeline] sh 18:54:38 + git log --format=format:%s -1 6da833ae8ca3090b8774226dcdfe7d15dbd409d1 [Pipeline] echo 18:54:38 ========================================================= 18:54:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:54:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:54:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:54:39 + grep -v github /etc/ssh/ssh_known_hosts 18:54:39 + [ -e /tmp/ssh_known_hosts ] 18:54:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:54:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:54:39 + sudo tee -a /etc/ssh/ssh_known_hosts 18:54:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:54:39 18:54:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:54:39 0.1.4: Pulling from edgex-devops/py-git-semver 18:54:39 b85a868b505f: Pulling fs layer 18:54:39 e2be974225ed: Pulling fs layer 18:54:39 339a4e72a1f5: Pulling fs layer 18:54:39 988bab9f4d93: Pulling fs layer 18:54:39 1469e6f7b9e6: Pulling fs layer 18:54:39 eaf3925da568: Pulling fs layer 18:54:39 bab4dde63d76: Pulling fs layer 18:54:39 bde34c3a00c8: Pulling fs layer 18:54:39 b352a97aabf1: Pulling fs layer 18:54:39 4872d77fe225: Pulling fs layer 18:54:39 5851b861e8e6: Pulling fs layer 18:54:39 bde34c3a00c8: Waiting 18:54:39 b352a97aabf1: Waiting 18:54:39 988bab9f4d93: Waiting 18:54:39 bab4dde63d76: Waiting 18:54:39 eaf3925da568: Waiting 18:54:39 4872d77fe225: Waiting 18:54:39 5851b861e8e6: Waiting 18:54:39 1469e6f7b9e6: Waiting 18:54:39 e2be974225ed: Download complete 18:54:39 988bab9f4d93: Download complete 18:54:39 339a4e72a1f5: Verifying Checksum 18:54:39 339a4e72a1f5: Download complete 18:54:39 1469e6f7b9e6: Verifying Checksum 18:54:39 1469e6f7b9e6: Download complete 18:54:39 eaf3925da568: Verifying Checksum 18:54:39 eaf3925da568: Download complete 18:54:39 bde34c3a00c8: Download complete 18:54:39 b352a97aabf1: Verifying Checksum 18:54:39 4872d77fe225: Download complete 18:54:39 5851b861e8e6: Download complete 18:54:39 b85a868b505f: Verifying Checksum 18:54:39 b85a868b505f: Download complete 18:54:40 bab4dde63d76: Verifying Checksum 18:54:40 bab4dde63d76: Download complete 18:54:41 b85a868b505f: Pull complete 18:54:41 e2be974225ed: Pull complete 18:54:41 339a4e72a1f5: Pull complete 18:54:41 988bab9f4d93: Pull complete 18:54:42 1469e6f7b9e6: Pull complete 18:54:42 eaf3925da568: Pull complete 18:54:44 bab4dde63d76: Pull complete 18:54:44 bde34c3a00c8: Pull complete 18:54:44 b352a97aabf1: Pull complete 18:54:44 4872d77fe225: Pull complete 18:54:44 5851b861e8e6: Pull complete 18:54:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:54:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:44 prd-ubuntu20.04-docker-8c-8g-17063 does not seem to be running inside a container 18:54:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:54:48 $ docker top 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d -eo pid,comm 18:54:48 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). 18:54:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:54:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:48 [ssh-agent] Looking for ssh-agent implementation... 18:54:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:48 $ docker exec 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d ssh-agent 18:54:48 SSH_AUTH_SOCK=/tmp/ssh-K67s8crs5uSF/agent.33 18:54:48 SSH_AGENT_PID=39 18:54:48 Running ssh-add (command line suppressed) 18:54:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_5048205339057683893.key (/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_5048205339057683893.key) 18:54:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:49 + git tag --points-at HEAD [Pipeline] } 18:54:49 $ docker exec --env ******** --env ******** 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d ssh-agent -k 18:54:49 unset SSH_AUTH_SOCK; 18:54:49 unset SSH_AGENT_PID; 18:54:49 echo Agent pid 39 killed; 18:54:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:54:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:49 [ssh-agent] Looking for ssh-agent implementation... 18:54:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:49 $ docker exec 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d ssh-agent 18:54:49 SSH_AUTH_SOCK=/tmp/ssh-WMzygoiVMaPF/agent.72 18:54:49 SSH_AGENT_PID=78 18:54:49 Running ssh-add (command line suppressed) 18:54:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_5979930771884548007.key (/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_5979930771884548007.key) 18:54:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:49 + git semver init 18:54:50 2023-11-08 18:54:50,001 [run_init] DEBUG init version:0.0.0 force:False 18:54:50 2023-11-08 18:54:50,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver 18:54:50 2023-11-08 18:54:50,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver 18:54:50 2023-11-08 18:54:50,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490, universal_newlines=False, shell=None, istream=None) 18:54:51 2023-11-08 18:54:50,879 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.git/info/exclude 18:54:51 2023-11-08 18:54:50,880 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 with force:False 18:54:51 2023-11-08 18:54:50,880 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 18:54:51 2023-11-08 18:54:50,883 [execute] INFO git cat-file --batch-check 18:54:51 2023-11-08 18:54:50,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver, universal_newlines=False, shell=None, istream=) 18:54:51 2023-11-08 18:54:50,889 [execute] INFO git cat-file --batch 18:54:51 2023-11-08 18:54:50,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver, universal_newlines=False, shell=None, istream=) 18:54:51 2023-11-08 18:54:50,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 18:54:51 0.0.0 [Pipeline] } 18:54:51 $ docker exec --env ******** --env ******** 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d ssh-agent -k 18:54:51 unset SSH_AUTH_SOCK; 18:54:51 unset SSH_AGENT_PID; 18:54:51 echo Agent pid 78 killed; 18:54:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:54:51 + git semver [Pipeline] } 18:54:51 $ docker stop --time=1 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d 18:54:53 $ docker rm -f --volumes 6e601af0f4f7ca631905259bd11e225e54c81069d9ccde377445c4c39320039d [Pipeline] // withDockerContainer [Pipeline] sh 18:54:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:54:53 Stashed 1 file(s) [Pipeline] echo 18:54:53 [edgeXSemver]: initialized semver on version 0.0.0 [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 18:54:53 provisioning config files... 18:54:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config17728228198802720922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:54 ---> docker-login.sh 18:54:54 nexus3.edgexfoundry.org:10001 18:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:54 Configure a credential helper to remove this warning. See 18:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:54 18:54:54 Login Succeeded 18:54:54 nexus3.edgexfoundry.org:10002 18:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:54 Configure a credential helper to remove this warning. See 18:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:54 18:54:54 Login Succeeded 18:54:54 nexus3.edgexfoundry.org:10003 18:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:54 Configure a credential helper to remove this warning. See 18:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:54 18:54:54 Login Succeeded 18:54:54 nexus3.edgexfoundry.org:10004 18:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:54 Configure a credential helper to remove this warning. See 18:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:54 18:54:54 Login Succeeded 18:54:54 docker.io 18:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:54 Configure a credential helper to remove this warning. See 18:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:54 18:54:54 Login Succeeded 18:54:54 ---> docker-login.sh ends [Pipeline] } 18:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:54:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:54:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:54:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:54:54 ========================================================= 18:54:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:54:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:55 + 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 . 18:54:55 Sending build context to Docker daemon 4.976MB 18:54:55 Step 1/21 : ARG BASE=alpine:3.18 18:54:55 Step 2/21 : FROM ${BASE} as builder 18:54:55 latest: Pulling from edgex-devops/edgex-gcc-base 18:54:55 96526aa774ef: Pulling fs layer 18:54:55 da60e534fd72: Pulling fs layer 18:54:55 96526aa774ef: Verifying Checksum 18:54:55 96526aa774ef: Download complete 18:54:55 96526aa774ef: Pull complete 18:54:56 da60e534fd72: Verifying Checksum 18:54:56 da60e534fd72: Download complete 18:54:59 da60e534fd72: Pull complete 18:54:59 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 18:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:54:59 ---> 6605166a5db4 18:54:59 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:55:02 ---> Running in cc20f61bd385 18:55:02 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:55:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:55:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:55:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:55:03 Removing intermediate container cc20f61bd385 18:55:03 ---> cdcfb27ccf23 18:55:03 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:55:03 ---> Running in cd67ebdf2c95 18:55:04 Removing intermediate container cd67ebdf2c95 18:55:04 ---> c10dba53df74 18:55:04 Step 5/21 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 18:55:04 ---> Running in 8c9beb9f27bf 18:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:55:05 (1/17) Installing hiredis (1.1.0-r2) 18:55:05 (2/17) Installing hiredis-dev (1.1.0-r2) 18:55:05 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 18:55:05 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:55:05 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:55:06 (6/17) Installing libcbor (0.10.2-r1) 18:55:06 (7/17) Installing libcbor-dev (0.10.2-r1) 18:55:06 (8/17) Installing libmenuw (6.4_p20230506-r0) 18:55:06 (9/17) Installing libpanelw (6.4_p20230506-r0) 18:55:06 (10/17) Installing libncurses++ (6.4_p20230506-r0) 18:55:06 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 18:55:06 (12/17) Installing libblkid (2.38.1-r8) 18:55:06 (13/17) Installing libuuid (2.38.1-r8) 18:55:06 (14/17) Installing libfdisk (2.38.1-r8) 18:55:06 (15/17) Installing libmount (2.38.1-r8) 18:55:06 (16/17) Installing libsmartcols (2.38.1-r8) 18:55:06 (17/17) Installing util-linux-dev (2.38.1-r8) 18:55:06 Executing busybox-1.36.1-r4.trigger 18:55:06 OK: 336 MiB in 99 packages 18:55:07 Removing intermediate container 8c9beb9f27bf 18:55:07 ---> 9667a1d3f82f 18:55:07 Step 6/21 : RUN mkdir /tmp/sdk 18:55:07 ---> Running in 8a15e40a48dc 18:55:07 Removing intermediate container 8a15e40a48dc 18:55:07 ---> 60d5e6b108f8 18:55:07 Step 7/21 : COPY VERSION /tmp/sdk 18:55:07 ---> 0979bf3449fa 18:55:07 Step 8/21 : COPY src /tmp/sdk/src 18:55:07 ---> 154fccee44af 18:55:07 Step 9/21 : COPY include /tmp/sdk/include 18:55:08 ---> ba4d5ba7b5f8 18:55:08 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:55:08 ---> 2565c6abee34 18:55:08 Step 11/21 : COPY LICENSE /tmp/sdk 18:55:08 ---> d9359a4d83b2 18:55:08 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:55:08 Still waiting to schedule task 18:55:08 ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-ubuntu20.04-docker-8c-8g-17053’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-ubuntu20.04-docker-8c-8g-17057’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-ubuntu20.04-docker-8c-8g-17059’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-ubuntu20.04-docker-8c-8g-17061’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17055’ is offline 18:55:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17068’ is offline 18:55:08 ---> 62df353b16e1 18:55:08 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:55:08 ---> Running in efb468331348 18:55:09 + CPPCHECK=false 18:55:09 + DOCGEN=false 18:55:09 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:55:09 + '[' 0 -gt 0 ] 18:55:09 + readlink -f ./scripts/build.sh 18:55:09 + dirname /tmp/sdk/scripts/build.sh 18:55:09 + dirname /tmp/sdk/scripts 18:55:09 + ROOT=/tmp/sdk 18:55:09 + cd /tmp/sdk 18:55:09 + mkdir -p /tmp/sdk/build/release 18:55:09 + cd /tmp/sdk/build/release 18:55:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:55:09 -- The C compiler identification is GNU 12.2.1 18:55:09 -- Detecting C compiler ABI info 18:55:09 -- Detecting C compiler ABI info - done 18:55:09 -- Check for working C compiler: /usr/bin/cc - skipped 18:55:09 -- Detecting C compile features 18:55:09 -- Detecting C compile features - done 18:55:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:55:09 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:55:09 -- Found LIBYAML: /usr/lib/libyaml.so 18:55:09 -- Found LIBUUID: /usr/lib/libuuid.so 18:55:09 -- Found LIBCBOR: /usr/lib/libcbor.so 18:55:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:55:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:55:09 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:55:09 -- /opt/iotech/iot/1.5/include 18:55:09 -- C SDK 0.0.0 for Linux 18:55:09 -- Performing Test CSDK_HAVE_ATOMIC 18:55:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:55:09 -- Found Curses: /usr/lib/libcurses.so 18:55:09 -- Configuring done (0.4s) 18:55:09 -- Generating done (0.0s) 18:55:09 -- Build files have been written to: /tmp/sdk/build/release 18:55:09 + make all package 18:55:09 + tee release.log 18:55:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:55:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:55:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:55:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:55:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:55:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:55:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:55:10 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 18:55:10 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 18:55:10 294 | while (privateConfig) 18:55:10 | ^~~~~~~~~~~~~ 18:55:10 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 18:55:10 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:55:10 | ^~~~~~~~~~~~~ 18:55:10 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 18:55:10 271 | while (result) 18:55:10 | ^~~~~~ 18:55:10 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 18:55:10 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:55:10 | ^~~~~~ 18:55:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:55:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:55:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:55:11 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:55:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:55:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:55:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:55:11 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:55:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:55:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:55:11 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:55:12 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:55:12 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:55:12 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:55:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:55:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:55:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:55:13 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:55:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:55:13 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:55:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:55:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:55:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:55:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:55:14 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:55:14 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:55:14 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:55:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:55:14 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:55:14 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:55:14 | ^ 18:55:14 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:55:14 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:55:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:55:14 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 18:55:14 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:55:14 | ^~~~~~~~~~~~~~~~~~~~~ 18:55:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:55:14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:55:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:55:15 [ 68%] Linking C shared library libcsdk.so 18:55:15 [ 68%] Built target csdk 18:55:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:55:15 [ 72%] Linking C executable template 18:55:15 [ 72%] Built target template 18:55:15 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:55:15 [ 76%] Linking C executable device-counter 18:55:15 [ 76%] Built target device-counter 18:55:15 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:55:15 [ 80%] Linking C executable device-random 18:55:15 [ 80%] Built target device-random 18:55:15 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:55:15 [ 84%] Linking C executable device-gyro 18:55:15 [ 84%] Built target device-gyro 18:55:15 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:55:16 [ 88%] Linking C executable device-bitfields 18:55:16 [ 88%] Built target device-bitfields 18:55:16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:55:16 [ 92%] Linking C executable template-discovery 18:55:16 [ 92%] Built target template-discovery 18:55:16 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:55:16 [ 96%] Linking C executable device-file 18:55:16 [ 96%] Built target device-file 18:55:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:55:16 [100%] Linking C executable device-terminal 18:55:16 [100%] Built target device-terminal 18:55:16 Run CPack packaging tool... 18:55:16 CPack: Create package using TGZ 18:55:16 CPack: Install projects 18:55:16 CPack: - Run preinstall target for: Csdk 18:55:17 CPack: - Install project: Csdk [] 18:55:17 CPack: Create package 18:55:17 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:55:17 + '[' false '=' true ] 18:55:17 + '[' false '=' true ] 18:55:17 + mkdir -p /tmp/sdk/build/debug 18:55:17 + cd /tmp/sdk/build/debug 18:55:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:55:17 -- The C compiler identification is GNU 12.2.1 18:55:17 -- Detecting C compiler ABI info 18:55:17 -- Detecting C compiler ABI info - done 18:55:17 -- Check for working C compiler: /usr/bin/cc - skipped 18:55:17 -- Detecting C compile features 18:55:17 -- Detecting C compile features - done 18:55:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:55:17 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:55:17 -- Found LIBYAML: /usr/lib/libyaml.so 18:55:17 -- Found LIBUUID: /usr/lib/libuuid.so 18:55:17 -- Found LIBCBOR: /usr/lib/libcbor.so 18:55:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:55:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:55:17 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:55:17 -- /opt/iotech/iot/1.5/include 18:55:17 -- C SDK 0.0.0 for Linux 18:55:17 -- Performing Test CSDK_HAVE_ATOMIC 18:55:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:55:17 -- Found Curses: /usr/lib/libcurses.so 18:55:17 -- Configuring done (0.4s) 18:55:17 -- Generating done (0.0s) 18:55:17 -- Build files have been written to: /tmp/sdk/build/debug 18:55:17 + make 18:55:17 + tee debug.log 18:55:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:55:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:55:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:55:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:55:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:55:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:55:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:55:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:55:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:55:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:55:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:55:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:55:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:55:18 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:55:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:55:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:55:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:55:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:55:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:55:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:55:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:55:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:55:19 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:55:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:55:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:55:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:55:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:55:20 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:55:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:55:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:55:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:55:20 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:55:20 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:55:20 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:55:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:55:20 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:55:20 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:55:20 | ^ 18:55:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:55:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:55:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:55:20 [ 68%] Linking C shared library libcsdk.so 18:55:20 [ 68%] Built target csdk 18:55:20 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:55:20 [ 72%] Linking C executable template 18:55:20 [ 72%] Built target template 18:55:20 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:55:20 [ 76%] Linking C executable device-counter 18:55:20 [ 76%] Built target device-counter 18:55:20 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:55:20 [ 80%] Linking C executable device-random 18:55:21 [ 80%] Built target device-random 18:55:21 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:55:21 [ 84%] Linking C executable device-gyro 18:55:21 [ 84%] Built target device-gyro 18:55:21 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:55:21 [ 88%] Linking C executable device-bitfields 18:55:21 [ 88%] Built target device-bitfields 18:55:21 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:55:21 [ 92%] Linking C executable template-discovery 18:55:21 [ 92%] Built target template-discovery 18:55:21 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:55:21 [ 96%] Linking C executable device-file 18:55:21 [ 96%] Built target device-file 18:55:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:55:21 [100%] Linking C executable device-terminal 18:55:21 [100%] Built target device-terminal 18:55:21 make: Entering directory '/tmp/sdk/build/release' 18:55:21 [ 68%] Built target csdk 18:55:21 [ 72%] Built target template 18:55:21 [ 76%] Built target device-counter 18:55:21 [ 80%] Built target device-random 18:55:21 [ 84%] Built target device-gyro 18:55:21 [ 88%] Built target device-bitfields 18:55:21 [ 92%] Built target template-discovery 18:55:21 [ 96%] Built target device-file 18:55:21 [100%] Built target device-terminal 18:55:21 Install the project... 18:55:22 -- Install configuration: "Release" 18:55:22 -- Installing: /usr/local/lib/libcsdk.so 18:55:22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:55:22 -- Installing: /usr/local/include 18:55:22 -- Installing: /usr/local/include/devsdk 18:55:22 -- Installing: /usr/local/include/devsdk/devsdk.h 18:55:22 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:55:22 -- Installing: /usr/local/include/edgex 18:55:22 -- Installing: /usr/local/include/edgex/edgex.h 18:55:22 -- Installing: /usr/local/include/edgex/devices.h 18:55:22 -- Installing: /usr/local/include/edgex/profiles.h 18:55:22 -- Installing: /usr/local/include/edgex/edgex-base.h 18:55:22 -- Installing: /usr/local/include/edgex/rest-server.h 18:55:22 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:55:22 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:55:22 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:55:22 make: Leaving directory '/tmp/sdk/build/release' 18:55:24 Removing intermediate container efb468331348 18:55:24 ---> 7d7094f2ef96 18:55:24 Step 14/21 : FROM ${BASE} 18:55:24 ---> 6605166a5db4 18:55:24 Step 15/21 : LABEL maintainer="IOTech " 18:55:24 ---> Running in 9ffceeb28f6c 18:55:24 Removing intermediate container 9ffceeb28f6c 18:55:24 ---> 2fb41a38a987 18:55:24 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:55:24 ---> Running in 83488086f4ca 18:55:24 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:55:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:55:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:55:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:55:25 Removing intermediate container 83488086f4ca 18:55:25 ---> 66c6b479c3f3 18:55:25 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:55:25 ---> Running in 8f8ac06e8d91 18:55:26 Removing intermediate container 8f8ac06e8d91 18:55:26 ---> 9c4046116c6d 18:55:26 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 18:55:26 ---> Running in 62dea1e0c873 18:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:55:27 (1/7) Installing curl (8.4.0-r0) 18:55:27 (2/7) Installing hiredis (1.1.0-r2) 18:55:27 (3/7) Installing hiredis-dev (1.1.0-r2) 18:55:27 (4/7) Installing iotech-iot-1.5 (1.5.0-r0) 18:55:27 (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:55:28 (6/7) Installing libcbor (0.10.2-r1) 18:55:28 (7/7) Installing libuuid (2.38.1-r8) 18:55:28 Executing busybox-1.36.1-r4.trigger 18:55:28 OK: 331 MiB in 89 packages 18:55:29 Removing intermediate container 62dea1e0c873 18:55:29 ---> f71f0d1226a7 18:55:29 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:55:29 ---> a66df97b6de7 18:55:29 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:55:29 ---> 1c68f469f606 18:55:29 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:55:29 ---> 03f1e14532fb 18:55:29 Successfully built 03f1e14532fb 18:55:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:29 + docker inspect -f . ci-base-image-x86_64 18:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:29 prd-ubuntu20.04-docker-8c-8g-17063 does not seem to be running inside a container 18:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:55:30 $ docker top 7cc6b18a142c667826228764709236b9e3fe27fe2cbc40ec32d86531a6ae3c6a -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:30 + make test 18:55:30 echo "make test" 18:55:30 make test [Pipeline] } 18:55:30 $ docker stop --time=1 7cc6b18a142c667826228764709236b9e3fe27fe2cbc40ec32d86531a6ae3c6a 18:55:31 $ docker rm -f --volumes 7cc6b18a142c667826228764709236b9e3fe27fe2cbc40ec32d86531a6ae3c6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:32 + ls -al . 18:55:32 total 212 18:55:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:54 . 18:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:54 .. 18:55:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:54 .git 18:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:54 .github 18:55:32 -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 18:54 .gitignore 18:55:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:54 .semver 18:55:32 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 18:54 Attribution.txt 18:55:32 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 18:54 CHANGELOG.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 18:54 Doxyfile 18:55:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:54 GOVERNANCE.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 18:54 Jenkinsfile 18:55:32 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 18:54 LICENSE 18:55:32 -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 18:54 Makefile 18:55:32 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 18:54 OWNERS.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 18:54 README.IOT.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 18:54 README.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 18:54 README.v3.md 18:55:32 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:54 VERSION 18:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:54 docs 18:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:54 include 18:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:54 scripts 18:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:32 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6da833ae8ca3090b8774226dcdfe7d15dbd409d1 --label arch=amd64 --label version=0.0.0 . 18:55:32 Sending build context to Docker daemon 4.976MB 18:55:32 Step 1/17 : ARG BASE=alpine:3.18 18:55:32 Step 2/17 : FROM ${BASE} 18:55:32 ---> 03f1e14532fb 18:55:32 Step 3/17 : LABEL maintainer="IOTech " 18:55:33 ---> Running in 65b0ff6988fc 18:55:33 Removing intermediate container 65b0ff6988fc 18:55:33 ---> 88207a9625e2 18:55:33 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 18:55:33 ---> Running in 3db7bf9f3107 18:55:33 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:55:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:55:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:55:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:55:34 Removing intermediate container 3db7bf9f3107 18:55:34 ---> 6e0bd1dfa7ce 18:55:34 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:55:34 ---> Running in 46b09103c6e8 18:55:34 Removing intermediate container 46b09103c6e8 18:55:34 ---> d04b3fe34978 18:55:34 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 18:55:34 ---> Running in a0f55e24d29b 18:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:55:36 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:55:36 (2/11) Installing libcbor-dev (0.10.2-r1) 18:55:36 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:55:36 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:55:36 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:55:36 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:55:36 (7/11) Installing libblkid (2.38.1-r8) 18:55:36 (8/11) Installing libfdisk (2.38.1-r8) 18:55:36 (9/11) Installing libmount (2.38.1-r8) 18:55:36 (10/11) Installing libsmartcols (2.38.1-r8) 18:55:36 (11/11) Installing util-linux-dev (2.38.1-r8) 18:55:36 Executing busybox-1.36.1-r4.trigger 18:55:36 OK: 336 MiB in 100 packages 18:55:36 Removing intermediate container a0f55e24d29b 18:55:36 ---> 6da63d425083 18:55:36 Step 7/17 : COPY VERSION /edgex-c-sdk/ 18:55:37 ---> d9a035f18ab1 18:55:37 Step 8/17 : COPY src /edgex-c-sdk/src/ 18:55:37 ---> 32b4c7c77139 18:55:37 Step 9/17 : COPY include /edgex-c-sdk/include/ 18:55:37 ---> 1a5b1bb8ab0c 18:55:37 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 18:55:37 ---> 2fba2511f8aa 18:55:37 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 18:55:37 ---> 4e2f6e17239f 18:55:37 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 18:55:37 ---> 680ca4b21e9c 18:55:37 Step 13/17 : WORKDIR /edgex-c-sdk 18:55:37 ---> Running in b5a9ab07ed4c 18:55:37 Removing intermediate container b5a9ab07ed4c 18:55:37 ---> f4f51a20dfd5 18:55:37 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:55:37 ---> Running in 7bda869ecee1 18:55:37 Removing intermediate container 7bda869ecee1 18:55:37 ---> 051416a906e1 18:55:37 Step 15/17 : LABEL arch=amd64 18:55:37 ---> Running in a539e422bf4a 18:55:37 Removing intermediate container a539e422bf4a 18:55:37 ---> 8b232f5964b4 18:55:37 Step 16/17 : LABEL git_sha=6da833ae8ca3090b8774226dcdfe7d15dbd409d1 18:55:37 ---> Running in 86c1ceca410c 18:55:38 Removing intermediate container 86c1ceca410c 18:55:38 ---> 0641141f0fe5 18:55:38 Step 17/17 : LABEL version=0.0.0 18:55:38 ---> Running in c4c99a3c668a 18:55:38 Removing intermediate container c4c99a3c668a 18:55:38 ---> b2aac8c8de47 18:55:38 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:55:38 Successfully built b2aac8c8de47 18:55:38 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:38 18:55:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:39 latest: Pulling from edgex-lftools-log-publisher 18:55:39 5eb5b503b376: Pulling fs layer 18:55:39 5c69ac0246d0: Pulling fs layer 18:55:39 ec43610c2a17: Pulling fs layer 18:55:39 3a2ae6a8a46f: Pulling fs layer 18:55:39 33b1e0a273af: Pulling fs layer 18:55:39 5d3b04190fa2: Pulling fs layer 18:55:39 2f39f015ded8: Pulling fs layer 18:55:39 2f39f015ded8: Waiting 18:55:39 33b1e0a273af: Waiting 18:55:39 5d3b04190fa2: Waiting 18:55:39 3a2ae6a8a46f: Waiting 18:55:39 5c69ac0246d0: Verifying Checksum 18:55:39 5c69ac0246d0: Download complete 18:55:39 3a2ae6a8a46f: Verifying Checksum 18:55:39 3a2ae6a8a46f: Download complete 18:55:39 33b1e0a273af: Verifying Checksum 18:55:39 33b1e0a273af: Download complete 18:55:39 ec43610c2a17: Verifying Checksum 18:55:39 ec43610c2a17: Download complete 18:55:39 5d3b04190fa2: Verifying Checksum 18:55:39 5eb5b503b376: Download complete 18:55:39 2f39f015ded8: Download complete 18:55:40 5eb5b503b376: Pull complete 18:55:40 5c69ac0246d0: Pull complete 18:55:40 ec43610c2a17: Pull complete 18:55:40 3a2ae6a8a46f: Pull complete 18:55:41 33b1e0a273af: Pull complete 18:55:42 5d3b04190fa2: Pull complete 18:55:46 2f39f015ded8: Pull complete 18:55:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:46 prd-ubuntu20.04-docker-8c-8g-17063 does not seem to be running inside a container 18:55:46 $ 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_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:55:52 $ docker top c525f9024306f18f963b12238475f142e0105aa3608df4a9dd5a37cdfbce9911 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:53 ---> job-cost.sh 18:55:53 lf-activate-venv: SKIPPING 18:55:53 INFO: No Stack... 18:55:53 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:53 INFO: Archiving Costs [Pipeline] sh 18:55:54 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/cost.csv 18:55:54 + cut -d, -f6 [Pipeline] lock 18:55:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] 18:55:54 Resource [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] did not exist. Created. 18:55:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:54 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:54 Stashed 1 file(s) [Pipeline] } 18:55:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:54 $ docker stop --time=1 c525f9024306f18f963b12238475f142e0105aa3608df4a9dd5a37cdfbce9911 18:55:55 $ docker rm -f --volumes c525f9024306f18f963b12238475f142e0105aa3608df4a9dd5a37cdfbce9911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:56:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17069 in /w/workspace/edgexfoundry_device-sdk-c_PR-490 [Pipeline] { [Pipeline] ws 18:56:00 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 18:56:00 Selected Git installation does not exist. Using Default 18:56:00 The recommended git tool is: NONE 18:56:07 using credential edgex-jenkins-ssh 18:56:07 Cloning the remote Git repository 18:56:07 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:56:07 > git init /w/workspace/device-sdk-c/5 # timeout=10 18:56:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:56:07 > git --version # timeout=10 18:56:07 > git --version # 'git version 2.25.1' 18:56:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:56:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:56:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:56:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:56:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:56:11 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 5a81276ddb39c68d2fe0e953fa52f6adfeb106a9 18:56:11 Merge succeeded, producing 011407499b848e4b3e1f374ce8313795ac43282b 18:56:11 Checking out Revision 011407499b848e4b3e1f374ce8313795ac43282b (PR-490) 18:56:11 > git config core.sparsecheckout # timeout=10 18:56:11 > git checkout -f 5a81276ddb39c68d2fe0e953fa52f6adfeb106a9 # timeout=10 18:56:11 > git remote # timeout=10 18:56:11 > git config --get remote.origin.url # timeout=10 18:56:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:56:11 > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 18:56:11 > git rev-parse HEAD^{commit} # timeout=10 18:56:11 > git config core.sparsecheckout # timeout=10 18:56:11 > git checkout -f 011407499b848e4b3e1f374ce8313795ac43282b # timeout=10 18:56:15 Commit message: "Merge commit '1a776ee907d08e39928eb07fc2284b30a6e0a694' into HEAD" 18:56:15 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:56:16 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:16 Dload Upload Total Spent Left Speed 18:56:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 203k 0 --:--:-- --:--:-- --:--:-- 203k [Pipeline] sh 18:56:15 > git rev-list --no-walk febfdc077f25744d1a95018e5e0d2ee4a3d893a3 # timeout=10 18:56:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:56:17 + + sudo tee /etc/docker/daemon.new 18:56:17 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:56:17 { 18:56:17 "registry-mirrors": [ 18:56:17 "https://nexus3.edgexfoundry.org:10001" 18:56:17 ], 18:56:17 "bip": "10.250.0.254/24", 18:56:17 "hosts": [ 18:56:17 "tcp://0.0.0.0:5555", 18:56:17 "unix:///var/run/docker.sock" 18:56:17 ], 18:56:17 "mtu": 1458, 18:56:17 "selinux-enabled": true, 18:56:17 "seccomp-profile": "/etc/docker/seccomp.json" 18:56:17 } [Pipeline] sh 18:56:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:56:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:36 provisioning config files... 18:56:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config9581005447913291499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:37 ---> docker-login.sh 18:56:37 nexus3.edgexfoundry.org:10001 18:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:37 Configure a credential helper to remove this warning. See 18:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:37 18:56:37 Login Succeeded 18:56:37 nexus3.edgexfoundry.org:10002 18:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:38 Configure a credential helper to remove this warning. See 18:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:38 18:56:38 Login Succeeded 18:56:38 nexus3.edgexfoundry.org:10003 18:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:38 Configure a credential helper to remove this warning. See 18:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:38 18:56:38 Login Succeeded 18:56:38 nexus3.edgexfoundry.org:10004 18:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:38 Configure a credential helper to remove this warning. See 18:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:38 18:56:38 Login Succeeded 18:56:38 docker.io 18:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:39 Configure a credential helper to remove this warning. See 18:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:39 18:56:39 Login Succeeded 18:56:39 ---> docker-login.sh ends [Pipeline] } 18:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:39 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 18:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:56:39 ========================================================= 18:56:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:56:39 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:40 + 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 . 18:56:41 Sending build context to Docker daemon 2.991MB 18:56:41 Step 1/21 : ARG BASE=alpine:3.18 18:56:41 Step 2/21 : FROM ${BASE} as builder 18:56:41 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:56:41 579b34f0a95b: Pulling fs layer 18:56:41 e71477ac5e1b: Pulling fs layer 18:56:41 579b34f0a95b: Verifying Checksum 18:56:41 579b34f0a95b: Download complete 18:56:41 579b34f0a95b: Pull complete 18:56:43 e71477ac5e1b: Verifying Checksum 18:56:43 e71477ac5e1b: Download complete 18:56:58 e71477ac5e1b: Pull complete 18:56:58 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 18:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:56:58 ---> 2b552cad5dd9 18:56:58 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:56:58 ---> Running in 8fd57f76e08e 18:56:58 Connecting to iotech.jfrog.io (54.73.4.50:443) 18:56:59 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:56:59 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:56:59 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:57:00 Removing intermediate container 8fd57f76e08e 18:57:00 ---> 28a682cd4de9 18:57:00 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:57:00 ---> Running in 18cb2f5b0bed 18:57:02 Removing intermediate container 18cb2f5b0bed 18:57:02 ---> f866b7361d4a 18:57:02 Step 5/21 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 18:57:02 ---> Running in 2f1d7c456050 18:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:57:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:57:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:05 (1/17) Installing hiredis (1.1.0-r2) 18:57:05 (2/17) Installing hiredis-dev (1.1.0-r2) 18:57:05 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 18:57:06 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:57:06 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:57:06 (6/17) Installing libcbor (0.10.2-r1) 18:57:06 (7/17) Installing libcbor-dev (0.10.2-r1) 18:57:06 (8/17) Installing libmenuw (6.4_p20230506-r0) 18:57:06 (9/17) Installing libpanelw (6.4_p20230506-r0) 18:57:06 (10/17) Installing libncurses++ (6.4_p20230506-r0) 18:57:06 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 18:57:06 (12/17) Installing libblkid (2.38.1-r8) 18:57:06 (13/17) Installing libuuid (2.38.1-r8) 18:57:06 (14/17) Installing libfdisk (2.38.1-r8) 18:57:06 (15/17) Installing libmount (2.38.1-r8) 18:57:06 (16/17) Installing libsmartcols (2.38.1-r8) 18:57:06 (17/17) Installing util-linux-dev (2.38.1-r8) 18:57:07 Executing busybox-1.36.1-r4.trigger 18:57:07 OK: 333 MiB in 99 packages 18:57:11 Removing intermediate container 2f1d7c456050 18:57:11 ---> 8819c96f9d28 18:57:11 Step 6/21 : RUN mkdir /tmp/sdk 18:57:11 ---> Running in 58641e290c67 18:57:13 Removing intermediate container 58641e290c67 18:57:13 ---> f52b40e26514 18:57:13 Step 7/21 : COPY VERSION /tmp/sdk 18:57:13 ---> a0f753db1588 18:57:13 Step 8/21 : COPY src /tmp/sdk/src 18:57:14 ---> 7ade9cc1fd55 18:57:14 Step 9/21 : COPY include /tmp/sdk/include 18:57:15 ---> 5495d591920d 18:57:15 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:57:15 ---> 369cca74800a 18:57:15 Step 11/21 : COPY LICENSE /tmp/sdk 18:57:16 ---> a3a44ee38d09 18:57:16 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:57:16 ---> fb1ae9128bbc 18:57:16 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:57:16 ---> Running in 91b9e1199802 18:57:17 + CPPCHECK=false 18:57:17 + DOCGEN=false 18:57:17 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:57:17 + '[' 0 -gt 0 ] 18:57:17 + readlink -f ./scripts/build.sh 18:57:17 + dirname /tmp/sdk/scripts/build.sh 18:57:17 + dirname /tmp/sdk/scripts 18:57:17 + ROOT=/tmp/sdk 18:57:17 + cd /tmp/sdk 18:57:17 + mkdir -p /tmp/sdk/build/release 18:57:17 + cd /tmp/sdk/build/release 18:57:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:57:18 -- The C compiler identification is GNU 12.2.1 18:57:18 -- Detecting C compiler ABI info 18:57:18 -- Detecting C compiler ABI info - done 18:57:18 -- Check for working C compiler: /usr/bin/cc - skipped 18:57:18 -- Detecting C compile features 18:57:18 -- Detecting C compile features - done 18:57:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:57:19 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:57:19 -- Found LIBYAML: /usr/lib/libyaml.so 18:57:19 -- Found LIBUUID: /usr/lib/libuuid.so 18:57:19 -- Found LIBCBOR: /usr/lib/libcbor.so 18:57:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:57:19 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:57:19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:57:19 -- /opt/iotech/iot/1.5/include 18:57:19 -- C SDK 0.0.0 for Linux 18:57:19 -- Performing Test CSDK_HAVE_ATOMIC 18:57:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:57:19 -- Found Curses: /usr/lib/libcurses.so 18:57:20 -- Configuring done (2.1s) 18:57:20 -- Generating done (0.3s) 18:57:20 -- Build files have been written to: /tmp/sdk/build/release 18:57:20 + make all package 18:57:20 + tee release.log 18:57:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:57:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:57:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:57:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:57:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:57:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:57:28 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 18:57:28 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 18:57:28 294 | while (privateConfig) 18:57:28 | ^~~~~~~~~~~~~ 18:57:28 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 18:57:28 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:57:28 | ^~~~~~~~~~~~~ 18:57:28 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 18:57:28 271 | while (result) 18:57:28 | ^~~~~~ 18:57:28 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 18:57:28 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:57:28 | ^~~~~~ 18:57:29 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:57:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:57:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:57:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:57:33 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:57:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:57:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:57:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:57:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:57:37 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:57:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:57:41 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:57:41 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:57:43 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:57:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:57:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:57:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:57:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:57:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:57:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:58:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:58:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:58:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:58:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:58:02 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:58:02 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:58:02 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:58:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:58:02 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:58:02 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:58:02 | ^ 18:58:04 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:58:04 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:58:04 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:58:04 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 18:58:04 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:58:04 | ^~~~~~~~~~~~~~~~~~~~~ 18:58:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:58:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:58:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:58:08 [ 68%] Linking C shared library libcsdk.so 18:58:08 [ 68%] Built target csdk 18:58:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:58:09 [ 72%] Linking C executable template 18:58:09 [ 72%] Built target template 18:58:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:58:10 [ 76%] Linking C executable device-counter 18:58:11 [ 76%] Built target device-counter 18:58:11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:58:11 [ 80%] Linking C executable device-random 18:58:12 [ 80%] Built target device-random 18:58:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:58:12 [ 84%] Linking C executable device-gyro 18:58:13 [ 84%] Built target device-gyro 18:58:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:58:14 [ 88%] Linking C executable device-bitfields 18:58:14 [ 88%] Built target device-bitfields 18:58:14 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:58:16 [ 92%] Linking C executable template-discovery 18:58:16 [ 92%] Built target template-discovery 18:58:16 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:58:17 [ 96%] Linking C executable device-file 18:58:17 [ 96%] Built target device-file 18:58:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:58:18 [100%] Linking C executable device-terminal 18:58:18 [100%] Built target device-terminal 18:58:19 Run CPack packaging tool... 18:58:19 CPack: Create package using TGZ 18:58:19 CPack: Install projects 18:58:19 CPack: - Run preinstall target for: Csdk 18:58:20 CPack: - Install project: Csdk [] 18:58:20 CPack: Create package 18:58:20 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:58:20 + '[' false '=' true ] 18:58:20 + '[' false '=' true ] 18:58:20 + mkdir -p /tmp/sdk/build/debug 18:58:20 + cd /tmp/sdk/build/debug 18:58:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:58:20 -- The C compiler identification is GNU 12.2.1 18:58:20 -- Detecting C compiler ABI info 18:58:22 -- Detecting C compiler ABI info - done 18:58:22 -- Check for working C compiler: /usr/bin/cc - skipped 18:58:22 -- Detecting C compile features 18:58:22 -- Detecting C compile features - done 18:58:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:58:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:58:22 -- Found LIBYAML: /usr/lib/libyaml.so 18:58:22 -- Found LIBUUID: /usr/lib/libuuid.so 18:58:22 -- Found LIBCBOR: /usr/lib/libcbor.so 18:58:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:58:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:58:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:58:22 -- /opt/iotech/iot/1.5/include 18:58:22 -- C SDK 0.0.0 for Linux 18:58:22 -- Performing Test CSDK_HAVE_ATOMIC 18:58:23 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:58:23 -- Found Curses: /usr/lib/libcurses.so 18:58:23 -- Configuring done (3.3s) 18:58:23 -- Generating done (0.3s) 18:58:23 -- Build files have been written to: /tmp/sdk/build/debug 18:58:23 + + make 18:58:23 tee debug.log 18:58:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:58:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:58:24 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:58:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:58:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:58:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:58:27 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:58:27 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:58:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:58:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:58:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:58:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:58:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:58:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:58:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:58:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:58:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:58:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:58:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:58:33 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:58:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:58:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:58:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:58:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:58:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:58:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:58:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:58:40 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:58:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:58:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:58:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:58:41 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:58:41 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:58:41 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:58:41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:58:41 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:58:41 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:58:41 | ^ 18:58:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:58:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:58:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:58:43 [ 68%] Linking C shared library libcsdk.so 18:58:43 [ 68%] Built target csdk 18:58:43 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:58:44 [ 72%] Linking C executable template 18:58:44 [ 72%] Built target template 18:58:44 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:58:45 [ 76%] Linking C executable device-counter 18:58:45 [ 76%] Built target device-counter 18:58:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:58:46 [ 80%] Linking C executable device-random 18:58:46 [ 80%] Built target device-random 18:58:46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:58:47 [ 84%] Linking C executable device-gyro 18:58:47 [ 84%] Built target device-gyro 18:58:47 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:58:47 [ 88%] Linking C executable device-bitfields 18:58:48 [ 88%] Built target device-bitfields 18:58:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:58:49 [ 92%] Linking C executable template-discovery 18:58:49 [ 92%] Built target template-discovery 18:58:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:58:50 [ 96%] Linking C executable device-file 18:58:50 [ 96%] Built target device-file 18:58:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:58:51 [100%] Linking C executable device-terminal 18:58:51 [100%] Built target device-terminal 18:58:51 make: Entering directory '/tmp/sdk/build/release' 18:58:51 [ 68%] Built target csdk 18:58:52 [ 72%] Built target template 18:58:52 [ 76%] Built target device-counter 18:58:52 [ 80%] Built target device-random 18:58:52 [ 84%] Built target device-gyro 18:58:52 [ 88%] Built target device-bitfields 18:58:52 [ 92%] Built target template-discovery 18:58:52 [ 96%] Built target device-file 18:58:52 [100%] Built target device-terminal 18:58:52 Install the project... 18:58:52 -- Install configuration: "Release" 18:58:52 -- Installing: /usr/local/lib/libcsdk.so 18:58:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:58:52 -- Installing: /usr/local/include 18:58:52 -- Installing: /usr/local/include/devsdk 18:58:52 -- Installing: /usr/local/include/devsdk/devsdk.h 18:58:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:58:52 -- Installing: /usr/local/include/edgex 18:58:52 -- Installing: /usr/local/include/edgex/rest-server.h 18:58:52 -- Installing: /usr/local/include/edgex/edgex.h 18:58:52 -- Installing: /usr/local/include/edgex/edgex-base.h 18:58:52 -- Installing: /usr/local/include/edgex/devices.h 18:58:52 -- Installing: /usr/local/include/edgex/profiles.h 18:58:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:58:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:58:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:58:52 make: Leaving directory '/tmp/sdk/build/release' 18:58:54 Removing intermediate container 91b9e1199802 18:58:54 ---> 4832f87a7c39 18:58:54 Step 14/21 : FROM ${BASE} 18:58:54 ---> 2b552cad5dd9 18:58:54 Step 15/21 : LABEL maintainer="IOTech " 18:58:54 ---> Running in e8ee089fb297 18:58:54 Removing intermediate container e8ee089fb297 18:58:54 ---> 67c93239f8fa 18:58:54 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:58:54 ---> Running in 3399cf8cb482 18:58:55 Connecting to iotech.jfrog.io (34.246.139.145:443) 18:58:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:58:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:58:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:58:57 Removing intermediate container 3399cf8cb482 18:58:57 ---> 63fc0047363a 18:58:57 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:58:57 ---> Running in 85579a213bfe 18:58:59 Removing intermediate container 85579a213bfe 18:58:59 ---> c12c21dcf7e8 18:58:59 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 18:58:59 ---> Running in 2a2db19bd1be 18:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:59:02 (1/7) Installing curl (8.4.0-r0) 18:59:02 (2/7) Installing hiredis (1.1.0-r2) 18:59:02 (3/7) Installing hiredis-dev (1.1.0-r2) 18:59:02 (4/7) Installing iotech-iot-1.5 (1.5.0-r0) 18:59:03 (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:59:03 (6/7) Installing libcbor (0.10.2-r1) 18:59:03 (7/7) Installing libuuid (2.38.1-r8) 18:59:03 Executing busybox-1.36.1-r4.trigger 18:59:03 OK: 327 MiB in 89 packages 18:59:06 Removing intermediate container 2a2db19bd1be 18:59:06 ---> 30c343352192 18:59:06 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:59:06 ---> bb41823e5efc 18:59:06 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:59:07 ---> 55209773628e 18:59:07 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:59:08 ---> 408f6d4dee40 18:59:08 Successfully built 408f6d4dee40 18:59:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:08 + docker inspect -f . ci-base-image-arm64 18:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:09 prd-ubuntu20.04-docker-arm64-4c-16g-17069 does not seem to be running inside a container 18:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:59:10 $ docker top c5bf806fc660f32b7c59036462dc9fa598ca3ce801918cd2caad6626f3b89cd2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:11 + make test 18:59:11 echo "make test" 18:59:11 make test [Pipeline] } 18:59:11 $ docker stop --time=1 c5bf806fc660f32b7c59036462dc9fa598ca3ce801918cd2caad6626f3b89cd2 18:59:13 $ docker rm -f --volumes c5bf806fc660f32b7c59036462dc9fa598ca3ce801918cd2caad6626f3b89cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:14 + ls -al . 18:59:14 total 208 18:59:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:56 . 18:59:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:56 .. 18:59:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:56 .git 18:59:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:56 .github 18:59:14 -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 18:56 .gitignore 18:59:14 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 18:56 Attribution.txt 18:59:14 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 18:56 CHANGELOG.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 18:56 Doxyfile 18:59:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:56 GOVERNANCE.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 18:56 Jenkinsfile 18:59:14 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 18:56 LICENSE 18:59:14 -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 18:56 Makefile 18:59:14 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 18:56 OWNERS.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 18:56 README.IOT.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 18:56 README.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 18:56 README.v3.md 18:59:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:54 VERSION 18:59:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:56 docs 18:59:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:56 include 18:59:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:56 scripts 18:59:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:14 + 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=011407499b848e4b3e1f374ce8313795ac43282b --label arch=arm64 --label version=0.0.0 . 18:59:14 Sending build context to Docker daemon 2.991MB 18:59:14 Step 1/17 : ARG BASE=alpine:3.18 18:59:14 Step 2/17 : FROM ${BASE} 18:59:14 ---> 408f6d4dee40 18:59:14 Step 3/17 : LABEL maintainer="IOTech " 18:59:14 ---> Running in 685f24cbadbb 18:59:15 Removing intermediate container 685f24cbadbb 18:59:15 ---> fe70cfe57f77 18:59:15 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 18:59:15 ---> Running in 52a51e9d95ee 18:59:16 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:59:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:59:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:59:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:59:17 Removing intermediate container 52a51e9d95ee 18:59:17 ---> 7b6310eda397 18:59:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:59:17 ---> Running in e5f30ea7ef65 18:59:19 Removing intermediate container e5f30ea7ef65 18:59:19 ---> 396c8b6b5674 18:59:19 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 18:59:19 ---> Running in 0ee8fb471f87 18:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:59:22 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 18:59:23 (2/11) Installing libcbor-dev (0.10.2-r1) 18:59:23 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:59:23 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:59:23 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:59:23 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:59:23 (7/11) Installing libblkid (2.38.1-r8) 18:59:23 (8/11) Installing libfdisk (2.38.1-r8) 18:59:23 (9/11) Installing libmount (2.38.1-r8) 18:59:23 (10/11) Installing libsmartcols (2.38.1-r8) 18:59:23 (11/11) Installing util-linux-dev (2.38.1-r8) 18:59:23 Executing busybox-1.36.1-r4.trigger 18:59:23 OK: 333 MiB in 100 packages 18:59:24 Removing intermediate container 0ee8fb471f87 18:59:24 ---> 80c9d9eb5baa 18:59:24 Step 7/17 : COPY VERSION /edgex-c-sdk/ 18:59:25 ---> 65867795e338 18:59:25 Step 8/17 : COPY src /edgex-c-sdk/src/ 18:59:26 ---> fe214f3926e2 18:59:26 Step 9/17 : COPY include /edgex-c-sdk/include/ 18:59:27 ---> 1614aba2d14f 18:59:27 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 18:59:27 ---> db2625b3269e 18:59:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 18:59:28 ---> afffb04768f6 18:59:28 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 18:59:28 ---> dbc6bfb16da0 18:59:28 Step 13/17 : WORKDIR /edgex-c-sdk 18:59:28 ---> Running in cfa870ad185b 18:59:29 Removing intermediate container cfa870ad185b 18:59:29 ---> 0bb0aff7157b 18:59:29 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:59:29 ---> Running in 32acae91cda9 18:59:29 Removing intermediate container 32acae91cda9 18:59:29 ---> 8f3dc7c0c5d1 18:59:29 Step 15/17 : LABEL arch=arm64 18:59:29 ---> Running in b28eb3ee1f39 18:59:30 Removing intermediate container b28eb3ee1f39 18:59:30 ---> 4fcee158b8ab 18:59:30 Step 16/17 : LABEL git_sha=011407499b848e4b3e1f374ce8313795ac43282b 18:59:30 ---> Running in 49a5fae15b97 18:59:30 Removing intermediate container 49a5fae15b97 18:59:30 ---> 2eda79293175 18:59:30 Step 17/17 : LABEL version=0.0.0 18:59:30 ---> Running in 9ba197bda63a 18:59:30 Removing intermediate container 9ba197bda63a 18:59:30 ---> 6018816725d3 18:59:30 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:59:31 Successfully built 6018816725d3 18:59:31 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:31 18:59:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:33 arm64: Pulling from edgex-lftools-log-publisher 18:59:33 8998bd30e6a1: Pulling fs layer 18:59:33 04944245beec: Pulling fs layer 18:59:33 699f458cf7ca: Pulling fs layer 18:59:33 765212b225bb: Pulling fs layer 18:59:33 f23df028b6ca: Pulling fs layer 18:59:33 d65c8cfc05b1: Pulling fs layer 18:59:33 2437ff75d9bd: Pulling fs layer 18:59:33 f23df028b6ca: Waiting 18:59:33 d65c8cfc05b1: Waiting 18:59:33 2437ff75d9bd: Waiting 18:59:33 765212b225bb: Waiting 18:59:34 04944245beec: Verifying Checksum 18:59:34 04944245beec: Download complete 18:59:34 765212b225bb: Download complete 18:59:34 f23df028b6ca: Verifying Checksum 18:59:34 f23df028b6ca: Download complete 18:59:34 d65c8cfc05b1: Verifying Checksum 18:59:34 d65c8cfc05b1: Download complete 18:59:34 699f458cf7ca: Verifying Checksum 18:59:34 699f458cf7ca: Download complete 18:59:34 8998bd30e6a1: Download complete 18:59:37 2437ff75d9bd: Verifying Checksum 18:59:37 2437ff75d9bd: Download complete 18:59:39 8998bd30e6a1: Pull complete 18:59:39 04944245beec: Pull complete 18:59:41 699f458cf7ca: Pull complete 18:59:41 765212b225bb: Pull complete 18:59:42 f23df028b6ca: Pull complete 18:59:42 d65c8cfc05b1: Pull complete 19:00:01 2437ff75d9bd: Pull complete 19:00:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:01 prd-ubuntu20.04-docker-arm64-4c-16g-17069 does not seem to be running inside a container 19:00:01 $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:00:04 $ docker top 682b8897ea46e7f936e091afefe5101115b6278e1442cec49bb4991ae146380c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:05 ---> job-cost.sh 19:00:05 lf-activate-venv: SKIPPING 19:00:05 INFO: No Stack... 19:00:06 INFO: Retrieving Pricing Info for: v3-standard-4 19:00:07 INFO: Archiving Costs [Pipeline] sh 19:00:07 + cat /w/workspace/device-sdk-c/5/archives/cost.csv 19:00:07 + cut -d, -f6 [Pipeline] lock 19:00:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] 19:00:07 Resource [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] did not exist. Created. 19:00:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:08 /w/workspace/device-sdk-c/5@tmp/durable-f33e1954/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:00:09 + echo total: 0.10999999940395355 [Pipeline] stash 19:00:09 Warning: overwriting stash ‘stack-cost’ 19:00:09 Stashed 1 file(s) [Pipeline] } 19:00:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-490-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:09 $ docker stop --time=1 682b8897ea46e7f936e091afefe5101115b6278e1442cec49bb4991ae146380c 19:00:11 $ docker rm -f --volumes 682b8897ea46e7f936e091afefe5101115b6278e1442cec49bb4991ae146380c [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 when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:00:12 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives ] 19:00:12 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives 19:00:12 total 16 19:00:12 drwxr-xr-x 3 root root 4096 Nov 8 18:55 . 19:00:12 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:55 .. 19:00:12 drwxr-xr-x 2 root root 4096 Nov 8 18:55 cost 19:00:12 -rw-r--r-- 1 root root 84 Nov 8 18:55 cost.csv 19:00:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives 19:00:12 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives 19:00:12 total 16 19:00:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:55 . 19:00:12 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:55 .. 19:00:12 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:55 cost 19:00:12 -rw-r--r-- 1 jenkins jenkins 84 Nov 8 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:00:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:00:13 ---> package-listing.sh 19:00:13 ++ facter osfamily 19:00:13 ++ tr '[:upper:]' '[:lower:]' 19:00:13 + OS_FAMILY=debian 19:00:13 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-490 19:00:13 + START_PACKAGES=/tmp/packages_start.txt 19:00:13 + END_PACKAGES=/tmp/packages_end.txt 19:00:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:00:13 + PACKAGES=/tmp/packages_start.txt 19:00:13 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-490 ']' 19:00:13 + PACKAGES=/tmp/packages_end.txt 19:00:13 + case "${OS_FAMILY}" in 19:00:13 + dpkg -l 19:00:13 + grep '^ii' 19:00:13 + '[' -f /tmp/packages_start.txt ']' 19:00:13 + '[' -f /tmp/packages_end.txt ']' 19:00:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:00:13 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-490 ']' 19:00:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/ 19:00:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/ [Pipeline] echo 19:00:13 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_PR-490/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:00:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:14 prd-ubuntu20.04-docker-8c-8g-17063 does not seem to be running inside a container 19:00:14 $ 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_PR-490/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_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:00:14 $ docker top 46db1751eae83a31af8e474c7abd089480855b1663d0d3b9216baa50600db0e5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:15 + touch /tmp/pre-build-complete [Pipeline] sh 19:00:15 + mkdir -p /var/log/sysstat [Pipeline] sh 19:00:15 + ls /var/log/sa-host 19:00:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:15 provisioning config files... 19:00:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config3862759574266175240tmp [Pipeline] { [Pipeline] echo 19:00:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:00:16 ---> create-netrc.sh [Pipeline] } 19:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:00:16 ---> python-tools-install.sh [Pipeline] echo 19:00:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:00:16 ---> sudo-logs.sh 19:00:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:00:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:00:17 ---> job-cost.sh 19:00:17 lf-activate-venv: SKIPPING 19:00:17 DEBUG: total: 0.2199999988079071 19:00:17 INFO: Retrieving Stack Cost... 19:00:17 INFO: Retrieving Pricing Info for: v3-standard-8 19:00:17 INFO: Archiving Costs [Pipeline] echo 19:00:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:00:18 ---> logs-deploy.sh 19:00:18 lf-activate-venv: SKIPPING 19:00:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-490/5 19:00:18 INFO: archiving workspace using pattern(s): 19:00:19 Archives upload complete. 19:00:19 INFO: archiving logs to Nexus 19:00:19 ---> uname -a: 19:00:19 Linux prd-ubuntu20-04-docker-8c-8g-17063 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:00:19 19:00:19 19:00:19 ---> lscpu: 19:00:19 Architecture: x86_64 19:00:19 CPU op-mode(s): 32-bit, 64-bit 19:00:19 Byte Order: Little Endian 19:00:19 Address sizes: 40 bits physical, 48 bits virtual 19:00:19 CPU(s): 8 19:00:19 On-line CPU(s) list: 0-7 19:00:19 Thread(s) per core: 1 19:00:19 Core(s) per socket: 1 19:00:19 Socket(s): 8 19:00:19 NUMA node(s): 1 19:00:19 Vendor ID: AuthenticAMD 19:00:19 CPU family: 23 19:00:19 Model: 49 19:00:19 Model name: AMD EPYC-Rome Processor 19:00:19 Stepping: 0 19:00:19 CPU MHz: 2799.998 19:00:19 BogoMIPS: 5599.99 19:00:19 Virtualization: AMD-V 19:00:19 Hypervisor vendor: KVM 19:00:19 Virtualization type: full 19:00:19 L1d cache: 256 KiB 19:00:19 L1i cache: 256 KiB 19:00:19 L2 cache: 4 MiB 19:00:19 L3 cache: 128 MiB 19:00:19 NUMA node0 CPU(s): 0-7 19:00:19 Vulnerability Itlb multihit: Not affected 19:00:19 Vulnerability L1tf: Not affected 19:00:19 Vulnerability Mds: Not affected 19:00:19 Vulnerability Meltdown: Not affected 19:00:19 Vulnerability Mmio stale data: Not affected 19:00:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:00:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:00:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:00:19 Vulnerability Srbds: Not affected 19:00:19 Vulnerability Tsx async abort: Not affected 19:00:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:00:19 19:00:19