Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 70adbc05d5985df01ef9d9c351b6d02d06141faf rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 70adbc05d5985df01ef9d9c351b6d02d06141faf 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-ssh13008794284469881150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8241355710968703662.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2423953076279591616.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12330312759823789510.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10736034108097729791.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6484’ Running on prd-ubuntu20.04-docker-8c-8g-6486 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-444 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 47566c29439aea90bef722e4ab9c1e1d5e3022a6 Checking out Revision 47566c29439aea90bef722e4ab9c1e1d5e3022a6 (PR-444) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47566c29439aea90bef722e4ab9c1e1d5e3022a6 # timeout=10 Commit message: "Merge commit '70adbc05d5985df01ef9d9c351b6d02d06141faf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-30T18:56:21.035Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-30T18:56:21.092Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-30T18:56:21.107Z] ========================================================= [2023-03-30T18:56:21.107Z] EdgeX Global Pipelines Version Info [2023-03-30T18:56:21.107Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-30T18:56:21.826Z] ------------------- [2023-03-30T18:56:21.827Z] stable info: [2023-03-30T18:56:21.827Z] ------------------- [2023-03-30T18:56:21.827Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-30T18:56:21.827Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-30T18:56:21.827Z] Message: update stable to v1.0.245 > git rev-list --no-walk e45206e1ce853b6c46e6ceb8146c52ef14624992 # timeout=10 [2023-03-30T18:56:22.410Z] ------------------- [2023-03-30T18:56:22.410Z] experimental info: [2023-03-30T18:56:22.410Z] ------------------- [2023-03-30T18:56:22.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-30T18:56:22.410Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-30T18:56:22.410Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-30T18:56:22.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-30T18:56:22.644Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-30T18:56:22.660Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-30T18:56:22.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-30T18:56:22.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-30T18:56:22.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-30T18:56:22.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-30T18:56:22.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-30T18:56:22.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-30T18:56:22.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-30T18:56:22.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-30T18:56:22.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-30T18:56:22.807Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-30T18:56:22.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-30T18:56:22.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-30T18:56:22.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-30T18:56:22.866Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-30T18:56:22.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-03-30T18:56:22.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-03-30T18:56:22.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-03-30T18:56:22.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo [2023-03-30T18:56:22.938Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47566c2 [Pipeline] echo [2023-03-30T18:56:22.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T18:56:22.995Z] provisioning config files... [2023-03-30T18:56:23.007Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config15473238615179280823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T18:56:23.315Z] ---> docker-login.sh [2023-03-30T18:56:23.315Z] nexus3.edgexfoundry.org:10001 [2023-03-30T18:56:23.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:23.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:23.574Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:23.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:23.574Z] [2023-03-30T18:56:23.574Z] Login Succeeded [2023-03-30T18:56:23.574Z] nexus3.edgexfoundry.org:10002 [2023-03-30T18:56:23.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:23.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:23.835Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:23.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:23.835Z] [2023-03-30T18:56:23.835Z] Login Succeeded [2023-03-30T18:56:23.835Z] nexus3.edgexfoundry.org:10003 [2023-03-30T18:56:23.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:23.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:23.835Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:23.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:23.835Z] [2023-03-30T18:56:23.835Z] Login Succeeded [2023-03-30T18:56:23.835Z] nexus3.edgexfoundry.org:10004 [2023-03-30T18:56:23.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:24.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:24.095Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:24.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:24.095Z] [2023-03-30T18:56:24.095Z] Login Succeeded [2023-03-30T18:56:24.095Z] docker.io [2023-03-30T18:56:24.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:24.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:24.356Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:24.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:24.356Z] [2023-03-30T18:56:24.356Z] Login Succeeded [2023-03-30T18:56:24.356Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T18:56:24.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-03-30T18:56:24.731Z] + git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo [2023-03-30T18:56:24.771Z] -----------> git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [2023-03-30T18:56:24.771Z] 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [false] [Pipeline] sh [2023-03-30T18:56:25.058Z] + git log --format=format:%s -1 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo [2023-03-30T18:56:25.070Z] ========================================================= [2023-03-30T18:56:25.070Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-30T18:56:25.070Z] ========================================================= 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 [2023-03-30T18:56:25.442Z] + git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo [2023-03-30T18:56:25.452Z] -----------> git rev-list -1 --merges 47566c29439aea90bef722e4ab9c1e1d5e3022a6~1..47566c29439aea90bef722e4ab9c1e1d5e3022a6 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [2023-03-30T18:56:25.452Z] 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [false] [Pipeline] sh [2023-03-30T18:56:25.742Z] + git log --format=format:%s -1 47566c29439aea90bef722e4ab9c1e1d5e3022a6 [Pipeline] echo [2023-03-30T18:56:25.754Z] ========================================================= [2023-03-30T18:56:25.754Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-30T18:56:25.754Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-30T18:56:26.206Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-30T18:56:26.206Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-30T18:56:26.206Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-30T18:56:26.206Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-30T18:56:26.206Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-30T18:56:26.206Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-30T18:56:26.206Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:56:26.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T18:56:26.619Z] [2023-03-30T18:56:26.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:56:26.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T18:56:26.918Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-30T18:56:26.918Z] b85a868b505f: Pulling fs layer [2023-03-30T18:56:26.918Z] e2be974225ed: Pulling fs layer [2023-03-30T18:56:26.918Z] 339a4e72a1f5: Pulling fs layer [2023-03-30T18:56:26.918Z] 988bab9f4d93: Pulling fs layer [2023-03-30T18:56:26.918Z] 1469e6f7b9e6: Pulling fs layer [2023-03-30T18:56:26.918Z] eaf3925da568: Pulling fs layer [2023-03-30T18:56:26.918Z] bab4dde63d76: Pulling fs layer [2023-03-30T18:56:26.918Z] bde34c3a00c8: Pulling fs layer [2023-03-30T18:56:26.918Z] b352a97aabf1: Pulling fs layer [2023-03-30T18:56:26.918Z] 4872d77fe225: Pulling fs layer [2023-03-30T18:56:26.918Z] 5851b861e8e6: Pulling fs layer [2023-03-30T18:56:26.918Z] bde34c3a00c8: Waiting [2023-03-30T18:56:26.918Z] b352a97aabf1: Waiting [2023-03-30T18:56:26.918Z] 988bab9f4d93: Waiting [2023-03-30T18:56:26.918Z] 1469e6f7b9e6: Waiting [2023-03-30T18:56:26.918Z] bab4dde63d76: Waiting [2023-03-30T18:56:26.918Z] eaf3925da568: Waiting [2023-03-30T18:56:26.918Z] e2be974225ed: Download complete [2023-03-30T18:56:26.918Z] 988bab9f4d93: Verifying Checksum [2023-03-30T18:56:26.918Z] 988bab9f4d93: Download complete [2023-03-30T18:56:27.178Z] 339a4e72a1f5: Verifying Checksum [2023-03-30T18:56:27.178Z] 339a4e72a1f5: Download complete [2023-03-30T18:56:27.178Z] eaf3925da568: Verifying Checksum [2023-03-30T18:56:27.178Z] eaf3925da568: Download complete [2023-03-30T18:56:27.178Z] 1469e6f7b9e6: Verifying Checksum [2023-03-30T18:56:27.178Z] 1469e6f7b9e6: Download complete [2023-03-30T18:56:27.178Z] bde34c3a00c8: Verifying Checksum [2023-03-30T18:56:27.178Z] bde34c3a00c8: Download complete [2023-03-30T18:56:27.178Z] 4872d77fe225: Verifying Checksum [2023-03-30T18:56:27.178Z] 4872d77fe225: Download complete [2023-03-30T18:56:27.178Z] 5851b861e8e6: Download complete [2023-03-30T18:56:27.178Z] b85a868b505f: Download complete [2023-03-30T18:56:27.749Z] bab4dde63d76: Verifying Checksum [2023-03-30T18:56:27.749Z] bab4dde63d76: Download complete [2023-03-30T18:56:28.684Z] b85a868b505f: Pull complete [2023-03-30T18:56:28.684Z] e2be974225ed: Pull complete [2023-03-30T18:56:29.254Z] 339a4e72a1f5: Pull complete [2023-03-30T18:56:29.254Z] 988bab9f4d93: Pull complete [2023-03-30T18:56:29.512Z] 1469e6f7b9e6: Pull complete [2023-03-30T18:56:30.078Z] eaf3925da568: Pull complete [2023-03-30T18:56:31.980Z] bab4dde63d76: Pull complete [2023-03-30T18:56:32.240Z] bde34c3a00c8: Pull complete [2023-03-30T18:56:32.501Z] b352a97aabf1: Pull complete [2023-03-30T18:56:32.760Z] 4872d77fe225: Pull complete [2023-03-30T18:56:33.020Z] 5851b861e8e6: Pull complete [2023-03-30T18:56:33.280Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-30T18:56:33.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T18:56:33.280Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T18:56:33.391Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-03-30T18:56:33.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-30T18:56:36.361Z] $ docker top 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 -eo pid,comm [2023-03-30T18:56:36.413Z] 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). [2023-03-30T18:56:36.413Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-30T18:56:36.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T18:56:36.453Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T18:56:36.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T18:56:36.571Z] $ docker exec 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent [2023-03-30T18:56:36.669Z] SSH_AUTH_SOCK=/tmp/ssh-FIRtD0W7onPg/agent.31 [2023-03-30T18:56:36.669Z] SSH_AGENT_PID=37 [2023-03-30T18:56:36.675Z] Running ssh-add (command line suppressed) [2023-03-30T18:56:36.773Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13329576033083247717.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_13329576033083247717.key) [2023-03-30T18:56:36.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T18:56:37.078Z] + git tag --points-at HEAD [Pipeline] } [2023-03-30T18:56:37.098Z] $ docker exec --env ******** --env ******** 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent -k [2023-03-30T18:56:37.194Z] unset SSH_AUTH_SOCK; [2023-03-30T18:56:37.195Z] unset SSH_AGENT_PID; [2023-03-30T18:56:37.195Z] echo Agent pid 37 killed; [2023-03-30T18:56:37.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-30T18:56:37.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T18:56:37.223Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T18:56:37.336Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T18:56:37.341Z] $ docker exec 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent [2023-03-30T18:56:37.441Z] SSH_AUTH_SOCK=/tmp/ssh-uBmEqDfDV9IV/agent.69 [2023-03-30T18:56:37.441Z] SSH_AGENT_PID=75 [2023-03-30T18:56:37.446Z] Running ssh-add (command line suppressed) [2023-03-30T18:56:37.553Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_18386817627687405473.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_18386817627687405473.key) [2023-03-30T18:56:37.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T18:56:37.849Z] + git semver init [2023-03-30T18:56:38.108Z] 2023-03-30 18:56:38,029 [run_init] DEBUG init version:0.0.0 force:False [2023-03-30T18:56:38.108Z] 2023-03-30 18:56:38,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-03-30T18:56:38.108Z] 2023-03-30 18:56:38,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-03-30T18:56:38.108Z] 2023-03-30 18:56:38,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444, universal_newlines=False, shell=None, istream=None) [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,919 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,919 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 with force:False [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,920 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,923 [execute] INFO git cat-file --batch-check [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,929 [execute] INFO git cat-file --batch [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-03-30T18:56:39.048Z] 2023-03-30 18:56:38,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-03-30T18:56:39.048Z] 0.0.0 [Pipeline] } [2023-03-30T18:56:39.060Z] $ docker exec --env ******** --env ******** 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 ssh-agent -k [2023-03-30T18:56:39.159Z] unset SSH_AUTH_SOCK; [2023-03-30T18:56:39.159Z] unset SSH_AGENT_PID; [2023-03-30T18:56:39.159Z] echo Agent pid 75 killed; [2023-03-30T18:56:39.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-30T18:56:39.475Z] + git semver [Pipeline] } [2023-03-30T18:56:39.749Z] $ docker stop --time=1 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 [2023-03-30T18:56:41.160Z] $ docker rm -f --volumes 743469d8338bd1097bcebfb9054d6e39e6b9b183032de4f9eb32abd0eda01710 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-30T18:56:41.495Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-30T18:56:41.731Z] Stashed 1 file(s) [Pipeline] echo [2023-03-30T18:56:41.734Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T18:56:41.909Z] provisioning config files... [2023-03-30T18:56:41.918Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config12127363915569730402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T18:56:42.212Z] ---> docker-login.sh [2023-03-30T18:56:42.212Z] nexus3.edgexfoundry.org:10001 [2023-03-30T18:56:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:42.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:42.212Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:42.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:42.212Z] [2023-03-30T18:56:42.212Z] Login Succeeded [2023-03-30T18:56:42.212Z] nexus3.edgexfoundry.org:10002 [2023-03-30T18:56:42.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:42.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:42.212Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:42.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:42.212Z] [2023-03-30T18:56:42.212Z] Login Succeeded [2023-03-30T18:56:42.212Z] nexus3.edgexfoundry.org:10003 [2023-03-30T18:56:42.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:42.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:42.476Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:42.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:42.476Z] [2023-03-30T18:56:42.476Z] Login Succeeded [2023-03-30T18:56:42.476Z] nexus3.edgexfoundry.org:10004 [2023-03-30T18:56:42.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:42.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:42.476Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:42.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:42.476Z] [2023-03-30T18:56:42.476Z] Login Succeeded [2023-03-30T18:56:42.476Z] docker.io [2023-03-30T18:56:42.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:56:42.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:56:42.736Z] Configure a credential helper to remove this warning. See [2023-03-30T18:56:42.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:56:42.736Z] [2023-03-30T18:56:42.736Z] Login Succeeded [2023-03-30T18:56:42.736Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T18:56:42.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-30T18:56:42.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T18:56:42.818Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-30T18:56:42.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T18:56:42.840Z] ========================================================= [2023-03-30T18:56:42.840Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-30T18:56:42.840Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:56:43.142Z] + 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 . [2023-03-30T18:56:43.142Z] Sending build context to Docker daemon 4.85MB [2023-03-30T18:56:43.142Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-30T18:56:43.142Z] Step 2/21 : FROM ${BASE} as builder [2023-03-30T18:56:43.142Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-30T18:56:43.142Z] 213ec9aee27d: Pulling fs layer [2023-03-30T18:56:43.142Z] 0f09ad1b1b37: Pulling fs layer [2023-03-30T18:56:43.402Z] 213ec9aee27d: Verifying Checksum [2023-03-30T18:56:43.402Z] 213ec9aee27d: Download complete [2023-03-30T18:56:43.402Z] 213ec9aee27d: Pull complete [2023-03-30T18:56:43.970Z] 0f09ad1b1b37: Verifying Checksum [2023-03-30T18:56:43.970Z] 0f09ad1b1b37: Download complete [2023-03-30T18:56:46.496Z] 0f09ad1b1b37: Pull complete [2023-03-30T18:56:46.496Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-30T18:56:46.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-30T18:56:46.496Z] ---> b2bbfebb3566 [2023-03-30T18:56:46.496Z] 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 [2023-03-30T18:56:48.405Z] ---> Running in 93e74784ec07 [2023-03-30T18:56:48.669Z] Connecting to iotech.jfrog.io (34.240.134.226:443) [2023-03-30T18:56:49.238Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T18:56:49.238Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T18:56:49.238Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T18:56:49.499Z] Removing intermediate container 93e74784ec07 [2023-03-30T18:56:49.499Z] ---> 2126cf12dcfa [2023-03-30T18:56:49.499Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T18:56:49.499Z] ---> Running in b7e98916e49e [2023-03-30T18:56:50.068Z] Removing intermediate container b7e98916e49e [2023-03-30T18:56:50.068Z] ---> 6daf3236b43c [2023-03-30T18:56:50.068Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-30T18:56:50.068Z] ---> Running in fd67d345f1a5 [2023-03-30T18:56:50.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T18:56:50.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-30T18:56:50.587Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T18:56:51.156Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T18:56:51.156Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-30T18:56:51.156Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-30T18:56:51.156Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T18:56:51.725Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T18:56:51.725Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-30T18:56:51.985Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-30T18:56:51.985Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T18:56:51.985Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T18:56:52.554Z] (9/14) Installing libblkid (2.38-r1) [2023-03-30T18:56:52.554Z] (10/14) Installing libuuid (2.38-r1) [2023-03-30T18:56:52.554Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-30T18:56:52.554Z] (12/14) Installing libmount (2.38-r1) [2023-03-30T18:56:52.554Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-30T18:56:52.813Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-30T18:56:52.813Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T18:56:52.813Z] OK: 280 MiB in 90 packages [2023-03-30T18:56:53.381Z] Removing intermediate container fd67d345f1a5 [2023-03-30T18:56:53.381Z] ---> bd98111be266 [2023-03-30T18:56:53.381Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-30T18:56:53.381Z] ---> Running in b6bf98d14c27 [2023-03-30T18:56:53.951Z] Removing intermediate container b6bf98d14c27 [2023-03-30T18:56:53.951Z] ---> 136023b39627 [2023-03-30T18:56:53.951Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-30T18:56:53.951Z] ---> 60b2c4d146fe [2023-03-30T18:56:53.951Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-30T18:56:54.210Z] ---> 59852e8d9d85 [2023-03-30T18:56:54.210Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-30T18:56:54.469Z] ---> dbc08583afda [2023-03-30T18:56:54.469Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-30T18:56:54.469Z] ---> a2d24bace50f [2023-03-30T18:56:54.469Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-30T18:56:54.727Z] ---> 4b64165fe191 [2023-03-30T18:56:54.727Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-30T18:56:54.727Z] ---> 3efb87631b29 [2023-03-30T18:56:54.727Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-30T18:56:54.727Z] ---> Running in dd7513b852a0 [2023-03-30T18:56:54.987Z] + CPPCHECK=false [2023-03-30T18:56:54.987Z] + DOCGEN=false [2023-03-30T18:56:54.987Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-30T18:56:54.987Z] + TOMLVER=SDK-0.2 [2023-03-30T18:56:54.987Z] + CUTILVER=1.4 [2023-03-30T18:56:54.987Z] + '[' 0 -gt 0 ] [2023-03-30T18:56:54.987Z] + readlink -f ./scripts/build.sh [2023-03-30T18:56:54.987Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-30T18:56:54.987Z] + dirname /tmp/sdk/scripts [2023-03-30T18:56:54.987Z] + ROOT=/tmp/sdk [2023-03-30T18:56:54.987Z] + cd /tmp/sdk [2023-03-30T18:56:54.987Z] + '[' '!' -d deps ] [2023-03-30T18:56:54.987Z] + mkdir deps [2023-03-30T18:56:54.987Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-30T18:56:54.987Z] + tar -C deps -z -x -f - [2023-03-30T18:56:54.987Z] Connecting to github.com (140.82.113.3:443) [2023-03-30T18:56:55.246Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-03-30T18:56:55.505Z] writing to stdout [2023-03-30T18:56:55.505Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-30T18:56:55.505Z] written to stdout [2023-03-30T18:56:55.505Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-30T18:56:55.505Z] + mkdir -p /tmp/sdk/build/release [2023-03-30T18:56:55.505Z] + cd /tmp/sdk/build/release [2023-03-30T18:56:55.505Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-30T18:56:55.505Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T18:56:55.505Z] -- Detecting C compiler ABI info [2023-03-30T18:56:55.505Z] -- Detecting C compiler ABI info - done [2023-03-30T18:56:55.505Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T18:56:55.505Z] -- Detecting C compile features [2023-03-30T18:56:55.505Z] -- Detecting C compile features - done [2023-03-30T18:56:55.505Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T18:56:55.764Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T18:56:55.764Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T18:56:55.764Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T18:56:55.764Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T18:56:55.764Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T18:56:55.764Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T18:56:55.764Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T18:56:55.764Z] -- /opt/iotech/iot/1.5/include [2023-03-30T18:56:55.764Z] -- C SDK 0.0.0 for Linux [2023-03-30T18:56:55.764Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T18:56:55.764Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T18:56:55.764Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T18:56:55.764Z] -- Configuring done [2023-03-30T18:56:55.764Z] -- Generating done [2023-03-30T18:56:55.764Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-30T18:56:55.764Z] + make all package [2023-03-30T18:56:55.764Z] + tee release.log [2023-03-30T18:56:55.764Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:56:55.764Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:56:55.764Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:55.764Z] 25 | void clear_ae_signals (); [2023-03-30T18:56:55.764Z] | ^~~~ [2023-03-30T18:56:56.023Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:56:56.023Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:56:56.023Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:56:56.023Z] | ^ [2023-03-30T18:56:56.023Z] | ; [2023-03-30T18:56:56.023Z] 171 | } [2023-03-30T18:56:56.023Z] | ~ [2023-03-30T18:56:56.023Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:56:56.023Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:56.023Z] 278 | void clear_ae_signals () [2023-03-30T18:56:56.023Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:56:56.023Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:56:56.023Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:56:56.023Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:56:56.023Z] + '[' false '=' true ] [2023-03-30T18:56:56.023Z] + '[' false '=' true ] [2023-03-30T18:56:56.023Z] + mkdir -p /tmp/sdk/build/debug [2023-03-30T18:56:56.023Z] + cd /tmp/sdk/build/debug [2023-03-30T18:56:56.023Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-30T18:56:56.023Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T18:56:56.023Z] -- Detecting C compiler ABI info [2023-03-30T18:56:56.023Z] -- Detecting C compiler ABI info - done [2023-03-30T18:56:56.023Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T18:56:56.023Z] -- Detecting C compile features [2023-03-30T18:56:56.023Z] -- Detecting C compile features - done [2023-03-30T18:56:56.023Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T18:56:56.023Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T18:56:56.023Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T18:56:56.023Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T18:56:56.023Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T18:56:56.282Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T18:56:56.282Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T18:56:56.282Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T18:56:56.282Z] -- /opt/iotech/iot/1.5/include [2023-03-30T18:56:56.282Z] -- C SDK 0.0.0 for Linux [2023-03-30T18:56:56.282Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T18:56:56.282Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T18:56:56.282Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T18:56:56.282Z] -- Configuring done [2023-03-30T18:56:56.282Z] -- Generating done [2023-03-30T18:56:56.282Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-30T18:56:56.282Z] + make [2023-03-30T18:56:56.282Z] + tee debug.log [2023-03-30T18:56:56.282Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:56:56.282Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:56:56.282Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:56.282Z] 25 | void clear_ae_signals (); [2023-03-30T18:56:56.282Z] | ^~~~ [2023-03-30T18:56:56.282Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:56:56.282Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:56:56.282Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:56:56.282Z] | ^ [2023-03-30T18:56:56.282Z] | ; [2023-03-30T18:56:56.282Z] 171 | } [2023-03-30T18:56:56.282Z] | ~ [2023-03-30T18:56:56.282Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:56:56.282Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:56.282Z] 278 | void clear_ae_signals () [2023-03-30T18:56:56.282Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:56:56.282Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:56:56.282Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:56:56.282Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:56:56.541Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] Consolidate compiler generated dependencies of target csdk [2023-03-30T18:56:56.541Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:56:56.541Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:56:56.541Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:56.541Z] 25 | void clear_ae_signals (); [2023-03-30T18:56:56.541Z] | ^~~~ [2023-03-30T18:56:56.541Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:56:56.541Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:56:56.541Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:56:56.541Z] | ^ [2023-03-30T18:56:56.541Z] | ; [2023-03-30T18:56:56.541Z] 171 | } [2023-03-30T18:56:56.541Z] | ~ [2023-03-30T18:56:56.541Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:56:56.541Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:56:56.541Z] 278 | void clear_ae_signals () [2023-03-30T18:56:56.541Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:56:56.541Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:56:56.541Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.541Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:56:56.541Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:56:56.541Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:56:56.800Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2023-03-30T18:56:56.849Z] Still waiting to schedule task [2023-03-30T18:56:56.849Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:56:57.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T18:56:57.309Z] [2023-03-30T18:56:57.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:56:57.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T18:56:57.605Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-30T18:56:57.605Z] 5eb5b503b376: Pulling fs layer [2023-03-30T18:56:57.605Z] 5c69ac0246d0: Pulling fs layer [2023-03-30T18:56:57.605Z] ec43610c2a17: Pulling fs layer [2023-03-30T18:56:57.605Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-30T18:56:57.605Z] 33b1e0a273af: Pulling fs layer [2023-03-30T18:56:57.605Z] 5d3b04190fa2: Pulling fs layer [2023-03-30T18:56:57.605Z] 2f39f015ded8: Pulling fs layer [2023-03-30T18:56:57.605Z] 33b1e0a273af: Waiting [2023-03-30T18:56:57.605Z] 5d3b04190fa2: Waiting [2023-03-30T18:56:57.605Z] 2f39f015ded8: Waiting [2023-03-30T18:56:57.605Z] 3a2ae6a8a46f: Waiting [2023-03-30T18:56:57.605Z] 5c69ac0246d0: Verifying Checksum [2023-03-30T18:56:57.605Z] 5c69ac0246d0: Download complete [2023-03-30T18:56:57.605Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-30T18:56:57.605Z] 3a2ae6a8a46f: Download complete [2023-03-30T18:56:57.605Z] ec43610c2a17: Verifying Checksum [2023-03-30T18:56:57.605Z] ec43610c2a17: Download complete [2023-03-30T18:56:57.605Z] 33b1e0a273af: Verifying Checksum [2023-03-30T18:56:57.605Z] 33b1e0a273af: Download complete [2023-03-30T18:56:57.605Z] 5d3b04190fa2: Download complete [2023-03-30T18:56:57.865Z] 5eb5b503b376: Download complete [2023-03-30T18:56:58.433Z] 2f39f015ded8: Download complete [2023-03-30T18:56:59.000Z] 5eb5b503b376: Pull complete [2023-03-30T18:56:59.000Z] 5c69ac0246d0: Pull complete [2023-03-30T18:56:59.568Z] ec43610c2a17: Pull complete [2023-03-30T18:56:59.568Z] 3a2ae6a8a46f: Pull complete [2023-03-30T18:56:59.827Z] 33b1e0a273af: Pull complete [2023-03-30T18:56:59.827Z] 5d3b04190fa2: Pull complete [2023-03-30T18:57:04.009Z] 2f39f015ded8: Pull complete [2023-03-30T18:57:04.009Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-30T18:57:04.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T18:57:04.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T18:57:04.090Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-03-30T18:57:04.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-30T18:57:07.883Z] $ docker top a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T18:57:08.262Z] ---> job-cost.sh [2023-03-30T18:57:08.262Z] lf-activate-venv: SKIPPING [2023-03-30T18:57:08.262Z] INFO: No Stack... [2023-03-30T18:57:08.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-30T18:57:09.088Z] INFO: Archiving Costs [Pipeline] sh [2023-03-30T18:57:09.376Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-03-30T18:57:09.376Z] + cut -d, -f6 [Pipeline] lock [2023-03-30T18:57:09.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [2023-03-30T18:57:09.399Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] did not exist. Created. [2023-03-30T18:57:09.399Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-30T18:57:09.705Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-30T18:57:09.746Z] Stashed 1 file(s) [Pipeline] } [2023-03-30T18:57:09.754Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-30T18:57:09.772Z] $ docker stop --time=1 a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 [2023-03-30T18:57:10.910Z] $ docker rm -f --volumes a863890be8dbe5f17a669a3079ccfcc7aab6c37abe146e39c0a19661ea2738e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-30T18:57:11.011Z] Failed in branch amd64 [2023-03-30T18:58:33.730Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6487 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-03-30T18:58:33.743Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-03-30T18:58:33.783Z] Selected Git installation does not exist. Using Default [2023-03-30T18:58:33.784Z] The recommended git tool is: NONE [2023-03-30T18:58:39.018Z] using credential edgex-jenkins-ssh [2023-03-30T18:58:39.040Z] Cloning the remote Git repository [2023-03-30T18:58:39.072Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-30T18:58:39.159Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-03-30T18:58:39.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-30T18:58:39.291Z] > git --version # timeout=10 [2023-03-30T18:58:39.312Z] > git --version # 'git version 2.25.1' [2023-03-30T18:58:39.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-30T18:58:39.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-30T18:58:40.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-30T18:58:40.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-30T18:58:42.075Z] Merging remotes/origin/main commit 70adbc05d5985df01ef9d9c351b6d02d06141faf into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-03-30T18:58:42.502Z] Merge succeeded, producing c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a [2023-03-30T18:58:42.502Z] Checking out Revision c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a (PR-444) [2023-03-30T18:58:41.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-30T18:58:41.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-30T18:58:41.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-30T18:58:41.482Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-30T18:58:42.084Z] > git config core.sparsecheckout # timeout=10 [2023-03-30T18:58:42.154Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-03-30T18:58:42.283Z] > git remote # timeout=10 [2023-03-30T18:58:42.301Z] > git config --get remote.origin.url # timeout=10 [2023-03-30T18:58:42.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-30T18:58:42.336Z] > git merge 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 [2023-03-30T18:58:42.468Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-30T18:58:42.497Z] > git config core.sparsecheckout # timeout=10 [2023-03-30T18:58:42.514Z] > git checkout -f c5bb5fe3257a5e37f31ac1a03c9ab68e7ab77c7a # timeout=10 [2023-03-30T18:58:46.012Z] Commit message: "Merge commit '70adbc05d5985df01ef9d9c351b6d02d06141faf' into HEAD" [2023-03-30T18:58:46.039Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-30T18:58:46.012Z] > git rev-list --no-walk e45206e1ce853b6c46e6ceb8146c52ef14624992 # timeout=10 [2023-03-30T18:58:47.024Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-30T18:58:47.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-30T18:58:47.024Z] Dload Upload Total Spent Left Speed [2023-03-30T18:58:47.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-03-30T18:58:47.640Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-30T18:58:47.968Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-30T18:58:47.968Z] + sudo tee /etc/docker/daemon.new [2023-03-30T18:58:47.968Z] { [2023-03-30T18:58:47.968Z] "registry-mirrors": [ [2023-03-30T18:58:47.968Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-30T18:58:47.968Z] ], [2023-03-30T18:58:47.968Z] "bip": "10.250.0.254/24", [2023-03-30T18:58:47.968Z] "hosts": [ [2023-03-30T18:58:47.968Z] "tcp://0.0.0.0:5555", [2023-03-30T18:58:47.968Z] "unix:///var/run/docker.sock" [2023-03-30T18:58:47.968Z] ], [2023-03-30T18:58:47.968Z] "mtu": 1458, [2023-03-30T18:58:47.968Z] "selinux-enabled": true, [2023-03-30T18:58:47.968Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-30T18:58:47.968Z] } [Pipeline] sh [2023-03-30T18:58:48.299Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-30T18:58:48.642Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T18:59:06.942Z] provisioning config files... [2023-03-30T18:59:06.971Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config14821335882283576358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T18:59:07.335Z] ---> docker-login.sh [2023-03-30T18:59:07.336Z] nexus3.edgexfoundry.org:10001 [2023-03-30T18:59:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:59:07.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:59:07.932Z] Configure a credential helper to remove this warning. See [2023-03-30T18:59:07.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:59:07.932Z] [2023-03-30T18:59:07.932Z] Login Succeeded [2023-03-30T18:59:07.932Z] nexus3.edgexfoundry.org:10002 [2023-03-30T18:59:08.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:59:08.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:59:08.203Z] Configure a credential helper to remove this warning. See [2023-03-30T18:59:08.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:59:08.203Z] [2023-03-30T18:59:08.203Z] Login Succeeded [2023-03-30T18:59:08.474Z] nexus3.edgexfoundry.org:10003 [2023-03-30T18:59:08.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:59:08.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:59:08.746Z] Configure a credential helper to remove this warning. See [2023-03-30T18:59:08.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:59:08.746Z] [2023-03-30T18:59:08.746Z] Login Succeeded [2023-03-30T18:59:08.746Z] nexus3.edgexfoundry.org:10004 [2023-03-30T18:59:09.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:59:09.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:59:09.018Z] Configure a credential helper to remove this warning. See [2023-03-30T18:59:09.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:59:09.018Z] [2023-03-30T18:59:09.018Z] Login Succeeded [2023-03-30T18:59:09.018Z] docker.io [2023-03-30T18:59:09.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T18:59:09.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T18:59:09.560Z] Configure a credential helper to remove this warning. See [2023-03-30T18:59:09.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T18:59:09.560Z] [2023-03-30T18:59:09.560Z] Login Succeeded [2023-03-30T18:59:09.560Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T18:59:09.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-30T18:59:09.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T18:59:09.842Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-30T18:59:09.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T18:59:09.868Z] ========================================================= [2023-03-30T18:59:09.869Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-30T18:59:09.869Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:59:10.213Z] + 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 . [2023-03-30T18:59:10.484Z] Sending build context to Docker daemon 2.936MB [2023-03-30T18:59:10.755Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-30T18:59:10.755Z] Step 2/21 : FROM ${BASE} as builder [2023-03-30T18:59:10.755Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-30T18:59:10.755Z] 9b18e9b68314: Pulling fs layer [2023-03-30T18:59:10.755Z] 1def92ead452: Pulling fs layer [2023-03-30T18:59:11.027Z] 9b18e9b68314: Download complete [2023-03-30T18:59:11.620Z] 9b18e9b68314: Pull complete [2023-03-30T18:59:13.052Z] 1def92ead452: Verifying Checksum [2023-03-30T18:59:13.052Z] 1def92ead452: Download complete [2023-03-30T18:59:21.286Z] 1def92ead452: Pull complete [2023-03-30T18:59:21.286Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-30T18:59:21.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-30T18:59:21.286Z] ---> 9a9802766715 [2023-03-30T18:59:21.286Z] 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 [2023-03-30T18:59:22.255Z] ---> Running in 7f1b42752fb7 [2023-03-30T18:59:23.223Z] Connecting to iotech.jfrog.io (176.34.135.205:443) [2023-03-30T18:59:23.811Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T18:59:23.811Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T18:59:23.811Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T18:59:24.406Z] Removing intermediate container 7f1b42752fb7 [2023-03-30T18:59:24.406Z] ---> 10b4ba67c21f [2023-03-30T18:59:24.406Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T18:59:24.673Z] ---> Running in 4e6d2beb58cb [2023-03-30T18:59:26.083Z] Removing intermediate container 4e6d2beb58cb [2023-03-30T18:59:26.083Z] ---> c9a6b65fd766 [2023-03-30T18:59:26.083Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-30T18:59:26.083Z] ---> Running in 3526538da9dd [2023-03-30T18:59:27.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T18:59:27.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-30T18:59:27.902Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T18:59:28.862Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T18:59:28.862Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-30T18:59:28.862Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-30T18:59:28.862Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T18:59:29.446Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T18:59:29.713Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-30T18:59:29.713Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-30T18:59:29.713Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T18:59:29.713Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T18:59:30.676Z] (9/14) Installing libblkid (2.38-r1) [2023-03-30T18:59:30.676Z] (10/14) Installing libuuid (2.38-r1) [2023-03-30T18:59:30.676Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-30T18:59:30.676Z] (12/14) Installing libmount (2.38-r1) [2023-03-30T18:59:30.676Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-30T18:59:30.676Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-30T18:59:30.676Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T18:59:30.676Z] OK: 286 MiB in 90 packages [2023-03-30T18:59:34.946Z] Removing intermediate container 3526538da9dd [2023-03-30T18:59:34.946Z] ---> 6286a39fa036 [2023-03-30T18:59:34.946Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-30T18:59:34.946Z] ---> Running in 048b66ff184f [2023-03-30T18:59:36.368Z] Removing intermediate container 048b66ff184f [2023-03-30T18:59:36.368Z] ---> e83d3bbf2608 [2023-03-30T18:59:36.368Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-30T18:59:36.956Z] ---> 894fd850228f [2023-03-30T18:59:36.956Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-30T18:59:37.543Z] ---> 25dd205967b2 [2023-03-30T18:59:37.543Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-30T18:59:38.133Z] ---> adf195613934 [2023-03-30T18:59:38.133Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-30T18:59:38.723Z] ---> 48121da094b1 [2023-03-30T18:59:38.723Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-30T18:59:38.991Z] ---> 5c3bb27fa4af [2023-03-30T18:59:38.991Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-30T18:59:39.590Z] ---> 16350316985e [2023-03-30T18:59:39.590Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-30T18:59:39.590Z] ---> Running in b83172d91ec7 [2023-03-30T18:59:40.554Z] + CPPCHECK=false [2023-03-30T18:59:40.554Z] + DOCGEN=false [2023-03-30T18:59:40.554Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-30T18:59:40.554Z] + TOMLVER=SDK-0.2 [2023-03-30T18:59:40.554Z] + CUTILVER=1.4 [2023-03-30T18:59:40.554Z] + '[' 0 -gt 0 ] [2023-03-30T18:59:40.554Z] + readlink -f ./scripts/build.sh [2023-03-30T18:59:40.554Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-30T18:59:40.554Z] + dirname /tmp/sdk/scripts [2023-03-30T18:59:40.554Z] + ROOT=/tmp/sdk [2023-03-30T18:59:40.554Z] + cd /tmp/sdk [2023-03-30T18:59:40.554Z] + '[' '!' -d deps ] [2023-03-30T18:59:40.554Z] + mkdir deps [2023-03-30T18:59:40.554Z] + + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-30T18:59:40.554Z] tar -C deps -z -x -f - [2023-03-30T18:59:40.554Z] Connecting to github.com (140.82.114.3:443) [2023-03-30T18:59:40.826Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-03-30T18:59:40.826Z] writing to stdout [2023-03-30T18:59:40.826Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-30T18:59:40.826Z] written to stdout [2023-03-30T18:59:40.826Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-30T18:59:41.096Z] + mkdir -p /tmp/sdk/build/release [2023-03-30T18:59:41.096Z] + cd /tmp/sdk/build/release [2023-03-30T18:59:41.096Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-30T18:59:41.365Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T18:59:41.366Z] -- Detecting C compiler ABI info [2023-03-30T18:59:41.634Z] -- Detecting C compiler ABI info - done [2023-03-30T18:59:41.904Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T18:59:41.904Z] -- Detecting C compile features [2023-03-30T18:59:41.904Z] -- Detecting C compile features - done [2023-03-30T18:59:41.904Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T18:59:41.904Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T18:59:41.904Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T18:59:42.173Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T18:59:42.173Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T18:59:42.173Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T18:59:42.173Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T18:59:42.173Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T18:59:42.173Z] -- /opt/iotech/iot/1.5/include [2023-03-30T18:59:42.173Z] -- C SDK 0.0.0 for Linux [2023-03-30T18:59:42.173Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T18:59:42.443Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T18:59:42.714Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T18:59:42.714Z] -- Configuring done [2023-03-30T18:59:42.983Z] -- Generating done [2023-03-30T18:59:42.983Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-30T18:59:42.983Z] + make all package [2023-03-30T18:59:42.983Z] + tee release.log [2023-03-30T18:59:43.251Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:59:43.251Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:59:43.251Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:43.251Z] 25 | void clear_ae_signals (); [2023-03-30T18:59:43.251Z] | ^~~~ [2023-03-30T18:59:43.521Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:59:43.521Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:59:43.521Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:59:43.521Z] | ^ [2023-03-30T18:59:43.521Z] | ; [2023-03-30T18:59:43.521Z] 171 | } [2023-03-30T18:59:43.521Z] | ~ [2023-03-30T18:59:43.521Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:59:43.521Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:43.521Z] 278 | void clear_ae_signals () [2023-03-30T18:59:43.521Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:59:43.521Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:59:43.521Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:59:43.521Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:59:43.521Z] + '[' false '=' true ] [2023-03-30T18:59:43.521Z] + '[' false '=' true ] [2023-03-30T18:59:43.521Z] + mkdir -p /tmp/sdk/build/debug [2023-03-30T18:59:43.521Z] + cd /tmp/sdk/build/debug [2023-03-30T18:59:43.521Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-30T18:59:43.788Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T18:59:43.788Z] -- Detecting C compiler ABI info [2023-03-30T18:59:44.057Z] -- Detecting C compiler ABI info - done [2023-03-30T18:59:44.329Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T18:59:44.329Z] -- Detecting C compile features [2023-03-30T18:59:44.329Z] -- Detecting C compile features - done [2023-03-30T18:59:44.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T18:59:44.329Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T18:59:44.597Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T18:59:44.597Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T18:59:44.597Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T18:59:44.597Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T18:59:44.597Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T18:59:44.597Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T18:59:44.597Z] -- /opt/iotech/iot/1.5/include [2023-03-30T18:59:44.597Z] -- C SDK 0.0.0 for Linux [2023-03-30T18:59:44.598Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T18:59:44.868Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T18:59:45.136Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T18:59:45.136Z] -- Configuring done [2023-03-30T18:59:45.403Z] -- Generating done [2023-03-30T18:59:45.403Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-30T18:59:45.403Z] + make [2023-03-30T18:59:45.403Z] + tee debug.log [2023-03-30T18:59:45.683Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:59:45.952Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:59:45.952Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:45.952Z] 25 | void clear_ae_signals (); [2023-03-30T18:59:45.952Z] | ^~~~ [2023-03-30T18:59:45.952Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:59:45.952Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:59:45.952Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:59:45.952Z] | ^ [2023-03-30T18:59:45.952Z] | ; [2023-03-30T18:59:45.952Z] 171 | } [2023-03-30T18:59:45.952Z] | ~ [2023-03-30T18:59:45.952Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:59:45.952Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:45.952Z] 278 | void clear_ae_signals () [2023-03-30T18:59:45.952Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:59:45.952Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:59:45.952Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:59:45.952Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:59:45.952Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:59:45.952Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:59:45.952Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:59:45.952Z] Consolidate compiler generated dependencies of target csdk [2023-03-30T18:59:45.952Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:59:45.952Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T18:59:45.952Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T18:59:46.219Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-03-30T18:59:46.219Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:46.219Z] 25 | void clear_ae_signals (); [2023-03-30T18:59:46.219Z] | ^~~~ [2023-03-30T18:59:46.219Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-03-30T18:59:46.219Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-03-30T18:59:46.219Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-03-30T18:59:46.219Z] | ^ [2023-03-30T18:59:46.219Z] | ; [2023-03-30T18:59:46.219Z] 171 | } [2023-03-30T18:59:46.219Z] | ~ [2023-03-30T18:59:46.489Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-03-30T18:59:46.489Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-03-30T18:59:46.489Z] 278 | void clear_ae_signals () [2023-03-30T18:59:46.489Z] | ^~~~~~~~~~~~~~~~ [2023-03-30T18:59:46.489Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-03-30T18:59:46.489Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:59:46.489Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-03-30T18:59:46.489Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:59:46.489Z] make: *** [Makefile:156: all] Error 2 [2023-03-30T18:59:46.489Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-30T18:59:47.453Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:59:47.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T18:59:47.976Z] [2023-03-30T18:59:47.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T18:59:48.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T18:59:48.593Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-30T18:59:48.593Z] 8998bd30e6a1: Pulling fs layer [2023-03-30T18:59:48.593Z] 04944245beec: Pulling fs layer [2023-03-30T18:59:48.593Z] 699f458cf7ca: Pulling fs layer [2023-03-30T18:59:48.593Z] 765212b225bb: Pulling fs layer [2023-03-30T18:59:48.593Z] f23df028b6ca: Pulling fs layer [2023-03-30T18:59:48.593Z] d65c8cfc05b1: Pulling fs layer [2023-03-30T18:59:48.593Z] 2437ff75d9bd: Pulling fs layer [2023-03-30T18:59:48.593Z] f23df028b6ca: Waiting [2023-03-30T18:59:48.593Z] d65c8cfc05b1: Waiting [2023-03-30T18:59:48.593Z] 2437ff75d9bd: Waiting [2023-03-30T18:59:48.593Z] 765212b225bb: Waiting [2023-03-30T18:59:48.593Z] 04944245beec: Verifying Checksum [2023-03-30T18:59:48.593Z] 04944245beec: Download complete [2023-03-30T18:59:48.593Z] 765212b225bb: Verifying Checksum [2023-03-30T18:59:48.593Z] 765212b225bb: Download complete [2023-03-30T18:59:48.593Z] f23df028b6ca: Download complete [2023-03-30T18:59:48.593Z] d65c8cfc05b1: Verifying Checksum [2023-03-30T18:59:48.593Z] d65c8cfc05b1: Download complete [2023-03-30T18:59:48.868Z] 699f458cf7ca: Verifying Checksum [2023-03-30T18:59:48.868Z] 699f458cf7ca: Download complete [2023-03-30T18:59:49.138Z] 8998bd30e6a1: Verifying Checksum [2023-03-30T18:59:49.138Z] 8998bd30e6a1: Download complete [2023-03-30T18:59:51.729Z] 2437ff75d9bd: Verifying Checksum [2023-03-30T18:59:51.729Z] 2437ff75d9bd: Download complete [2023-03-30T18:59:53.159Z] 8998bd30e6a1: Pull complete [2023-03-30T18:59:53.433Z] 04944245beec: Pull complete [2023-03-30T18:59:54.850Z] 699f458cf7ca: Pull complete [2023-03-30T18:59:55.121Z] 765212b225bb: Pull complete [2023-03-30T18:59:55.707Z] f23df028b6ca: Pull complete [2023-03-30T18:59:55.977Z] d65c8cfc05b1: Pull complete [2023-03-30T19:00:11.014Z] 2437ff75d9bd: Pull complete [2023-03-30T19:00:11.015Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-30T19:00:11.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T19:00:11.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T19:00:11.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-6487 does not seem to be running inside a container [2023-03-30T19:00:11.308Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-30T19:00:13.726Z] $ docker top d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:14.236Z] ---> job-cost.sh [2023-03-30T19:00:14.499Z] lf-activate-venv: SKIPPING [2023-03-30T19:00:14.499Z] INFO: No Stack... [2023-03-30T19:00:14.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-30T19:00:15.722Z] INFO: Archiving Costs [Pipeline] sh [2023-03-30T19:00:16.046Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2023-03-30T19:00:16.047Z] + cut -d, -f6 [Pipeline] lock [2023-03-30T19:00:16.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [2023-03-30T19:00:16.109Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] did not exist. Created. [2023-03-30T19:00:16.109Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-30T19:00:16.437Z] /w/workspace/device-sdk-c/4@tmp/durable-113b8040/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-30T19:00:16.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-30T19:00:16.789Z] Warning: overwriting stash ‘stack-cost’ [2023-03-30T19:00:17.192Z] Stashed 1 file(s) [Pipeline] } [2023-03-30T19:00:17.201Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-30T19:00:17.221Z] $ docker stop --time=1 d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 [2023-03-30T19:00:18.684Z] $ docker rm -f --volumes d5327fea0e990f0a978541462c76472f5c4950479c77566fe013904c7080d1d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-30T19:00:18.897Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-30T19:00:19.405Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-03-30T19:00:19.405Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-03-30T19:00:19.405Z] total 16 [2023-03-30T19:00:19.405Z] drwxr-xr-x 3 root root 4096 Mar 30 18:57 . [2023-03-30T19:00:19.405Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 18:57 .. [2023-03-30T19:00:19.405Z] drwxr-xr-x 2 root root 4096 Mar 30 18:57 cost [2023-03-30T19:00:19.405Z] -rw-r--r-- 1 root root 84 Mar 30 18:57 cost.csv [2023-03-30T19:00:19.405Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-03-30T19:00:19.405Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-03-30T19:00:19.405Z] total 16 [2023-03-30T19:00:19.405Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 18:57 . [2023-03-30T19:00:19.405Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 18:57 .. [2023-03-30T19:00:19.405Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 18:57 cost [2023-03-30T19:00:19.405Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 30 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:19.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:20.562Z] ---> package-listing.sh [2023-03-30T19:00:20.563Z] ++ facter osfamily [2023-03-30T19:00:20.563Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-30T19:00:20.823Z] + OS_FAMILY=debian [2023-03-30T19:00:20.823Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-03-30T19:00:20.823Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-30T19:00:20.824Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-30T19:00:20.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-30T19:00:20.824Z] + PACKAGES=/tmp/packages_start.txt [2023-03-30T19:00:20.824Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-03-30T19:00:20.824Z] + PACKAGES=/tmp/packages_end.txt [2023-03-30T19:00:20.824Z] + case "${OS_FAMILY}" in [2023-03-30T19:00:20.824Z] + dpkg -l [2023-03-30T19:00:20.824Z] + grep '^ii' [2023-03-30T19:00:20.824Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-30T19:00:20.824Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-30T19:00:20.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-30T19:00:20.824Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-03-30T19:00:20.824Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-03-30T19:00:20.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [Pipeline] echo [2023-03-30T19:00:20.834Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-30T19:00:21.110Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T19:00:21.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T19:00:21.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T19:00:21.815Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-03-30T19:00:21.850Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-30T19:00:22.045Z] $ docker top d72b4fc1ce02594995fea2ee0aea76dfd22d82dd84f382a627a80b2db7ec21c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-30T19:00:22.383Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-30T19:00:22.669Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-30T19:00:22.951Z] + ls /var/log/sa-host [2023-03-30T19:00:22.951Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T19:00:23.013Z] provisioning config files... [2023-03-30T19:00:23.021Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config10091860871783489223tmp [Pipeline] { [Pipeline] echo [2023-03-30T19:00:23.036Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:23.315Z] ---> create-netrc.sh [Pipeline] } [2023-03-30T19:00:23.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:23.652Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-30T19:00:23.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:23.947Z] ---> sudo-logs.sh [2023-03-30T19:00:23.947Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-30T19:00:23.974Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:24.255Z] ---> job-cost.sh [2023-03-30T19:00:24.255Z] lf-activate-venv: SKIPPING [2023-03-30T19:00:24.255Z] DEBUG: total: 0.2199999988079071 [2023-03-30T19:00:24.255Z] INFO: Retrieving Stack Cost... [2023-03-30T19:00:24.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-30T19:00:25.080Z] INFO: Archiving Costs [Pipeline] echo [2023-03-30T19:00:25.092Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T19:00:25.375Z] ---> logs-deploy.sh [2023-03-30T19:00:25.375Z] lf-activate-venv: SKIPPING [2023-03-30T19:00:25.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/4 [2023-03-30T19:00:25.375Z] INFO: archiving workspace using pattern(s): [2023-03-30T19:00:26.312Z] Archives upload complete. [2023-03-30T19:00:26.312Z] INFO: archiving logs to Nexus