Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 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-ssh15333928827583995039.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-ssh13086376882418053626.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-ssh3678280142274118853.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-ssh17751079642361246493.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-ssh3107455514588128557.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26757 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 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 (main) Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string (#505)" > 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 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 # timeout=10 > git rev-list --no-walk 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-05T01:46:41.411Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-05T01:46:41.489Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-05T01:46:41.523Z] ========================================================= [2024-01-05T01:46:41.523Z] EdgeX Global Pipelines Version Info [2024-01-05T01:46:41.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:46:42.258Z] ------------------- [2024-01-05T01:46:42.258Z] stable info: [2024-01-05T01:46:42.258Z] ------------------- [2024-01-05T01:46:42.258Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-05T01:46:42.258Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T01:46:42.258Z] Message: update stable to v1.0.258 [2024-01-05T01:46:42.829Z] ------------------- [2024-01-05T01:46:42.829Z] experimental info: [2024-01-05T01:46:42.829Z] ------------------- [2024-01-05T01:46:42.829Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-05T01:46:42.829Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T01:46:42.829Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-05T01:46:42.915Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-05T01:46:42.942Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-05T01:46:42.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-05T01:46:42.989Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-05T01:46:43.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-05T01:46:43.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-05T01:46:43.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-05T01:46:43.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-05T01:46:43.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-05T01:46:43.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-05T01:46:43.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-05T01:46:43.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-05T01:46:43.243Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-05T01:46:43.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-05T01:46:43.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-05T01:46:43.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-05T01:46:43.371Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-05T01:46:43.405Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-01-05T01:46:43.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-01-05T01:46:43.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-01-05T01:46:43.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [Pipeline] echo [2024-01-05T01:46:43.540Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0864ff1 [Pipeline] echo [2024-01-05T01:46:43.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T01:46:43.681Z] provisioning config files... [2024-01-05T01:46:43.697Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16538483205182771577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:46:44.053Z] ---> ****-login.sh [2024-01-05T01:46:44.053Z] nexus3.edgexfoundry.org:10001 [2024-01-05T01:46:44.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:46:44.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:46:44.312Z] Configure a credential helper to remove this warning. See [2024-01-05T01:46:44.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:46:44.313Z] [2024-01-05T01:46:44.313Z] Login Succeeded [2024-01-05T01:46:44.313Z] nexus3.edgexfoundry.org:10002 [2024-01-05T01:46:44.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:46:44.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:46:44.573Z] Configure a credential helper to remove this warning. See [2024-01-05T01:46:44.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:46:44.573Z] [2024-01-05T01:46:44.573Z] Login Succeeded [2024-01-05T01:46:44.573Z] nexus3.edgexfoundry.org:10003 [2024-01-05T01:46:44.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:46:44.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:46:44.573Z] Configure a credential helper to remove this warning. See [2024-01-05T01:46:44.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:46:44.573Z] [2024-01-05T01:46:44.573Z] Login Succeeded [2024-01-05T01:46:44.573Z] nexus3.edgexfoundry.org:10004 [2024-01-05T01:46:44.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:46:44.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:46:44.832Z] Configure a credential helper to remove this warning. See [2024-01-05T01:46:44.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:46:44.832Z] [2024-01-05T01:46:44.832Z] Login Succeeded [2024-01-05T01:46:44.832Z] ****.io [2024-01-05T01:46:44.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:46:45.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:46:45.092Z] Configure a credential helper to remove this warning. See [2024-01-05T01:46:45.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:46:45.092Z] [2024-01-05T01:46:45.092Z] Login Succeeded [2024-01-05T01:46:45.092Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T01:46:45.100Z] 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-01-05T01:46:45.652Z] + git rev-list -1 --merges 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02~1..0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [Pipeline] echo [2024-01-05T01:46:45.683Z] -----------> git rev-list -1 --merges 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02~1..0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [false] [Pipeline] sh [2024-01-05T01:46:45.991Z] + git log --format=format:%s -1 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [Pipeline] echo [2024-01-05T01:46:46.008Z] ========================================================= [2024-01-05T01:46:46.008Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T01:46:46.008Z] ========================================================= 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-01-05T01:46:46.569Z] + git rev-list -1 --merges 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02~1..0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [Pipeline] echo [2024-01-05T01:46:46.580Z] -----------> git rev-list -1 --merges 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02~1..0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [false] [Pipeline] sh [2024-01-05T01:46:46.878Z] + git log --format=format:%s -1 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [Pipeline] echo [2024-01-05T01:46:46.892Z] ========================================================= [2024-01-05T01:46:46.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T01:46:46.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-05T01:46:47.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T01:46:47.364Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-05T01:46:47.364Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-05T01:46:47.364Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-05T01:46:47.364Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-05T01:46:47.364Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-05T01:46:47.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:46:47.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:46:47.797Z] [2024-01-05T01:46:47.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:46:48.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:46:48.115Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-05T01:46:48.115Z] b85a868b505f: Pulling fs layer [2024-01-05T01:46:48.115Z] e2be974225ed: Pulling fs layer [2024-01-05T01:46:48.115Z] 339a4e72a1f5: Pulling fs layer [2024-01-05T01:46:48.115Z] 988bab9f4d93: Pulling fs layer [2024-01-05T01:46:48.115Z] 1469e6f7b9e6: Pulling fs layer [2024-01-05T01:46:48.115Z] eaf3925da568: Pulling fs layer [2024-01-05T01:46:48.115Z] bab4dde63d76: Pulling fs layer [2024-01-05T01:46:48.115Z] bde34c3a00c8: Pulling fs layer [2024-01-05T01:46:48.115Z] b352a97aabf1: Pulling fs layer [2024-01-05T01:46:48.115Z] 4872d77fe225: Pulling fs layer [2024-01-05T01:46:48.115Z] 5851b861e8e6: Pulling fs layer [2024-01-05T01:46:48.115Z] 988bab9f4d93: Waiting [2024-01-05T01:46:48.115Z] 1469e6f7b9e6: Waiting [2024-01-05T01:46:48.115Z] eaf3925da568: Waiting [2024-01-05T01:46:48.115Z] bab4dde63d76: Waiting [2024-01-05T01:46:48.115Z] bde34c3a00c8: Waiting [2024-01-05T01:46:48.115Z] b352a97aabf1: Waiting [2024-01-05T01:46:48.115Z] 4872d77fe225: Waiting [2024-01-05T01:46:48.115Z] 5851b861e8e6: Waiting [2024-01-05T01:46:48.115Z] e2be974225ed: Download complete [2024-01-05T01:46:48.115Z] 988bab9f4d93: Verifying Checksum [2024-01-05T01:46:48.115Z] 988bab9f4d93: Download complete [2024-01-05T01:46:48.115Z] 1469e6f7b9e6: Verifying Checksum [2024-01-05T01:46:48.115Z] 1469e6f7b9e6: Download complete [2024-01-05T01:46:48.115Z] eaf3925da568: Verifying Checksum [2024-01-05T01:46:48.115Z] eaf3925da568: Download complete [2024-01-05T01:46:48.115Z] 339a4e72a1f5: Verifying Checksum [2024-01-05T01:46:48.115Z] 339a4e72a1f5: Download complete [2024-01-05T01:46:48.373Z] bde34c3a00c8: Verifying Checksum [2024-01-05T01:46:48.373Z] bde34c3a00c8: Download complete [2024-01-05T01:46:48.373Z] b352a97aabf1: Verifying Checksum [2024-01-05T01:46:48.373Z] 4872d77fe225: Verifying Checksum [2024-01-05T01:46:48.373Z] 4872d77fe225: Download complete [2024-01-05T01:46:48.373Z] 5851b861e8e6: Verifying Checksum [2024-01-05T01:46:48.373Z] 5851b861e8e6: Download complete [2024-01-05T01:46:48.373Z] b85a868b505f: Verifying Checksum [2024-01-05T01:46:48.373Z] b85a868b505f: Download complete [2024-01-05T01:46:48.631Z] bab4dde63d76: Verifying Checksum [2024-01-05T01:46:48.631Z] bab4dde63d76: Download complete [2024-01-05T01:46:50.329Z] b85a868b505f: Pull complete [2024-01-05T01:46:50.329Z] e2be974225ed: Pull complete [2024-01-05T01:46:50.329Z] 339a4e72a1f5: Pull complete [2024-01-05T01:46:50.329Z] 988bab9f4d93: Pull complete [2024-01-05T01:46:50.329Z] 1469e6f7b9e6: Pull complete [2024-01-05T01:46:50.588Z] eaf3925da568: Pull complete [2024-01-05T01:46:52.491Z] bab4dde63d76: Pull complete [2024-01-05T01:46:52.491Z] bde34c3a00c8: Pull complete [2024-01-05T01:46:52.491Z] b352a97aabf1: Pull complete [2024-01-05T01:46:52.491Z] 4872d77fe225: Pull complete [2024-01-05T01:46:52.751Z] 5851b861e8e6: Pull complete [2024-01-05T01:46:52.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-05T01:46:52.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:46:52.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:46:52.898Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:46:52.928Z] $ 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-01-05T01:46:56.485Z] $ docker top d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e -eo pid,comm [2024-01-05T01:46:56.538Z] 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-01-05T01:46:56.538Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T01:46:56.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T01:46:56.628Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T01:46:56.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T01:46:56.742Z] $ docker exec d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e ssh-agent [2024-01-05T01:46:56.855Z] SSH_AUTH_SOCK=/tmp/ssh-Af5VIn7oDWxH/agent.32 [2024-01-05T01:46:56.855Z] SSH_AGENT_PID=38 [2024-01-05T01:46:56.861Z] Running ssh-add (command line suppressed) [2024-01-05T01:46:56.973Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16869455495200783971.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16869455495200783971.key) [2024-01-05T01:46:56.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T01:46:57.295Z] + git tag --points-at HEAD [Pipeline] } [2024-01-05T01:46:57.307Z] $ docker exec --env ******** --env ******** d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e ssh-agent -k [2024-01-05T01:46:57.400Z] unset SSH_AUTH_SOCK; [2024-01-05T01:46:57.400Z] unset SSH_AGENT_PID; [2024-01-05T01:46:57.400Z] echo Agent pid 38 killed; [2024-01-05T01:46:57.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-05T01:46:57.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T01:46:57.464Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T01:46:57.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T01:46:57.579Z] $ docker exec d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e ssh-agent [2024-01-05T01:46:57.690Z] SSH_AUTH_SOCK=/tmp/ssh-hKwJndUR5hYQ/agent.70 [2024-01-05T01:46:57.690Z] SSH_AGENT_PID=76 [2024-01-05T01:46:57.694Z] Running ssh-add (command line suppressed) [2024-01-05T01:46:57.786Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9048509755850312384.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9048509755850312384.key) [2024-01-05T01:46:57.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T01:46:58.112Z] + git semver init [2024-01-05T01:46:58.371Z] 2024-01-05 01:46:58,300 [run_init] DEBUG init version:0.0.0 force:False [2024-01-05T01:46:58.371Z] 2024-01-05 01:46:58,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-01-05T01:46:58.371Z] 2024-01-05 01:46:58,302 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-01-05T01:46:58.371Z] 2024-01-05 01:46:58,302 [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-01-05T01:46:59.310Z] 2024-01-05 01:46:59,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-01-05T01:46:59.310Z] 2024-01-05 01:46:59,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-01-05T01:46:59.310Z] 2024-01-05 01:46:59,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:46:59.310Z] 2024-01-05 01:46:59,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:46:59.310Z] 3.0.3-dev.7 [Pipeline] } [2024-01-05T01:46:59.318Z] $ docker exec --env ******** --env ******** d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e ssh-agent -k [2024-01-05T01:46:59.416Z] unset SSH_AUTH_SOCK; [2024-01-05T01:46:59.416Z] unset SSH_AGENT_PID; [2024-01-05T01:46:59.417Z] echo Agent pid 76 killed; [2024-01-05T01:46:59.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T01:46:59.796Z] + git semver [Pipeline] } [2024-01-05T01:47:00.067Z] $ docker stop --time=1 d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e [2024-01-05T01:47:01.338Z] $ docker rm -f --volumes d448a9de55bec9b6efd7d196a798e511886a73cd45aa33907862af20a1e96f8e [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-05T01:47:01.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-05T01:47:01.950Z] Stashed 1 file(s) [Pipeline] echo [2024-01-05T01:47:01.954Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.7 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T01:47:02.224Z] provisioning config files... [2024-01-05T01:47:02.232Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4229986412455433326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:47:02.558Z] ---> ****-login.sh [2024-01-05T01:47:02.558Z] nexus3.edgexfoundry.org:10001 [2024-01-05T01:47:02.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:47:02.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:47:02.558Z] Configure a credential helper to remove this warning. See [2024-01-05T01:47:02.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:47:02.558Z] [2024-01-05T01:47:02.558Z] Login Succeeded [2024-01-05T01:47:02.558Z] nexus3.edgexfoundry.org:10002 [2024-01-05T01:47:02.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:47:02.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:47:02.558Z] Configure a credential helper to remove this warning. See [2024-01-05T01:47:02.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:47:02.558Z] [2024-01-05T01:47:02.558Z] Login Succeeded [2024-01-05T01:47:02.558Z] nexus3.edgexfoundry.org:10003 [2024-01-05T01:47:02.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:47:02.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:47:02.818Z] Configure a credential helper to remove this warning. See [2024-01-05T01:47:02.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:47:02.818Z] [2024-01-05T01:47:02.818Z] Login Succeeded [2024-01-05T01:47:02.818Z] nexus3.edgexfoundry.org:10004 [2024-01-05T01:47:02.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:47:02.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:47:02.818Z] Configure a credential helper to remove this warning. See [2024-01-05T01:47:02.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:47:02.818Z] [2024-01-05T01:47:02.818Z] Login Succeeded [2024-01-05T01:47:02.818Z] ****.io [2024-01-05T01:47:03.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:47:03.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:47:03.078Z] Configure a credential helper to remove this warning. See [2024-01-05T01:47:03.078Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:47:03.078Z] [2024-01-05T01:47:03.078Z] Login Succeeded [2024-01-05T01:47:03.078Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T01:47:03.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T01:47:03.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T01:47:03.253Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-05T01:47:03.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T01:47:03.317Z] ========================================================= [2024-01-05T01:47:03.317Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-05T01:47:03.317Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:47:03.692Z] + 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-01-05T01:47:03.692Z] Sending build context to Docker daemon 4.951MB [2024-01-05T01:47:03.692Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-05T01:47:03.692Z] Step 2/21 : FROM ${BASE} as builder [2024-01-05T01:47:03.692Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-05T01:47:03.692Z] 96526aa774ef: Pulling fs layer [2024-01-05T01:47:03.692Z] da60e534fd72: Pulling fs layer [2024-01-05T01:47:03.951Z] 96526aa774ef: Verifying Checksum [2024-01-05T01:47:03.952Z] 96526aa774ef: Download complete [2024-01-05T01:47:03.952Z] 96526aa774ef: Pull complete [2024-01-05T01:47:04.889Z] da60e534fd72: Verifying Checksum [2024-01-05T01:47:04.889Z] da60e534fd72: Download complete [2024-01-05T01:47:08.175Z] da60e534fd72: Pull complete [2024-01-05T01:47:08.175Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-05T01:47:08.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-05T01:47:08.175Z] ---> 6605166a5db4 [2024-01-05T01:47:08.175Z] 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-01-05T01:47:10.711Z] ---> Running in 81f974193177 [2024-01-05T01:47:10.970Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T01:47:11.230Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T01:47:11.230Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T01:47:11.230Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T01:47:11.489Z] Removing intermediate container 81f974193177 [2024-01-05T01:47:11.490Z] ---> c725bc66b771 [2024-01-05T01:47:11.490Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T01:47:11.751Z] ---> Running in 27cd33b387b4 [2024-01-05T01:47:12.332Z] Removing intermediate container 27cd33b387b4 [2024-01-05T01:47:12.332Z] ---> 8974bc86ac4e [2024-01-05T01:47:12.333Z] 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-01-05T01:47:12.333Z] ---> Running in d017631a755e [2024-01-05T01:47:12.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:12.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:13.122Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:13.690Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:47:13.690Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T01:47:13.690Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T01:47:13.690Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T01:47:14.626Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T01:47:14.626Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T01:47:14.626Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T01:47:14.626Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T01:47:14.626Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T01:47:14.626Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T01:47:14.626Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T01:47:14.626Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T01:47:14.626Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T01:47:14.885Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T01:47:14.885Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T01:47:14.885Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-05T01:47:14.885Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T01:47:14.885Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T01:47:14.885Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T01:47:14.885Z] OK: 336 MiB in 99 packages [2024-01-05T01:47:15.452Z] Removing intermediate container d017631a755e [2024-01-05T01:47:15.452Z] ---> 0f5144292575 [2024-01-05T01:47:15.452Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-05T01:47:15.452Z] ---> Running in 78a5f7ca289d [2024-01-05T01:47:16.024Z] Removing intermediate container 78a5f7ca289d [2024-01-05T01:47:16.024Z] ---> 573864130611 [2024-01-05T01:47:16.024Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-05T01:47:16.294Z] ---> a9881cd7166c [2024-01-05T01:47:16.294Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-05T01:47:16.553Z] ---> 2c792e0452a6 [2024-01-05T01:47:16.553Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-05T01:47:16.553Z] ---> a8dfb868d487 [2024-01-05T01:47:16.553Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-05T01:47:16.812Z] ---> 297ccb157147 [2024-01-05T01:47:16.812Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-05T01:47:16.812Z] ---> befd1d53aae0 [2024-01-05T01:47:16.812Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-05T01:47:17.074Z] ---> 9526aa1b610b [2024-01-05T01:47:17.074Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T01:47:17.074Z] ---> Running in f38bbfa5eb20 [2024-01-05T01:47:17.132Z] Still waiting to schedule task [2024-01-05T01:47:17.132Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26755’ [2024-01-05T01:47:17.333Z] + CPPCHECK=false [2024-01-05T01:47:17.333Z] + DOCGEN=false [2024-01-05T01:47:17.333Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T01:47:17.333Z] + '[' 0 -gt 0 ] [2024-01-05T01:47:17.333Z] + readlink -f ./scripts/build.sh [2024-01-05T01:47:17.333Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-05T01:47:17.333Z] + dirname /tmp/sdk/scripts [2024-01-05T01:47:17.333Z] + ROOT=/tmp/sdk [2024-01-05T01:47:17.333Z] + cd /tmp/sdk [2024-01-05T01:47:17.333Z] + mkdir -p /tmp/sdk/build/release [2024-01-05T01:47:17.333Z] + cd /tmp/sdk/build/release [2024-01-05T01:47:17.333Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T01:47:17.333Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T01:47:17.592Z] -- Detecting C compiler ABI info [2024-01-05T01:47:17.592Z] -- Detecting C compiler ABI info - done [2024-01-05T01:47:17.592Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T01:47:17.592Z] -- Detecting C compile features [2024-01-05T01:47:17.592Z] -- Detecting C compile features - done [2024-01-05T01:47:17.592Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T01:47:17.592Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T01:47:17.592Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T01:47:17.592Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T01:47:17.592Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T01:47:17.592Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T01:47:17.592Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T01:47:17.592Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T01:47:17.592Z] -- /opt/iotech/iot/1.5/include [2024-01-05T01:47:17.592Z] -- C SDK 3.0.3-dev.7 for Linux [2024-01-05T01:47:17.592Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T01:47:17.851Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T01:47:17.851Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T01:47:17.851Z] -- Configuring done (0.4s) [2024-01-05T01:47:17.851Z] -- Generating done (0.0s) [2024-01-05T01:47:17.851Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T01:47:17.851Z] + make all package [2024-01-05T01:47:17.851Z] + tee release.log [2024-01-05T01:47:17.851Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T01:47:18.110Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T01:47:18.110Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T01:47:18.371Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T01:47:18.371Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T01:47:18.371Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T01:47:18.941Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T01:47:18.941Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T01:47:18.941Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:47:18.941Z] 294 | while (privateConfig) [2024-01-05T01:47:18.941Z] | ^~~~~~~~~~~~~ [2024-01-05T01:47:18.941Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T01:47:18.941Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T01:47:18.941Z] | ^~~~~~~~~~~~~ [2024-01-05T01:47:18.941Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:47:18.941Z] 271 | while (result) [2024-01-05T01:47:18.941Z] | ^~~~~~ [2024-01-05T01:47:18.941Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T01:47:18.941Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T01:47:18.941Z] | ^~~~~~ [2024-01-05T01:47:18.941Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T01:47:18.941Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T01:47:19.201Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T01:47:19.461Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T01:47:19.461Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T01:47:19.720Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T01:47:19.720Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T01:47:19.720Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T01:47:19.979Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T01:47:19.979Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T01:47:20.239Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T01:47:20.498Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T01:47:20.498Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T01:47:20.758Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T01:47:21.696Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T01:47:21.696Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T01:47:21.955Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T01:47:21.955Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T01:47:21.955Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T01:47:22.214Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T01:47:22.473Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T01:47:22.732Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T01:47:22.732Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T01:47:22.991Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T01:47:22.991Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T01:47:22.991Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:47:22.991Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T01:47:22.991Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:47:22.991Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:47:22.991Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T01:47:22.991Z] | ^ [2024-01-05T01:47:23.251Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:47:23.251Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T01:47:23.251Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:47:23.251Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T01:47:23.251Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T01:47:23.251Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:47:23.251Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T01:47:23.509Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T01:47:23.509Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T01:47:23.509Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T01:47:23.509Z] [ 68%] Built target csdk [2024-01-05T01:47:23.509Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T01:47:23.770Z] [ 72%] Linking C executable template [2024-01-05T01:47:23.770Z] [ 72%] Built target template [2024-01-05T01:47:23.770Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T01:47:24.028Z] [ 76%] Linking C executable device-counter [2024-01-05T01:47:24.028Z] [ 76%] Built target device-counter [2024-01-05T01:47:24.028Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T01:47:24.028Z] [ 80%] Linking C executable device-random [2024-01-05T01:47:24.289Z] [ 80%] Built target device-random [2024-01-05T01:47:24.289Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T01:47:24.289Z] [ 84%] Linking C executable device-gyro [2024-01-05T01:47:24.289Z] [ 84%] Built target device-gyro [2024-01-05T01:47:24.289Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T01:47:24.548Z] [ 88%] Linking C executable device-bitfields [2024-01-05T01:47:24.548Z] [ 88%] Built target device-bitfields [2024-01-05T01:47:24.548Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T01:47:24.808Z] [ 92%] Linking C executable template-discovery [2024-01-05T01:47:24.808Z] [ 92%] Built target template-discovery [2024-01-05T01:47:24.808Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T01:47:24.808Z] [ 96%] Linking C executable device-file [2024-01-05T01:47:25.069Z] [ 96%] Built target device-file [2024-01-05T01:47:25.069Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T01:47:25.069Z] [100%] Linking C executable device-terminal [2024-01-05T01:47:25.069Z] [100%] Built target device-terminal [2024-01-05T01:47:25.069Z] Run CPack packaging tool... [2024-01-05T01:47:25.069Z] CPack: Create package using TGZ [2024-01-05T01:47:25.069Z] CPack: Install projects [2024-01-05T01:47:25.069Z] CPack: - Run preinstall target for: Csdk [2024-01-05T01:47:25.331Z] CPack: - Install project: Csdk [] [2024-01-05T01:47:25.331Z] CPack: Create package [2024-01-05T01:47:25.331Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.7.tar.gz generated. [2024-01-05T01:47:25.331Z] + '[' false '=' true ] [2024-01-05T01:47:25.592Z] + '[' false '=' true ] [2024-01-05T01:47:25.592Z] + mkdir -p /tmp/sdk/build/debug [2024-01-05T01:47:25.592Z] + cd /tmp/sdk/build/debug [2024-01-05T01:47:25.592Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T01:47:25.592Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T01:47:25.592Z] -- Detecting C compiler ABI info [2024-01-05T01:47:25.592Z] -- Detecting C compiler ABI info - done [2024-01-05T01:47:25.592Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T01:47:25.592Z] -- Detecting C compile features [2024-01-05T01:47:25.592Z] -- Detecting C compile features - done [2024-01-05T01:47:25.592Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T01:47:25.592Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T01:47:25.592Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T01:47:25.592Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T01:47:25.853Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T01:47:25.853Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T01:47:25.853Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T01:47:25.853Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T01:47:25.853Z] -- /opt/iotech/iot/1.5/include [2024-01-05T01:47:25.853Z] -- C SDK 3.0.3-dev.7 for Linux [2024-01-05T01:47:25.853Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T01:47:25.853Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T01:47:25.853Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T01:47:25.853Z] -- Configuring done (0.4s) [2024-01-05T01:47:25.853Z] -- Generating done (0.0s) [2024-01-05T01:47:25.853Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T01:47:25.853Z] + make [2024-01-05T01:47:25.853Z] + tee debug.log [2024-01-05T01:47:25.853Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T01:47:26.113Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T01:47:26.113Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T01:47:26.113Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T01:47:26.375Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T01:47:26.375Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T01:47:26.375Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T01:47:26.637Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T01:47:26.637Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T01:47:26.637Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T01:47:26.637Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T01:47:26.897Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T01:47:26.897Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T01:47:26.897Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T01:47:27.157Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T01:47:27.157Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T01:47:27.157Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T01:47:27.417Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T01:47:27.417Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T01:47:27.417Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T01:47:27.417Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T01:47:27.676Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T01:47:27.676Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T01:47:27.936Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T01:47:27.936Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T01:47:27.936Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T01:47:27.936Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T01:47:28.195Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T01:47:28.195Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T01:47:28.455Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T01:47:28.455Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T01:47:28.455Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T01:47:28.455Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:47:28.455Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T01:47:28.455Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:47:28.455Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:47:28.455Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T01:47:28.455Z] | ^ [2024-01-05T01:47:28.455Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T01:47:28.714Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T01:47:28.714Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T01:47:28.715Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T01:47:28.715Z] [ 68%] Built target csdk [2024-01-05T01:47:28.715Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T01:47:28.975Z] [ 72%] Linking C executable template [2024-01-05T01:47:28.975Z] [ 72%] Built target template [2024-01-05T01:47:28.975Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T01:47:28.975Z] [ 76%] Linking C executable device-counter [2024-01-05T01:47:29.235Z] [ 76%] Built target device-counter [2024-01-05T01:47:29.235Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T01:47:29.235Z] [ 80%] Linking C executable device-random [2024-01-05T01:47:29.235Z] [ 80%] Built target device-random [2024-01-05T01:47:29.235Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T01:47:29.235Z] [ 84%] Linking C executable device-gyro [2024-01-05T01:47:29.494Z] [ 84%] Built target device-gyro [2024-01-05T01:47:29.494Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T01:47:29.494Z] [ 88%] Linking C executable device-bitfields [2024-01-05T01:47:29.494Z] [ 88%] Built target device-bitfields [2024-01-05T01:47:29.494Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T01:47:29.754Z] [ 92%] Linking C executable template-discovery [2024-01-05T01:47:29.754Z] [ 92%] Built target template-discovery [2024-01-05T01:47:29.754Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T01:47:29.754Z] [ 96%] Linking C executable device-file [2024-01-05T01:47:29.754Z] [ 96%] Built target device-file [2024-01-05T01:47:30.015Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T01:47:30.015Z] [100%] Linking C executable device-terminal [2024-01-05T01:47:30.015Z] [100%] Built target device-terminal [2024-01-05T01:47:30.015Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-05T01:47:30.015Z] [ 68%] Built target csdk [2024-01-05T01:47:30.015Z] [ 72%] Built target template [2024-01-05T01:47:30.015Z] [ 76%] Built target device-counter [2024-01-05T01:47:30.275Z] [ 80%] Built target device-random [2024-01-05T01:47:30.275Z] [ 84%] Built target device-gyro [2024-01-05T01:47:30.275Z] [ 88%] Built target device-bitfields [2024-01-05T01:47:30.275Z] [ 92%] Built target template-discovery [2024-01-05T01:47:30.275Z] [ 96%] Built target device-file [2024-01-05T01:47:30.275Z] [100%] Built target device-terminal [2024-01-05T01:47:30.275Z] Install the project... [2024-01-05T01:47:30.275Z] -- Install configuration: "Release" [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T01:47:30.275Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/devsdk [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T01:47:30.275Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T01:47:30.275Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T01:47:30.845Z] Removing intermediate container f38bbfa5eb20 [2024-01-05T01:47:30.845Z] ---> 05432fd68934 [2024-01-05T01:47:30.845Z] Step 14/21 : FROM ${BASE} [2024-01-05T01:47:30.845Z] ---> 6605166a5db4 [2024-01-05T01:47:30.845Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-05T01:47:30.845Z] ---> Running in 2d39521c725c [2024-01-05T01:47:30.845Z] Removing intermediate container 2d39521c725c [2024-01-05T01:47:30.845Z] ---> 7a6544c085a3 [2024-01-05T01:47:30.845Z] 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-01-05T01:47:31.104Z] ---> Running in 7f3008b0570e [2024-01-05T01:47:31.368Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T01:47:31.629Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T01:47:31.629Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T01:47:31.629Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T01:47:31.889Z] Removing intermediate container 7f3008b0570e [2024-01-05T01:47:31.889Z] ---> cf62321ad281 [2024-01-05T01:47:31.889Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T01:47:31.889Z] ---> Running in 5b198aab883a [2024-01-05T01:47:32.458Z] Removing intermediate container 5b198aab883a [2024-01-05T01:47:32.458Z] ---> b697eb9b041c [2024-01-05T01:47:32.458Z] 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-01-05T01:47:32.458Z] ---> Running in e4490aad1ba0 [2024-01-05T01:47:32.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:32.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:33.238Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:33.811Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:47:33.811Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T01:47:33.811Z] (2/9) Installing curl (8.5.0-r0) [2024-01-05T01:47:33.811Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T01:47:33.811Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T01:47:33.811Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T01:47:33.811Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T01:47:34.380Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T01:47:34.638Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T01:47:34.638Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T01:47:34.638Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T01:47:34.638Z] OK: 331 MiB in 89 packages [2024-01-05T01:47:35.205Z] Removing intermediate container e4490aad1ba0 [2024-01-05T01:47:35.205Z] ---> 591fe0ce4c6a [2024-01-05T01:47:35.205Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T01:47:35.205Z] ---> 07b567b17846 [2024-01-05T01:47:35.205Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T01:47:35.464Z] ---> f19118c7bdbc [2024-01-05T01:47:35.464Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T01:47:35.464Z] ---> 383d44075cec [2024-01-05T01:47:35.464Z] Successfully built 383d44075cec [2024-01-05T01:47:35.464Z] 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-01-05T01:47:35.992Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-05T01:47:35.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:47:36.107Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:47:36.135Z] $ 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-01-05T01:47:36.491Z] $ docker top c9c925f8da58401e9b465368ff6d099cdbcaa78b831d2708fe1ae2029349088c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T01:47:36.876Z] + make test [2024-01-05T01:47:36.876Z] echo "make test" [2024-01-05T01:47:36.876Z] make test [Pipeline] } [2024-01-05T01:47:36.886Z] $ docker stop --time=1 c9c925f8da58401e9b465368ff6d099cdbcaa78b831d2708fe1ae2029349088c [2024-01-05T01:47:38.176Z] $ docker rm -f --volumes c9c925f8da58401e9b465368ff6d099cdbcaa78b831d2708fe1ae2029349088c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T01:47:38.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T01:47:39.286Z] + ls -al . [2024-01-05T01:47:39.286Z] total 212 [2024-01-05T01:47:39.286Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 01:46 . [2024-01-05T01:47:39.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:46 .. [2024-01-05T01:47:39.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 01:46 .git [2024-01-05T01:47:39.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 01:46 .github [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 01:46 .gitignore [2024-01-05T01:47:39.286Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 01:46 .semver [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 01:46 Attribution.txt [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 01:46 CHANGELOG.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 01:46 Doxyfile [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 01:46 GOVERNANCE.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 01:46 Jenkinsfile [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 01:46 LICENSE [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 01:46 Makefile [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 01:46 OWNERS.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 01:46 README.IOT.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 01:46 README.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 01:46 README.v3.md [2024-01-05T01:47:39.286Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 5 01:47 VERSION [2024-01-05T01:47:39.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 01:46 docs [2024-01-05T01:47:39.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:46 include [2024-01-05T01:47:39.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 01:46 scripts [2024-01-05T01:47:39.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:46 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:47:39.689Z] + 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=0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 --label arch=amd64 --label version=3.0.3-dev.7 . [2024-01-05T01:47:39.689Z] Sending build context to Docker daemon 4.951MB [2024-01-05T01:47:39.689Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-05T01:47:39.689Z] Step 2/17 : FROM ${BASE} [2024-01-05T01:47:39.689Z] ---> 383d44075cec [2024-01-05T01:47:39.689Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-05T01:47:39.689Z] ---> Running in f2e45b9dd560 [2024-01-05T01:47:39.964Z] Removing intermediate container f2e45b9dd560 [2024-01-05T01:47:39.964Z] ---> 1748bd407e26 [2024-01-05T01:47:39.964Z] 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-01-05T01:47:39.965Z] ---> Running in 5e6d1713467a [2024-01-05T01:47:40.233Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T01:47:40.499Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T01:47:40.499Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T01:47:40.499Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T01:47:40.758Z] Removing intermediate container 5e6d1713467a [2024-01-05T01:47:40.758Z] ---> 8046752d24a7 [2024-01-05T01:47:40.758Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T01:47:40.758Z] ---> Running in ce511984ffb5 [2024-01-05T01:47:41.329Z] Removing intermediate container ce511984ffb5 [2024-01-05T01:47:41.329Z] ---> f3c7e9fefefb [2024-01-05T01:47:41.329Z] 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-01-05T01:47:41.329Z] ---> Running in 0af38ece8c63 [2024-01-05T01:47:41.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:41.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:41.851Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T01:47:42.421Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:47:42.421Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T01:47:42.680Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T01:47:42.680Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T01:47:42.680Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T01:47:42.680Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T01:47:42.680Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T01:47:42.680Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T01:47:42.680Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T01:47:42.680Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-05T01:47:42.680Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T01:47:42.680Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T01:47:42.680Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T01:47:42.680Z] OK: 336 MiB in 100 packages [2024-01-05T01:47:43.251Z] Removing intermediate container 0af38ece8c63 [2024-01-05T01:47:43.251Z] ---> 2832322b80ed [2024-01-05T01:47:43.251Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-05T01:47:43.511Z] ---> ba2e35fccde8 [2024-01-05T01:47:43.511Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-05T01:47:43.511Z] ---> 1a83d2bab5b8 [2024-01-05T01:47:43.511Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-05T01:47:43.772Z] ---> 42f63cc19f7f [2024-01-05T01:47:43.772Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-05T01:47:43.772Z] ---> 53a7482a8571 [2024-01-05T01:47:43.772Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-05T01:47:44.032Z] ---> a7b378833648 [2024-01-05T01:47:44.032Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T01:47:44.032Z] ---> 05cee7ea8939 [2024-01-05T01:47:44.032Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-05T01:47:44.032Z] ---> Running in 42eeddbaaa67 [2024-01-05T01:47:44.291Z] Removing intermediate container 42eeddbaaa67 [2024-01-05T01:47:44.291Z] ---> 8ce863ad22b3 [2024-01-05T01:47:44.292Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-05T01:47:44.292Z] ---> Running in 360fdacc703a [2024-01-05T01:47:44.292Z] Removing intermediate container 360fdacc703a [2024-01-05T01:47:44.292Z] ---> e3cdc40546ae [2024-01-05T01:47:44.292Z] Step 15/17 : LABEL arch=amd64 [2024-01-05T01:47:44.292Z] ---> Running in 70a529d76043 [2024-01-05T01:47:44.550Z] Removing intermediate container 70a529d76043 [2024-01-05T01:47:44.550Z] ---> b8c9bb0696c3 [2024-01-05T01:47:44.550Z] Step 16/17 : LABEL git_sha=0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 [2024-01-05T01:47:44.550Z] ---> Running in 0f3b43873975 [2024-01-05T01:47:44.550Z] Removing intermediate container 0f3b43873975 [2024-01-05T01:47:44.550Z] ---> 7ecaf5f01316 [2024-01-05T01:47:44.550Z] Step 17/17 : LABEL version=3.0.3-dev.7 [2024-01-05T01:47:44.550Z] ---> Running in f0f8a3411c14 [2024-01-05T01:47:44.550Z] Removing intermediate container f0f8a3411c14 [2024-01-05T01:47:44.550Z] ---> 60979ac84e9d [2024-01-05T01:47:44.550Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-01-05T01:47:44.550Z] Successfully built 60979ac84e9d [2024-01-05T01:47:44.550Z] 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-01-05T01:47:45.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T01:47:45.306Z] [2024-01-05T01:47:45.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:47:45.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T01:47:45.688Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-05T01:47:45.688Z] 5eb5b503b376: Pulling fs layer [2024-01-05T01:47:45.688Z] 5c69ac0246d0: Pulling fs layer [2024-01-05T01:47:45.688Z] ec43610c2a17: Pulling fs layer [2024-01-05T01:47:45.688Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-05T01:47:45.688Z] 33b1e0a273af: Pulling fs layer [2024-01-05T01:47:45.688Z] 5d3b04190fa2: Pulling fs layer [2024-01-05T01:47:45.688Z] 2f39f015ded8: Pulling fs layer [2024-01-05T01:47:45.688Z] 3a2ae6a8a46f: Waiting [2024-01-05T01:47:45.688Z] 33b1e0a273af: Waiting [2024-01-05T01:47:45.688Z] 5d3b04190fa2: Waiting [2024-01-05T01:47:45.688Z] 2f39f015ded8: Waiting [2024-01-05T01:47:45.688Z] 5c69ac0246d0: Download complete [2024-01-05T01:47:45.688Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-05T01:47:45.688Z] 3a2ae6a8a46f: Download complete [2024-01-05T01:47:45.688Z] 33b1e0a273af: Verifying Checksum [2024-01-05T01:47:45.688Z] 33b1e0a273af: Download complete [2024-01-05T01:47:45.688Z] ec43610c2a17: Verifying Checksum [2024-01-05T01:47:45.688Z] ec43610c2a17: Download complete [2024-01-05T01:47:45.688Z] 5d3b04190fa2: Verifying Checksum [2024-01-05T01:47:45.688Z] 5d3b04190fa2: Download complete [2024-01-05T01:47:45.945Z] 5eb5b503b376: Verifying Checksum [2024-01-05T01:47:45.945Z] 5eb5b503b376: Download complete [2024-01-05T01:47:46.512Z] 2f39f015ded8: Download complete [2024-01-05T01:47:47.077Z] 5eb5b503b376: Pull complete [2024-01-05T01:47:47.335Z] 5c69ac0246d0: Pull complete [2024-01-05T01:47:47.904Z] ec43610c2a17: Pull complete [2024-01-05T01:47:47.904Z] 3a2ae6a8a46f: Pull complete [2024-01-05T01:47:48.163Z] 33b1e0a273af: Pull complete [2024-01-05T01:47:48.163Z] 5d3b04190fa2: Pull complete [2024-01-05T01:47:52.350Z] 2f39f015ded8: Pull complete [2024-01-05T01:47:52.350Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-05T01:47:52.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T01:47:52.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:47:52.518Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:47:52.543Z] $ 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-01-05T01:47:57.144Z] $ docker top f41920b7c0ce68b1fc6266612a2d06fef9631389121bd64672e38da1660616f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:47:57.575Z] ---> job-cost.sh [2024-01-05T01:47:57.575Z] lf-activate-venv: SKIPPING [2024-01-05T01:47:57.575Z] INFO: No Stack... [2024-01-05T01:47:57.834Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T01:47:58.093Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T01:47:58.381Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-01-05T01:47:58.381Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T01:47:58.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [2024-01-05T01:47:58.402Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] did not exist. Created. [2024-01-05T01:47:58.402Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T01:47:58.745Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T01:47:58.788Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T01:47:58.795Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T01:47:58.853Z] $ docker stop --time=1 f41920b7c0ce68b1fc6266612a2d06fef9631389121bd64672e38da1660616f4 [2024-01-05T01:47:59.993Z] $ docker rm -f --volumes f41920b7c0ce68b1fc6266612a2d06fef9631389121bd64672e38da1660616f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-05T01:51:01.900Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26759 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-01-05T01:51:01.935Z] Running in /w/workspace/device-sdk-c/67 [Pipeline] { [Pipeline] checkout [2024-01-05T01:51:05.073Z] Selected Git installation does not exist. Using Default [2024-01-05T01:51:05.073Z] The recommended git tool is: NONE [2024-01-05T01:51:13.001Z] using credential edgex-jenkins-ssh [2024-01-05T01:51:13.028Z] Cloning the remote Git repository [2024-01-05T01:51:13.078Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T01:51:13.171Z] > git init /w/workspace/device-sdk-c/67 # timeout=10 [2024-01-05T01:51:13.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T01:51:13.320Z] > git --version # timeout=10 [2024-01-05T01:51:13.337Z] > git --version # 'git version 2.25.1' [2024-01-05T01:51:13.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T01:51:13.508Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T01:51:14.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T01:51:14.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T01:51:15.451Z] Avoid second fetch [2024-01-05T01:51:15.452Z] Checking out Revision 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 (main) [2024-01-05T01:51:15.468Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T01:51:15.529Z] > git checkout -f 0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 # timeout=10 [2024-01-05T01:51:16.066Z] Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string (#505)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T01:51:17.267Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-05T01:51:17.267Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-05T01:51:17.267Z] Dload Upload Total Spent Left Speed [2024-01-05T01:51:17.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 85689 0 --:--:-- --:--:-- --:--:-- 86272 [Pipeline] sh [2024-01-05T01:51:17.616Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-05T01:51:17.953Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-05T01:51:17.953Z] + sudo tee /etc/docker/daemon.new [2024-01-05T01:51:17.953Z] { [2024-01-05T01:51:17.953Z] "registry-mirrors": [ [2024-01-05T01:51:17.953Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-05T01:51:17.953Z] ], [2024-01-05T01:51:17.953Z] "bip": "10.250.0.254/24", [2024-01-05T01:51:17.953Z] "hosts": [ [2024-01-05T01:51:17.953Z] "tcp://0.0.0.0:5555", [2024-01-05T01:51:17.953Z] "unix:///var/run/docker.sock" [2024-01-05T01:51:17.953Z] ], [2024-01-05T01:51:17.953Z] "mtu": 1458, [2024-01-05T01:51:17.953Z] "selinux-enabled": true, [2024-01-05T01:51:17.953Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-05T01:51:17.953Z] } [Pipeline] sh [2024-01-05T01:51:18.297Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-05T01:51:18.630Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T01:51:36.940Z] provisioning config files... [2024-01-05T01:51:36.966Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/67@tmp/config8328158555161019647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:51:37.434Z] ---> ****-login.sh [2024-01-05T01:51:37.434Z] nexus3.edgexfoundry.org:10001 [2024-01-05T01:51:37.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:51:37.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:51:37.974Z] Configure a credential helper to remove this warning. See [2024-01-05T01:51:37.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:51:37.974Z] [2024-01-05T01:51:37.974Z] Login Succeeded [2024-01-05T01:51:37.974Z] nexus3.edgexfoundry.org:10002 [2024-01-05T01:51:37.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:51:38.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:51:38.244Z] Configure a credential helper to remove this warning. See [2024-01-05T01:51:38.244Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:51:38.244Z] [2024-01-05T01:51:38.244Z] Login Succeeded [2024-01-05T01:51:38.244Z] nexus3.edgexfoundry.org:10003 [2024-01-05T01:51:38.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:51:38.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:51:38.525Z] Configure a credential helper to remove this warning. See [2024-01-05T01:51:38.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:51:38.525Z] [2024-01-05T01:51:38.525Z] Login Succeeded [2024-01-05T01:51:38.525Z] nexus3.edgexfoundry.org:10004 [2024-01-05T01:51:38.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:51:38.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:51:38.793Z] Configure a credential helper to remove this warning. See [2024-01-05T01:51:38.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:51:38.793Z] [2024-01-05T01:51:38.793Z] Login Succeeded [2024-01-05T01:51:38.793Z] ****.io [2024-01-05T01:51:38.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T01:51:39.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T01:51:39.061Z] Configure a credential helper to remove this warning. See [2024-01-05T01:51:39.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T01:51:39.061Z] [2024-01-05T01:51:39.061Z] Login Succeeded [2024-01-05T01:51:39.061Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T01:51:39.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T01:51:39.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T01:51:39.487Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-05T01:51:39.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T01:51:39.560Z] ========================================================= [2024-01-05T01:51:39.560Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-05T01:51:39.560Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:51:39.990Z] + 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-01-05T01:51:40.959Z] #0 building with "default" instance using docker driver [2024-01-05T01:51:40.959Z] [2024-01-05T01:51:40.959Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-05T01:51:40.959Z] #1 transferring dockerfile: 2.04kB 0.0s done [2024-01-05T01:51:40.959Z] #1 DONE 0.1s [2024-01-05T01:51:40.959Z] [2024-01-05T01:51:40.959Z] #2 [internal] load .dockerignore [2024-01-05T01:51:40.959Z] #2 transferring context: 2B done [2024-01-05T01:51:40.959Z] #2 DONE 0.1s [2024-01-05T01:51:41.234Z] [2024-01-05T01:51:41.234Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-05T01:51:41.234Z] #3 DONE 0.1s [2024-01-05T01:51:41.234Z] [2024-01-05T01:51:41.234Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T01:51:41.234Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-05T01:51:41.505Z] #4 ... [2024-01-05T01:51:41.505Z] [2024-01-05T01:51:41.505Z] #5 [internal] load build context [2024-01-05T01:51:41.505Z] #5 transferring context: 628.02kB 0.2s done [2024-01-05T01:51:41.505Z] #5 DONE 0.2s [2024-01-05T01:51:41.505Z] [2024-01-05T01:51:41.505Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T01:51:41.505Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-05T01:51:41.505Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-05T01:51:41.505Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-05T01:51:41.505Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-05T01:51:41.505Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-05T01:51:41.505Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-05T01:51:41.505Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 6.29MB / 109.51MB 0.3s [2024-01-05T01:51:41.776Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17.83MB / 109.51MB 0.5s [2024-01-05T01:51:41.776Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 23.39MB / 109.51MB 0.6s [2024-01-05T01:51:41.776Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-05T01:51:42.047Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 40.89MB / 109.51MB 0.9s [2024-01-05T01:51:42.316Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 47.19MB / 109.51MB 1.0s [2024-01-05T01:51:42.316Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 53.48MB / 109.51MB 1.1s [2024-01-05T01:51:42.584Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 65.01MB / 109.51MB 1.3s [2024-01-05T01:51:42.854Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 76.16MB / 109.51MB 1.5s [2024-01-05T01:51:42.854Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 87.03MB / 109.51MB 1.7s [2024-01-05T01:51:43.121Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 103.81MB / 109.51MB 2.0s [2024-01-05T01:51:43.390Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s [2024-01-05T01:51:43.658Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done [2024-01-05T01:51:43.658Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-05T01:51:49.006Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-05T01:51:55.660Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10.9s [2024-01-05T01:51:55.660Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.1s done [2024-01-05T01:51:55.950Z] #4 DONE 14.8s [2024-01-05T01:51:56.226Z] [2024-01-05T01:51:56.226Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T01:51:56.811Z] #6 0.678 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T01:51:57.079Z] #6 1.183 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T01:51:57.079Z] #6 1.183 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T01:51:57.079Z] #6 1.184 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T01:51:58.037Z] #6 DONE 1.9s [2024-01-05T01:51:58.037Z] [2024-01-05T01:51:58.037Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T01:51:59.019Z] #7 DONE 0.8s [2024-01-05T01:51:59.019Z] [2024-01-05T01:51:59.019Z] #8 [stage-1 4/7] 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-01-05T01:51:59.994Z] #8 0.982 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:00.262Z] #8 1.394 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:00.532Z] #8 1.929 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:01.500Z] #8 2.828 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:52:01.767Z] #8 2.860 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T01:52:01.767Z] #8 2.889 (2/9) Installing curl (8.5.0-r0) [2024-01-05T01:52:01.767Z] #8 2.904 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T01:52:01.767Z] #8 2.926 (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T01:52:01.767Z] #8 2.933 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T01:52:01.767Z] #8 3.025 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T01:52:02.727Z] #8 3.828 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T01:52:02.727Z] #8 4.068 (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T01:52:02.996Z] #8 4.159 (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T01:52:02.996Z] #8 4.170 Executing busybox-1.36.1-r4.trigger [2024-01-05T01:52:02.996Z] #8 4.216 OK: 327 MiB in 89 packages [2024-01-05T01:52:05.575Z] #8 DONE 6.3s [2024-01-05T01:52:05.575Z] [2024-01-05T01:52:05.575Z] #9 [builder 4/12] 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-01-05T01:52:05.575Z] #9 0.958 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:05.575Z] #9 1.361 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:05.575Z] #9 1.976 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:52:05.575Z] #9 2.857 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:52:05.575Z] #9 2.892 (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T01:52:05.575Z] #9 2.901 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T01:52:05.575Z] #9 3.012 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T01:52:05.575Z] #9 3.774 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T01:52:05.575Z] #9 3.894 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T01:52:05.575Z] #9 4.116 (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T01:52:05.575Z] #9 4.157 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T01:52:05.575Z] #9 4.174 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T01:52:05.575Z] #9 4.194 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T01:52:05.575Z] #9 4.201 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T01:52:05.575Z] #9 4.211 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T01:52:05.575Z] #9 4.254 (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.271 (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.278 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.302 (15/17) Installing libmount (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.322 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.335 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T01:52:05.575Z] #9 4.425 Executing busybox-1.36.1-r4.trigger [2024-01-05T01:52:05.575Z] #9 4.469 OK: 333 MiB in 99 packages [2024-01-05T01:52:05.575Z] #9 DONE 6.3s [2024-01-05T01:52:05.575Z] [2024-01-05T01:52:05.575Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-05T01:52:06.161Z] #10 DONE 1.0s [2024-01-05T01:52:06.161Z] [2024-01-05T01:52:06.161Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-05T01:52:06.161Z] #11 DONE 0.1s [2024-01-05T01:52:06.161Z] [2024-01-05T01:52:06.161Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-05T01:52:06.429Z] #12 DONE 0.2s [2024-01-05T01:52:06.429Z] [2024-01-05T01:52:06.429Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-05T01:52:06.429Z] #13 DONE 0.1s [2024-01-05T01:52:06.699Z] [2024-01-05T01:52:06.699Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-05T01:52:06.699Z] #14 DONE 0.1s [2024-01-05T01:52:06.699Z] [2024-01-05T01:52:06.699Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-05T01:52:06.699Z] #15 DONE 0.1s [2024-01-05T01:52:06.699Z] [2024-01-05T01:52:06.699Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-05T01:52:06.699Z] #16 DONE 0.1s [2024-01-05T01:52:06.968Z] [2024-01-05T01:52:06.968Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T01:52:07.552Z] #17 0.612 + CPPCHECK=false [2024-01-05T01:52:07.552Z] #17 0.612 + DOCGEN=false [2024-01-05T01:52:07.552Z] #17 0.612 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T01:52:07.552Z] #17 0.612 + '[' 0 -gt 0 ] [2024-01-05T01:52:07.552Z] #17 0.614 + readlink -f ./scripts/build.sh [2024-01-05T01:52:07.552Z] #17 0.616 + dirname /tmp/sdk/scripts/build.sh [2024-01-05T01:52:07.552Z] #17 0.618 + dirname /tmp/sdk/scripts [2024-01-05T01:52:07.552Z] #17 0.620 + ROOT=/tmp/sdk [2024-01-05T01:52:07.552Z] #17 0.620 + cd /tmp/sdk [2024-01-05T01:52:07.552Z] #17 0.620 + mkdir -p /tmp/sdk/build/release [2024-01-05T01:52:07.552Z] #17 0.623 + cd /tmp/sdk/build/release [2024-01-05T01:52:07.552Z] #17 0.623 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T01:52:07.818Z] #17 0.935 -- The C compiler identification is GNU 12.2.1 [2024-01-05T01:52:07.818Z] #17 0.995 -- Detecting C compiler ABI info [2024-01-05T01:52:08.085Z] #17 1.315 -- Detecting C compiler ABI info - done [2024-01-05T01:52:08.085Z] #17 1.397 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T01:52:08.085Z] #17 1.399 -- Detecting C compile features [2024-01-05T01:52:08.085Z] #17 1.402 -- Detecting C compile features - done [2024-01-05T01:52:08.085Z] #17 1.426 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T01:52:08.352Z] #17 1.600 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T01:52:08.352Z] #17 1.616 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T01:52:08.352Z] #17 1.631 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T01:52:08.352Z] #17 1.646 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T01:52:08.352Z] #17 1.661 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T01:52:08.352Z] #17 1.676 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T01:52:08.352Z] #17 1.692 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T01:52:08.618Z] #17 1.693 -- /opt/iotech/iot/1.5/include [2024-01-05T01:52:08.618Z] #17 1.693 -- C SDK 3.0.3-dev.7 for Linux [2024-01-05T01:52:08.618Z] #17 1.706 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T01:52:08.886Z] #17 2.017 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T01:52:09.153Z] #17 2.175 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T01:52:09.153Z] #17 2.283 -- Configuring done (1.6s) [2024-01-05T01:52:09.418Z] #17 2.530 -- Generating done (0.2s) [2024-01-05T01:52:09.418Z] #17 2.548 -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T01:52:09.418Z] #17 2.568 + make all+ tee release.log [2024-01-05T01:52:09.418Z] #17 2.569 package [2024-01-05T01:52:09.418Z] #17 2.679 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T01:52:10.377Z] #17 3.349 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T01:52:10.959Z] #17 4.138 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T01:52:11.545Z] #17 4.857 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T01:52:12.509Z] #17 5.743 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T01:52:13.472Z] #17 6.396 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T01:52:15.414Z] #17 8.430 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T01:52:15.999Z] #17 9.232 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T01:52:15.999Z] #17 9.232 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:52:15.999Z] #17 9.232 294 | while (privateConfig) [2024-01-05T01:52:15.999Z] #17 9.232 | ^~~~~~~~~~~~~ [2024-01-05T01:52:15.999Z] #17 9.232 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T01:52:15.999Z] #17 9.232 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T01:52:15.999Z] #17 9.232 | ^~~~~~~~~~~~~ [2024-01-05T01:52:15.999Z] #17 9.232 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:52:15.999Z] #17 9.232 271 | while (result) [2024-01-05T01:52:15.999Z] #17 9.232 | ^~~~~~ [2024-01-05T01:52:15.999Z] #17 9.232 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T01:52:15.999Z] #17 9.232 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T01:52:15.999Z] #17 9.232 | ^~~~~~ [2024-01-05T01:52:16.584Z] #17 9.551 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T01:52:16.584Z] #17 9.769 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T01:52:17.546Z] #17 10.60 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T01:52:19.492Z] #17 12.45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T01:52:19.760Z] #17 13.03 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T01:52:20.725Z] #17 13.91 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T01:52:21.309Z] #17 14.64 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T01:52:22.271Z] #17 15.11 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T01:52:22.858Z] #17 16.07 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T01:52:23.128Z] #17 16.39 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T01:52:25.075Z] #17 18.34 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T01:52:25.345Z] #17 18.67 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T01:52:25.930Z] #17 19.23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T01:52:27.337Z] #17 20.45 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T01:52:35.554Z] #17 27.27 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T01:52:35.554Z] #17 27.87 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T01:52:35.554Z] #17 28.25 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T01:52:35.554Z] #17 28.78 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T01:52:35.821Z] #17 29.08 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T01:52:37.759Z] #17 30.58 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T01:52:39.695Z] #17 32.66 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T01:52:39.961Z] #17 33.09 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T01:52:40.937Z] #17 33.95 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T01:52:41.212Z] #17 34.53 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T01:52:41.482Z] #17 34.81 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T01:52:41.749Z] #17 34.81 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:52:41.749Z] #17 34.81 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T01:52:41.749Z] #17 34.81 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:52:41.749Z] #17 34.81 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:52:41.749Z] #17 34.81 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T01:52:41.749Z] #17 34.81 | ^ [2024-01-05T01:52:43.158Z] #17 36.25 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T01:52:43.158Z] #17 36.25 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T01:52:43.158Z] #17 36.25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:52:43.158Z] #17 36.25 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T01:52:43.158Z] #17 36.25 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T01:52:43.158Z] #17 36.25 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:52:44.119Z] #17 37.28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T01:52:45.100Z] #17 38.02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T01:52:45.100Z] #17 38.36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T01:52:45.683Z] #17 38.88 [ 68%] Linking C shared library libcsdk.so [2024-01-05T01:52:45.951Z] #17 39.08 [ 68%] Built target csdk [2024-01-05T01:52:45.951Z] #17 39.14 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T01:52:46.928Z] #17 39.95 [ 72%] Linking C executable template [2024-01-05T01:52:47.195Z] #17 40.26 [ 72%] Built target template [2024-01-05T01:52:47.195Z] #17 40.32 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T01:52:47.780Z] #17 40.83 [ 76%] Linking C executable device-counter [2024-01-05T01:52:48.048Z] #17 41.15 [ 76%] Built target device-counter [2024-01-05T01:52:48.048Z] #17 41.20 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T01:52:48.630Z] #17 41.69 [ 80%] Linking C executable device-random [2024-01-05T01:52:48.914Z] #17 42.02 [ 80%] Built target device-random [2024-01-05T01:52:48.914Z] #17 42.07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T01:52:49.500Z] #17 42.54 [ 84%] Linking C executable device-gyro [2024-01-05T01:52:49.766Z] #17 42.85 [ 84%] Built target device-gyro [2024-01-05T01:52:49.766Z] #17 42.91 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T01:52:50.351Z] #17 43.40 [ 88%] Linking C executable device-bitfields [2024-01-05T01:52:50.619Z] #17 43.71 [ 88%] Built target device-bitfields [2024-01-05T01:52:50.619Z] #17 43.76 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T01:52:51.580Z] #17 44.57 [ 92%] Linking C executable template-discovery [2024-01-05T01:52:51.580Z] #17 44.87 [ 92%] Built target template-discovery [2024-01-05T01:52:51.847Z] #17 44.92 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T01:52:52.434Z] #17 45.61 [ 96%] Linking C executable device-file [2024-01-05T01:52:53.020Z] #17 45.91 [ 96%] Built target device-file [2024-01-05T01:52:53.020Z] #17 45.97 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T01:52:53.603Z] #17 46.59 [100%] Linking C executable device-terminal [2024-01-05T01:52:53.869Z] #17 46.91 [100%] Built target device-terminal [2024-01-05T01:52:53.869Z] #17 46.96 Run CPack packaging tool... [2024-01-05T01:52:53.869Z] #17 47.01 CPack: Create package using TGZ [2024-01-05T01:52:53.869Z] #17 47.01 CPack: Install projects [2024-01-05T01:52:53.869Z] #17 47.01 CPack: - Run preinstall target for: Csdk [2024-01-05T01:52:54.831Z] #17 47.74 CPack: - Install project: Csdk [] [2024-01-05T01:52:54.831Z] #17 47.78 CPack: Create package [2024-01-05T01:52:54.831Z] #17 47.87 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.7.tar.gz generated. [2024-01-05T01:52:54.831Z] #17 47.87 + '[' false '=' true ] [2024-01-05T01:52:54.831Z] #17 47.87 + '[' false '=' true ] [2024-01-05T01:52:54.831Z] #17 47.87 + mkdir -p /tmp/sdk/build/debug [2024-01-05T01:52:54.831Z] #17 47.88 + cd /tmp/sdk/build/debug [2024-01-05T01:52:54.831Z] #17 47.88 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T01:52:55.100Z] #17 48.18 -- The C compiler identification is GNU 12.2.1 [2024-01-05T01:52:55.100Z] #17 48.24 -- Detecting C compiler ABI info [2024-01-05T01:52:55.369Z] #17 48.56 -- Detecting C compiler ABI info - done [2024-01-05T01:52:55.636Z] #17 48.64 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T01:52:55.636Z] #17 48.64 -- Detecting C compile features [2024-01-05T01:52:55.636Z] #17 48.65 -- Detecting C compile features - done [2024-01-05T01:52:55.636Z] #17 48.67 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T01:52:55.636Z] #17 48.85 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T01:52:55.636Z] #17 48.87 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T01:52:55.636Z] #17 48.89 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T01:52:55.904Z] #17 48.90 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T01:52:55.904Z] #17 48.91 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T01:52:55.904Z] #17 48.93 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T01:52:55.904Z] #17 48.94 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T01:52:55.904Z] #17 48.94 -- /opt/iotech/iot/1.5/include [2024-01-05T01:52:55.904Z] #17 48.94 -- C SDK 3.0.3-dev.7 for Linux [2024-01-05T01:52:55.904Z] #17 48.96 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T01:52:56.171Z] #17 49.28 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T01:52:56.171Z] #17 49.44 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T01:52:56.439Z] #17 49.55 -- Configuring done (1.6s) [2024-01-05T01:52:56.706Z] #17 49.80 -- Generating done (0.2s) [2024-01-05T01:52:56.706Z] #17 49.82 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T01:52:56.706Z] #17 49.84 + make [2024-01-05T01:52:56.706Z] #17 49.84 + tee debug.log [2024-01-05T01:52:56.974Z] #17 49.96 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T01:52:57.241Z] #17 50.34 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T01:52:57.507Z] #17 50.70 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T01:52:58.093Z] #17 51.04 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T01:52:58.093Z] #17 51.41 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T01:52:58.677Z] #17 51.76 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T01:52:59.258Z] #17 52.40 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T01:52:59.839Z] #17 52.82 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T01:52:59.839Z] #17 52.98 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T01:53:00.420Z] #17 53.38 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T01:53:01.001Z] #17 54.00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T01:53:01.267Z] #17 54.33 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T01:53:01.533Z] #17 54.72 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T01:53:02.117Z] #17 55.07 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T01:53:02.385Z] #17 55.39 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T01:53:02.655Z] #17 55.75 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T01:53:02.926Z] #17 55.98 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T01:53:03.511Z] #17 56.72 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T01:53:03.782Z] #17 56.94 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T01:53:04.050Z] #17 57.18 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T01:53:05.013Z] #17 57.92 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T01:53:06.422Z] #17 59.23 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T01:53:06.422Z] #17 59.56 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T01:53:06.689Z] #17 59.82 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T01:53:06.955Z] #17 60.12 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T01:53:07.221Z] #17 60.38 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T01:53:07.803Z] #17 60.87 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T01:53:09.221Z] #17 62.14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T01:53:09.221Z] #17 62.40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T01:53:09.803Z] #17 62.76 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T01:53:09.803Z] #17 63.10 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T01:53:10.070Z] #17 63.37 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T01:53:10.336Z] #17 63.37 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:53:10.336Z] #17 63.37 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T01:53:10.336Z] #17 63.37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T01:53:10.336Z] #17 63.37 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T01:53:10.336Z] #17 63.37 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T01:53:10.336Z] #17 63.37 | ^ [2024-01-05T01:53:10.919Z] #17 63.90 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T01:53:10.919Z] #17 64.25 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T01:53:11.185Z] #17 64.52 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T01:53:11.452Z] #17 64.79 [ 68%] Linking C shared library libcsdk.so [2024-01-05T01:53:12.037Z] #17 65.03 [ 68%] Built target csdk [2024-01-05T01:53:12.037Z] #17 65.08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T01:53:12.304Z] #17 65.42 [ 72%] Linking C executable template [2024-01-05T01:53:12.569Z] #17 65.71 [ 72%] Built target template [2024-01-05T01:53:12.569Z] #17 65.76 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T01:53:12.835Z] #17 66.04 [ 76%] Linking C executable device-counter [2024-01-05T01:53:13.101Z] #17 66.34 [ 76%] Built target device-counter [2024-01-05T01:53:13.101Z] #17 66.39 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T01:53:13.367Z] #17 66.67 [ 80%] Linking C executable device-random [2024-01-05T01:53:13.635Z] #17 66.97 [ 80%] Built target device-random [2024-01-05T01:53:13.900Z] #17 67.02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T01:53:14.369Z] #17 67.28 [ 84%] Linking C executable device-gyro [2024-01-05T01:53:14.636Z] #17 67.57 [ 84%] Built target device-gyro [2024-01-05T01:53:14.636Z] #17 67.62 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T01:53:14.901Z] #17 67.91 [ 88%] Linking C executable device-bitfields [2024-01-05T01:53:15.167Z] #17 68.22 [ 88%] Built target device-bitfields [2024-01-05T01:53:15.167Z] #17 68.27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T01:53:15.433Z] #17 68.62 [ 92%] Linking C executable template-discovery [2024-01-05T01:53:16.019Z] #17 68.94 [ 92%] Built target template-discovery [2024-01-05T01:53:16.019Z] #17 68.99 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T01:53:16.019Z] #17 69.35 [ 96%] Linking C executable device-file [2024-01-05T01:53:16.604Z] #17 69.64 [ 96%] Built target device-file [2024-01-05T01:53:16.604Z] #17 69.70 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T01:53:16.871Z] #17 70.08 [100%] Linking C executable device-terminal [2024-01-05T01:53:17.454Z] #17 70.41 [100%] Built target device-terminal [2024-01-05T01:53:17.454Z] #17 70.45 make: Entering directory '/tmp/sdk/build/release' [2024-01-05T01:53:17.454Z] #17 70.60 [ 68%] Built target csdk [2024-01-05T01:53:17.454Z] #17 70.66 [ 72%] Built target template [2024-01-05T01:53:17.454Z] #17 70.72 [ 76%] Built target device-counter [2024-01-05T01:53:17.454Z] #17 70.77 [ 80%] Built target device-random [2024-01-05T01:53:17.720Z] #17 70.83 [ 84%] Built target device-gyro [2024-01-05T01:53:17.720Z] #17 70.88 [ 88%] Built target device-bitfields [2024-01-05T01:53:17.720Z] #17 70.94 [ 92%] Built target template-discovery [2024-01-05T01:53:17.720Z] #17 70.99 [ 96%] Built target device-file [2024-01-05T01:53:17.989Z] #17 71.05 [100%] Built target device-terminal [2024-01-05T01:53:17.989Z] #17 71.10 Install the project... [2024-01-05T01:53:17.989Z] #17 71.13 -- Install configuration: "Release" [2024-01-05T01:53:17.989Z] #17 71.13 -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T01:53:17.989Z] #17 71.14 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include/devsdk [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include/edgex [2024-01-05T01:53:17.989Z] #17 71.14 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T01:53:17.989Z] #17 71.15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T01:53:17.989Z] #17 71.16 make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T01:53:18.571Z] #17 DONE 71.8s [2024-01-05T01:53:18.571Z] [2024-01-05T01:53:18.571Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T01:53:18.838Z] #18 DONE 0.2s [2024-01-05T01:53:18.838Z] [2024-01-05T01:53:18.838Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T01:53:18.838Z] #19 DONE 0.1s [2024-01-05T01:53:19.106Z] [2024-01-05T01:53:19.106Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T01:53:19.106Z] #20 DONE 0.1s [2024-01-05T01:53:19.106Z] [2024-01-05T01:53:19.106Z] #21 exporting to image [2024-01-05T01:53:19.106Z] #21 exporting layers [2024-01-05T01:53:19.373Z] #21 exporting layers 0.2s done [2024-01-05T01:53:19.373Z] #21 writing image sha256:9f082615e217298252bd3376d658ff168580e9cb5d6d6e7eb42c8d81b8adef72 done [2024-01-05T01:53:19.373Z] #21 naming to docker.io/library/ci-base-image-arm64 [2024-01-05T01:53:19.373Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-05T01:53:19.373Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:53:20.029Z] + docker inspect -f . ci-base-image-arm64 [2024-01-05T01:53:20.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:53:20.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-26759 does not seem to be running inside a container [2024-01-05T01:53:20.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/67 -v /w/workspace/device-sdk-c/67:/w/workspace/device-sdk-c/67:rw,z -v /w/workspace/device-sdk-c/67@tmp:/w/workspace/device-sdk-c/67@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-01-05T01:53:21.360Z] $ docker top afb6aa2baeb77c670d8abe94d1d07c91e17c66ec79188c0e32494ca6ba743da9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T01:53:21.872Z] + make test [2024-01-05T01:53:21.872Z] echo "make test" [2024-01-05T01:53:21.872Z] make test [Pipeline] } [2024-01-05T01:53:21.891Z] $ docker stop --time=1 afb6aa2baeb77c670d8abe94d1d07c91e17c66ec79188c0e32494ca6ba743da9 [2024-01-05T01:53:23.430Z] $ docker rm -f --volumes afb6aa2baeb77c670d8abe94d1d07c91e17c66ec79188c0e32494ca6ba743da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T01:53:24.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T01:53:24.462Z] + ls -al . [2024-01-05T01:53:24.462Z] total 208 [2024-01-05T01:53:24.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 01:51 . [2024-01-05T01:53:24.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:51 .. [2024-01-05T01:53:24.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 01:51 .git [2024-01-05T01:53:24.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 01:51 .github [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 01:51 .gitignore [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 01:51 Attribution.txt [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 01:51 CHANGELOG.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 01:51 Doxyfile [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 01:51 GOVERNANCE.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 01:51 Jenkinsfile [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 01:51 LICENSE [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 01:51 Makefile [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 01:51 OWNERS.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 01:51 README.IOT.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 01:51 README.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 01:51 README.v3.md [2024-01-05T01:53:24.462Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 5 01:47 VERSION [2024-01-05T01:53:24.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 01:51 docs [2024-01-05T01:53:24.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:51 include [2024-01-05T01:53:24.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 01:51 scripts [2024-01-05T01:53:24.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 01:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:53:24.859Z] + 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=0864ff1b436a7a9e42f7c9629cf36a2dea6c3a02 --label arch=arm64 --label version=3.0.3-dev.7 . [2024-01-05T01:53:25.441Z] #0 building with "default" instance using docker driver [2024-01-05T01:53:25.441Z] [2024-01-05T01:53:25.441Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-05T01:53:25.441Z] #1 transferring dockerfile: 1.44kB 0.0s done [2024-01-05T01:53:25.441Z] #1 DONE 0.0s [2024-01-05T01:53:25.441Z] [2024-01-05T01:53:25.441Z] #2 [internal] load .dockerignore [2024-01-05T01:53:25.441Z] #2 transferring context: 2B done [2024-01-05T01:53:25.708Z] #2 DONE 0.0s [2024-01-05T01:53:25.708Z] [2024-01-05T01:53:25.708Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-05T01:53:25.708Z] #3 DONE 0.0s [2024-01-05T01:53:25.708Z] [2024-01-05T01:53:25.708Z] #4 [internal] load build context [2024-01-05T01:53:25.708Z] #4 transferring context: 8.55kB 0.1s done [2024-01-05T01:53:25.708Z] #4 DONE 0.1s [2024-01-05T01:53:25.708Z] [2024-01-05T01:53:25.708Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-05T01:53:25.708Z] #5 DONE 0.2s [2024-01-05T01:53:25.708Z] [2024-01-05T01:53:25.708Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T01:53:26.294Z] #6 0.595 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T01:53:26.876Z] #6 1.097 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T01:53:26.876Z] #6 1.097 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T01:53:26.876Z] #6 1.098 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T01:53:26.876Z] #6 DONE 1.2s [2024-01-05T01:53:26.876Z] [2024-01-05T01:53:26.876Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T01:53:27.838Z] #7 DONE 0.7s [2024-01-05T01:53:27.838Z] [2024-01-05T01:53:27.838Z] #8 [ 4/11] 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-01-05T01:53:28.420Z] #8 0.781 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:53:28.687Z] #8 1.155 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T01:53:29.643Z] #8 1.724 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T01:53:30.227Z] #8 2.592 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T01:53:30.227Z] #8 2.622 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T01:53:30.494Z] #8 2.919 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T01:53:30.494Z] #8 2.938 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T01:53:30.494Z] #8 2.946 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T01:53:30.494Z] #8 2.953 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T01:53:30.494Z] #8 2.963 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T01:53:30.494Z] #8 2.990 (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T01:53:30.494Z] #8 3.013 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T01:53:30.762Z] #8 3.030 (9/11) Installing libmount (2.38.1-r8) [2024-01-05T01:53:30.762Z] #8 3.059 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T01:53:30.762Z] #8 3.071 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T01:53:30.762Z] #8 3.146 Executing busybox-1.36.1-r4.trigger [2024-01-05T01:53:30.762Z] #8 3.190 OK: 333 MiB in 100 packages [2024-01-05T01:53:32.699Z] #8 DONE 5.1s [2024-01-05T01:53:32.699Z] [2024-01-05T01:53:32.699Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-05T01:53:32.699Z] #9 DONE 0.1s [2024-01-05T01:53:32.699Z] [2024-01-05T01:53:32.699Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-05T01:53:32.969Z] #10 DONE 0.2s [2024-01-05T01:53:32.969Z] [2024-01-05T01:53:32.969Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-05T01:53:32.969Z] #11 DONE 0.1s [2024-01-05T01:53:33.237Z] [2024-01-05T01:53:33.237Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-05T01:53:33.237Z] #12 DONE 0.1s [2024-01-05T01:53:33.237Z] [2024-01-05T01:53:33.237Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-05T01:53:33.237Z] #13 DONE 0.1s [2024-01-05T01:53:33.237Z] [2024-01-05T01:53:33.237Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T01:53:33.237Z] #14 DONE 0.1s [2024-01-05T01:53:33.237Z] [2024-01-05T01:53:33.237Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-05T01:53:33.237Z] #15 DONE 0.1s [2024-01-05T01:53:33.506Z] [2024-01-05T01:53:33.506Z] #16 exporting to image [2024-01-05T01:53:33.506Z] #16 exporting layers [2024-01-05T01:53:33.772Z] #16 exporting layers 0.4s done [2024-01-05T01:53:33.773Z] #16 writing image sha256:9392f3eacaed819caf54938619c3a1f24c2d8c2c16f9dd4fb7ae14d32c5bb7a7 done [2024-01-05T01:53:33.773Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-05T01:53:33.773Z] #16 DONE 0.4s [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-01-05T01:53:34.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T01:53:34.487Z] [2024-01-05T01:53:34.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:53:34.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T01:53:35.106Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-05T01:53:35.106Z] 8998bd30e6a1: Pulling fs layer [2024-01-05T01:53:35.106Z] 04944245beec: Pulling fs layer [2024-01-05T01:53:35.106Z] 699f458cf7ca: Pulling fs layer [2024-01-05T01:53:35.106Z] 765212b225bb: Pulling fs layer [2024-01-05T01:53:35.106Z] f23df028b6ca: Pulling fs layer [2024-01-05T01:53:35.106Z] d65c8cfc05b1: Pulling fs layer [2024-01-05T01:53:35.106Z] 2437ff75d9bd: Pulling fs layer [2024-01-05T01:53:35.106Z] f23df028b6ca: Waiting [2024-01-05T01:53:35.106Z] d65c8cfc05b1: Waiting [2024-01-05T01:53:35.106Z] 2437ff75d9bd: Waiting [2024-01-05T01:53:35.106Z] 765212b225bb: Waiting [2024-01-05T01:53:35.106Z] 04944245beec: Verifying Checksum [2024-01-05T01:53:35.106Z] 04944245beec: Download complete [2024-01-05T01:53:35.106Z] 765212b225bb: Verifying Checksum [2024-01-05T01:53:35.106Z] 765212b225bb: Download complete [2024-01-05T01:53:35.374Z] f23df028b6ca: Verifying Checksum [2024-01-05T01:53:35.374Z] f23df028b6ca: Download complete [2024-01-05T01:53:35.374Z] d65c8cfc05b1: Download complete [2024-01-05T01:53:35.374Z] 699f458cf7ca: Verifying Checksum [2024-01-05T01:53:35.374Z] 699f458cf7ca: Download complete [2024-01-05T01:53:35.640Z] 8998bd30e6a1: Download complete [2024-01-05T01:53:37.588Z] 2437ff75d9bd: Verifying Checksum [2024-01-05T01:53:37.588Z] 2437ff75d9bd: Download complete [2024-01-05T01:53:41.835Z] 8998bd30e6a1: Pull complete [2024-01-05T01:53:41.835Z] 04944245beec: Pull complete [2024-01-05T01:53:43.775Z] 699f458cf7ca: Pull complete [2024-01-05T01:53:43.775Z] 765212b225bb: Pull complete [2024-01-05T01:53:47.114Z] f23df028b6ca: Pull complete [2024-01-05T01:53:47.114Z] d65c8cfc05b1: Pull complete [2024-01-05T01:54:09.178Z] 2437ff75d9bd: Pull complete [2024-01-05T01:54:09.178Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-05T01:54:09.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T01:54:09.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:09.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-26759 does not seem to be running inside a container [2024-01-05T01:54:09.507Z] $ 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/67 -v /w/workspace/device-sdk-c/67:/w/workspace/device-sdk-c/67:rw,z -v /w/workspace/device-sdk-c/67@tmp:/w/workspace/device-sdk-c/67@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-01-05T01:54:11.331Z] $ docker top fdbd5ee1b12e36b0bdde9e368f6e9550998193e668f67c4537f17478a2172b0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:11.863Z] ---> job-cost.sh [2024-01-05T01:54:12.128Z] lf-activate-venv: SKIPPING [2024-01-05T01:54:12.128Z] INFO: No Stack... [2024-01-05T01:54:12.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T01:54:13.346Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T01:54:13.729Z] + + cat /w/workspace/device-sdk-c/67/archives/cost.csv [2024-01-05T01:54:13.729Z] cut -d, -f6 [Pipeline] lock [2024-01-05T01:54:13.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [2024-01-05T01:54:13.798Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] did not exist. Created. [2024-01-05T01:54:13.798Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T01:54:14.191Z] /w/workspace/device-sdk-c/67@tmp/durable-755a74ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-05T01:54:14.514Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T01:54:14.572Z] Warning: overwriting stash ‘stack-cost’ [2024-01-05T01:54:15.060Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T01:54:15.068Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-67-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T01:54:15.151Z] $ docker stop --time=1 fdbd5ee1b12e36b0bdde9e368f6e9550998193e668f67c4537f17478a2172b0c [2024-01-05T01:54:16.546Z] $ docker rm -f --volumes fdbd5ee1b12e36b0bdde9e368f6e9550998193e668f67c4537f17478a2172b0c [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-01-05T01:54:17.783Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T01:54:17.783Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:18.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:54:18.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:18.245Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:54:18.270Z] $ 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-01-05T01:54:18.611Z] $ docker top b0c3717a3142d96437386ed2363bb2bddb6f404d6c39ad15af29338738be0967 -eo pid,comm [2024-01-05T01:54:18.662Z] 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-01-05T01:54:18.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T01:54:18.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T01:54:18.811Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T01:54:18.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T01:54:18.913Z] $ docker exec b0c3717a3142d96437386ed2363bb2bddb6f404d6c39ad15af29338738be0967 ssh-agent [2024-01-05T01:54:19.020Z] SSH_AUTH_SOCK=/tmp/ssh-RZV7OnpmAcpn/agent.32 [2024-01-05T01:54:19.020Z] SSH_AGENT_PID=38 [2024-01-05T01:54:19.025Z] Running ssh-add (command line suppressed) [2024-01-05T01:54:19.112Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10229586774166922208.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10229586774166922208.key) [2024-01-05T01:54:19.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T01:54:19.443Z] + git semver tag [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,606 [run_tag] DEBUG tag force:False [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,606 [check_head_tag] DEBUG check head tag [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,607 [execute] INFO git cat-file --batch-check [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,610 [execute] INFO git cat-file --batch [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,623 [execute] INFO git tag -a v3.0.3-dev.7 -m v3.0.3-dev.7 [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,624 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.7', '-m', 'v3.0.3-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-01-05T01:54:19.703Z] 2024-01-05 01:54:19,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:19.703Z] 3.0.3-dev.7 [Pipeline] } [2024-01-05T01:54:19.710Z] $ docker exec --env ******** --env ******** b0c3717a3142d96437386ed2363bb2bddb6f404d6c39ad15af29338738be0967 ssh-agent -k [2024-01-05T01:54:19.802Z] unset SSH_AUTH_SOCK; [2024-01-05T01:54:19.803Z] unset SSH_AGENT_PID; [2024-01-05T01:54:19.803Z] echo Agent pid 38 killed; [2024-01-05T01:54:19.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T01:54:20.228Z] + git semver [Pipeline] } [2024-01-05T01:54:20.498Z] $ docker stop --time=1 b0c3717a3142d96437386ed2363bb2bddb6f404d6c39ad15af29338738be0967 [2024-01-05T01:54:21.789Z] $ docker rm -f --volumes b0c3717a3142d96437386ed2363bb2bddb6f404d6c39ad15af29338738be0967 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:22.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-05T01:54:22.332Z] [2024-01-05T01:54:22.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:22.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-05T01:54:22.669Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-01-05T01:54:22.669Z] ab5ef0e58194: Pulling fs layer [2024-01-05T01:54:22.669Z] 9712f1f96733: Pulling fs layer [2024-01-05T01:54:22.669Z] 63f879dbbcfc: Pulling fs layer [2024-01-05T01:54:22.669Z] 0d9ebad4ef96: Pulling fs layer [2024-01-05T01:54:22.669Z] e9a5061849ea: Pulling fs layer [2024-01-05T01:54:22.669Z] d747dcd14b5f: Pulling fs layer [2024-01-05T01:54:22.669Z] 2de7ff778b66: Pulling fs layer [2024-01-05T01:54:22.669Z] d747dcd14b5f: Waiting [2024-01-05T01:54:22.669Z] 2de7ff778b66: Waiting [2024-01-05T01:54:22.669Z] 0d9ebad4ef96: Waiting [2024-01-05T01:54:22.669Z] 9712f1f96733: Verifying Checksum [2024-01-05T01:54:22.669Z] 9712f1f96733: Download complete [2024-01-05T01:54:22.928Z] 63f879dbbcfc: Verifying Checksum [2024-01-05T01:54:22.928Z] 63f879dbbcfc: Download complete [2024-01-05T01:54:23.186Z] e9a5061849ea: Verifying Checksum [2024-01-05T01:54:23.186Z] e9a5061849ea: Download complete [2024-01-05T01:54:23.186Z] d747dcd14b5f: Verifying Checksum [2024-01-05T01:54:23.186Z] d747dcd14b5f: Download complete [2024-01-05T01:54:23.186Z] ab5ef0e58194: Verifying Checksum [2024-01-05T01:54:23.186Z] ab5ef0e58194: Download complete [2024-01-05T01:54:23.186Z] 0d9ebad4ef96: Verifying Checksum [2024-01-05T01:54:23.186Z] 0d9ebad4ef96: Download complete [2024-01-05T01:54:23.186Z] 2de7ff778b66: Verifying Checksum [2024-01-05T01:54:23.186Z] 2de7ff778b66: Download complete [2024-01-05T01:54:25.720Z] ab5ef0e58194: Pull complete [2024-01-05T01:54:25.979Z] 9712f1f96733: Pull complete [2024-01-05T01:54:26.546Z] 63f879dbbcfc: Pull complete [2024-01-05T01:54:30.763Z] 0d9ebad4ef96: Pull complete [2024-01-05T01:54:30.763Z] e9a5061849ea: Pull complete [2024-01-05T01:54:30.763Z] d747dcd14b5f: Pull complete [2024-01-05T01:54:31.330Z] 2de7ff778b66: Pull complete [2024-01-05T01:54:31.590Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-01-05T01:54:31.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-05T01:54:31.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:31.792Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:54:31.821Z] $ 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-01-05T01:54:36.820Z] $ docker top a2e826e5de4f933a5204f2add2a2b1d8e8758e9b9de106dab230d75b05482e0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-01-05T01:54:36.954Z] provisioning config files... [2024-01-05T01:54:36.961Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17061971545795640050tmp [2024-01-05T01:54:36.970Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12622656416807821032tmp [2024-01-05T01:54:36.979Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2392303643395602013tmp [Pipeline] { [Pipeline] echo [2024-01-05T01:54:37.037Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:37.333Z] ---> sigul-configuration.sh [2024-01-05T01:54:37.333Z] gpg: directory `/root/.gnupg' created [2024-01-05T01:54:37.333Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-01-05T01:54:37.333Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-01-05T01:54:37.333Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-01-05T01:54:37.333Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-01-05T01:54:37.333Z] gpg: CAST5 encrypted data [2024-01-05T01:54:37.333Z] gpg: encrypted with 1 passphrase [2024-01-05T01:54:37.333Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-01-05T01:54:37.631Z] + mkdir /home/jenkins [2024-01-05T01:54:37.631Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-01-05T01:54:37.931Z] + 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-01-05T01:54:37.943Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:38.237Z] ---> sigul-install.sh [2024-01-05T01:54:38.237Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-01-05T01:54:38.537Z] + git tag --list [2024-01-05T01:54:38.537Z] 0.7.0 [2024-01-05T01:54:38.537Z] 0.7.1 [2024-01-05T01:54:38.537Z] 1.0.0 [2024-01-05T01:54:38.537Z] v1.0.1 [2024-01-05T01:54:38.537Z] v1.0.2 [2024-01-05T01:54:38.537Z] v1.0.3 [2024-01-05T01:54:38.537Z] v1.1.0 [2024-01-05T01:54:38.537Z] v1.1.1 [2024-01-05T01:54:38.537Z] v1.2.0 [2024-01-05T01:54:38.537Z] v1.2.1 [2024-01-05T01:54:38.537Z] v1.2.2 [2024-01-05T01:54:38.537Z] v1.3.0 [2024-01-05T01:54:38.537Z] v1.3.1 [2024-01-05T01:54:38.537Z] v2.0.0 [2024-01-05T01:54:38.537Z] v2.1.0 [2024-01-05T01:54:38.537Z] v2.2.0 [2024-01-05T01:54:38.537Z] v2.3.0 [2024-01-05T01:54:38.537Z] v3.0 [2024-01-05T01:54:38.537Z] v3.0.0 [2024-01-05T01:54:38.537Z] v3.0.1 [2024-01-05T01:54:38.537Z] v3.0.2 [2024-01-05T01:54:38.537Z] v3.0.3-dev.1 [2024-01-05T01:54:38.537Z] v3.0.3-dev.2 [2024-01-05T01:54:38.537Z] v3.0.3-dev.3 [2024-01-05T01:54:38.537Z] v3.0.3-dev.4 [2024-01-05T01:54:38.537Z] v3.0.3-dev.5 [2024-01-05T01:54:38.537Z] v3.0.3-dev.6 [2024-01-05T01:54:38.537Z] v3.0.3-dev.7 [2024-01-05T01:54:38.537Z] v3.1 [2024-01-05T01:54:38.537Z] v3.1.0 [2024-01-05T01:54:38.537Z] v3.1.0-dev.1 [2024-01-05T01:54:38.537Z] v3.1.0-dev.2 [2024-01-05T01:54:38.537Z] v3.1.0-dev.3 [2024-01-05T01:54:38.537Z] v3.1.0-dev.4 [2024-01-05T01:54:38.537Z] v3.1.0-dev.5 [2024-01-05T01:54:38.537Z] v3.1.0-dev.6 [2024-01-05T01:54:38.537Z] v3.1.0-dev.7 [2024-01-05T01:54:38.537Z] v3.1.0-dev.8 [2024-01-05T01:54:38.537Z] v3.1.0-dev.9 [Pipeline] sh [2024-01-05T01:54:38.832Z] + lftools sign git-tag v3.0.3-dev.7 [2024-01-05T01:54:39.400Z] Signing Git tag with Sigul... [2024-01-05T01:54:39.400Z] Signing v3.0.3-dev.7 [Pipeline] echo [2024-01-05T01:54:39.673Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:39.967Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-01-05T01:54:39.978Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-01-05T01:54:40.069Z] $ docker stop --time=1 a2e826e5de4f933a5204f2add2a2b1d8e8758e9b9de106dab230d75b05482e0c [2024-01-05T01:54:41.359Z] $ docker rm -f --volumes a2e826e5de4f933a5204f2add2a2b1d8e8758e9b9de106dab230d75b05482e0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-01-05T01:54:42.011Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T01:54:42.011Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:42.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:54:42.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:42.492Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:54:42.523Z] $ 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-01-05T01:54:42.892Z] $ docker top 7e0be621969646233949ae1bbf91c4a5f8f2f5db2f6b5cb6a17821b3c20f1515 -eo pid,comm [2024-01-05T01:54:42.946Z] 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-01-05T01:54:42.946Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T01:54:43.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T01:54:43.113Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T01:54:43.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T01:54:43.239Z] $ docker exec 7e0be621969646233949ae1bbf91c4a5f8f2f5db2f6b5cb6a17821b3c20f1515 ssh-agent [2024-01-05T01:54:43.349Z] SSH_AUTH_SOCK=/tmp/ssh-GjsQjXPPGvwa/agent.33 [2024-01-05T01:54:43.349Z] SSH_AGENT_PID=39 [2024-01-05T01:54:43.353Z] Running ssh-add (command line suppressed) [2024-01-05T01:54:43.448Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1521055322692795893.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1521055322692795893.key) [2024-01-05T01:54:43.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T01:54:43.795Z] + git semver bump pre [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,960 [bump_version] DEBUG bumping version:3.0.3-dev.7 on axis:pre with prefix:dev [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,960 [bump_version] DEBUG bumped version:3.0.3-dev.8 [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,960 [write_version] DEBUG write version:3.0.3-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,961 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,962 [execute] INFO git cat-file --batch-check [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,968 [execute] INFO git cat-file --batch [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T01:54:44.054Z] 2024-01-05 01:54:43,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:44.054Z] 3.0.3-dev.8 [Pipeline] } [2024-01-05T01:54:44.061Z] $ docker exec --env ******** --env ******** 7e0be621969646233949ae1bbf91c4a5f8f2f5db2f6b5cb6a17821b3c20f1515 ssh-agent -k [2024-01-05T01:54:44.158Z] unset SSH_AUTH_SOCK; [2024-01-05T01:54:44.159Z] unset SSH_AGENT_PID; [2024-01-05T01:54:44.159Z] echo Agent pid 39 killed; [2024-01-05T01:54:44.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T01:54:44.632Z] + git semver [Pipeline] } [2024-01-05T01:54:44.903Z] $ docker stop --time=1 7e0be621969646233949ae1bbf91c4a5f8f2f5db2f6b5cb6a17821b3c20f1515 [2024-01-05T01:54:46.205Z] $ docker rm -f --volumes 7e0be621969646233949ae1bbf91c4a5f8f2f5db2f6b5cb6a17821b3c20f1515 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-05T01:54:46.659Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T01:54:46.659Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:46.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T01:54:46.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:47.146Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:54:47.173Z] $ 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-01-05T01:54:47.512Z] $ docker top 286f9546d8fe84c54981f20240e7778e5d656fde288bcf2eda2f4ecad43cfaf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T01:54:47.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T01:54:47.719Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T01:54:47.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T01:54:47.850Z] $ docker exec 286f9546d8fe84c54981f20240e7778e5d656fde288bcf2eda2f4ecad43cfaf1 ssh-agent [2024-01-05T01:54:47.957Z] SSH_AUTH_SOCK=/tmp/ssh-U5YOpGN9uRb2/agent.32 [2024-01-05T01:54:47.957Z] SSH_AGENT_PID=38 [2024-01-05T01:54:47.963Z] Running ssh-add (command line suppressed) [2024-01-05T01:54:48.057Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4871407334980551913.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4871407334980551913.key) [2024-01-05T01:54:48.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T01:54:48.406Z] + git semver push [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,583 [run_push] DEBUG push [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,584 [execute] INFO git cat-file --batch-check [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,587 [execute] INFO git rev-list 4d80defab2c52161a74d11929a49def3a513a1aa -- [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,587 [execute] DEBUG Popen(['git', 'rev-list', '4d80defab2c52161a74d11929a49def3a513a1aa', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,594 [execute] INFO git fetch -v origin [2024-01-05T01:54:48.664Z] 2024-01-05 01:54:48,594 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-01-05T01:54:49.231Z] 2024-01-05 01:54:49,122 [run_push] DEBUG no remote changes detected [2024-01-05T01:54:49.231Z] 2024-01-05 01:54:49,123 [execute] INFO git push origin semver [2024-01-05T01:54:49.231Z] 2024-01-05 01:54:49,123 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-01-05T01:54:50.167Z] 2024-01-05 01:54:49,848 [run_push] DEBUG push all version tags [2024-01-05T01:54:50.167Z] 2024-01-05 01:54:49,848 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-01-05T01:54:50.167Z] 2024-01-05 01:54:49,849 [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-01-05T01:54:50.737Z] 2024-01-05 01:54:50,532 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-05T01:54:50.737Z] 3.0.3-dev.8 [Pipeline] } [2024-01-05T01:54:50.744Z] $ docker exec --env ******** --env ******** 286f9546d8fe84c54981f20240e7778e5d656fde288bcf2eda2f4ecad43cfaf1 ssh-agent -k [2024-01-05T01:54:50.839Z] unset SSH_AUTH_SOCK; [2024-01-05T01:54:50.839Z] unset SSH_AGENT_PID; [2024-01-05T01:54:50.839Z] echo Agent pid 38 killed; [2024-01-05T01:54:50.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T01:54:51.296Z] + git semver [Pipeline] } [2024-01-05T01:54:51.565Z] $ docker stop --time=1 286f9546d8fe84c54981f20240e7778e5d656fde288bcf2eda2f4ecad43cfaf1 [2024-01-05T01:54:52.820Z] $ docker rm -f --volumes 286f9546d8fe84c54981f20240e7778e5d656fde288bcf2eda2f4ecad43cfaf1 [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-01-05T01:54:53.689Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-01-05T01:54:53.689Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-05T01:54:53.689Z] total 16 [2024-01-05T01:54:53.689Z] drwxr-xr-x 3 root root 4096 Jan 5 01:47 . [2024-01-05T01:54:53.689Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 01:54 .. [2024-01-05T01:54:53.689Z] drwxr-xr-x 2 root root 4096 Jan 5 01:47 cost [2024-01-05T01:54:53.689Z] -rw-r--r-- 1 root root 83 Jan 5 01:47 cost.csv [2024-01-05T01:54:53.689Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-05T01:54:53.689Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-05T01:54:53.689Z] total 16 [2024-01-05T01:54:53.689Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 01:47 . [2024-01-05T01:54:53.689Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 01:54 .. [2024-01-05T01:54:53.689Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 5 01:47 cost [2024-01-05T01:54:53.689Z] -rw-r--r-- 1 jenkins jenkins 83 Jan 5 01:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:53.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:54.853Z] ---> package-listing.sh [2024-01-05T01:54:54.853Z] ++ facter osfamily [2024-01-05T01:54:54.854Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-05T01:54:55.115Z] + OS_FAMILY=debian [2024-01-05T01:54:55.115Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-01-05T01:54:55.115Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-05T01:54:55.115Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-05T01:54:55.115Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-05T01:54:55.115Z] + PACKAGES=/tmp/packages_start.txt [2024-01-05T01:54:55.115Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-01-05T01:54:55.115Z] + PACKAGES=/tmp/packages_end.txt [2024-01-05T01:54:55.115Z] + case "${OS_FAMILY}" in [2024-01-05T01:54:55.115Z] + dpkg -l [2024-01-05T01:54:55.115Z] + grep '^ii' [2024-01-05T01:54:55.115Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-05T01:54:55.115Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-05T01:54:55.115Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-05T01:54:55.115Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-01-05T01:54:55.115Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-01-05T01:54:55.115Z] + 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-01-05T01:54:55.127Z] 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-01-05T01:54:55.405Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T01:54:56.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T01:54:56.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T01:54:56.155Z] prd-ubuntu20.04-docker-8c-8g-26757 does not seem to be running inside a container [2024-01-05T01:54:56.185Z] $ 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-01-05T01:54:56.405Z] $ docker top 0b6f732b8ea8ae5825c61329a40adca0916f6563faf738b1b2e1995c65d85d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T01:54:56.818Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-05T01:54:57.108Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-05T01:54:57.391Z] + ls /var/log/sa-host [2024-01-05T01:54:57.391Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T01:54:57.588Z] provisioning config files... [2024-01-05T01:54:57.597Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10700256311136512077tmp [Pipeline] { [Pipeline] echo [2024-01-05T01:54:57.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:57.957Z] ---> create-netrc.sh [Pipeline] } [2024-01-05T01:54:57.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:58.382Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-05T01:54:58.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:58.671Z] ---> sudo-logs.sh [2024-01-05T01:54:58.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-05T01:54:58.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:59.014Z] ---> job-cost.sh [2024-01-05T01:54:59.014Z] lf-activate-venv: SKIPPING [2024-01-05T01:54:59.014Z] DEBUG: total: 0.2199999988079071 [2024-01-05T01:54:59.014Z] INFO: Retrieving Stack Cost... [2024-01-05T01:54:59.274Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T01:54:59.533Z] INFO: Archiving Costs [Pipeline] echo [2024-01-05T01:54:59.546Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T01:54:59.828Z] ---> logs-deploy.sh [2024-01-05T01:54:59.828Z] lf-activate-venv: SKIPPING [2024-01-05T01:54:59.828Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/67 [2024-01-05T01:54:59.828Z] INFO: archiving workspace using pattern(s): [2024-01-05T01:55:00.767Z] Archives upload complete. [2024-01-05T01:55:00.767Z] INFO: archiving logs to Nexus