Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6abec0de53f1544e48264173dbee0aea1a2aa14a 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-ssh13779159016628049565.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12179104764095645153.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16491136059798315866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12261315949914575515.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10858963872008374437.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2575’ Running on prd-ubuntu20.04-docker-8c-8g-2581 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6abec0de53f1544e48264173dbee0aea1a2aa14a (main) Commit message: "feat: Add optional Parent field to Device objects. (#512)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 > git rev-list --no-walk 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-17T02:28:05.505Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-17T02:28:05.580Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-17T02:28:05.608Z] ========================================================= [2024-04-17T02:28:05.608Z] EdgeX Global Pipelines Version Info [2024-04-17T02:28:05.608Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:28:06.336Z] ------------------- [2024-04-17T02:28:06.336Z] stable info: [2024-04-17T02:28:06.336Z] ------------------- [2024-04-17T02:28:06.336Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-17T02:28:06.336Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-17T02:28:06.336Z] Message: update stable to v1.0.258 [2024-04-17T02:28:06.906Z] ------------------- [2024-04-17T02:28:06.906Z] experimental info: [2024-04-17T02:28:06.906Z] ------------------- [2024-04-17T02:28:06.906Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-17T02:28:06.906Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-17T02:28:06.907Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-17T02:28:06.985Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-04-17T02:28:07.007Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-04-17T02:28:07.030Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-17T02:28:07.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-17T02:28:07.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-17T02:28:07.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-04-17T02:28:07.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-04-17T02:28:07.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-17T02:28:07.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-17T02:28:07.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-04-17T02:28:07.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-17T02:28:07.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-17T02:28:07.270Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-17T02:28:07.293Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-17T02:28:07.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-17T02:28:07.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-17T02:28:07.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-17T02:28:07.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-04-17T02:28:07.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-04-17T02:28:07.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-04-17T02:28:07.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo [2024-04-17T02:28:07.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6abec0d [Pipeline] echo [2024-04-17T02:28:07.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T02:28:07.564Z] provisioning config files... [2024-04-17T02:28:07.577Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11975116683732365541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:28:07.914Z] ---> ****-login.sh [2024-04-17T02:28:07.914Z] nexus3.edgexfoundry.org:10001 [2024-04-17T02:28:08.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:08.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:08.176Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:08.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:08.177Z] [2024-04-17T02:28:08.177Z] Login Succeeded [2024-04-17T02:28:08.177Z] nexus3.edgexfoundry.org:10002 [2024-04-17T02:28:08.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:08.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:08.439Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:08.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:08.439Z] [2024-04-17T02:28:08.439Z] Login Succeeded [2024-04-17T02:28:08.439Z] nexus3.edgexfoundry.org:10003 [2024-04-17T02:28:08.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:08.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:08.439Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:08.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:08.439Z] [2024-04-17T02:28:08.439Z] Login Succeeded [2024-04-17T02:28:08.439Z] nexus3.edgexfoundry.org:10004 [2024-04-17T02:28:08.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:08.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:08.701Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:08.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:08.701Z] [2024-04-17T02:28:08.701Z] Login Succeeded [2024-04-17T02:28:08.701Z] ****.io [2024-04-17T02:28:08.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:08.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:08.962Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:08.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:08.962Z] [2024-04-17T02:28:08.962Z] Login Succeeded [2024-04-17T02:28:08.962Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T02:28:08.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-04-17T02:28:09.380Z] + git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo [2024-04-17T02:28:09.409Z] -----------> git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a 6abec0de53f1544e48264173dbee0aea1a2aa14a [false] [Pipeline] sh [2024-04-17T02:28:09.702Z] + git log --format=format:%s -1 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo [2024-04-17T02:28:09.723Z] ========================================================= [2024-04-17T02:28:09.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-17T02:28:09.723Z] ========================================================= 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 [2024-04-17T02:28:10.177Z] + git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo [2024-04-17T02:28:10.190Z] -----------> git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a 6abec0de53f1544e48264173dbee0aea1a2aa14a [false] [Pipeline] sh [2024-04-17T02:28:10.484Z] + git log --format=format:%s -1 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo [2024-04-17T02:28:10.502Z] ========================================================= [2024-04-17T02:28:10.502Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-17T02:28:10.502Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-04-17T02:28:10.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-17T02:28:10.940Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-17T02:28:10.940Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-17T02:28:10.940Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-17T02:28:10.940Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-04-17T02:28:10.940Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-17T02:28:10.940Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:28:11.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:28:11.384Z] [2024-04-17T02:28:11.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:28:11.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:28:11.694Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-17T02:28:11.694Z] b85a868b505f: Pulling fs layer [2024-04-17T02:28:11.694Z] e2be974225ed: Pulling fs layer [2024-04-17T02:28:11.694Z] 339a4e72a1f5: Pulling fs layer [2024-04-17T02:28:11.694Z] 988bab9f4d93: Pulling fs layer [2024-04-17T02:28:11.694Z] 1469e6f7b9e6: Pulling fs layer [2024-04-17T02:28:11.694Z] eaf3925da568: Pulling fs layer [2024-04-17T02:28:11.694Z] bab4dde63d76: Pulling fs layer [2024-04-17T02:28:11.694Z] bde34c3a00c8: Pulling fs layer [2024-04-17T02:28:11.694Z] b352a97aabf1: Pulling fs layer [2024-04-17T02:28:11.694Z] 4872d77fe225: Pulling fs layer [2024-04-17T02:28:11.694Z] 5851b861e8e6: Pulling fs layer [2024-04-17T02:28:11.694Z] 988bab9f4d93: Waiting [2024-04-17T02:28:11.694Z] 1469e6f7b9e6: Waiting [2024-04-17T02:28:11.694Z] bde34c3a00c8: Waiting [2024-04-17T02:28:11.694Z] eaf3925da568: Waiting [2024-04-17T02:28:11.694Z] 4872d77fe225: Waiting [2024-04-17T02:28:11.694Z] 5851b861e8e6: Waiting [2024-04-17T02:28:11.694Z] bab4dde63d76: Waiting [2024-04-17T02:28:11.694Z] b352a97aabf1: Waiting [2024-04-17T02:28:11.694Z] e2be974225ed: Download complete [2024-04-17T02:28:11.694Z] 988bab9f4d93: Verifying Checksum [2024-04-17T02:28:11.694Z] 988bab9f4d93: Download complete [2024-04-17T02:28:11.694Z] 1469e6f7b9e6: Verifying Checksum [2024-04-17T02:28:11.694Z] 1469e6f7b9e6: Download complete [2024-04-17T02:28:11.694Z] 339a4e72a1f5: Verifying Checksum [2024-04-17T02:28:11.694Z] 339a4e72a1f5: Download complete [2024-04-17T02:28:11.954Z] eaf3925da568: Verifying Checksum [2024-04-17T02:28:11.955Z] eaf3925da568: Download complete [2024-04-17T02:28:11.955Z] bde34c3a00c8: Download complete [2024-04-17T02:28:11.955Z] b352a97aabf1: Download complete [2024-04-17T02:28:11.955Z] 4872d77fe225: Download complete [2024-04-17T02:28:11.955Z] 5851b861e8e6: Verifying Checksum [2024-04-17T02:28:11.955Z] 5851b861e8e6: Download complete [2024-04-17T02:28:11.955Z] b85a868b505f: Verifying Checksum [2024-04-17T02:28:11.955Z] b85a868b505f: Download complete [2024-04-17T02:28:12.253Z] bab4dde63d76: Verifying Checksum [2024-04-17T02:28:12.253Z] bab4dde63d76: Download complete [2024-04-17T02:28:13.214Z] b85a868b505f: Pull complete [2024-04-17T02:28:13.472Z] e2be974225ed: Pull complete [2024-04-17T02:28:13.732Z] 339a4e72a1f5: Pull complete [2024-04-17T02:28:13.991Z] 988bab9f4d93: Pull complete [2024-04-17T02:28:14.250Z] 1469e6f7b9e6: Pull complete [2024-04-17T02:28:14.250Z] eaf3925da568: Pull complete [2024-04-17T02:28:16.157Z] bab4dde63d76: Pull complete [2024-04-17T02:28:16.157Z] bde34c3a00c8: Pull complete [2024-04-17T02:28:16.416Z] b352a97aabf1: Pull complete [2024-04-17T02:28:16.416Z] 4872d77fe225: Pull complete [2024-04-17T02:28:16.416Z] 5851b861e8e6: Pull complete [2024-04-17T02:28:16.416Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-17T02:28:16.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:28:16.677Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:28:16.816Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:28:16.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-17T02:28:19.638Z] $ docker top 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 -eo pid,comm [2024-04-17T02:28:19.696Z] 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). [2024-04-17T02:28:19.696Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-17T02:28:19.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T02:28:19.748Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T02:28:19.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T02:28:19.872Z] $ docker exec 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent [2024-04-17T02:28:19.984Z] SSH_AUTH_SOCK=/tmp/ssh-WXajOZqQp7Ol/agent.33 [2024-04-17T02:28:19.984Z] SSH_AGENT_PID=39 [2024-04-17T02:28:19.990Z] Running ssh-add (command line suppressed) [2024-04-17T02:28:20.100Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15817612884690909207.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15817612884690909207.key) [2024-04-17T02:28:20.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T02:28:20.407Z] + git tag --points-at HEAD [Pipeline] } [2024-04-17T02:28:20.421Z] $ docker exec --env ******** --env ******** 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent -k [2024-04-17T02:28:20.531Z] unset SSH_AUTH_SOCK; [2024-04-17T02:28:20.532Z] unset SSH_AGENT_PID; [2024-04-17T02:28:20.532Z] echo Agent pid 39 killed; [2024-04-17T02:28:20.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-17T02:28:20.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T02:28:20.582Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T02:28:20.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T02:28:20.705Z] $ docker exec 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent [2024-04-17T02:28:20.815Z] SSH_AUTH_SOCK=/tmp/ssh-HU05SxKBjBQx/agent.73 [2024-04-17T02:28:20.815Z] SSH_AGENT_PID=79 [2024-04-17T02:28:20.820Z] Running ssh-add (command line suppressed) [2024-04-17T02:28:20.962Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6758143650223714503.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6758143650223714503.key) [2024-04-17T02:28:20.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T02:28:21.265Z] + git semver init [2024-04-17T02:28:21.525Z] 2024-04-17 02:28:21,456 [run_init] DEBUG init version:0.0.0 force:False [2024-04-17T02:28:21.525Z] 2024-04-17 02:28:21,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-04-17T02:28:21.525Z] 2024-04-17 02:28:21,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-04-17T02:28:21.525Z] 2024-04-17 02:28:21,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-04-17T02:28:22.468Z] 2024-04-17 02:28:22,336 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-04-17T02:28:22.468Z] 2024-04-17 02:28:22,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-04-17T02:28:22.468Z] 2024-04-17 02:28:22,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:28:22.468Z] 2024-04-17 02:28:22,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:28:22.468Z] 3.0.3-dev.13 [Pipeline] } [2024-04-17T02:28:22.481Z] $ docker exec --env ******** --env ******** 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent -k [2024-04-17T02:28:22.589Z] unset SSH_AUTH_SOCK; [2024-04-17T02:28:22.589Z] unset SSH_AGENT_PID; [2024-04-17T02:28:22.589Z] echo Agent pid 79 killed; [2024-04-17T02:28:22.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-17T02:28:22.923Z] + git semver [Pipeline] } [2024-04-17T02:28:23.197Z] $ docker stop --time=1 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 [2024-04-17T02:28:24.508Z] $ docker rm -f --volumes 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-17T02:28:24.849Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-17T02:28:25.072Z] Stashed 1 file(s) [Pipeline] echo [2024-04-17T02:28:25.075Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.13 [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 [2024-04-17T02:28:25.275Z] provisioning config files... [2024-04-17T02:28:25.285Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8739786227673522185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:28:25.594Z] ---> ****-login.sh [2024-04-17T02:28:25.594Z] nexus3.edgexfoundry.org:10001 [2024-04-17T02:28:25.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:25.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:25.594Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:25.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:25.594Z] [2024-04-17T02:28:25.594Z] Login Succeeded [2024-04-17T02:28:25.594Z] nexus3.edgexfoundry.org:10002 [2024-04-17T02:28:25.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:25.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:25.595Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:25.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:25.595Z] [2024-04-17T02:28:25.595Z] Login Succeeded [2024-04-17T02:28:25.595Z] nexus3.edgexfoundry.org:10003 [2024-04-17T02:28:25.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:25.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:25.857Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:25.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:25.857Z] [2024-04-17T02:28:25.857Z] Login Succeeded [2024-04-17T02:28:25.857Z] nexus3.edgexfoundry.org:10004 [2024-04-17T02:28:25.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:25.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:25.857Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:25.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:25.857Z] [2024-04-17T02:28:25.857Z] Login Succeeded [2024-04-17T02:28:25.857Z] ****.io [2024-04-17T02:28:26.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:28:26.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:28:26.117Z] Configure a credential helper to remove this warning. See [2024-04-17T02:28:26.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:28:26.117Z] [2024-04-17T02:28:26.117Z] Login Succeeded [2024-04-17T02:28:26.117Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T02:28:26.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-17T02:28:26.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T02:28:26.217Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-04-17T02:28:26.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T02:28:26.244Z] ========================================================= [2024-04-17T02:28:26.244Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-04-17T02:28:26.244Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:28:26.570Z] + 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 . [2024-04-17T02:28:26.570Z] Sending build context to Docker daemon 5.012MB [2024-04-17T02:28:26.570Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-17T02:28:26.570Z] Step 2/21 : FROM ${BASE} as builder [2024-04-17T02:28:26.570Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-04-17T02:28:26.570Z] 96526aa774ef: Pulling fs layer [2024-04-17T02:28:26.570Z] da60e534fd72: Pulling fs layer [2024-04-17T02:28:26.833Z] 96526aa774ef: Verifying Checksum [2024-04-17T02:28:26.833Z] 96526aa774ef: Download complete [2024-04-17T02:28:26.833Z] 96526aa774ef: Pull complete [2024-04-17T02:28:27.771Z] da60e534fd72: Verifying Checksum [2024-04-17T02:28:27.771Z] da60e534fd72: Download complete [2024-04-17T02:28:31.068Z] da60e534fd72: Pull complete [2024-04-17T02:28:31.068Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-04-17T02:28:31.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-04-17T02:28:31.068Z] ---> 6605166a5db4 [2024-04-17T02:28:31.068Z] 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 [2024-04-17T02:28:32.978Z] ---> Running in 46ef06d38f4f [2024-04-17T02:28:33.238Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-17T02:28:33.498Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:28:33.498Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:28:33.498Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:28:34.071Z] Removing intermediate container 46ef06d38f4f [2024-04-17T02:28:34.071Z] ---> e459c206f9dd [2024-04-17T02:28:34.071Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:28:34.071Z] ---> Running in 36b9e5611a15 [2024-04-17T02:28:34.638Z] Removing intermediate container 36b9e5611a15 [2024-04-17T02:28:34.638Z] ---> 905688747548 [2024-04-17T02:28:34.638Z] 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 [2024-04-17T02:28:34.638Z] ---> Running in 6092cd34895e [2024-04-17T02:28:34.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:35.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:35.156Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:35.725Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:28:35.725Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-17T02:28:35.725Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-17T02:28:35.725Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-17T02:28:35.725Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T02:28:36.663Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T02:28:36.663Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T02:28:36.663Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-17T02:28:36.663Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T02:28:36.663Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T02:28:36.663Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T02:28:36.923Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T02:28:36.923Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-17T02:28:36.923Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-17T02:28:36.923Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-17T02:28:36.923Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-17T02:28:36.923Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-17T02:28:36.923Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-17T02:28:36.923Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:28:36.923Z] OK: 336 MiB in 99 packages [2024-04-17T02:28:37.491Z] Removing intermediate container 6092cd34895e [2024-04-17T02:28:37.491Z] ---> ff530cc87e77 [2024-04-17T02:28:37.491Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-17T02:28:37.752Z] ---> Running in b00afcb27f87 [2024-04-17T02:28:38.321Z] Removing intermediate container b00afcb27f87 [2024-04-17T02:28:38.321Z] ---> 8ff95ae341cc [2024-04-17T02:28:38.321Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-17T02:28:38.321Z] ---> 64b98918f265 [2024-04-17T02:28:38.321Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-17T02:28:38.580Z] ---> 340040260dc6 [2024-04-17T02:28:38.580Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-17T02:28:38.840Z] ---> b992a4ffa4b0 [2024-04-17T02:28:38.840Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-17T02:28:38.840Z] ---> edb41ab2e78b [2024-04-17T02:28:38.840Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-17T02:28:39.100Z] ---> 73e629212598 [2024-04-17T02:28:39.100Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-17T02:28:39.100Z] ---> 99e55549ce09 [2024-04-17T02:28:39.100Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-17T02:28:39.100Z] ---> Running in 921982e54ff4 [2024-04-17T02:28:39.360Z] + CPPCHECK=false [2024-04-17T02:28:39.360Z] + DOCGEN=false [2024-04-17T02:28:39.360Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-17T02:28:39.360Z] + '[' 0 -gt 0 ] [2024-04-17T02:28:39.361Z] + readlink -f ./scripts/build.sh [2024-04-17T02:28:39.361Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-17T02:28:39.361Z] + dirname /tmp/sdk/scripts [2024-04-17T02:28:39.361Z] + ROOT=/tmp/sdk [2024-04-17T02:28:39.361Z] + cd /tmp/sdk [2024-04-17T02:28:39.361Z] + mkdir -p /tmp/sdk/build/release [2024-04-17T02:28:39.361Z] + cd /tmp/sdk/build/release [2024-04-17T02:28:39.361Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-17T02:28:39.620Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T02:28:39.620Z] -- Detecting C compiler ABI info [2024-04-17T02:28:39.620Z] -- Detecting C compiler ABI info - done [2024-04-17T02:28:39.620Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T02:28:39.620Z] -- Detecting C compile features [2024-04-17T02:28:39.620Z] -- Detecting C compile features - done [2024-04-17T02:28:39.620Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T02:28:39.620Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T02:28:39.620Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T02:28:39.620Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T02:28:39.620Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T02:28:39.620Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T02:28:39.620Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T02:28:39.620Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T02:28:39.620Z] -- /opt/iotech/iot/1.5/include [2024-04-17T02:28:39.620Z] -- C SDK 3.0.3-dev.13 for Linux [2024-04-17T02:28:39.620Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T02:28:39.879Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T02:28:39.879Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T02:28:39.879Z] -- Configuring done (0.4s) [2024-04-17T02:28:39.879Z] -- Generating done (0.0s) [2024-04-17T02:28:39.879Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-17T02:28:39.879Z] + make all package [2024-04-17T02:28:39.879Z] + tee release.log [2024-04-17T02:28:39.879Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T02:28:40.140Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T02:28:40.140Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T02:28:40.211Z] Still waiting to schedule task [2024-04-17T02:28:40.212Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2579’ is offline [2024-04-17T02:28:40.401Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T02:28:40.401Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T02:28:40.662Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T02:28:40.921Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T02:28:40.921Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-17T02:28:40.921Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:28:40.921Z] 294 | while (privateConfig) [2024-04-17T02:28:40.921Z] | ^~~~~~~~~~~~~ [2024-04-17T02:28:40.921Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-17T02:28:40.921Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T02:28:40.921Z] | ^~~~~~~~~~~~~ [2024-04-17T02:28:40.921Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:28:40.921Z] 271 | while (result) [2024-04-17T02:28:40.921Z] | ^~~~~~ [2024-04-17T02:28:40.921Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-17T02:28:40.921Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T02:28:40.921Z] | ^~~~~~ [2024-04-17T02:28:40.921Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T02:28:41.181Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T02:28:41.181Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T02:28:41.439Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T02:28:41.703Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T02:28:41.703Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T02:28:41.964Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T02:28:41.964Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T02:28:42.224Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T02:28:42.224Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T02:28:42.485Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T02:28:42.485Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T02:28:42.745Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T02:28:42.745Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T02:28:44.123Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T02:28:44.123Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T02:28:44.123Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T02:28:44.123Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T02:28:44.123Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T02:28:44.383Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T02:28:44.642Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T02:28:44.902Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T02:28:44.902Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T02:28:45.162Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T02:28:45.162Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T02:28:45.162Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:28:45.162Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T02:28:45.162Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:28:45.162Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:28:45.162Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T02:28:45.162Z] | ^ [2024-04-17T02:28:45.423Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:28:45.423Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-17T02:28:45.423Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:28:45.423Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-17T02:28:45.423Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-17T02:28:45.423Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:28:45.423Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T02:28:45.683Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T02:28:45.683Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T02:28:45.683Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T02:28:45.683Z] [ 68%] Built target csdk [2024-04-17T02:28:45.683Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T02:28:45.942Z] [ 72%] Linking C executable template [2024-04-17T02:28:45.942Z] [ 72%] Built target template [2024-04-17T02:28:45.942Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T02:28:46.201Z] [ 76%] Linking C executable device-counter [2024-04-17T02:28:46.201Z] [ 76%] Built target device-counter [2024-04-17T02:28:46.201Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T02:28:46.201Z] [ 80%] Linking C executable device-random [2024-04-17T02:28:46.461Z] [ 80%] Built target device-random [2024-04-17T02:28:46.461Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T02:28:46.461Z] [ 84%] Linking C executable device-gyro [2024-04-17T02:28:46.461Z] [ 84%] Built target device-gyro [2024-04-17T02:28:46.461Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T02:28:46.721Z] [ 88%] Linking C executable device-bitfields [2024-04-17T02:28:46.721Z] [ 88%] Built target device-bitfields [2024-04-17T02:28:46.721Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T02:28:46.987Z] [ 92%] Linking C executable template-discovery [2024-04-17T02:28:46.987Z] [ 92%] Built target template-discovery [2024-04-17T02:28:46.987Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T02:28:46.987Z] [ 96%] Linking C executable device-file [2024-04-17T02:28:47.246Z] [ 96%] Built target device-file [2024-04-17T02:28:47.246Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T02:28:47.246Z] [100%] Linking C executable device-terminal [2024-04-17T02:28:47.246Z] [100%] Built target device-terminal [2024-04-17T02:28:47.246Z] Run CPack packaging tool... [2024-04-17T02:28:47.246Z] CPack: Create package using TGZ [2024-04-17T02:28:47.246Z] CPack: Install projects [2024-04-17T02:28:47.246Z] CPack: - Run preinstall target for: Csdk [2024-04-17T02:28:47.506Z] CPack: - Install project: Csdk [] [2024-04-17T02:28:47.506Z] CPack: Create package [2024-04-17T02:28:47.765Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.13.tar.gz generated. [2024-04-17T02:28:47.765Z] + '[' false '=' true ] [2024-04-17T02:28:47.765Z] + '[' false '=' true ] [2024-04-17T02:28:47.765Z] + mkdir -p /tmp/sdk/build/debug [2024-04-17T02:28:47.765Z] + cd /tmp/sdk/build/debug [2024-04-17T02:28:47.765Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-17T02:28:47.765Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T02:28:47.765Z] -- Detecting C compiler ABI info [2024-04-17T02:28:47.765Z] -- Detecting C compiler ABI info - done [2024-04-17T02:28:47.765Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T02:28:47.765Z] -- Detecting C compile features [2024-04-17T02:28:47.765Z] -- Detecting C compile features - done [2024-04-17T02:28:47.765Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T02:28:48.024Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T02:28:48.024Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T02:28:48.024Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T02:28:48.024Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T02:28:48.024Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T02:28:48.024Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T02:28:48.024Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T02:28:48.024Z] -- /opt/iotech/iot/1.5/include [2024-04-17T02:28:48.024Z] -- C SDK 3.0.3-dev.13 for Linux [2024-04-17T02:28:48.024Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T02:28:48.024Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T02:28:48.024Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T02:28:48.024Z] -- Configuring done (0.4s) [2024-04-17T02:28:48.024Z] -- Generating done (0.0s) [2024-04-17T02:28:48.024Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-17T02:28:48.024Z] + make [2024-04-17T02:28:48.024Z] + tee debug.log [2024-04-17T02:28:48.283Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T02:28:48.283Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T02:28:48.283Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T02:28:48.283Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T02:28:48.544Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T02:28:48.544Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T02:28:48.544Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T02:28:48.805Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T02:28:48.805Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T02:28:48.805Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T02:28:49.066Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T02:28:49.066Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T02:28:49.066Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T02:28:49.326Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T02:28:49.326Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T02:28:49.326Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T02:28:49.326Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T02:28:49.586Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T02:28:49.586Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T02:28:49.586Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T02:28:49.586Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T02:28:49.845Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T02:28:50.105Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T02:28:50.105Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T02:28:50.105Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T02:28:50.105Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T02:28:50.364Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T02:28:50.364Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T02:28:50.623Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T02:28:50.623Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T02:28:50.623Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T02:28:50.623Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T02:28:50.623Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:28:50.623Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T02:28:50.623Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:28:50.623Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:28:50.623Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T02:28:50.623Z] | ^ [2024-04-17T02:28:50.883Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T02:28:50.883Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T02:28:50.883Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T02:28:50.883Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T02:28:51.142Z] [ 68%] Built target csdk [2024-04-17T02:28:51.142Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T02:28:51.142Z] [ 72%] Linking C executable template [2024-04-17T02:28:51.142Z] [ 72%] Built target template [2024-04-17T02:28:51.142Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T02:28:51.142Z] [ 76%] Linking C executable device-counter [2024-04-17T02:28:51.403Z] [ 76%] Built target device-counter [2024-04-17T02:28:51.403Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T02:28:51.403Z] [ 80%] Linking C executable device-random [2024-04-17T02:28:51.403Z] [ 80%] Built target device-random [2024-04-17T02:28:51.403Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T02:28:51.663Z] [ 84%] Linking C executable device-gyro [2024-04-17T02:28:51.663Z] [ 84%] Built target device-gyro [2024-04-17T02:28:51.663Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T02:28:51.663Z] [ 88%] Linking C executable device-bitfields [2024-04-17T02:28:51.663Z] [ 88%] Built target device-bitfields [2024-04-17T02:28:51.663Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T02:28:51.923Z] [ 92%] Linking C executable template-discovery [2024-04-17T02:28:51.923Z] [ 92%] Built target template-discovery [2024-04-17T02:28:51.923Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T02:28:51.923Z] [ 96%] Linking C executable device-file [2024-04-17T02:28:52.184Z] [ 96%] Built target device-file [2024-04-17T02:28:52.184Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T02:28:52.184Z] [100%] Linking C executable device-terminal [2024-04-17T02:28:52.184Z] [100%] Built target device-terminal [2024-04-17T02:28:52.184Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-17T02:28:52.184Z] [ 68%] Built target csdk [2024-04-17T02:28:52.184Z] [ 72%] Built target template [2024-04-17T02:28:52.443Z] [ 76%] Built target device-counter [2024-04-17T02:28:52.443Z] [ 80%] Built target device-random [2024-04-17T02:28:52.443Z] [ 84%] Built target device-gyro [2024-04-17T02:28:52.443Z] [ 88%] Built target device-bitfields [2024-04-17T02:28:52.443Z] [ 92%] Built target template-discovery [2024-04-17T02:28:52.443Z] [ 96%] Built target device-file [2024-04-17T02:28:52.443Z] [100%] Built target device-terminal [2024-04-17T02:28:52.443Z] Install the project... [2024-04-17T02:28:52.443Z] -- Install configuration: "Release" [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-17T02:28:52.443Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/devsdk [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-17T02:28:52.443Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-17T02:28:52.443Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-17T02:28:53.381Z] Removing intermediate container 921982e54ff4 [2024-04-17T02:28:53.381Z] ---> 0896967bf4c0 [2024-04-17T02:28:53.381Z] Step 14/21 : FROM ${BASE} [2024-04-17T02:28:53.381Z] ---> 6605166a5db4 [2024-04-17T02:28:53.381Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-17T02:28:53.381Z] ---> Running in 70f36932ae48 [2024-04-17T02:28:53.381Z] Removing intermediate container 70f36932ae48 [2024-04-17T02:28:53.381Z] ---> 8f57d7f51013 [2024-04-17T02:28:53.381Z] 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 [2024-04-17T02:28:53.381Z] ---> Running in f4d294b40965 [2024-04-17T02:28:53.640Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-17T02:28:53.901Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:28:53.901Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:28:53.901Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:28:54.160Z] Removing intermediate container f4d294b40965 [2024-04-17T02:28:54.160Z] ---> 17bbbc5aa6b3 [2024-04-17T02:28:54.160Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:28:54.160Z] ---> Running in 7c2b82923872 [2024-04-17T02:28:54.726Z] Removing intermediate container 7c2b82923872 [2024-04-17T02:28:54.726Z] ---> 724226d37d29 [2024-04-17T02:28:54.726Z] 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 [2024-04-17T02:28:54.726Z] ---> Running in f32f1d339fcf [2024-04-17T02:28:54.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:55.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:55.502Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:28:56.069Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:28:56.069Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T02:28:56.069Z] (2/9) Installing curl (8.5.0-r0) [2024-04-17T02:28:56.069Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T02:28:56.069Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-17T02:28:56.069Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-17T02:28:56.069Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-17T02:28:56.069Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T02:28:56.638Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T02:28:56.899Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-17T02:28:56.899Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:28:56.899Z] OK: 331 MiB in 89 packages [2024-04-17T02:28:57.467Z] Removing intermediate container f32f1d339fcf [2024-04-17T02:28:57.467Z] ---> 82f9571155ed [2024-04-17T02:28:57.467Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-17T02:28:57.467Z] ---> 2b006c234a70 [2024-04-17T02:28:57.467Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-17T02:28:57.725Z] ---> 3e57e6d4dbb1 [2024-04-17T02:28:57.725Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-17T02:28:57.725Z] ---> 3bb0f1e567f8 [2024-04-17T02:28:57.725Z] Successfully built 3bb0f1e567f8 [2024-04-17T02:28:57.725Z] 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 [2024-04-17T02:28:58.137Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-17T02:28:58.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:28:58.209Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:28:58.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-17T02:28:58.550Z] $ docker top 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T02:28:58.899Z] + make test [2024-04-17T02:28:58.899Z] echo "make test" [2024-04-17T02:28:58.899Z] make test [Pipeline] } [2024-04-17T02:28:58.908Z] $ docker stop --time=1 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 [2024-04-17T02:29:00.172Z] $ docker rm -f --volumes 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-17T02:29:00.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-17T02:29:01.090Z] + ls -al . [2024-04-17T02:29:01.090Z] total 212 [2024-04-17T02:29:01.090Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 02:28 . [2024-04-17T02:29:01.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 .. [2024-04-17T02:29:01.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:28 .git [2024-04-17T02:29:01.090Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 02:28 .github [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 02:28 .gitignore [2024-04-17T02:29:01.090Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 02:28 .semver [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 02:28 Attribution.txt [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 02:28 CHANGELOG.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 02:28 Doxyfile [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 02:28 GOVERNANCE.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 02:28 Jenkinsfile [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 02:28 LICENSE [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 02:28 Makefile [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 02:28 OWNERS.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 02:28 README.IOT.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 02:28 README.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 02:28 README.v3.md [2024-04-17T02:29:01.090Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 02:28 VERSION [2024-04-17T02:29:01.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:28 docs [2024-04-17T02:29:01.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 include [2024-04-17T02:29:01.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:28 scripts [2024-04-17T02:29:01.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:29:01.408Z] + 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=6abec0de53f1544e48264173dbee0aea1a2aa14a --label arch=amd64 --label version=3.0.3-dev.13 . [2024-04-17T02:29:01.408Z] Sending build context to Docker daemon 5.012MB [2024-04-17T02:29:01.408Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-17T02:29:01.408Z] Step 2/17 : FROM ${BASE} [2024-04-17T02:29:01.408Z] ---> 3bb0f1e567f8 [2024-04-17T02:29:01.408Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-17T02:29:01.408Z] ---> Running in b9bc4c7b0ee7 [2024-04-17T02:29:01.669Z] Removing intermediate container b9bc4c7b0ee7 [2024-04-17T02:29:01.669Z] ---> 6b97bd039869 [2024-04-17T02:29:01.669Z] 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 [2024-04-17T02:29:01.669Z] ---> Running in 9a0d69406a64 [2024-04-17T02:29:01.930Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-17T02:29:02.188Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:29:02.188Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:29:02.188Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:29:02.447Z] Removing intermediate container 9a0d69406a64 [2024-04-17T02:29:02.447Z] ---> 33f8ae6fbde3 [2024-04-17T02:29:02.447Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:29:02.447Z] ---> Running in a5561e84f943 [2024-04-17T02:29:03.015Z] Removing intermediate container a5561e84f943 [2024-04-17T02:29:03.015Z] ---> 795d5cadba44 [2024-04-17T02:29:03.015Z] 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 [2024-04-17T02:29:03.015Z] ---> Running in 4115db337ea3 [2024-04-17T02:29:03.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:29:03.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-17T02:29:03.537Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-17T02:29:04.104Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:29:04.105Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T02:29:04.364Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-17T02:29:04.364Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T02:29:04.364Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T02:29:04.364Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T02:29:04.364Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T02:29:04.364Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-17T02:29:04.364Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-17T02:29:04.364Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-17T02:29:04.364Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-17T02:29:04.364Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-17T02:29:04.364Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:29:04.364Z] OK: 336 MiB in 100 packages [2024-04-17T02:29:04.931Z] Removing intermediate container 4115db337ea3 [2024-04-17T02:29:04.931Z] ---> 5b1000684212 [2024-04-17T02:29:04.931Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-17T02:29:05.191Z] ---> c03af545672d [2024-04-17T02:29:05.191Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-17T02:29:05.191Z] ---> fec914086636 [2024-04-17T02:29:05.191Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-17T02:29:05.450Z] ---> b24c52e1a3cb [2024-04-17T02:29:05.450Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-17T02:29:05.450Z] ---> bcd590061366 [2024-04-17T02:29:05.450Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-17T02:29:05.710Z] ---> 2792ac17960b [2024-04-17T02:29:05.710Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-17T02:29:05.710Z] ---> 9f42f6a29f6a [2024-04-17T02:29:05.710Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-17T02:29:05.710Z] ---> Running in 5c380f299362 [2024-04-17T02:29:05.971Z] Removing intermediate container 5c380f299362 [2024-04-17T02:29:05.971Z] ---> 17243e227d56 [2024-04-17T02:29:05.971Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-17T02:29:05.971Z] ---> Running in 5a167889edf3 [2024-04-17T02:29:05.971Z] Removing intermediate container 5a167889edf3 [2024-04-17T02:29:05.971Z] ---> 7605ba0286a0 [2024-04-17T02:29:05.971Z] Step 15/17 : LABEL arch=amd64 [2024-04-17T02:29:05.971Z] ---> Running in a3cf200d6bd8 [2024-04-17T02:29:05.971Z] Removing intermediate container a3cf200d6bd8 [2024-04-17T02:29:05.971Z] ---> 0864378559da [2024-04-17T02:29:05.971Z] Step 16/17 : LABEL git_sha=6abec0de53f1544e48264173dbee0aea1a2aa14a [2024-04-17T02:29:05.971Z] ---> Running in e85e048438a8 [2024-04-17T02:29:06.231Z] Removing intermediate container e85e048438a8 [2024-04-17T02:29:06.231Z] ---> 5981b1721748 [2024-04-17T02:29:06.231Z] Step 17/17 : LABEL version=3.0.3-dev.13 [2024-04-17T02:29:06.231Z] ---> Running in a1891c00d2d9 [2024-04-17T02:29:06.231Z] Removing intermediate container a1891c00d2d9 [2024-04-17T02:29:06.231Z] ---> a178b19416bb [2024-04-17T02:29:06.231Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-04-17T02:29:06.231Z] Successfully built a178b19416bb [2024-04-17T02:29:06.231Z] 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 [2024-04-17T02:29:06.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T02:29:06.734Z] [2024-04-17T02:29:06.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:29:07.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T02:29:07.043Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-17T02:29:07.043Z] 5eb5b503b376: Pulling fs layer [2024-04-17T02:29:07.043Z] 5c69ac0246d0: Pulling fs layer [2024-04-17T02:29:07.043Z] ec43610c2a17: Pulling fs layer [2024-04-17T02:29:07.043Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-17T02:29:07.043Z] 33b1e0a273af: Pulling fs layer [2024-04-17T02:29:07.043Z] 5d3b04190fa2: Pulling fs layer [2024-04-17T02:29:07.043Z] 2f39f015ded8: Pulling fs layer [2024-04-17T02:29:07.043Z] 3a2ae6a8a46f: Waiting [2024-04-17T02:29:07.043Z] 33b1e0a273af: Waiting [2024-04-17T02:29:07.043Z] 5d3b04190fa2: Waiting [2024-04-17T02:29:07.043Z] 2f39f015ded8: Waiting [2024-04-17T02:29:07.043Z] 5c69ac0246d0: Verifying Checksum [2024-04-17T02:29:07.043Z] 5c69ac0246d0: Download complete [2024-04-17T02:29:07.043Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-17T02:29:07.043Z] 3a2ae6a8a46f: Download complete [2024-04-17T02:29:07.043Z] 33b1e0a273af: Verifying Checksum [2024-04-17T02:29:07.043Z] 33b1e0a273af: Download complete [2024-04-17T02:29:07.043Z] 5d3b04190fa2: Verifying Checksum [2024-04-17T02:29:07.043Z] 5d3b04190fa2: Download complete [2024-04-17T02:29:07.043Z] ec43610c2a17: Verifying Checksum [2024-04-17T02:29:07.043Z] ec43610c2a17: Download complete [2024-04-17T02:29:07.302Z] 5eb5b503b376: Verifying Checksum [2024-04-17T02:29:07.302Z] 5eb5b503b376: Download complete [2024-04-17T02:29:07.871Z] 2f39f015ded8: Verifying Checksum [2024-04-17T02:29:07.871Z] 2f39f015ded8: Download complete [2024-04-17T02:29:08.440Z] 5eb5b503b376: Pull complete [2024-04-17T02:29:08.698Z] 5c69ac0246d0: Pull complete [2024-04-17T02:29:09.267Z] ec43610c2a17: Pull complete [2024-04-17T02:29:09.267Z] 3a2ae6a8a46f: Pull complete [2024-04-17T02:29:09.526Z] 33b1e0a273af: Pull complete [2024-04-17T02:29:09.526Z] 5d3b04190fa2: Pull complete [2024-04-17T02:29:13.712Z] 2f39f015ded8: Pull complete [2024-04-17T02:29:13.712Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-17T02:29:13.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T02:29:13.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:29:13.807Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:29:13.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-17T02:29:18.079Z] $ docker top 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:29:18.486Z] ---> job-cost.sh [2024-04-17T02:29:18.486Z] lf-activate-venv: SKIPPING [2024-04-17T02:29:18.486Z] INFO: No Stack... [2024-04-17T02:29:18.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-17T02:29:19.006Z] INFO: Archiving Costs [Pipeline] sh [2024-04-17T02:29:19.295Z] + cut -d, -f6 [2024-04-17T02:29:19.295Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock [2024-04-17T02:29:19.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [2024-04-17T02:29:19.316Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] did not exist. Created. [2024-04-17T02:29:19.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-17T02:29:19.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-17T02:29:19.695Z] Stashed 1 file(s) [Pipeline] } [2024-04-17T02:29:19.703Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-17T02:29:19.728Z] $ docker stop --time=1 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 [2024-04-17T02:29:20.890Z] $ docker rm -f --volumes 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-17T02:30:15.647Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2582 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-04-17T02:30:15.665Z] Running in /w/workspace/device-sdk-c/73 [Pipeline] { [Pipeline] checkout [2024-04-17T02:30:18.710Z] Selected Git installation does not exist. Using Default [2024-04-17T02:30:18.710Z] The recommended git tool is: NONE [2024-04-17T02:30:23.904Z] using credential edgex-jenkins-ssh [2024-04-17T02:30:23.926Z] Cloning the remote Git repository [2024-04-17T02:30:23.969Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-04-17T02:30:24.056Z] > git init /w/workspace/device-sdk-c/73 # timeout=10 [2024-04-17T02:30:24.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-17T02:30:24.191Z] > git --version # timeout=10 [2024-04-17T02:30:24.210Z] > git --version # 'git version 2.25.1' [2024-04-17T02:30:24.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-17T02:30:24.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-17T02:30:25.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-17T02:30:25.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-17T02:30:26.348Z] Avoid second fetch [2024-04-17T02:30:26.349Z] Checking out Revision 6abec0de53f1544e48264173dbee0aea1a2aa14a (main) [2024-04-17T02:30:26.990Z] Commit message: "feat: Add optional Parent field to Device objects. (#512)" [2024-04-17T02:30:26.365Z] > git config core.sparsecheckout # timeout=10 [2024-04-17T02:30:26.427Z] > git checkout -f 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-17T02:30:31.708Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-17T02:30:31.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-17T02:30:31.709Z] Dload Upload Total Spent Left Speed [2024-04-17T02:30:31.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-04-17T02:30:32.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-17T02:30:32.355Z] + sudo tee /etc/docker/daemon.new [2024-04-17T02:30:32.356Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-17T02:30:32.356Z] { [2024-04-17T02:30:32.356Z] "registry-mirrors": [ [2024-04-17T02:30:32.356Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-17T02:30:32.356Z] ], [2024-04-17T02:30:32.356Z] "bip": "10.250.0.254/24", [2024-04-17T02:30:32.356Z] "hosts": [ [2024-04-17T02:30:32.356Z] "tcp://0.0.0.0:5555", [2024-04-17T02:30:32.356Z] "unix:///var/run/docker.sock" [2024-04-17T02:30:32.356Z] ], [2024-04-17T02:30:32.356Z] "mtu": 1458, [2024-04-17T02:30:32.356Z] "selinux-enabled": true, [2024-04-17T02:30:32.356Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-17T02:30:32.356Z] } [Pipeline] sh [2024-04-17T02:30:32.678Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-17T02:30:33.015Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T02:30:51.267Z] provisioning config files... [2024-04-17T02:30:51.291Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/73@tmp/config15348981603748862781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:30:51.717Z] ---> ****-login.sh [2024-04-17T02:30:51.717Z] nexus3.edgexfoundry.org:10001 [2024-04-17T02:30:52.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:30:52.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:30:52.277Z] Configure a credential helper to remove this warning. See [2024-04-17T02:30:52.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:30:52.277Z] [2024-04-17T02:30:52.277Z] Login Succeeded [2024-04-17T02:30:52.277Z] nexus3.edgexfoundry.org:10002 [2024-04-17T02:30:52.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:30:52.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:30:52.821Z] Configure a credential helper to remove this warning. See [2024-04-17T02:30:52.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:30:52.821Z] [2024-04-17T02:30:52.821Z] Login Succeeded [2024-04-17T02:30:52.821Z] nexus3.edgexfoundry.org:10003 [2024-04-17T02:30:52.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:30:53.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:30:53.096Z] Configure a credential helper to remove this warning. See [2024-04-17T02:30:53.096Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:30:53.096Z] [2024-04-17T02:30:53.096Z] Login Succeeded [2024-04-17T02:30:53.096Z] nexus3.edgexfoundry.org:10004 [2024-04-17T02:30:53.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:30:53.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:30:53.370Z] Configure a credential helper to remove this warning. See [2024-04-17T02:30:53.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:30:53.370Z] [2024-04-17T02:30:53.370Z] Login Succeeded [2024-04-17T02:30:53.370Z] ****.io [2024-04-17T02:30:53.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-17T02:30:53.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-17T02:30:53.910Z] Configure a credential helper to remove this warning. See [2024-04-17T02:30:53.910Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-17T02:30:53.910Z] [2024-04-17T02:30:53.910Z] Login Succeeded [2024-04-17T02:30:53.910Z] ---> ****-login.sh ends [Pipeline] } [2024-04-17T02:30:53.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-17T02:30:54.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T02:30:54.221Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-04-17T02:30:54.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-17T02:30:54.252Z] ========================================================= [2024-04-17T02:30:54.252Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-04-17T02:30:54.252Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:30:54.595Z] + 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 . [2024-04-17T02:30:54.864Z] Sending build context to Docker daemon 3MB [2024-04-17T02:30:55.132Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-17T02:30:55.132Z] Step 2/21 : FROM ${BASE} as builder [2024-04-17T02:30:55.132Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-04-17T02:30:55.132Z] 579b34f0a95b: Pulling fs layer [2024-04-17T02:30:55.132Z] e71477ac5e1b: Pulling fs layer [2024-04-17T02:30:55.400Z] 579b34f0a95b: Verifying Checksum [2024-04-17T02:30:55.400Z] 579b34f0a95b: Download complete [2024-04-17T02:30:55.987Z] 579b34f0a95b: Pull complete [2024-04-17T02:30:57.946Z] e71477ac5e1b: Verifying Checksum [2024-04-17T02:30:57.947Z] e71477ac5e1b: Download complete [2024-04-17T02:31:10.297Z] e71477ac5e1b: Pull complete [2024-04-17T02:31:10.297Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-04-17T02:31:10.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-04-17T02:31:10.297Z] ---> 2b552cad5dd9 [2024-04-17T02:31:10.297Z] 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 [2024-04-17T02:31:10.297Z] ---> Running in e15006f6f1c3 [2024-04-17T02:31:10.568Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-17T02:31:11.162Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:31:11.162Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:31:11.162Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:31:11.749Z] Removing intermediate container e15006f6f1c3 [2024-04-17T02:31:11.749Z] ---> 18a98c180059 [2024-04-17T02:31:11.749Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:31:12.015Z] ---> Running in c01860f900fd [2024-04-17T02:31:13.974Z] Removing intermediate container c01860f900fd [2024-04-17T02:31:13.974Z] ---> 6df8f608cf5a [2024-04-17T02:31:13.974Z] 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 [2024-04-17T02:31:13.974Z] ---> Running in 8b178f775205 [2024-04-17T02:31:14.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:31:17.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T02:31:18.173Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:31:19.133Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:31:19.133Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-17T02:31:19.133Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-17T02:31:19.133Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-17T02:31:19.133Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T02:31:20.095Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T02:31:20.095Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T02:31:20.363Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-17T02:31:20.363Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T02:31:20.363Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T02:31:20.363Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T02:31:20.363Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T02:31:20.363Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-17T02:31:20.363Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-17T02:31:20.363Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-17T02:31:20.363Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-17T02:31:20.363Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-17T02:31:20.363Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-17T02:31:20.363Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:31:20.632Z] OK: 333 MiB in 99 packages [2024-04-17T02:31:22.048Z] Removing intermediate container 8b178f775205 [2024-04-17T02:31:22.048Z] ---> b901ee0c2fb4 [2024-04-17T02:31:22.048Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-17T02:31:22.048Z] ---> Running in 64a182839661 [2024-04-17T02:31:23.466Z] Removing intermediate container 64a182839661 [2024-04-17T02:31:23.467Z] ---> e8a3c8c70c86 [2024-04-17T02:31:23.467Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-17T02:31:24.055Z] ---> ead6b845edfe [2024-04-17T02:31:24.055Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-17T02:31:24.641Z] ---> 1ced5592242f [2024-04-17T02:31:24.641Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-17T02:31:25.230Z] ---> 04ec907b80dd [2024-04-17T02:31:25.230Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-17T02:31:25.820Z] ---> 6cb8a3e31c7b [2024-04-17T02:31:25.820Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-17T02:31:26.091Z] ---> ca5268e17ba9 [2024-04-17T02:31:26.091Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-17T02:31:26.680Z] ---> 43c3d188cb10 [2024-04-17T02:31:26.680Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-17T02:31:26.680Z] ---> Running in fb057add7720 [2024-04-17T02:31:27.647Z] + CPPCHECK=false [2024-04-17T02:31:27.647Z] + DOCGEN=false [2024-04-17T02:31:27.647Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-17T02:31:27.647Z] + '[' 0 -gt 0 ] [2024-04-17T02:31:27.647Z] + readlink -f ./scripts/build.sh [2024-04-17T02:31:27.647Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-17T02:31:27.647Z] + dirname /tmp/sdk/scripts [2024-04-17T02:31:27.647Z] + ROOT=/tmp/sdk [2024-04-17T02:31:27.647Z] + cd /tmp/sdk [2024-04-17T02:31:27.647Z] + mkdir -p /tmp/sdk/build/release [2024-04-17T02:31:27.647Z] + cd /tmp/sdk/build/release [2024-04-17T02:31:27.647Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-17T02:31:27.915Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T02:31:27.915Z] -- Detecting C compiler ABI info [2024-04-17T02:31:28.184Z] -- Detecting C compiler ABI info - done [2024-04-17T02:31:28.453Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T02:31:28.453Z] -- Detecting C compile features [2024-04-17T02:31:28.453Z] -- Detecting C compile features - done [2024-04-17T02:31:28.453Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T02:31:28.453Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T02:31:28.453Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T02:31:28.453Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T02:31:28.721Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T02:31:28.721Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T02:31:28.721Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T02:31:28.721Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T02:31:28.721Z] -- /opt/iotech/iot/1.5/include [2024-04-17T02:31:28.721Z] -- C SDK 3.0.3-dev.13 for Linux [2024-04-17T02:31:28.721Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T02:31:28.991Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T02:31:29.260Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T02:31:29.260Z] -- Configuring done (1.7s) [2024-04-17T02:31:29.528Z] -- Generating done (0.2s) [2024-04-17T02:31:29.528Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-17T02:31:29.528Z] + make all package [2024-04-17T02:31:29.528Z] + tee release.log [2024-04-17T02:31:29.797Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T02:31:30.392Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T02:31:31.354Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T02:31:31.939Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T02:31:32.908Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T02:31:33.175Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T02:31:35.756Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T02:31:36.024Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-17T02:31:36.024Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:31:36.024Z] 294 | while (privateConfig) [2024-04-17T02:31:36.024Z] | ^~~~~~~~~~~~~ [2024-04-17T02:31:36.024Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-17T02:31:36.024Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T02:31:36.024Z] | ^~~~~~~~~~~~~ [2024-04-17T02:31:36.024Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:31:36.024Z] 271 | while (result) [2024-04-17T02:31:36.024Z] | ^~~~~~ [2024-04-17T02:31:36.024Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-17T02:31:36.024Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-17T02:31:36.024Z] | ^~~~~~ [2024-04-17T02:31:36.294Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T02:31:36.561Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T02:31:37.522Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T02:31:39.471Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T02:31:40.055Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T02:31:40.636Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T02:31:41.603Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T02:31:41.870Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T02:31:42.828Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T02:31:43.102Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T02:31:45.688Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T02:31:45.688Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T02:31:46.269Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T02:31:47.225Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T02:31:53.862Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T02:31:54.444Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T02:31:54.711Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T02:31:55.291Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T02:31:55.556Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T02:31:56.957Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T02:31:58.891Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T02:31:59.471Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T02:32:00.425Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T02:32:01.005Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T02:32:01.269Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T02:32:01.269Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:32:01.269Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T02:32:01.269Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:32:01.269Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:32:01.269Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T02:32:01.269Z] | ^ [2024-04-17T02:32:02.669Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-17T02:32:02.669Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-17T02:32:02.669Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:32:02.669Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-17T02:32:02.669Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-17T02:32:02.669Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:32:03.622Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T02:32:04.575Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T02:32:04.845Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T02:32:05.424Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T02:32:05.424Z] [ 68%] Built target csdk [2024-04-17T02:32:05.424Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T02:32:06.385Z] [ 72%] Linking C executable template [2024-04-17T02:32:06.651Z] [ 72%] Built target template [2024-04-17T02:32:06.651Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T02:32:07.233Z] [ 76%] Linking C executable device-counter [2024-04-17T02:32:07.498Z] [ 76%] Built target device-counter [2024-04-17T02:32:07.498Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T02:32:08.079Z] [ 80%] Linking C executable device-random [2024-04-17T02:32:08.344Z] [ 80%] Built target device-random [2024-04-17T02:32:08.344Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T02:32:08.924Z] [ 84%] Linking C executable device-gyro [2024-04-17T02:32:09.189Z] [ 84%] Built target device-gyro [2024-04-17T02:32:09.189Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T02:32:09.769Z] [ 88%] Linking C executable device-bitfields [2024-04-17T02:32:10.035Z] [ 88%] Built target device-bitfields [2024-04-17T02:32:10.035Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T02:32:10.992Z] [ 92%] Linking C executable template-discovery [2024-04-17T02:32:11.258Z] [ 92%] Built target template-discovery [2024-04-17T02:32:11.258Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T02:32:12.245Z] [ 96%] Linking C executable device-file [2024-04-17T02:32:12.245Z] [ 96%] Built target device-file [2024-04-17T02:32:12.513Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T02:32:13.112Z] [100%] Linking C executable device-terminal [2024-04-17T02:32:13.379Z] [100%] Built target device-terminal [2024-04-17T02:32:13.379Z] Run CPack packaging tool... [2024-04-17T02:32:13.379Z] CPack: Create package using TGZ [2024-04-17T02:32:13.379Z] CPack: Install projects [2024-04-17T02:32:13.379Z] CPack: - Run preinstall target for: Csdk [2024-04-17T02:32:14.339Z] CPack: - Install project: Csdk [] [2024-04-17T02:32:14.339Z] CPack: Create package [2024-04-17T02:32:14.339Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.13.tar.gz generated. [2024-04-17T02:32:14.339Z] + '[' false '=' true ] [2024-04-17T02:32:14.339Z] + '[' false '=' true ] [2024-04-17T02:32:14.339Z] + mkdir -p /tmp/sdk/build/debug [2024-04-17T02:32:14.339Z] + cd /tmp/sdk/build/debug [2024-04-17T02:32:14.339Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-17T02:32:14.624Z] -- The C compiler identification is GNU 12.2.1 [2024-04-17T02:32:14.624Z] -- Detecting C compiler ABI info [2024-04-17T02:32:15.211Z] -- Detecting C compiler ABI info - done [2024-04-17T02:32:15.211Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-17T02:32:15.211Z] -- Detecting C compile features [2024-04-17T02:32:15.211Z] -- Detecting C compile features - done [2024-04-17T02:32:15.211Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-17T02:32:15.211Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-17T02:32:15.479Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-17T02:32:15.479Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-17T02:32:15.479Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-17T02:32:15.479Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-17T02:32:15.479Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-17T02:32:15.479Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-17T02:32:15.479Z] -- /opt/iotech/iot/1.5/include [2024-04-17T02:32:15.479Z] -- C SDK 3.0.3-dev.13 for Linux [2024-04-17T02:32:15.479Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-17T02:32:15.747Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-17T02:32:16.016Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-17T02:32:16.016Z] -- Configuring done (1.7s) [2024-04-17T02:32:16.283Z] -- Generating done (0.2s) [2024-04-17T02:32:16.283Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-17T02:32:16.283Z] + make [2024-04-17T02:32:16.283Z] + tee debug.log [2024-04-17T02:32:16.549Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-17T02:32:16.816Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-17T02:32:17.400Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-17T02:32:17.667Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-17T02:32:17.933Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-17T02:32:18.202Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-17T02:32:19.161Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-17T02:32:19.429Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-17T02:32:19.429Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-17T02:32:20.169Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-17T02:32:20.763Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-17T02:32:21.041Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-17T02:32:21.318Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-17T02:32:21.910Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-17T02:32:22.180Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-17T02:32:22.458Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-17T02:32:22.738Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-17T02:32:23.335Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-17T02:32:23.601Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-17T02:32:23.874Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-17T02:32:24.470Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-17T02:32:25.886Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-17T02:32:25.886Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-17T02:32:26.155Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-17T02:32:26.423Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-17T02:32:26.691Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-17T02:32:27.277Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-17T02:32:28.695Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-17T02:32:28.964Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-17T02:32:29.232Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-17T02:32:29.500Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-17T02:32:29.769Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-17T02:32:29.769Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:32:29.769Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-17T02:32:29.769Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-17T02:32:29.769Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-17T02:32:29.769Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-17T02:32:29.769Z] | ^ [2024-04-17T02:32:30.356Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-17T02:32:30.626Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-17T02:32:30.894Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-17T02:32:31.163Z] [ 68%] Linking C shared library libcsdk.so [2024-04-17T02:32:31.432Z] [ 68%] Built target csdk [2024-04-17T02:32:31.432Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-17T02:32:32.017Z] [ 72%] Linking C executable template [2024-04-17T02:32:32.283Z] [ 72%] Built target template [2024-04-17T02:32:32.283Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-17T02:32:32.551Z] [ 76%] Linking C executable device-counter [2024-04-17T02:32:32.819Z] [ 76%] Built target device-counter [2024-04-17T02:32:32.819Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-17T02:32:33.086Z] [ 80%] Linking C executable device-random [2024-04-17T02:32:33.672Z] [ 80%] Built target device-random [2024-04-17T02:32:33.672Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-17T02:32:33.939Z] [ 84%] Linking C executable device-gyro [2024-04-17T02:32:34.207Z] [ 84%] Built target device-gyro [2024-04-17T02:32:34.207Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-17T02:32:34.474Z] [ 88%] Linking C executable device-bitfields [2024-04-17T02:32:34.747Z] [ 88%] Built target device-bitfields [2024-04-17T02:32:34.747Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-17T02:32:35.332Z] [ 92%] Linking C executable template-discovery [2024-04-17T02:32:35.600Z] [ 92%] Built target template-discovery [2024-04-17T02:32:35.600Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-17T02:32:35.869Z] [ 96%] Linking C executable device-file [2024-04-17T02:32:36.138Z] [ 96%] Built target device-file [2024-04-17T02:32:36.406Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-17T02:32:36.674Z] [100%] Linking C executable device-terminal [2024-04-17T02:32:36.943Z] [100%] Built target device-terminal [2024-04-17T02:32:36.943Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-17T02:32:37.214Z] [ 68%] Built target csdk [2024-04-17T02:32:37.214Z] [ 72%] Built target template [2024-04-17T02:32:37.214Z] [ 76%] Built target device-counter [2024-04-17T02:32:37.482Z] [ 80%] Built target device-random [2024-04-17T02:32:37.482Z] [ 84%] Built target device-gyro [2024-04-17T02:32:37.482Z] [ 88%] Built target device-bitfields [2024-04-17T02:32:37.482Z] [ 92%] Built target template-discovery [2024-04-17T02:32:37.482Z] [ 96%] Built target device-file [2024-04-17T02:32:37.750Z] [100%] Built target device-terminal [2024-04-17T02:32:37.750Z] Install the project... [2024-04-17T02:32:37.750Z] -- Install configuration: "Release" [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-17T02:32:37.750Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/devsdk [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-17T02:32:37.750Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-17T02:32:37.750Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-17T02:32:39.160Z] Removing intermediate container fb057add7720 [2024-04-17T02:32:39.160Z] ---> 143bb9ef575a [2024-04-17T02:32:39.160Z] Step 14/21 : FROM ${BASE} [2024-04-17T02:32:39.160Z] ---> 2b552cad5dd9 [2024-04-17T02:32:39.160Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-17T02:32:39.160Z] ---> Running in 36525ccc1278 [2024-04-17T02:32:39.436Z] Removing intermediate container 36525ccc1278 [2024-04-17T02:32:39.436Z] ---> 01d2e1bf492d [2024-04-17T02:32:39.436Z] 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 [2024-04-17T02:32:39.709Z] ---> Running in 4628728d5437 [2024-04-17T02:32:40.665Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-17T02:32:41.244Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:32:41.244Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:32:41.244Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:32:41.825Z] Removing intermediate container 4628728d5437 [2024-04-17T02:32:41.825Z] ---> f2d00541fbd0 [2024-04-17T02:32:41.825Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:32:41.825Z] ---> Running in 7b862de521b5 [2024-04-17T02:32:43.762Z] Removing intermediate container 7b862de521b5 [2024-04-17T02:32:43.762Z] ---> 95de21a6cfd4 [2024-04-17T02:32:43.762Z] 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 [2024-04-17T02:32:43.762Z] ---> Running in afb9072fd47f [2024-04-17T02:32:44.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:32:44.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T02:32:45.498Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:32:46.451Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:32:46.451Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T02:32:46.451Z] (2/9) Installing curl (8.5.0-r0) [2024-04-17T02:32:46.451Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-17T02:32:46.451Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-17T02:32:46.451Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-17T02:32:46.451Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-17T02:32:46.451Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-17T02:32:47.406Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-17T02:32:47.406Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-17T02:32:47.406Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:32:47.406Z] OK: 327 MiB in 89 packages [2024-04-17T02:32:48.811Z] Removing intermediate container afb9072fd47f [2024-04-17T02:32:48.811Z] ---> 7d8f67d33989 [2024-04-17T02:32:48.811Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-17T02:32:49.078Z] ---> ad069c047c88 [2024-04-17T02:32:49.078Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-17T02:32:49.663Z] ---> bccf0cc7dbff [2024-04-17T02:32:49.663Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-17T02:32:50.247Z] ---> 45a9b771c6f6 [2024-04-17T02:32:50.247Z] Successfully built 45a9b771c6f6 [2024-04-17T02:32:50.247Z] 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 [2024-04-17T02:32:50.714Z] + docker inspect -f . ci-base-image-arm64 [2024-04-17T02:32:50.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:32:50.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container [2024-04-17T02:32:50.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/73 -v /w/workspace/device-sdk-c/73:/w/workspace/device-sdk-c/73:rw,z -v /w/workspace/device-sdk-c/73@tmp:/w/workspace/device-sdk-c/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-17T02:32:52.185Z] $ docker top 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T02:32:53.024Z] + make test [2024-04-17T02:32:53.024Z] echo "make test" [2024-04-17T02:32:53.024Z] make test [Pipeline] } [2024-04-17T02:32:53.040Z] $ docker stop --time=1 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 [2024-04-17T02:32:54.653Z] $ docker rm -f --volumes 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-17T02:32:55.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-17T02:32:55.556Z] + ls -al . [2024-04-17T02:32:55.556Z] total 208 [2024-04-17T02:32:55.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:30 . [2024-04-17T02:32:55.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 .. [2024-04-17T02:32:55.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:30 .git [2024-04-17T02:32:55.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 02:30 .github [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 02:30 .gitignore [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 02:30 Attribution.txt [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 02:30 CHANGELOG.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 02:30 Doxyfile [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 02:30 GOVERNANCE.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 02:30 Jenkinsfile [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 02:30 LICENSE [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 02:30 Makefile [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 02:30 OWNERS.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 02:30 README.IOT.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 02:30 README.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 02:30 README.v3.md [2024-04-17T02:32:55.556Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 02:28 VERSION [2024-04-17T02:32:55.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:30 docs [2024-04-17T02:32:55.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 include [2024-04-17T02:32:55.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:30 scripts [2024-04-17T02:32:55.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:32:55.908Z] + 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=6abec0de53f1544e48264173dbee0aea1a2aa14a --label arch=arm64 --label version=3.0.3-dev.13 . [2024-04-17T02:32:56.173Z] Sending build context to Docker daemon 3MB [2024-04-17T02:32:56.439Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-17T02:32:56.439Z] Step 2/17 : FROM ${BASE} [2024-04-17T02:32:56.439Z] ---> 45a9b771c6f6 [2024-04-17T02:32:56.439Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-17T02:32:56.439Z] ---> Running in 8c39d30464e2 [2024-04-17T02:32:56.707Z] Removing intermediate container 8c39d30464e2 [2024-04-17T02:32:56.707Z] ---> d11a71546775 [2024-04-17T02:32:56.707Z] 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 [2024-04-17T02:32:56.707Z] ---> Running in 864fbdc1c680 [2024-04-17T02:32:57.664Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-17T02:32:58.244Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-17T02:32:58.244Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-17T02:32:58.244Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-17T02:32:58.826Z] Removing intermediate container 864fbdc1c680 [2024-04-17T02:32:58.826Z] ---> 2ba4407b365a [2024-04-17T02:32:58.826Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-17T02:32:59.093Z] ---> Running in 5c3d93600b32 [2024-04-17T02:33:00.496Z] Removing intermediate container 5c3d93600b32 [2024-04-17T02:33:00.496Z] ---> cf54c4f30b25 [2024-04-17T02:33:00.496Z] 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 [2024-04-17T02:33:00.496Z] ---> Running in e2f681733c07 [2024-04-17T02:33:01.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:33:01.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-17T02:33:02.348Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-17T02:33:03.313Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-17T02:33:03.313Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-17T02:33:03.313Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-17T02:33:03.580Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-17T02:33:03.580Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-17T02:33:03.580Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-17T02:33:03.580Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-17T02:33:03.580Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-17T02:33:03.580Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-17T02:33:03.580Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-17T02:33:03.580Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-17T02:33:03.580Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-17T02:33:03.580Z] Executing busybox-1.36.1-r4.trigger [2024-04-17T02:33:03.580Z] OK: 333 MiB in 100 packages [2024-04-17T02:33:04.990Z] Removing intermediate container e2f681733c07 [2024-04-17T02:33:04.990Z] ---> 04d5c0bf035d [2024-04-17T02:33:04.990Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-17T02:33:05.254Z] ---> 0a647416d95b [2024-04-17T02:33:05.254Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-17T02:33:06.204Z] ---> 2c22fe2d53bc [2024-04-17T02:33:06.204Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-17T02:33:06.470Z] ---> 21cfe686e791 [2024-04-17T02:33:06.470Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-17T02:33:07.047Z] ---> 9817c83fec18 [2024-04-17T02:33:07.047Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-17T02:33:07.312Z] ---> 815084c27cc9 [2024-04-17T02:33:07.312Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-17T02:33:07.891Z] ---> f0ab32ff30af [2024-04-17T02:33:07.891Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-17T02:33:07.891Z] ---> Running in 18b4d1088f1c [2024-04-17T02:33:08.157Z] Removing intermediate container 18b4d1088f1c [2024-04-17T02:33:08.157Z] ---> 1bc11ff9d019 [2024-04-17T02:33:08.157Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-17T02:33:08.157Z] ---> Running in 27aeb4f80640 [2024-04-17T02:33:08.744Z] Removing intermediate container 27aeb4f80640 [2024-04-17T02:33:08.744Z] ---> efa96155b3bd [2024-04-17T02:33:08.744Z] Step 15/17 : LABEL arch=arm64 [2024-04-17T02:33:08.744Z] ---> Running in edc07889b580 [2024-04-17T02:33:09.011Z] Removing intermediate container edc07889b580 [2024-04-17T02:33:09.011Z] ---> ad1adcb95b3e [2024-04-17T02:33:09.011Z] Step 16/17 : LABEL git_sha=6abec0de53f1544e48264173dbee0aea1a2aa14a [2024-04-17T02:33:09.011Z] ---> Running in b48f8406e649 [2024-04-17T02:33:09.277Z] Removing intermediate container b48f8406e649 [2024-04-17T02:33:09.277Z] ---> 5d78e31ee8af [2024-04-17T02:33:09.277Z] Step 17/17 : LABEL version=3.0.3-dev.13 [2024-04-17T02:33:09.277Z] ---> Running in 2360ca3be2af [2024-04-17T02:33:09.541Z] Removing intermediate container 2360ca3be2af [2024-04-17T02:33:09.541Z] ---> a4e704488e1a [2024-04-17T02:33:09.541Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-04-17T02:33:09.541Z] Successfully built a4e704488e1a [2024-04-17T02:33:09.541Z] 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 [2024-04-17T02:33:10.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T02:33:10.032Z] [2024-04-17T02:33:10.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:33:10.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T02:33:10.636Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-17T02:33:10.636Z] 8998bd30e6a1: Pulling fs layer [2024-04-17T02:33:10.636Z] 04944245beec: Pulling fs layer [2024-04-17T02:33:10.636Z] 699f458cf7ca: Pulling fs layer [2024-04-17T02:33:10.636Z] 765212b225bb: Pulling fs layer [2024-04-17T02:33:10.636Z] f23df028b6ca: Pulling fs layer [2024-04-17T02:33:10.636Z] d65c8cfc05b1: Pulling fs layer [2024-04-17T02:33:10.636Z] 2437ff75d9bd: Pulling fs layer [2024-04-17T02:33:10.636Z] f23df028b6ca: Waiting [2024-04-17T02:33:10.636Z] d65c8cfc05b1: Waiting [2024-04-17T02:33:10.636Z] 2437ff75d9bd: Waiting [2024-04-17T02:33:10.636Z] 765212b225bb: Waiting [2024-04-17T02:33:10.636Z] 04944245beec: Verifying Checksum [2024-04-17T02:33:10.636Z] 04944245beec: Download complete [2024-04-17T02:33:10.636Z] 765212b225bb: Verifying Checksum [2024-04-17T02:33:10.636Z] 765212b225bb: Download complete [2024-04-17T02:33:10.904Z] f23df028b6ca: Verifying Checksum [2024-04-17T02:33:10.904Z] f23df028b6ca: Download complete [2024-04-17T02:33:10.904Z] d65c8cfc05b1: Verifying Checksum [2024-04-17T02:33:10.904Z] d65c8cfc05b1: Download complete [2024-04-17T02:33:10.904Z] 699f458cf7ca: Verifying Checksum [2024-04-17T02:33:10.904Z] 699f458cf7ca: Download complete [2024-04-17T02:33:11.488Z] 8998bd30e6a1: Verifying Checksum [2024-04-17T02:33:11.488Z] 8998bd30e6a1: Download complete [2024-04-17T02:33:14.067Z] 2437ff75d9bd: Verifying Checksum [2024-04-17T02:33:14.067Z] 2437ff75d9bd: Download complete [2024-04-17T02:33:16.012Z] 8998bd30e6a1: Pull complete [2024-04-17T02:33:16.279Z] 04944245beec: Pull complete [2024-04-17T02:33:17.761Z] 699f458cf7ca: Pull complete [2024-04-17T02:33:18.027Z] 765212b225bb: Pull complete [2024-04-17T02:33:18.992Z] f23df028b6ca: Pull complete [2024-04-17T02:33:19.272Z] d65c8cfc05b1: Pull complete [2024-04-17T02:33:37.501Z] 2437ff75d9bd: Pull complete [2024-04-17T02:33:37.501Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-17T02:33:37.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-17T02:33:37.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:33:37.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container [2024-04-17T02:33:37.800Z] $ 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/73 -v /w/workspace/device-sdk-c/73:/w/workspace/device-sdk-c/73:rw,z -v /w/workspace/device-sdk-c/73@tmp:/w/workspace/device-sdk-c/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-17T02:33:40.239Z] $ docker top e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:33:41.090Z] ---> job-cost.sh [2024-04-17T02:33:41.090Z] lf-activate-venv: SKIPPING [2024-04-17T02:33:41.090Z] INFO: No Stack... [2024-04-17T02:33:41.671Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-17T02:33:42.251Z] INFO: Archiving Costs [Pipeline] sh [2024-04-17T02:33:42.570Z] + cat /w/workspace/device-sdk-c/73/archives/cost.csv [2024-04-17T02:33:42.570Z] + cut -d, -f6 [Pipeline] lock [2024-04-17T02:33:42.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [2024-04-17T02:33:42.913Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] did not exist. Created. [2024-04-17T02:33:42.917Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-17T02:33:43.260Z] /w/workspace/device-sdk-c/73@tmp/durable-e69621a7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-17T02:33:43.590Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-17T02:33:43.651Z] Warning: overwriting stash ‘stack-cost’ [2024-04-17T02:33:44.120Z] Stashed 1 file(s) [Pipeline] } [2024-04-17T02:33:44.126Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-17T02:33:44.156Z] $ docker stop --time=1 e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc [2024-04-17T02:33:45.618Z] $ docker rm -f --volumes e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-04-17T02:33:46.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-17T02:33:46.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:33:46.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:33:46.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:33:46.782Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:33:46.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-17T02:33:47.183Z] $ docker top d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-17T02:33:47.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T02:33:47.302Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T02:33:47.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T02:33:47.414Z] $ docker exec d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 ssh-agent [2024-04-17T02:33:47.524Z] SSH_AUTH_SOCK=/tmp/ssh-g7ikIQsMQuHl/agent.32 [2024-04-17T02:33:47.524Z] SSH_AGENT_PID=38 [2024-04-17T02:33:47.530Z] Running ssh-add (command line suppressed) [2024-04-17T02:33:47.631Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13824653684711575552.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13824653684711575552.key) [2024-04-17T02:33:47.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T02:33:48.001Z] + git semver tag [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,208 [run_tag] DEBUG tag force:False [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,208 [check_head_tag] DEBUG check head tag [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,208 [execute] INFO git cat-file --batch-check [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,212 [execute] INFO git cat-file --batch [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,228 [execute] INFO git tag -a v3.0.3-dev.13 -m v3.0.3-dev.13 [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.13', '-m', 'v3.0.3-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-04-17T02:33:48.261Z] 2024-04-17 02:33:48,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:33:48.261Z] 3.0.3-dev.13 [Pipeline] } [2024-04-17T02:33:48.266Z] $ docker exec --env ******** --env ******** d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 ssh-agent -k [2024-04-17T02:33:48.363Z] unset SSH_AUTH_SOCK; [2024-04-17T02:33:48.364Z] unset SSH_AGENT_PID; [2024-04-17T02:33:48.364Z] echo Agent pid 38 killed; [2024-04-17T02:33:48.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-17T02:33:48.695Z] + git semver [Pipeline] } [2024-04-17T02:33:48.961Z] $ docker stop --time=1 d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 [2024-04-17T02:33:50.248Z] $ docker rm -f --volumes d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:33:50.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-04-17T02:33:50.662Z] [2024-04-17T02:33:50.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:33:51.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-04-17T02:33:51.044Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-04-17T02:33:51.044Z] ab5ef0e58194: Pulling fs layer [2024-04-17T02:33:51.044Z] 9712f1f96733: Pulling fs layer [2024-04-17T02:33:51.044Z] 63f879dbbcfc: Pulling fs layer [2024-04-17T02:33:51.044Z] 0d9ebad4ef96: Pulling fs layer [2024-04-17T02:33:51.044Z] e9a5061849ea: Pulling fs layer [2024-04-17T02:33:51.044Z] d747dcd14b5f: Pulling fs layer [2024-04-17T02:33:51.044Z] 2de7ff778b66: Pulling fs layer [2024-04-17T02:33:51.044Z] e9a5061849ea: Waiting [2024-04-17T02:33:51.044Z] 2de7ff778b66: Waiting [2024-04-17T02:33:51.044Z] d747dcd14b5f: Waiting [2024-04-17T02:33:51.044Z] 0d9ebad4ef96: Waiting [2024-04-17T02:33:51.044Z] 9712f1f96733: Download complete [2024-04-17T02:33:51.303Z] 63f879dbbcfc: Verifying Checksum [2024-04-17T02:33:51.303Z] 63f879dbbcfc: Download complete [2024-04-17T02:33:51.562Z] e9a5061849ea: Verifying Checksum [2024-04-17T02:33:51.562Z] e9a5061849ea: Download complete [2024-04-17T02:33:51.562Z] d747dcd14b5f: Verifying Checksum [2024-04-17T02:33:51.562Z] d747dcd14b5f: Download complete [2024-04-17T02:33:51.562Z] ab5ef0e58194: Verifying Checksum [2024-04-17T02:33:51.562Z] ab5ef0e58194: Download complete [2024-04-17T02:33:51.562Z] 0d9ebad4ef96: Download complete [2024-04-17T02:33:51.822Z] 2de7ff778b66: Verifying Checksum [2024-04-17T02:33:51.822Z] 2de7ff778b66: Download complete [2024-04-17T02:33:54.355Z] ab5ef0e58194: Pull complete [2024-04-17T02:33:54.615Z] 9712f1f96733: Pull complete [2024-04-17T02:33:55.183Z] 63f879dbbcfc: Pull complete [2024-04-17T02:33:59.371Z] 0d9ebad4ef96: Pull complete [2024-04-17T02:33:59.371Z] e9a5061849ea: Pull complete [2024-04-17T02:33:59.371Z] d747dcd14b5f: Pull complete [2024-04-17T02:34:00.764Z] 2de7ff778b66: Pull complete [2024-04-17T02:34:00.764Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-04-17T02:34:00.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-04-17T02:34:00.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:34:00.857Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:34:00.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-04-17T02:34:06.167Z] $ docker top 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-04-17T02:34:06.261Z] provisioning config files... [2024-04-17T02:34:06.292Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5013984759719667773tmp [2024-04-17T02:34:06.330Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15768343184970177925tmp [2024-04-17T02:34:06.365Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18054907694188634889tmp [Pipeline] { [Pipeline] echo [2024-04-17T02:34:06.447Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:06.745Z] ---> sigul-configuration.sh [2024-04-17T02:34:06.745Z] gpg: directory `/root/.gnupg' created [2024-04-17T02:34:06.745Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-04-17T02:34:06.746Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-04-17T02:34:06.746Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-04-17T02:34:06.746Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-04-17T02:34:06.746Z] gpg: CAST5 encrypted data [2024-04-17T02:34:06.746Z] gpg: encrypted with 1 passphrase [2024-04-17T02:34:06.746Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-04-17T02:34:07.048Z] + mkdir /home/jenkins [2024-04-17T02:34:07.049Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-04-17T02:34:07.350Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-04-17T02:34:07.363Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:07.662Z] ---> sigul-install.sh [2024-04-17T02:34:07.662Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-04-17T02:34:07.980Z] + git tag --list [2024-04-17T02:34:07.980Z] 0.7.0 [2024-04-17T02:34:07.980Z] 0.7.1 [2024-04-17T02:34:07.980Z] 1.0.0 [2024-04-17T02:34:07.980Z] v1.0.1 [2024-04-17T02:34:07.980Z] v1.0.2 [2024-04-17T02:34:07.980Z] v1.0.3 [2024-04-17T02:34:07.980Z] v1.1.0 [2024-04-17T02:34:07.980Z] v1.1.1 [2024-04-17T02:34:07.980Z] v1.2.0 [2024-04-17T02:34:07.980Z] v1.2.1 [2024-04-17T02:34:07.980Z] v1.2.2 [2024-04-17T02:34:07.980Z] v1.3.0 [2024-04-17T02:34:07.980Z] v1.3.1 [2024-04-17T02:34:07.980Z] v2.0.0 [2024-04-17T02:34:07.980Z] v2.1.0 [2024-04-17T02:34:07.980Z] v2.2.0 [2024-04-17T02:34:07.980Z] v2.3.0 [2024-04-17T02:34:07.980Z] v3.0 [2024-04-17T02:34:07.980Z] v3.0.0 [2024-04-17T02:34:07.980Z] v3.0.1 [2024-04-17T02:34:07.980Z] v3.0.2 [2024-04-17T02:34:07.980Z] v3.0.3-dev.1 [2024-04-17T02:34:07.980Z] v3.0.3-dev.10 [2024-04-17T02:34:07.980Z] v3.0.3-dev.11 [2024-04-17T02:34:07.980Z] v3.0.3-dev.12 [2024-04-17T02:34:07.980Z] v3.0.3-dev.13 [2024-04-17T02:34:07.980Z] v3.0.3-dev.2 [2024-04-17T02:34:07.980Z] v3.0.3-dev.3 [2024-04-17T02:34:07.980Z] v3.0.3-dev.4 [2024-04-17T02:34:07.980Z] v3.0.3-dev.5 [2024-04-17T02:34:07.980Z] v3.0.3-dev.6 [2024-04-17T02:34:07.980Z] v3.0.3-dev.7 [2024-04-17T02:34:07.980Z] v3.0.3-dev.8 [2024-04-17T02:34:07.980Z] v3.0.3-dev.9 [2024-04-17T02:34:07.980Z] v3.1 [2024-04-17T02:34:07.980Z] v3.1.0 [2024-04-17T02:34:07.980Z] v3.1.0-dev.1 [2024-04-17T02:34:07.980Z] v3.1.0-dev.2 [2024-04-17T02:34:07.980Z] v3.1.0-dev.3 [2024-04-17T02:34:07.980Z] v3.1.0-dev.4 [2024-04-17T02:34:07.980Z] v3.1.0-dev.5 [2024-04-17T02:34:07.980Z] v3.1.0-dev.6 [2024-04-17T02:34:07.980Z] v3.1.0-dev.7 [2024-04-17T02:34:07.980Z] v3.1.0-dev.8 [2024-04-17T02:34:07.980Z] v3.1.0-dev.9 [Pipeline] sh [2024-04-17T02:34:08.277Z] + lftools sign git-tag v3.0.3-dev.13 [2024-04-17T02:34:08.846Z] Signing Git tag with Sigul... [2024-04-17T02:34:08.846Z] Signing v3.0.3-dev.13 [Pipeline] echo [2024-04-17T02:34:09.120Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:09.415Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-04-17T02:34:09.422Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-04-17T02:34:09.445Z] $ docker stop --time=1 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 [2024-04-17T02:34:10.739Z] $ docker rm -f --volumes 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-04-17T02:34:11.180Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-17T02:34:11.180Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:34:11.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:34:11.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:34:11.582Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:34:11.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-17T02:34:11.968Z] $ docker top 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 -eo pid,comm [2024-04-17T02:34:12.025Z] 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). [2024-04-17T02:34:12.025Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-17T02:34:12.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T02:34:12.115Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T02:34:12.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T02:34:12.239Z] $ docker exec 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 ssh-agent [2024-04-17T02:34:12.367Z] SSH_AUTH_SOCK=/tmp/ssh-O09dRgqOADQa/agent.31 [2024-04-17T02:34:12.367Z] SSH_AGENT_PID=37 [2024-04-17T02:34:12.372Z] Running ssh-add (command line suppressed) [2024-04-17T02:34:12.472Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2960010690657213589.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2960010690657213589.key) [2024-04-17T02:34:12.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T02:34:12.789Z] + git semver bump pre [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [bump_version] DEBUG bumping version:3.0.3-dev.13 on axis:pre with prefix:dev [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [bump_version] DEBUG bumped version:3.0.3-dev.14 [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [write_version] DEBUG write version:3.0.3-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,953 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,955 [execute] INFO git cat-file --batch-check [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,961 [execute] INFO git cat-file --batch [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-04-17T02:34:13.048Z] 2024-04-17 02:34:12,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:34:13.048Z] 3.0.3-dev.14 [Pipeline] } [2024-04-17T02:34:13.052Z] $ docker exec --env ******** --env ******** 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 ssh-agent -k [2024-04-17T02:34:13.158Z] unset SSH_AUTH_SOCK; [2024-04-17T02:34:13.159Z] unset SSH_AGENT_PID; [2024-04-17T02:34:13.159Z] echo Agent pid 37 killed; [2024-04-17T02:34:13.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-17T02:34:13.500Z] + git semver [Pipeline] } [2024-04-17T02:34:13.766Z] $ docker stop --time=1 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 [2024-04-17T02:34:15.045Z] $ docker rm -f --volumes 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-17T02:34:15.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-17T02:34:15.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:34:15.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-17T02:34:15.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:34:15.786Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:34:15.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-17T02:34:16.179Z] $ docker top ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-17T02:34:16.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-17T02:34:16.301Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-17T02:34:16.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-17T02:34:16.412Z] $ docker exec ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f ssh-agent [2024-04-17T02:34:16.524Z] SSH_AUTH_SOCK=/tmp/ssh-EfUGMUsYVi9K/agent.32 [2024-04-17T02:34:16.524Z] SSH_AGENT_PID=38 [2024-04-17T02:34:16.530Z] Running ssh-add (command line suppressed) [2024-04-17T02:34:16.632Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5333003698769960582.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5333003698769960582.key) [2024-04-17T02:34:16.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-17T02:34:16.950Z] + git semver push [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,149 [run_push] DEBUG push [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,150 [execute] INFO git cat-file --batch-check [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,154 [execute] INFO git rev-list 86c7089d0d7376f057cb7d191084b500c6056e32 -- [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,155 [execute] DEBUG Popen(['git', 'rev-list', '86c7089d0d7376f057cb7d191084b500c6056e32', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,163 [execute] INFO git fetch -v origin [2024-04-17T02:34:17.209Z] 2024-04-17 02:34:17,163 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-04-17T02:34:17.779Z] 2024-04-17 02:34:17,658 [run_push] DEBUG no remote changes detected [2024-04-17T02:34:17.779Z] 2024-04-17 02:34:17,658 [execute] INFO git push origin semver [2024-04-17T02:34:17.779Z] 2024-04-17 02:34:17,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-04-17T02:34:18.716Z] 2024-04-17 02:34:18,411 [run_push] DEBUG push all version tags [2024-04-17T02:34:18.716Z] 2024-04-17 02:34:18,412 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-04-17T02:34:18.716Z] 2024-04-17 02:34:18,412 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-04-17T02:34:19.286Z] 2024-04-17 02:34:19,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-04-17T02:34:19.286Z] 3.0.3-dev.14 [Pipeline] } [2024-04-17T02:34:19.290Z] $ docker exec --env ******** --env ******** ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f ssh-agent -k [2024-04-17T02:34:19.393Z] unset SSH_AUTH_SOCK; [2024-04-17T02:34:19.393Z] unset SSH_AGENT_PID; [2024-04-17T02:34:19.393Z] echo Agent pid 38 killed; [2024-04-17T02:34:19.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-17T02:34:19.726Z] + git semver [Pipeline] } [2024-04-17T02:34:19.992Z] $ docker stop --time=1 ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f [2024-04-17T02:34:21.288Z] $ docker rm -f --volumes ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-17T02:34:21.836Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-04-17T02:34:21.836Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-04-17T02:34:21.836Z] total 16 [2024-04-17T02:34:21.836Z] drwxr-xr-x 3 root root 4096 Apr 17 02:29 . [2024-04-17T02:34:21.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 02:34 .. [2024-04-17T02:34:21.836Z] drwxr-xr-x 2 root root 4096 Apr 17 02:29 cost [2024-04-17T02:34:21.836Z] -rw-r--r-- 1 root root 83 Apr 17 02:29 cost.csv [2024-04-17T02:34:21.836Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-04-17T02:34:21.836Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-04-17T02:34:21.836Z] total 16 [2024-04-17T02:34:21.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 02:29 . [2024-04-17T02:34:21.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 02:34 .. [2024-04-17T02:34:21.836Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 02:29 cost [2024-04-17T02:34:21.836Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 17 02:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:22.134Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:22.994Z] ---> package-listing.sh [2024-04-17T02:34:22.994Z] ++ facter osfamily [2024-04-17T02:34:22.994Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-17T02:34:23.253Z] + OS_FAMILY=debian [2024-04-17T02:34:23.253Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-04-17T02:34:23.253Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-17T02:34:23.253Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-17T02:34:23.253Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-17T02:34:23.253Z] + PACKAGES=/tmp/packages_start.txt [2024-04-17T02:34:23.253Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-04-17T02:34:23.253Z] + PACKAGES=/tmp/packages_end.txt [2024-04-17T02:34:23.253Z] + case "${OS_FAMILY}" in [2024-04-17T02:34:23.253Z] + dpkg -l [2024-04-17T02:34:23.253Z] + grep '^ii' [2024-04-17T02:34:23.253Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-17T02:34:23.253Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-17T02:34:23.253Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-17T02:34:23.253Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-04-17T02:34:23.253Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-04-17T02:34:23.253Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-04-17T02:34:23.264Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-17T02:34:23.543Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-17T02:34:24.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-17T02:34:24.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-17T02:34:24.186Z] prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container [2024-04-17T02:34:24.210Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-17T02:34:24.439Z] $ docker top e00fdd48589931f300f94c2a9ee2721a4a427bf521d1531255603fa0727f6251 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-17T02:34:24.793Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-17T02:34:25.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-17T02:34:25.365Z] + ls /var/log/sa-host [2024-04-17T02:34:25.365Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-17T02:34:25.534Z] provisioning config files... [2024-04-17T02:34:25.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15721164028485708866tmp [Pipeline] { [Pipeline] echo [2024-04-17T02:34:25.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:25.844Z] ---> create-netrc.sh [Pipeline] } [2024-04-17T02:34:25.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:26.192Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-17T02:34:26.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:26.485Z] ---> sudo-logs.sh [2024-04-17T02:34:26.485Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-17T02:34:26.523Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:26.804Z] ---> job-cost.sh [2024-04-17T02:34:26.804Z] lf-activate-venv: SKIPPING [2024-04-17T02:34:26.804Z] DEBUG: total: 0.2199999988079071 [2024-04-17T02:34:26.804Z] INFO: Retrieving Stack Cost... [2024-04-17T02:34:27.064Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-17T02:34:27.323Z] INFO: Archiving Costs [Pipeline] echo [2024-04-17T02:34:27.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-17T02:34:27.614Z] ---> logs-deploy.sh [2024-04-17T02:34:27.614Z] lf-activate-venv: SKIPPING [2024-04-17T02:34:27.614Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/73 [2024-04-17T02:34:27.614Z] INFO: archiving workspace using pattern(s): [2024-04-17T02:34:28.550Z] Archives upload complete. [2024-04-17T02:34:28.809Z] INFO: archiving logs to Nexus [2024-04-17T02:34:29.378Z] ---> uname -a: [2024-04-17T02:34:29.378Z] Linux prd-ubuntu20-04-docker-8c-8g-2581 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] ---> lscpu: [2024-04-17T02:34:29.378Z] Architecture: x86_64 [2024-04-17T02:34:29.378Z] CPU op-mode(s): 32-bit, 64-bit [2024-04-17T02:34:29.378Z] Byte Order: Little Endian [2024-04-17T02:34:29.378Z] Address sizes: 40 bits physical, 48 bits virtual [2024-04-17T02:34:29.378Z] CPU(s): 8 [2024-04-17T02:34:29.378Z] On-line CPU(s) list: 0-7 [2024-04-17T02:34:29.378Z] Thread(s) per core: 1 [2024-04-17T02:34:29.378Z] Core(s) per socket: 1 [2024-04-17T02:34:29.378Z] Socket(s): 8 [2024-04-17T02:34:29.378Z] NUMA node(s): 1 [2024-04-17T02:34:29.378Z] Vendor ID: AuthenticAMD [2024-04-17T02:34:29.378Z] CPU family: 23 [2024-04-17T02:34:29.378Z] Model: 49 [2024-04-17T02:34:29.378Z] Model name: AMD EPYC-Rome Processor [2024-04-17T02:34:29.378Z] Stepping: 0 [2024-04-17T02:34:29.378Z] CPU MHz: 2800.000 [2024-04-17T02:34:29.378Z] BogoMIPS: 5600.00 [2024-04-17T02:34:29.378Z] Virtualization: AMD-V [2024-04-17T02:34:29.378Z] Hypervisor vendor: KVM [2024-04-17T02:34:29.378Z] Virtualization type: full [2024-04-17T02:34:29.378Z] L1d cache: 256 KiB [2024-04-17T02:34:29.378Z] L1i cache: 256 KiB [2024-04-17T02:34:29.378Z] L2 cache: 4 MiB [2024-04-17T02:34:29.378Z] L3 cache: 128 MiB [2024-04-17T02:34:29.378Z] NUMA node0 CPU(s): 0-7 [2024-04-17T02:34:29.378Z] Vulnerability Itlb multihit: Not affected [2024-04-17T02:34:29.378Z] Vulnerability L1tf: Not affected [2024-04-17T02:34:29.378Z] Vulnerability Mds: Not affected [2024-04-17T02:34:29.378Z] Vulnerability Meltdown: Not affected [2024-04-17T02:34:29.378Z] Vulnerability Mmio stale data: Not affected [2024-04-17T02:34:29.378Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-04-17T02:34:29.378Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-04-17T02:34:29.378Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-04-17T02:34:29.378Z] Vulnerability Srbds: Not affected [2024-04-17T02:34:29.378Z] Vulnerability Tsx async abort: Not affected [2024-04-17T02:34:29.378Z] 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 [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] ---> nproc: [2024-04-17T02:34:29.378Z] 8 [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] ---> df -h: [2024-04-17T02:34:29.378Z] Filesystem Size Used Avail Use% Mounted on [2024-04-17T02:34:29.378Z] overlay 155G 11G 145G 8% / [2024-04-17T02:34:29.378Z] tmpfs 64M 0 64M 0% /dev [2024-04-17T02:34:29.378Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-04-17T02:34:29.378Z] shm 64M 0 64M 0% /dev/shm [2024-04-17T02:34:29.378Z] /dev/vda1 155G 11G 145G 8% /facter-os [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] ---> sar -b -r -n DEV: [2024-04-17T02:34:29.378Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2581) 04/17/24 _x86_64_ (8 CPU) [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:27:25 LINUX RESTART (8 CPU) [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2024-04-17T02:34:29.378Z] 02:29:01 391.35 10.68 380.67 0.00 1762.24 27984.54 0.00 [2024-04-17T02:34:29.378Z] 02:30:01 112.90 0.15 112.75 0.00 7.60 18503.07 0.00 [2024-04-17T02:34:29.378Z] 02:31:01 0.95 0.00 0.95 0.00 0.00 10.66 0.00 [2024-04-17T02:34:29.378Z] 02:32:01 1.53 0.00 1.53 0.00 0.00 16.79 0.00 [2024-04-17T02:34:29.378Z] 02:33:01 36.44 11.68 24.76 0.00 5429.36 6269.89 0.00 [2024-04-17T02:34:29.378Z] 02:34:01 19.91 0.00 19.91 0.00 0.00 1778.90 0.00 [2024-04-17T02:34:29.378Z] Average: 93.85 3.75 90.09 0.00 1199.83 9093.72 0.00 [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2024-04-17T02:34:29.378Z] 02:29:01 29504292 31547548 784032 2.38 68680 2258000 1745844 5.15 1065476 1948300 416 [2024-04-17T02:34:29.378Z] 02:30:01 28983668 31539076 768536 2.34 89776 2717188 1758124 5.18 1084716 2391696 20 [2024-04-17T02:34:29.378Z] 02:31:01 28983636 31539176 768028 2.34 89804 2717188 1758124 5.18 1084832 2391696 16 [2024-04-17T02:34:29.378Z] 02:32:01 28987296 31542772 764504 2.32 89832 2717256 1758124 5.18 1081900 2391764 16 [2024-04-17T02:34:29.378Z] 02:33:01 28610960 31520460 775480 2.36 98028 3050648 1820156 5.36 1325792 2502600 892 [2024-04-17T02:34:29.378Z] 02:34:01 27874580 31495024 796868 2.42 132888 3654536 1855560 5.47 1384144 3103072 596568 [2024-04-17T02:34:29.378Z] Average: 28824072 31530676 776241 2.36 94835 2852469 1782655 5.25 1171143 2454855 99655 [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2024-04-17T02:34:29.378Z] 02:29:01 lo 6.00 6.00 0.59 0.59 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:29:01 ens3 263.16 174.87 3931.52 72.24 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:29:01 docker0 14.06 19.83 1.04 151.77 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:30:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:30:01 ens3 100.85 62.31 2584.38 13.38 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:30:01 docker0 2.73 4.45 0.21 56.82 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:31:01 ens3 5.15 3.00 11.76 0.40 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:32:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:33:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:33:01 ens3 104.75 38.73 2043.69 2.98 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:34:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:34:01 ens3 130.14 90.73 3197.36 47.94 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] 02:34:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] Average: lo 1.46 1.46 0.14 0.14 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] Average: ens3 100.70 61.62 1961.40 22.83 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] Average: docker0 2.80 4.05 0.21 34.76 0.00 0.00 0.00 0.00 [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] ---> sar -P ALL: [2024-04-17T02:34:29.378Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2581) 04/17/24 _x86_64_ (8 CPU) [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:27:25 LINUX RESTART (8 CPU) [2024-04-17T02:34:29.378Z] [2024-04-17T02:34:29.378Z] 02:28:01 CPU %user %nice %system %iowait %steal %idle [2024-04-17T02:34:29.378Z] 02:29:01 all 8.79 0.00 3.68 1.89 0.07 85.58 [2024-04-17T02:34:29.378Z] 02:29:01 0 7.56 0.00 3.86 1.12 0.07 87.39 [2024-04-17T02:34:29.378Z] 02:29:01 1 9.33 0.00 3.18 0.38 0.07 87.04 [2024-04-17T02:34:29.378Z] 02:29:01 2 9.00 0.00 3.75 3.38 0.07 83.79 [2024-04-17T02:34:29.378Z] 02:29:01 3 6.92 0.00 3.64 2.74 0.07 86.63 [2024-04-17T02:34:29.378Z] 02:29:01 4 8.28 0.00 4.59 5.10 0.07 81.96 [2024-04-17T02:34:29.378Z] 02:29:01 5 9.88 0.00 3.22 0.29 0.08 86.53 [2024-04-17T02:34:29.378Z] 02:29:01 6 9.13 0.00 3.38 0.42 0.05 87.02 [2024-04-17T02:34:29.378Z] 02:29:01 7 10.23 0.00 3.80 1.68 0.07 84.22 [2024-04-17T02:34:29.378Z] 02:30:01 all 3.42 0.00 1.64 1.03 0.03 93.88 [2024-04-17T02:34:29.378Z] 02:30:01 0 3.38 0.00 1.84 0.03 0.03 94.72 [2024-04-17T02:34:29.378Z] 02:30:01 1 3.92 0.00 1.76 0.35 0.03 93.94 [2024-04-17T02:34:29.378Z] 02:30:01 2 2.59 0.00 1.69 1.49 0.02 94.22 [2024-04-17T02:34:29.378Z] 02:30:01 3 3.74 0.00 1.93 6.14 0.03 88.16 [2024-04-17T02:34:29.378Z] 02:30:01 4 3.76 0.00 1.06 0.02 0.03 95.14 [2024-04-17T02:34:29.378Z] 02:30:01 5 2.96 0.00 1.91 0.12 0.02 95.00 [2024-04-17T02:34:29.378Z] 02:30:01 6 3.47 0.00 1.41 0.05 0.03 95.03 [2024-04-17T02:34:29.378Z] 02:30:01 7 3.57 0.00 1.51 0.03 0.05 94.84 [2024-04-17T02:34:29.378Z] 02:31:01 all 0.03 0.00 0.01 0.00 0.01 99.95 [2024-04-17T02:34:29.378Z] 02:31:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2024-04-17T02:34:29.378Z] 02:31:01 1 0.03 0.00 0.03 0.02 0.02 99.90 [2024-04-17T02:34:29.378Z] 02:31:01 2 0.00 0.00 0.00 0.00 0.00 100.00 [2024-04-17T02:34:29.378Z] 02:31:01 3 0.00 0.00 0.00 0.00 0.00 100.00 [2024-04-17T02:34:29.378Z] 02:31:01 4 0.05 0.00 0.03 0.00 0.02 99.90 [2024-04-17T02:34:29.378Z] 02:31:01 5 0.02 0.00 0.00 0.00 0.00 99.98 [2024-04-17T02:34:29.378Z] 02:31:01 6 0.03 0.00 0.00 0.00 0.00 99.97 [2024-04-17T02:34:29.378Z] 02:31:01 7 0.05 0.00 0.02 0.00 0.00 99.93 [2024-04-17T02:34:29.378Z] 02:32:01 all 0.05 0.00 0.03 0.01 0.01 99.91 [2024-04-17T02:34:29.378Z] 02:32:01 0 0.07 0.00 0.02 0.00 0.02 99.90 [2024-04-17T02:34:29.378Z] 02:32:01 1 0.03 0.00 0.02 0.02 0.02 99.92 [2024-04-17T02:34:29.378Z] 02:32:01 2 0.03 0.00 0.02 0.00 0.02 99.93 [2024-04-17T02:34:29.378Z] 02:32:01 3 0.07 0.00 0.07 0.03 0.02 99.82 [2024-04-17T02:34:29.378Z] 02:32:01 4 0.02 0.00 0.03 0.00 0.00 99.95 [2024-04-17T02:34:29.378Z] 02:32:01 5 0.02 0.00 0.02 0.00 0.02 99.95 [2024-04-17T02:34:29.378Z] 02:32:01 6 0.02 0.00 0.02 0.00 0.00 99.97 [2024-04-17T02:34:29.378Z] 02:32:01 7 0.12 0.00 0.02 0.00 0.02 99.85 [2024-04-17T02:34:29.378Z] 02:33:01 all 1.21 0.00 0.59 0.51 0.01 97.68 [2024-04-17T02:34:29.378Z] 02:33:01 0 1.18 0.00 0.68 0.43 0.02 97.68 [2024-04-17T02:34:29.378Z] 02:33:01 1 0.59 0.00 0.37 0.85 0.02 98.17 [2024-04-17T02:34:29.378Z] 02:33:01 2 1.40 0.00 0.43 0.38 0.00 97.78 [2024-04-17T02:34:29.378Z] 02:33:01 3 2.34 0.00 0.75 0.45 0.02 96.44 [2024-04-17T02:34:29.378Z] 02:33:01 4 0.93 0.00 0.72 1.04 0.02 97.30 [2024-04-17T02:34:29.378Z] 02:33:01 5 0.67 0.00 0.55 0.57 0.00 98.21 [2024-04-17T02:34:29.378Z] 02:33:01 6 0.80 0.00 0.58 0.23 0.02 98.37 [2024-04-17T02:34:29.378Z] 02:33:01 7 1.75 0.00 0.63 0.10 0.03 97.48 [2024-04-17T02:34:29.378Z] 02:34:01 all 3.89 0.00 1.63 0.17 0.03 94.29 [2024-04-17T02:34:29.378Z] 02:34:01 0 4.23 0.00 2.18 0.00 0.07 93.53 [2024-04-17T02:34:29.378Z] 02:34:01 1 3.87 0.00 1.39 0.02 0.03 94.68 [2024-04-17T02:34:29.378Z] 02:34:01 2 4.49 0.00 1.31 0.77 0.03 93.39 [2024-04-17T02:34:29.378Z] 02:34:01 3 4.30 0.00 1.45 0.03 0.05 94.17 [2024-04-17T02:34:29.379Z] 02:34:01 4 3.70 0.00 1.71 0.00 0.02 94.58 [2024-04-17T02:34:29.379Z] 02:34:01 5 3.72 0.00 1.89 0.28 0.03 94.07 [2024-04-17T02:34:29.379Z] 02:34:01 6 3.30 0.00 1.39 0.02 0.02 95.28 [2024-04-17T02:34:29.379Z] 02:34:01 7 3.49 0.00 1.69 0.20 0.02 94.60 [2024-04-17T02:34:29.379Z] Average: all 2.89 0.00 1.26 0.60 0.03 95.23 [2024-04-17T02:34:29.379Z] Average: 0 2.74 0.00 1.43 0.26 0.04 95.53 [2024-04-17T02:34:29.379Z] Average: 1 2.97 0.00 1.13 0.27 0.03 95.60 [2024-04-17T02:34:29.379Z] Average: 2 2.91 0.00 1.20 1.00 0.02 94.87 [2024-04-17T02:34:29.379Z] Average: 3 2.89 0.00 1.30 1.56 0.03 94.22 [2024-04-17T02:34:29.379Z] Average: 4 2.78 0.00 1.35 1.02 0.03 94.83 [2024-04-17T02:34:29.379Z] Average: 5 2.87 0.00 1.26 0.21 0.03 95.64 [2024-04-17T02:34:29.379Z] Average: 6 2.78 0.00 1.13 0.12 0.02 95.95 [2024-04-17T02:34:29.379Z] Average: 7 3.19 0.00 1.27 0.33 0.03 95.17 [2024-04-17T02:34:29.379Z] [2024-04-17T02:34:29.379Z] [2024-04-17T02:34:29.379Z]