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 80a24b09310d384b64bfe7dfccb669ba75fd38c7 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from 80a24b09310d384b64bfe7dfccb669ba75fd38c7 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-ssh13308470971472332414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16071997941923067588.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6180800973821197936.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh14593336968627492951.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-ssh6142228174299917152.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2455 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 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing a602938c478f48cb443a458150cbf579f9df8a49 Checking out Revision a602938c478f48cb443a458150cbf579f9df8a49 (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 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a602938c478f48cb443a458150cbf579f9df8a49 # timeout=10 Commit message: "Merge commit '80a24b09310d384b64bfe7dfccb669ba75fd38c7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-28T18:55:44.036Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-28T18:55:44.075Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-28T18:55:44.091Z] ========================================================= [2023-07-28T18:55:44.091Z] EdgeX Global Pipelines Version Info [2023-07-28T18:55:44.091Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:55:44.789Z] ------------------- [2023-07-28T18:55:44.790Z] stable info: [2023-07-28T18:55:44.790Z] ------------------- [2023-07-28T18:55:44.790Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-28T18:55:44.790Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T18:55:44.790Z] Message: update stable to v1.0.250 > git rev-list --no-walk 94b47772b46cefb9b2d55bc9e01bdbeea3b40d2b # timeout=10 [2023-07-28T18:55:45.358Z] ------------------- [2023-07-28T18:55:45.358Z] experimental info: [2023-07-28T18:55:45.358Z] ------------------- [2023-07-28T18:55:45.358Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-28T18:55:45.358Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T18:55:45.358Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-28T18:55:45.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-28T18:55:45.557Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-28T18:55:45.569Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-28T18:55:45.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-28T18:55:45.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-28T18:55:45.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-28T18:55:45.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-28T18:55:45.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-28T18:55:45.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-28T18:55:45.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-28T18:55:45.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-28T18:55:45.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-28T18:55:45.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-28T18:55:45.700Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-28T18:55:45.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-28T18:55:45.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-28T18:55:45.739Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-28T18:55:45.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-07-28T18:55:45.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-07-28T18:55:45.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-07-28T18:55:45.809Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a602938c478f48cb443a458150cbf579f9df8a49 [Pipeline] echo [2023-07-28T18:55:45.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a602938 [Pipeline] echo [2023-07-28T18:55:45.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T18:55:45.875Z] provisioning config files... [2023-07-28T18:55:45.886Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config14775428396548481641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:55:46.195Z] ---> docker-login.sh [2023-07-28T18:55:46.196Z] nexus3.edgexfoundry.org:10001 [2023-07-28T18:55:46.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:55:46.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:55:46.717Z] Configure a credential helper to remove this warning. See [2023-07-28T18:55:46.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:55:46.717Z] [2023-07-28T18:55:46.717Z] Login Succeeded [2023-07-28T18:55:46.717Z] nexus3.edgexfoundry.org:10002 [2023-07-28T18:55:46.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:55:46.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:55:46.717Z] Configure a credential helper to remove this warning. See [2023-07-28T18:55:46.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:55:46.717Z] [2023-07-28T18:55:46.717Z] Login Succeeded [2023-07-28T18:55:46.717Z] nexus3.edgexfoundry.org:10003 [2023-07-28T18:55:46.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:55:46.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:55:46.979Z] Configure a credential helper to remove this warning. See [2023-07-28T18:55:46.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:55:46.979Z] [2023-07-28T18:55:46.979Z] Login Succeeded [2023-07-28T18:55:46.979Z] nexus3.edgexfoundry.org:10004 [2023-07-28T18:55:46.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:55:46.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:55:46.979Z] Configure a credential helper to remove this warning. See [2023-07-28T18:55:46.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:55:46.979Z] [2023-07-28T18:55:46.979Z] Login Succeeded [2023-07-28T18:55:46.979Z] docker.io [2023-07-28T18:55:46.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:55:47.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:55:47.239Z] Configure a credential helper to remove this warning. See [2023-07-28T18:55:47.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:55:47.239Z] [2023-07-28T18:55:47.239Z] Login Succeeded [2023-07-28T18:55:47.239Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T18:55:47.249Z] 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-07-28T18:55:47.605Z] + git rev-list -1 --merges a602938c478f48cb443a458150cbf579f9df8a49~1..a602938c478f48cb443a458150cbf579f9df8a49 [Pipeline] echo [2023-07-28T18:55:47.646Z] -----------> git rev-list -1 --merges a602938c478f48cb443a458150cbf579f9df8a49~1..a602938c478f48cb443a458150cbf579f9df8a49 a602938c478f48cb443a458150cbf579f9df8a49 [2023-07-28T18:55:47.646Z] a602938c478f48cb443a458150cbf579f9df8a49 [false] [Pipeline] sh [2023-07-28T18:55:47.926Z] + git log --format=format:%s -1 a602938c478f48cb443a458150cbf579f9df8a49 [Pipeline] echo [2023-07-28T18:55:47.940Z] ========================================================= [2023-07-28T18:55:47.940Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T18:55:47.940Z] ========================================================= 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-07-28T18:55:48.302Z] + git rev-list -1 --merges a602938c478f48cb443a458150cbf579f9df8a49~1..a602938c478f48cb443a458150cbf579f9df8a49 [Pipeline] echo [2023-07-28T18:55:48.311Z] -----------> git rev-list -1 --merges a602938c478f48cb443a458150cbf579f9df8a49~1..a602938c478f48cb443a458150cbf579f9df8a49 a602938c478f48cb443a458150cbf579f9df8a49 [2023-07-28T18:55:48.311Z] a602938c478f48cb443a458150cbf579f9df8a49 [false] [Pipeline] sh [2023-07-28T18:55:48.594Z] + git log --format=format:%s -1 a602938c478f48cb443a458150cbf579f9df8a49 [Pipeline] echo [2023-07-28T18:55:48.607Z] ========================================================= [2023-07-28T18:55:48.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T18:55:48.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-28T18:55:49.029Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-28T18:55:49.029Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-28T18:55:49.029Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-28T18:55:49.029Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-28T18:55:49.029Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-28T18:55:49.029Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-28T18:55:49.029Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:55:49.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T18:55:49.500Z] [2023-07-28T18:55:49.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:55:49.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T18:55:49.821Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-28T18:55:49.821Z] b85a868b505f: Pulling fs layer [2023-07-28T18:55:49.821Z] e2be974225ed: Pulling fs layer [2023-07-28T18:55:49.821Z] 339a4e72a1f5: Pulling fs layer [2023-07-28T18:55:49.821Z] 988bab9f4d93: Pulling fs layer [2023-07-28T18:55:49.821Z] 1469e6f7b9e6: Pulling fs layer [2023-07-28T18:55:49.821Z] eaf3925da568: Pulling fs layer [2023-07-28T18:55:49.821Z] bab4dde63d76: Pulling fs layer [2023-07-28T18:55:49.821Z] bde34c3a00c8: Pulling fs layer [2023-07-28T18:55:49.821Z] b352a97aabf1: Pulling fs layer [2023-07-28T18:55:49.821Z] 4872d77fe225: Pulling fs layer [2023-07-28T18:55:49.821Z] 5851b861e8e6: Pulling fs layer [2023-07-28T18:55:49.821Z] 1469e6f7b9e6: Waiting [2023-07-28T18:55:49.821Z] 988bab9f4d93: Waiting [2023-07-28T18:55:49.821Z] bab4dde63d76: Waiting [2023-07-28T18:55:49.821Z] 4872d77fe225: Waiting [2023-07-28T18:55:49.821Z] bde34c3a00c8: Waiting [2023-07-28T18:55:49.821Z] b352a97aabf1: Waiting [2023-07-28T18:55:49.821Z] 5851b861e8e6: Waiting [2023-07-28T18:55:49.821Z] eaf3925da568: Waiting [2023-07-28T18:55:50.083Z] e2be974225ed: Download complete [2023-07-28T18:55:50.083Z] 988bab9f4d93: Verifying Checksum [2023-07-28T18:55:50.083Z] 988bab9f4d93: Download complete [2023-07-28T18:55:50.083Z] 1469e6f7b9e6: Verifying Checksum [2023-07-28T18:55:50.083Z] 1469e6f7b9e6: Download complete [2023-07-28T18:55:50.083Z] eaf3925da568: Verifying Checksum [2023-07-28T18:55:50.083Z] eaf3925da568: Download complete [2023-07-28T18:55:50.083Z] 339a4e72a1f5: Verifying Checksum [2023-07-28T18:55:50.083Z] 339a4e72a1f5: Download complete [2023-07-28T18:55:50.083Z] b352a97aabf1: Verifying Checksum [2023-07-28T18:55:50.083Z] b352a97aabf1: Download complete [2023-07-28T18:55:50.342Z] 4872d77fe225: Verifying Checksum [2023-07-28T18:55:50.342Z] 4872d77fe225: Download complete [2023-07-28T18:55:50.342Z] 5851b861e8e6: Verifying Checksum [2023-07-28T18:55:50.342Z] 5851b861e8e6: Download complete [2023-07-28T18:55:50.342Z] b85a868b505f: Verifying Checksum [2023-07-28T18:55:50.342Z] b85a868b505f: Download complete [2023-07-28T18:55:50.602Z] bab4dde63d76: Verifying Checksum [2023-07-28T18:55:50.602Z] bab4dde63d76: Download complete [2023-07-28T18:55:51.541Z] b85a868b505f: Pull complete [2023-07-28T18:55:51.541Z] e2be974225ed: Pull complete [2023-07-28T18:55:52.111Z] 339a4e72a1f5: Pull complete [2023-07-28T18:55:52.111Z] 988bab9f4d93: Pull complete [2023-07-28T18:55:52.681Z] 1469e6f7b9e6: Pull complete [2023-07-28T18:55:52.681Z] eaf3925da568: Pull complete [2023-07-28T18:55:54.612Z] bab4dde63d76: Pull complete [2023-07-28T18:55:54.612Z] bde34c3a00c8: Pull complete [2023-07-28T18:55:54.612Z] b352a97aabf1: Pull complete [2023-07-28T18:55:54.612Z] 4872d77fe225: Pull complete [2023-07-28T18:55:54.872Z] 5851b861e8e6: Pull complete [2023-07-28T18:55:54.872Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-28T18:55:54.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T18:55:54.872Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T18:55:54.968Z] prd-ubuntu20.04-docker-8c-8g-2455 does not seem to be running inside a container [2023-07-28T18:55:55.004Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-28T18:56:00.262Z] $ docker top 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 -eo pid,comm [2023-07-28T18:56:00.340Z] 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-07-28T18:56:00.340Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-28T18:56:00.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T18:56:00.375Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T18:56:00.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T18:56:00.493Z] $ docker exec 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 ssh-agent [2023-07-28T18:56:00.611Z] SSH_AUTH_SOCK=/tmp/ssh-vCrgpDsWns9R/agent.31 [2023-07-28T18:56:00.611Z] SSH_AGENT_PID=37 [2023-07-28T18:56:00.618Z] Running ssh-add (command line suppressed) [2023-07-28T18:56:00.726Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8272852542016156400.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8272852542016156400.key) [2023-07-28T18:56:00.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T18:56:01.027Z] + git tag --points-at HEAD [Pipeline] } [2023-07-28T18:56:01.045Z] $ docker exec --env ******** --env ******** 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 ssh-agent -k [2023-07-28T18:56:01.166Z] unset SSH_AUTH_SOCK; [2023-07-28T18:56:01.168Z] unset SSH_AGENT_PID; [2023-07-28T18:56:01.168Z] echo Agent pid 37 killed; [2023-07-28T18:56:01.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-28T18:56:01.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T18:56:01.202Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T18:56:01.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T18:56:01.318Z] $ docker exec 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 ssh-agent [2023-07-28T18:56:01.435Z] SSH_AUTH_SOCK=/tmp/ssh-Kv1BbdOe89jq/agent.69 [2023-07-28T18:56:01.435Z] SSH_AGENT_PID=75 [2023-07-28T18:56:01.440Z] Running ssh-add (command line suppressed) [2023-07-28T18:56:01.562Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_1659337131270027581.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_1659337131270027581.key) [2023-07-28T18:56:01.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T18:56:01.869Z] + git semver init [2023-07-28T18:56:02.129Z] 2023-07-28 18:56:02,060 [run_init] DEBUG init version:0.0.0 force:False [2023-07-28T18:56:02.129Z] 2023-07-28 18:56:02,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-07-28T18:56:02.129Z] 2023-07-28 18:56:02,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-07-28T18:56:02.129Z] 2023-07-28 18:56:02,061 [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-07-28T18:56:03.564Z] 2023-07-28 18:56:03,101 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-07-28T18:56:03.564Z] 2023-07-28 18:56:03,101 [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-07-28T18:56:03.564Z] 2023-07-28 18:56:03,101 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-28T18:56:03.564Z] 2023-07-28 18:56:03,104 [execute] INFO git cat-file --batch-check [2023-07-28T18:56:03.564Z] 2023-07-28 18:56:03,104 [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-07-28T18:56:03.564Z] 2023-07-28 18:56:03,110 [execute] INFO git cat-file --batch [2023-07-28T18:56:03.564Z] 2023-07-28 18:56:03,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T18:56:03.564Z] 2023-07-28 18:56:03,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-28T18:56:03.564Z] 0.0.0 [Pipeline] } [2023-07-28T18:56:03.579Z] $ docker exec --env ******** --env ******** 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 ssh-agent -k [2023-07-28T18:56:03.687Z] unset SSH_AUTH_SOCK; [2023-07-28T18:56:03.691Z] unset SSH_AGENT_PID; [2023-07-28T18:56:03.691Z] echo Agent pid 75 killed; [2023-07-28T18:56:03.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-28T18:56:04.008Z] + git semver [Pipeline] } [2023-07-28T18:56:04.281Z] $ docker stop --time=1 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 [2023-07-28T18:56:05.959Z] $ docker rm -f --volumes 13f02c61d87ae0cebed0c2d29f2f50a98b24fffe65c6e74832f0164a8768a3b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-28T18:56:06.309Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-28T18:56:06.569Z] Stashed 1 file(s) [Pipeline] echo [2023-07-28T18:56:06.573Z] [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-07-28T18:56:06.683Z] provisioning config files... [2023-07-28T18:56:06.692Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config12570005708837402101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:56:06.984Z] ---> docker-login.sh [2023-07-28T18:56:06.984Z] nexus3.edgexfoundry.org:10001 [2023-07-28T18:56:06.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:56:06.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:56:06.984Z] Configure a credential helper to remove this warning. See [2023-07-28T18:56:06.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:56:06.984Z] [2023-07-28T18:56:06.984Z] Login Succeeded [2023-07-28T18:56:06.984Z] nexus3.edgexfoundry.org:10002 [2023-07-28T18:56:06.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:56:06.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:56:06.984Z] Configure a credential helper to remove this warning. See [2023-07-28T18:56:06.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:56:06.984Z] [2023-07-28T18:56:06.984Z] Login Succeeded [2023-07-28T18:56:06.984Z] nexus3.edgexfoundry.org:10003 [2023-07-28T18:56:07.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:56:07.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:56:07.243Z] Configure a credential helper to remove this warning. See [2023-07-28T18:56:07.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:56:07.243Z] [2023-07-28T18:56:07.243Z] Login Succeeded [2023-07-28T18:56:07.243Z] nexus3.edgexfoundry.org:10004 [2023-07-28T18:56:07.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:56:07.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:56:07.243Z] Configure a credential helper to remove this warning. See [2023-07-28T18:56:07.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:56:07.243Z] [2023-07-28T18:56:07.243Z] Login Succeeded [2023-07-28T18:56:07.243Z] docker.io [2023-07-28T18:56:07.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:56:07.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:56:07.761Z] Configure a credential helper to remove this warning. See [2023-07-28T18:56:07.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:56:07.761Z] [2023-07-28T18:56:07.761Z] Login Succeeded [2023-07-28T18:56:07.761Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T18:56:07.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T18:56:07.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T18:56:07.829Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-28T18:56:07.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T18:56:07.844Z] ========================================================= [2023-07-28T18:56:07.844Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-28T18:56:07.844Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:56:08.146Z] + 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-07-28T18:56:08.147Z] Sending build context to Docker daemon 4.892MB [2023-07-28T18:56:08.147Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-28T18:56:08.147Z] Step 2/21 : FROM ${BASE} as builder [2023-07-28T18:56:08.147Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-28T18:56:08.147Z] 91d30c5bc195: Pulling fs layer [2023-07-28T18:56:08.147Z] 316e5a4585fb: Pulling fs layer [2023-07-28T18:56:08.407Z] 91d30c5bc195: Verifying Checksum [2023-07-28T18:56:08.407Z] 91d30c5bc195: Download complete [2023-07-28T18:56:08.407Z] 91d30c5bc195: Pull complete [2023-07-28T18:56:09.345Z] 316e5a4585fb: Verifying Checksum [2023-07-28T18:56:09.345Z] 316e5a4585fb: Download complete [2023-07-28T18:56:11.876Z] 316e5a4585fb: Pull complete [2023-07-28T18:56:12.136Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-28T18:56:12.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-28T18:56:12.136Z] ---> e83ffa357ff4 [2023-07-28T18:56:12.136Z] 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-07-28T18:56:17.430Z] ---> Running in 5119f5f313bc [2023-07-28T18:56:17.430Z] Connecting to iotech.jfrog.io (54.154.242.239:443) [2023-07-28T18:56:17.430Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T18:56:17.430Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T18:56:17.430Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T18:56:17.687Z] Removing intermediate container 5119f5f313bc [2023-07-28T18:56:17.687Z] ---> 6d4f877fb59c [2023-07-28T18:56:17.687Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T18:56:17.687Z] ---> Running in 5f24fe398bcb [2023-07-28T18:56:18.255Z] Removing intermediate container 5f24fe398bcb [2023-07-28T18:56:18.255Z] ---> 63550ad317fa [2023-07-28T18:56:18.255Z] 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-07-28T18:56:18.255Z] ---> Running in e05cd99eea7d [2023-07-28T18:56:18.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T18:56:18.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-28T18:56:18.773Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T18:56:19.344Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T18:56:19.344Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T18:56:19.344Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T18:56:19.344Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-28T18:56:19.344Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-28T18:56:19.344Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T18:56:20.281Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T18:56:20.281Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-28T18:56:20.281Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-28T18:56:20.281Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T18:56:20.281Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T18:56:21.335Z] (11/16) Installing libblkid (2.38-r1) [2023-07-28T18:56:21.335Z] (12/16) Installing libuuid (2.38-r1) [2023-07-28T18:56:21.335Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-28T18:56:21.335Z] (14/16) Installing libmount (2.38-r1) [2023-07-28T18:56:21.335Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-28T18:56:21.335Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-28T18:56:21.335Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T18:56:21.335Z] OK: 280 MiB in 90 packages [2023-07-28T18:56:21.654Z] Still waiting to schedule task [2023-07-28T18:56:21.655Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-28T18:56:21.904Z] Removing intermediate container e05cd99eea7d [2023-07-28T18:56:21.904Z] ---> 2c924e9b542d [2023-07-28T18:56:21.904Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-28T18:56:22.171Z] ---> Running in 393539f6a552 [2023-07-28T18:56:22.740Z] Removing intermediate container 393539f6a552 [2023-07-28T18:56:22.740Z] ---> 3a69e4ce5ed0 [2023-07-28T18:56:22.740Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-28T18:56:22.740Z] ---> 16d9193c2281 [2023-07-28T18:56:22.740Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-28T18:56:22.998Z] ---> 8d89cbc188f7 [2023-07-28T18:56:22.998Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-28T18:56:23.256Z] ---> aca03f2038ac [2023-07-28T18:56:23.256Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-28T18:56:23.256Z] ---> 677e06e25c2e [2023-07-28T18:56:23.256Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-28T18:56:23.514Z] ---> f6b0684fbb82 [2023-07-28T18:56:23.514Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-28T18:56:23.514Z] ---> 8034e8c4fde2 [2023-07-28T18:56:23.514Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-28T18:56:23.514Z] ---> Running in 9a2adadfb966 [2023-07-28T18:56:23.773Z] + CPPCHECK=false [2023-07-28T18:56:23.773Z] + DOCGEN=false [2023-07-28T18:56:23.773Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-28T18:56:23.773Z] + '[' 0 -gt 0 ] [2023-07-28T18:56:23.773Z] + readlink -f ./scripts/build.sh [2023-07-28T18:56:23.773Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-28T18:56:23.773Z] + dirname /tmp/sdk/scripts [2023-07-28T18:56:23.773Z] + ROOT=/tmp/sdk [2023-07-28T18:56:23.773Z] + cd /tmp/sdk [2023-07-28T18:56:23.773Z] + mkdir -p /tmp/sdk/build/release [2023-07-28T18:56:23.773Z] + cd /tmp/sdk/build/release [2023-07-28T18:56:23.773Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-28T18:56:24.032Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T18:56:24.032Z] -- Detecting C compiler ABI info [2023-07-28T18:56:24.032Z] -- Detecting C compiler ABI info - done [2023-07-28T18:56:24.032Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T18:56:24.032Z] -- Detecting C compile features [2023-07-28T18:56:24.032Z] -- Detecting C compile features - done [2023-07-28T18:56:24.032Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T18:56:24.032Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T18:56:24.032Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T18:56:24.032Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T18:56:24.032Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T18:56:24.032Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T18:56:24.032Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T18:56:24.032Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T18:56:24.032Z] -- /opt/iotech/iot/1.5/include [2023-07-28T18:56:24.032Z] -- C SDK 0.0.0 for Linux [2023-07-28T18:56:24.032Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T18:56:24.291Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T18:56:24.291Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T18:56:24.291Z] -- Configuring done [2023-07-28T18:56:24.291Z] -- Generating done [2023-07-28T18:56:24.291Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-28T18:56:24.291Z] + make all package [2023-07-28T18:56:24.291Z] + tee release.log [2023-07-28T18:56:24.291Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:56:24.291Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:56:24.291Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:24.291Z] 25 | void clear_ae_signals (); [2023-07-28T18:56:24.291Z] | ^~~~ [2023-07-28T18:56:24.291Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:56:24.291Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:56:24.291Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:56:24.291Z] | ^ [2023-07-28T18:56:24.291Z] | ; [2023-07-28T18:56:24.291Z] 171 | } [2023-07-28T18:56:24.291Z] | ~ [2023-07-28T18:56:24.291Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:56:24.291Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:24.291Z] 278 | void clear_ae_signals () [2023-07-28T18:56:24.291Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:56:24.291Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:56:24.291Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:56:24.291Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:56:24.291Z] + '[' false '=' true ] [2023-07-28T18:56:24.291Z] + '[' false '=' true ] [2023-07-28T18:56:24.291Z] + mkdir -p /tmp/sdk/build/debug [2023-07-28T18:56:24.291Z] + cd /tmp/sdk/build/debug [2023-07-28T18:56:24.291Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-28T18:56:24.550Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T18:56:24.550Z] -- Detecting C compiler ABI info [2023-07-28T18:56:24.550Z] -- Detecting C compiler ABI info - done [2023-07-28T18:56:24.550Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T18:56:24.550Z] -- Detecting C compile features [2023-07-28T18:56:24.550Z] -- Detecting C compile features - done [2023-07-28T18:56:24.550Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T18:56:24.550Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T18:56:24.550Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T18:56:24.550Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T18:56:24.550Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T18:56:24.550Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T18:56:24.550Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T18:56:24.550Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T18:56:24.550Z] -- /opt/iotech/iot/1.5/include [2023-07-28T18:56:24.550Z] -- C SDK 0.0.0 for Linux [2023-07-28T18:56:24.550Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T18:56:24.808Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T18:56:24.809Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T18:56:24.809Z] -- Configuring done [2023-07-28T18:56:24.809Z] -- Generating done [2023-07-28T18:56:24.809Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-28T18:56:24.809Z] + make [2023-07-28T18:56:24.809Z] + tee debug.log [2023-07-28T18:56:24.809Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:56:24.809Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:56:24.809Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:24.809Z] 25 | void clear_ae_signals (); [2023-07-28T18:56:24.809Z] | ^~~~ [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:56:25.068Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:56:25.068Z] | ^ [2023-07-28T18:56:25.068Z] | ; [2023-07-28T18:56:25.068Z] 171 | } [2023-07-28T18:56:25.068Z] | ~ [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:25.068Z] 278 | void clear_ae_signals () [2023-07-28T18:56:25.068Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:56:25.068Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:56:25.068Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:56:25.068Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:56:25.068Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] Consolidate compiler generated dependencies of target csdk [2023-07-28T18:56:25.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:56:25.068Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:25.068Z] 25 | void clear_ae_signals (); [2023-07-28T18:56:25.068Z] | ^~~~ [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:56:25.068Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:56:25.068Z] | ^ [2023-07-28T18:56:25.068Z] | ; [2023-07-28T18:56:25.068Z] 171 | } [2023-07-28T18:56:25.068Z] | ~ [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:56:25.068Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:56:25.068Z] 278 | void clear_ae_signals () [2023-07-28T18:56:25.068Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:56:25.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:56:25.068Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.068Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:56:25.068Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:56:25.068Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:56:25.636Z] 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 [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-07-28T18:56:26.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T18:56:26.091Z] [2023-07-28T18:56:26.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:56:26.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T18:56:26.648Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-28T18:56:26.648Z] 5eb5b503b376: Pulling fs layer [2023-07-28T18:56:26.648Z] 5c69ac0246d0: Pulling fs layer [2023-07-28T18:56:26.648Z] ec43610c2a17: Pulling fs layer [2023-07-28T18:56:26.648Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-28T18:56:26.648Z] 33b1e0a273af: Pulling fs layer [2023-07-28T18:56:26.648Z] 5d3b04190fa2: Pulling fs layer [2023-07-28T18:56:26.648Z] 2f39f015ded8: Pulling fs layer [2023-07-28T18:56:26.648Z] 3a2ae6a8a46f: Waiting [2023-07-28T18:56:26.648Z] 33b1e0a273af: Waiting [2023-07-28T18:56:26.648Z] 5d3b04190fa2: Waiting [2023-07-28T18:56:26.648Z] 5c69ac0246d0: Verifying Checksum [2023-07-28T18:56:26.648Z] 5c69ac0246d0: Download complete [2023-07-28T18:56:26.648Z] 3a2ae6a8a46f: Download complete [2023-07-28T18:56:26.648Z] 33b1e0a273af: Verifying Checksum [2023-07-28T18:56:26.648Z] 33b1e0a273af: Download complete [2023-07-28T18:56:26.648Z] 5d3b04190fa2: Verifying Checksum [2023-07-28T18:56:26.648Z] 5d3b04190fa2: Download complete [2023-07-28T18:56:26.648Z] ec43610c2a17: Verifying Checksum [2023-07-28T18:56:26.648Z] ec43610c2a17: Download complete [2023-07-28T18:56:26.909Z] 5eb5b503b376: Verifying Checksum [2023-07-28T18:56:26.909Z] 5eb5b503b376: Download complete [2023-07-28T18:56:27.476Z] 2f39f015ded8: Download complete [2023-07-28T18:56:28.411Z] 5eb5b503b376: Pull complete [2023-07-28T18:56:28.411Z] 5c69ac0246d0: Pull complete [2023-07-28T18:56:29.347Z] ec43610c2a17: Pull complete [2023-07-28T18:56:29.347Z] 3a2ae6a8a46f: Pull complete [2023-07-28T18:56:29.347Z] 33b1e0a273af: Pull complete [2023-07-28T18:56:29.605Z] 5d3b04190fa2: Pull complete [2023-07-28T18:56:34.873Z] 2f39f015ded8: Pull complete [2023-07-28T18:56:34.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-28T18:56:34.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T18:56:34.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T18:56:34.951Z] prd-ubuntu20.04-docker-8c-8g-2455 does not seem to be running inside a container [2023-07-28T18:56:34.977Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-28T18:56:41.158Z] $ docker top 631bf48476c608dc1a3df90f9652364d5e2a6498e8f331e006a8ad50f6fcbeb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:56:41.558Z] ---> job-cost.sh [2023-07-28T18:56:41.558Z] lf-activate-venv: SKIPPING [2023-07-28T18:56:41.558Z] INFO: No Stack... [2023-07-28T18:56:41.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T18:56:42.077Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T18:56:42.367Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-07-28T18:56:42.367Z] + cut -d, -f6 [Pipeline] lock [2023-07-28T18:56:42.379Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [2023-07-28T18:56:42.386Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] did not exist. Created. [2023-07-28T18:56:42.386Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T18:56:42.677Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-28T18:56:42.728Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T18:56:42.735Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T18:56:42.751Z] $ docker stop --time=1 631bf48476c608dc1a3df90f9652364d5e2a6498e8f331e006a8ad50f6fcbeb8 [2023-07-28T18:56:43.892Z] $ docker rm -f --volumes 631bf48476c608dc1a3df90f9652364d5e2a6498e8f331e006a8ad50f6fcbeb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T18:56:43.999Z] Failed in branch amd64 [2023-07-28T18:57:52.011Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2456 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-07-28T18:57:52.024Z] Running in /w/workspace/device-sdk-c/14 [Pipeline] { [Pipeline] checkout [2023-07-28T18:57:52.057Z] Selected Git installation does not exist. Using Default [2023-07-28T18:57:52.057Z] The recommended git tool is: NONE [2023-07-28T18:57:57.085Z] using credential edgex-jenkins-ssh [2023-07-28T18:57:57.101Z] Cloning the remote Git repository [2023-07-28T18:57:57.142Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T18:57:57.229Z] > git init /w/workspace/device-sdk-c/14 # timeout=10 [2023-07-28T18:57:57.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T18:57:57.374Z] > git --version # timeout=10 [2023-07-28T18:57:57.400Z] > git --version # 'git version 2.25.1' [2023-07-28T18:57:57.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T18:57:57.540Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T18:57:58.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-28T18:57:58.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T18:58:00.184Z] Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-07-28T18:58:00.649Z] Merge succeeded, producing 2d36372e385665d03573234cc54bfc4bb4ebd7d3 [2023-07-28T18:58:00.650Z] Checking out Revision 2d36372e385665d03573234cc54bfc4bb4ebd7d3 (PR-444) [2023-07-28T18:57:59.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-28T18:57:59.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T18:57:59.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T18:57:59.546Z] > 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-07-28T18:58:00.201Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T18:58:00.268Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-07-28T18:58:00.396Z] > git remote # timeout=10 [2023-07-28T18:58:00.423Z] > git config --get remote.origin.url # timeout=10 [2023-07-28T18:58:00.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T18:58:00.457Z] > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 [2023-07-28T18:58:00.622Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-28T18:58:00.655Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T18:58:00.668Z] > git checkout -f 2d36372e385665d03573234cc54bfc4bb4ebd7d3 # timeout=10 [2023-07-28T18:58:04.192Z] Commit message: "Merge commit '80a24b09310d384b64bfe7dfccb669ba75fd38c7' into HEAD" [2023-07-28T18:58:04.219Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T18:58:04.198Z] > git rev-list --no-walk 94b47772b46cefb9b2d55bc9e01bdbeea3b40d2b # timeout=10 [2023-07-28T18:58:05.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-28T18:58:05.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-28T18:58:05.201Z] Dload Upload Total Spent Left Speed [2023-07-28T18:58:05.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-07-28T18:58:05.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-28T18:58:06.204Z] + + sudo tee /etc/docker/daemon.newsudo [2023-07-28T18:58:06.205Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-28T18:58:06.205Z] { [2023-07-28T18:58:06.205Z] "registry-mirrors": [ [2023-07-28T18:58:06.205Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-28T18:58:06.205Z] ], [2023-07-28T18:58:06.205Z] "bip": "10.250.0.254/24", [2023-07-28T18:58:06.205Z] "hosts": [ [2023-07-28T18:58:06.205Z] "tcp://0.0.0.0:5555", [2023-07-28T18:58:06.205Z] "unix:///var/run/docker.sock" [2023-07-28T18:58:06.205Z] ], [2023-07-28T18:58:06.205Z] "mtu": 1458, [2023-07-28T18:58:06.205Z] "selinux-enabled": true, [2023-07-28T18:58:06.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-28T18:58:06.205Z] } [Pipeline] sh [2023-07-28T18:58:06.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-28T18:58:06.857Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T18:58:25.110Z] provisioning config files... [2023-07-28T18:58:25.132Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/14@tmp/config7128030590033268960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:58:25.471Z] ---> docker-login.sh [2023-07-28T18:58:25.471Z] nexus3.edgexfoundry.org:10001 [2023-07-28T18:58:25.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:58:26.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:58:26.017Z] Configure a credential helper to remove this warning. See [2023-07-28T18:58:26.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:58:26.017Z] [2023-07-28T18:58:26.017Z] Login Succeeded [2023-07-28T18:58:26.017Z] nexus3.edgexfoundry.org:10002 [2023-07-28T18:58:26.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:58:26.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:58:26.286Z] Configure a credential helper to remove this warning. See [2023-07-28T18:58:26.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:58:26.287Z] [2023-07-28T18:58:26.287Z] Login Succeeded [2023-07-28T18:58:26.287Z] nexus3.edgexfoundry.org:10003 [2023-07-28T18:58:26.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:58:26.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:58:26.824Z] Configure a credential helper to remove this warning. See [2023-07-28T18:58:26.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:58:26.824Z] [2023-07-28T18:58:26.824Z] Login Succeeded [2023-07-28T18:58:26.824Z] nexus3.edgexfoundry.org:10004 [2023-07-28T18:58:26.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:58:27.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:58:27.093Z] Configure a credential helper to remove this warning. See [2023-07-28T18:58:27.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:58:27.093Z] [2023-07-28T18:58:27.093Z] Login Succeeded [2023-07-28T18:58:27.093Z] docker.io [2023-07-28T18:58:27.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T18:58:27.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T18:58:27.627Z] Configure a credential helper to remove this warning. See [2023-07-28T18:58:27.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T18:58:27.627Z] [2023-07-28T18:58:27.627Z] Login Succeeded [2023-07-28T18:58:27.627Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T18:58:27.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T18:58:31.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T18:58:31.572Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-28T18:58:31.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T18:58:31.597Z] ========================================================= [2023-07-28T18:58:31.597Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-28T18:58:31.597Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:58:31.931Z] + 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-07-28T18:58:32.200Z] Sending build context to Docker daemon 2.942MB [2023-07-28T18:58:32.200Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-28T18:58:32.200Z] Step 2/21 : FROM ${BASE} as builder [2023-07-28T18:58:32.469Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-28T18:58:32.469Z] 547446be3368: Pulling fs layer [2023-07-28T18:58:32.469Z] 76bd08e1cacc: Pulling fs layer [2023-07-28T18:58:32.469Z] 547446be3368: Verifying Checksum [2023-07-28T18:58:32.469Z] 547446be3368: Download complete [2023-07-28T18:58:33.057Z] 547446be3368: Pull complete [2023-07-28T18:58:34.477Z] 76bd08e1cacc: Verifying Checksum [2023-07-28T18:58:34.477Z] 76bd08e1cacc: Download complete [2023-07-28T18:58:42.697Z] 76bd08e1cacc: Pull complete [2023-07-28T18:58:42.698Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-28T18:58:42.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-28T18:58:42.698Z] ---> 295cd00e64f4 [2023-07-28T18:58:42.698Z] 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-07-28T18:58:43.284Z] ---> Running in 6976a56557da [2023-07-28T18:58:44.701Z] Connecting to iotech.jfrog.io (52.16.13.142:443) [2023-07-28T18:58:44.970Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T18:58:44.970Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T18:58:44.970Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T18:58:45.557Z] Removing intermediate container 6976a56557da [2023-07-28T18:58:45.557Z] ---> 86bc9ad6a6f8 [2023-07-28T18:58:45.557Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T18:58:45.557Z] ---> Running in 59d10f02ab7b [2023-07-28T18:58:46.969Z] Removing intermediate container 59d10f02ab7b [2023-07-28T18:58:46.969Z] ---> 86ae2f489949 [2023-07-28T18:58:46.969Z] 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-07-28T18:58:47.238Z] ---> Running in 870c3c7eab3e [2023-07-28T18:58:48.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T18:58:48.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-28T18:58:48.782Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T18:58:49.364Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T18:58:49.629Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T18:58:49.629Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T18:58:49.629Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-28T18:58:49.629Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-28T18:58:49.629Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T18:58:50.583Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T18:58:50.583Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-28T18:58:50.583Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-28T18:58:50.583Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T18:58:50.583Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T18:58:51.542Z] (11/16) Installing libblkid (2.38-r1) [2023-07-28T18:58:51.542Z] (12/16) Installing libuuid (2.38-r1) [2023-07-28T18:58:51.542Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-28T18:58:51.542Z] (14/16) Installing libmount (2.38-r1) [2023-07-28T18:58:51.542Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-28T18:58:51.542Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-28T18:58:51.542Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T18:58:51.542Z] OK: 286 MiB in 90 packages [2023-07-28T18:58:52.507Z] Removing intermediate container 870c3c7eab3e [2023-07-28T18:58:52.507Z] ---> 09244f7360ee [2023-07-28T18:58:52.507Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-28T18:58:52.786Z] ---> Running in 1b49c5ce7c0f [2023-07-28T18:58:54.203Z] Removing intermediate container 1b49c5ce7c0f [2023-07-28T18:58:54.203Z] ---> 87a953706033 [2023-07-28T18:58:54.203Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-28T18:58:54.471Z] ---> 4d24d2e35cb9 [2023-07-28T18:58:54.471Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-28T18:58:57.810Z] ---> b1369009dd15 [2023-07-28T18:58:57.810Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-28T18:58:58.078Z] ---> 3fba0bd324ee [2023-07-28T18:58:58.078Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-28T18:58:58.708Z] ---> 4668646442ec [2023-07-28T18:58:58.708Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-28T18:58:58.974Z] ---> ffa93a1d4a13 [2023-07-28T18:58:58.974Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-28T18:58:59.563Z] ---> 9ed4cb841e59 [2023-07-28T18:58:59.563Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-28T18:58:59.563Z] ---> Running in 7cbefb2e80b8 [2023-07-28T18:59:00.525Z] + CPPCHECK=false [2023-07-28T18:59:00.525Z] + DOCGEN=false [2023-07-28T18:59:00.525Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-28T18:59:00.525Z] + '[' 0 -gt 0 ] [2023-07-28T18:59:00.525Z] + readlink -f ./scripts/build.sh [2023-07-28T18:59:00.525Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-28T18:59:00.525Z] + dirname /tmp/sdk/scripts [2023-07-28T18:59:00.525Z] + ROOT=/tmp/sdk [2023-07-28T18:59:00.525Z] + cd /tmp/sdk [2023-07-28T18:59:00.525Z] + mkdir -p /tmp/sdk/build/release [2023-07-28T18:59:00.525Z] + cd /tmp/sdk/build/release [2023-07-28T18:59:00.525Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-28T18:59:00.792Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T18:59:00.792Z] -- Detecting C compiler ABI info [2023-07-28T18:59:01.060Z] -- Detecting C compiler ABI info - done [2023-07-28T18:59:01.327Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T18:59:01.327Z] -- Detecting C compile features [2023-07-28T18:59:01.327Z] -- Detecting C compile features - done [2023-07-28T18:59:01.327Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T18:59:01.327Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T18:59:01.327Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T18:59:01.597Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T18:59:01.597Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T18:59:01.597Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T18:59:01.597Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T18:59:01.597Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T18:59:01.597Z] -- /opt/iotech/iot/1.5/include [2023-07-28T18:59:01.597Z] -- C SDK 0.0.0 for Linux [2023-07-28T18:59:01.597Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T18:59:01.863Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T18:59:01.863Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T18:59:02.131Z] -- Configuring done [2023-07-28T18:59:02.398Z] -- Generating done [2023-07-28T18:59:02.399Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-28T18:59:02.399Z] + make all package [2023-07-28T18:59:02.399Z] + tee release.log [2023-07-28T18:59:02.665Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:59:02.931Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:59:02.931Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:02.931Z] 25 | void clear_ae_signals (); [2023-07-28T18:59:02.931Z] | ^~~~ [2023-07-28T18:59:02.931Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:59:02.931Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:59:02.931Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:59:02.931Z] | ^ [2023-07-28T18:59:02.931Z] | ; [2023-07-28T18:59:02.931Z] 171 | } [2023-07-28T18:59:02.931Z] | ~ [2023-07-28T18:59:02.931Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:59:02.931Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:02.931Z] 278 | void clear_ae_signals () [2023-07-28T18:59:02.931Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:59:02.931Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:59:02.931Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:59:02.931Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:59:02.931Z] + '[' false '=' true ] [2023-07-28T18:59:02.931Z] + '[' false '=' true ] [2023-07-28T18:59:02.931Z] + mkdir -p /tmp/sdk/build/debug [2023-07-28T18:59:02.931Z] + cd /tmp/sdk/build/debug [2023-07-28T18:59:02.931Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-28T18:59:03.198Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T18:59:03.198Z] -- Detecting C compiler ABI info [2023-07-28T18:59:03.465Z] -- Detecting C compiler ABI info - done [2023-07-28T18:59:03.733Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T18:59:03.733Z] -- Detecting C compile features [2023-07-28T18:59:03.733Z] -- Detecting C compile features - done [2023-07-28T18:59:03.733Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T18:59:03.733Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T18:59:03.733Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T18:59:04.001Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T18:59:04.001Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T18:59:04.001Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T18:59:04.001Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T18:59:04.001Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T18:59:04.001Z] -- /opt/iotech/iot/1.5/include [2023-07-28T18:59:04.001Z] -- C SDK 0.0.0 for Linux [2023-07-28T18:59:04.001Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T18:59:04.266Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T18:59:04.266Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T18:59:04.531Z] -- Configuring done [2023-07-28T18:59:04.797Z] -- Generating done [2023-07-28T18:59:04.797Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-28T18:59:04.797Z] + make [2023-07-28T18:59:04.797Z] + tee debug.log [2023-07-28T18:59:04.797Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:59:05.063Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:59:05.063Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:05.063Z] 25 | void clear_ae_signals (); [2023-07-28T18:59:05.063Z] | ^~~~ [2023-07-28T18:59:05.063Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:59:05.063Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:59:05.063Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:59:05.063Z] | ^ [2023-07-28T18:59:05.063Z] | ; [2023-07-28T18:59:05.063Z] 171 | } [2023-07-28T18:59:05.063Z] | ~ [2023-07-28T18:59:05.063Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:59:05.063Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:05.063Z] 278 | void clear_ae_signals () [2023-07-28T18:59:05.063Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:59:05.063Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:59:05.063Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:59:05.063Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:59:05.063Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.330Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.330Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.330Z] Consolidate compiler generated dependencies of target csdk [2023-07-28T18:59:05.330Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.330Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.330Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T18:59:05.599Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-28T18:59:05.599Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:05.599Z] 25 | void clear_ae_signals (); [2023-07-28T18:59:05.599Z] | ^~~~ [2023-07-28T18:59:05.599Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-28T18:59:05.599Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-28T18:59:05.599Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-28T18:59:05.599Z] | ^ [2023-07-28T18:59:05.599Z] | ; [2023-07-28T18:59:05.599Z] 171 | } [2023-07-28T18:59:05.599Z] | ~ [2023-07-28T18:59:05.599Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-28T18:59:05.599Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-28T18:59:05.599Z] 278 | void clear_ae_signals () [2023-07-28T18:59:05.599Z] | ^~~~~~~~~~~~~~~~ [2023-07-28T18:59:05.599Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-28T18:59:05.599Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.599Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-28T18:59:05.599Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:59:05.599Z] make: *** [Makefile:156: all] Error 2 [2023-07-28T18:59:05.599Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-28T18:59:06.180Z] 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-07-28T18:59:06.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T18:59:06.627Z] [2023-07-28T18:59:06.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:59:06.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T18:59:06.951Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-28T18:59:06.951Z] 8998bd30e6a1: Pulling fs layer [2023-07-28T18:59:06.951Z] 04944245beec: Pulling fs layer [2023-07-28T18:59:06.951Z] 699f458cf7ca: Pulling fs layer [2023-07-28T18:59:06.951Z] 765212b225bb: Pulling fs layer [2023-07-28T18:59:06.951Z] f23df028b6ca: Pulling fs layer [2023-07-28T18:59:06.951Z] d65c8cfc05b1: Pulling fs layer [2023-07-28T18:59:06.951Z] 2437ff75d9bd: Pulling fs layer [2023-07-28T18:59:06.951Z] f23df028b6ca: Waiting [2023-07-28T18:59:06.951Z] d65c8cfc05b1: Waiting [2023-07-28T18:59:06.951Z] 2437ff75d9bd: Waiting [2023-07-28T18:59:06.951Z] 765212b225bb: Waiting [2023-07-28T18:59:07.219Z] 04944245beec: Verifying Checksum [2023-07-28T18:59:07.219Z] 04944245beec: Download complete [2023-07-28T18:59:07.219Z] 765212b225bb: Verifying Checksum [2023-07-28T18:59:07.219Z] 765212b225bb: Download complete [2023-07-28T18:59:07.219Z] f23df028b6ca: Verifying Checksum [2023-07-28T18:59:07.219Z] f23df028b6ca: Download complete [2023-07-28T18:59:07.219Z] d65c8cfc05b1: Verifying Checksum [2023-07-28T18:59:07.219Z] d65c8cfc05b1: Download complete [2023-07-28T18:59:07.219Z] 699f458cf7ca: Verifying Checksum [2023-07-28T18:59:07.219Z] 699f458cf7ca: Download complete [2023-07-28T18:59:07.804Z] 8998bd30e6a1: Verifying Checksum [2023-07-28T18:59:07.804Z] 8998bd30e6a1: Download complete [2023-07-28T18:59:09.751Z] 2437ff75d9bd: Download complete [2023-07-28T18:59:11.700Z] 8998bd30e6a1: Pull complete [2023-07-28T18:59:11.968Z] 04944245beec: Pull complete [2023-07-28T18:59:13.375Z] 699f458cf7ca: Pull complete [2023-07-28T18:59:13.642Z] 765212b225bb: Pull complete [2023-07-28T18:59:14.226Z] f23df028b6ca: Pull complete [2023-07-28T18:59:14.492Z] d65c8cfc05b1: Pull complete [2023-07-28T18:59:29.500Z] 2437ff75d9bd: Pull complete [2023-07-28T18:59:29.500Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-28T18:59:29.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T18:59:29.500Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T18:59:29.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-2456 does not seem to be running inside a container [2023-07-28T18:59:29.749Z] $ 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/14 -v /w/workspace/device-sdk-c/14:/w/workspace/device-sdk-c/14:rw,z -v /w/workspace/device-sdk-c/14@tmp:/w/workspace/device-sdk-c/14@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-07-28T18:59:32.018Z] $ docker top b271a210aebf4a8b78ef87e17cd932e59742dbd0de9de75b240683188ef6622e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:32.850Z] ---> job-cost.sh [2023-07-28T18:59:32.850Z] lf-activate-venv: SKIPPING [2023-07-28T18:59:32.850Z] INFO: No Stack... [2023-07-28T18:59:33.115Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-28T18:59:34.070Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T18:59:34.390Z] + + cat /w/workspace/device-sdk-c/14/archives/cost.csv [2023-07-28T18:59:34.390Z] cut -d, -f6 [Pipeline] lock [2023-07-28T18:59:34.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [2023-07-28T18:59:34.449Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] did not exist. Created. [2023-07-28T18:59:34.449Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T18:59:34.783Z] /w/workspace/device-sdk-c/14@tmp/durable-dacf56b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-28T18:59:35.430Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-28T18:59:35.447Z] Warning: overwriting stash ‘stack-cost’ [2023-07-28T18:59:35.857Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T18:59:35.864Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-14-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T18:59:35.881Z] $ docker stop --time=1 b271a210aebf4a8b78ef87e17cd932e59742dbd0de9de75b240683188ef6622e [2023-07-28T18:59:38.708Z] $ docker rm -f --volumes b271a210aebf4a8b78ef87e17cd932e59742dbd0de9de75b240683188ef6622e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T18:59:38.928Z] 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-07-28T18:59:39.442Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-07-28T18:59:39.442Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-28T18:59:39.442Z] total 16 [2023-07-28T18:59:39.442Z] drwxr-xr-x 3 root root 4096 Jul 28 18:56 . [2023-07-28T18:59:39.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 18:56 .. [2023-07-28T18:59:39.442Z] drwxr-xr-x 2 root root 4096 Jul 28 18:56 cost [2023-07-28T18:59:39.442Z] -rw-r--r-- 1 root root 85 Jul 28 18:56 cost.csv [2023-07-28T18:59:39.442Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-28T18:59:39.442Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-28T18:59:39.442Z] total 16 [2023-07-28T18:59:39.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 18:56 . [2023-07-28T18:59:39.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 18:56 .. [2023-07-28T18:59:39.442Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 18:56 cost [2023-07-28T18:59:39.442Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 28 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:39.739Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:40.601Z] ---> package-listing.sh [2023-07-28T18:59:40.601Z] ++ facter osfamily [2023-07-28T18:59:40.601Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-28T18:59:40.861Z] + OS_FAMILY=debian [2023-07-28T18:59:40.861Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-07-28T18:59:40.861Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-28T18:59:40.861Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-28T18:59:40.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-28T18:59:40.861Z] + PACKAGES=/tmp/packages_start.txt [2023-07-28T18:59:40.861Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-28T18:59:40.861Z] + PACKAGES=/tmp/packages_end.txt [2023-07-28T18:59:40.861Z] + case "${OS_FAMILY}" in [2023-07-28T18:59:40.861Z] + dpkg -l [2023-07-28T18:59:40.861Z] + grep '^ii' [2023-07-28T18:59:40.861Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-28T18:59:40.861Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-28T18:59:40.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-28T18:59:40.861Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-28T18:59:40.861Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-07-28T18:59:40.861Z] + 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-07-28T18:59:40.872Z] 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-07-28T18:59:41.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T18:59:41.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T18:59:41.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T18:59:41.778Z] prd-ubuntu20.04-docker-8c-8g-2455 does not seem to be running inside a container [2023-07-28T18:59:41.808Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-28T18:59:41.997Z] $ docker top 513993d128447ce2b95dcf3c31ded9334434515830a210eca016d2f34b613150 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T18:59:42.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-28T18:59:42.619Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-28T18:59:42.902Z] + ls /var/log/sa-host [2023-07-28T18:59:42.902Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T18:59:43.051Z] provisioning config files... [2023-07-28T18:59:43.058Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config13927677187170050934tmp [Pipeline] { [Pipeline] echo [2023-07-28T18:59:43.074Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:43.353Z] ---> create-netrc.sh [Pipeline] } [2023-07-28T18:59:43.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:43.690Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-28T18:59:43.699Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:43.984Z] ---> sudo-logs.sh [2023-07-28T18:59:43.984Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-28T18:59:44.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:44.301Z] ---> job-cost.sh [2023-07-28T18:59:44.301Z] lf-activate-venv: SKIPPING [2023-07-28T18:59:44.301Z] DEBUG: total: 0.2199999988079071 [2023-07-28T18:59:44.301Z] INFO: Retrieving Stack Cost... [2023-07-28T18:59:44.559Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T18:59:44.819Z] INFO: Archiving Costs [Pipeline] echo [2023-07-28T18:59:44.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T18:59:45.116Z] ---> logs-deploy.sh [2023-07-28T18:59:45.116Z] lf-activate-venv: SKIPPING [2023-07-28T18:59:45.116Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/14 [2023-07-28T18:59:45.116Z] INFO: archiving workspace using pattern(s): [2023-07-28T18:59:46.053Z] Archives upload complete. [2023-07-28T18:59:46.053Z] INFO: archiving logs to Nexus