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 e7fd64e96379a16422cca1ca57683b7b4003cc62 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from e7fd64e96379a16422cca1ca57683b7b4003cc62 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-ssh95871668993548402.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-ssh10376767083338084432.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-ssh17417202844944984309.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-ssh15367488898245749586.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-ssh8216064332104625106.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-422 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 e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 Checking out Revision 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 (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 e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 # timeout=10 Commit message: "Merge commit 'e7fd64e96379a16422cca1ca57683b7b4003cc62' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-04T18:55:33.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-04T18:55:33.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-04T18:55:33.882Z] ========================================================= [2023-07-04T18:55:33.882Z] EdgeX Global Pipelines Version Info [2023-07-04T18:55:33.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:55:34.652Z] ------------------- [2023-07-04T18:55:34.652Z] stable info: [2023-07-04T18:55:34.652Z] ------------------- [2023-07-04T18:55:34.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-04T18:55:34.652Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-04T18:55:34.652Z] Message: update stable to v1.0.250 > git rev-list --no-walk 1f4868e5dcbb45564af2eaa00066a4cb880fe992 # timeout=10 [2023-07-04T18:55:35.224Z] ------------------- [2023-07-04T18:55:35.224Z] experimental info: [2023-07-04T18:55:35.224Z] ------------------- [2023-07-04T18:55:35.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-04T18:55:35.224Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-04T18:55:35.224Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-04T18:55:35.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-04T18:55:35.383Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-04T18:55:35.391Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-04T18:55:35.400Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-04T18:55:35.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-04T18:55:35.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-04T18:55:35.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-04T18:55:35.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-04T18:55:35.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-04T18:55:35.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-04T18:55:35.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-04T18:55:35.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-04T18:55:35.487Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-04T18:55:35.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-04T18:55:35.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-04T18:55:35.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-04T18:55:35.535Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-04T18:55:35.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-07-04T18:55:35.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-07-04T18:55:35.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-07-04T18:55:35.590Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [Pipeline] echo [2023-07-04T18:55:35.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b7e9fa [Pipeline] echo [2023-07-04T18:55:35.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T18:55:35.663Z] provisioning config files... [2023-07-04T18:55:35.677Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config12288328343827142777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:55:35.974Z] ---> docker-login.sh [2023-07-04T18:55:35.974Z] nexus3.edgexfoundry.org:10001 [2023-07-04T18:55:36.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:36.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:36.500Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:36.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:36.500Z] [2023-07-04T18:55:36.500Z] Login Succeeded [2023-07-04T18:55:36.500Z] nexus3.edgexfoundry.org:10002 [2023-07-04T18:55:36.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:36.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:36.500Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:36.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:36.500Z] [2023-07-04T18:55:36.500Z] Login Succeeded [2023-07-04T18:55:36.500Z] nexus3.edgexfoundry.org:10003 [2023-07-04T18:55:36.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:36.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:36.500Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:36.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:36.500Z] [2023-07-04T18:55:36.500Z] Login Succeeded [2023-07-04T18:55:36.762Z] nexus3.edgexfoundry.org:10004 [2023-07-04T18:55:36.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:36.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:36.762Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:36.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:36.762Z] [2023-07-04T18:55:36.762Z] Login Succeeded [2023-07-04T18:55:36.762Z] docker.io [2023-07-04T18:55:36.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:37.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:37.331Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:37.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:37.331Z] [2023-07-04T18:55:37.331Z] Login Succeeded [2023-07-04T18:55:37.331Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T18:55:37.339Z] 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-04T18:55:37.711Z] + git rev-list -1 --merges 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2~1..3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [Pipeline] echo [2023-07-04T18:55:37.758Z] -----------> git rev-list -1 --merges 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2~1..3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [2023-07-04T18:55:37.759Z] 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [false] [Pipeline] sh [2023-07-04T18:55:38.053Z] + git log --format=format:%s -1 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [Pipeline] echo [2023-07-04T18:55:38.071Z] ========================================================= [2023-07-04T18:55:38.071Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-04T18:55:38.071Z] ========================================================= 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-04T18:55:38.466Z] + git rev-list -1 --merges 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2~1..3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [Pipeline] echo [2023-07-04T18:55:38.478Z] -----------> git rev-list -1 --merges 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2~1..3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [2023-07-04T18:55:38.478Z] 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [false] [Pipeline] sh [2023-07-04T18:55:38.763Z] + git log --format=format:%s -1 3b7e9fa791ffd2dcba2064eb608f21e5b35d13c2 [Pipeline] echo [2023-07-04T18:55:38.776Z] ========================================================= [2023-07-04T18:55:38.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-04T18:55:38.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-04T18:55:39.207Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-04T18:55:39.207Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-04T18:55:39.207Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-04T18:55:39.207Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-04T18:55:39.207Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-04T18:55:39.207Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-04T18:55:39.207Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:55:39.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T18:55:39.617Z] [2023-07-04T18:55:39.617Z] 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-04T18:55:39.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T18:55:39.915Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-04T18:55:39.915Z] b85a868b505f: Pulling fs layer [2023-07-04T18:55:39.915Z] e2be974225ed: Pulling fs layer [2023-07-04T18:55:39.915Z] 339a4e72a1f5: Pulling fs layer [2023-07-04T18:55:39.915Z] 988bab9f4d93: Pulling fs layer [2023-07-04T18:55:39.915Z] 1469e6f7b9e6: Pulling fs layer [2023-07-04T18:55:39.915Z] eaf3925da568: Pulling fs layer [2023-07-04T18:55:39.915Z] bab4dde63d76: Pulling fs layer [2023-07-04T18:55:39.915Z] bde34c3a00c8: Pulling fs layer [2023-07-04T18:55:39.915Z] b352a97aabf1: Pulling fs layer [2023-07-04T18:55:39.915Z] 4872d77fe225: Pulling fs layer [2023-07-04T18:55:39.915Z] 5851b861e8e6: Pulling fs layer [2023-07-04T18:55:39.915Z] bab4dde63d76: Waiting [2023-07-04T18:55:39.915Z] bde34c3a00c8: Waiting [2023-07-04T18:55:39.915Z] b352a97aabf1: Waiting [2023-07-04T18:55:39.915Z] 4872d77fe225: Waiting [2023-07-04T18:55:39.915Z] 1469e6f7b9e6: Waiting [2023-07-04T18:55:39.915Z] 5851b861e8e6: Waiting [2023-07-04T18:55:39.915Z] eaf3925da568: Waiting [2023-07-04T18:55:39.915Z] 988bab9f4d93: Waiting [2023-07-04T18:55:39.915Z] e2be974225ed: Verifying Checksum [2023-07-04T18:55:39.915Z] 988bab9f4d93: Download complete [2023-07-04T18:55:40.175Z] 1469e6f7b9e6: Verifying Checksum [2023-07-04T18:55:40.175Z] 1469e6f7b9e6: Download complete [2023-07-04T18:55:40.175Z] 339a4e72a1f5: Verifying Checksum [2023-07-04T18:55:40.175Z] 339a4e72a1f5: Download complete [2023-07-04T18:55:40.175Z] eaf3925da568: Verifying Checksum [2023-07-04T18:55:40.175Z] eaf3925da568: Download complete [2023-07-04T18:55:40.175Z] bde34c3a00c8: Verifying Checksum [2023-07-04T18:55:40.175Z] bde34c3a00c8: Download complete [2023-07-04T18:55:40.175Z] b352a97aabf1: Verifying Checksum [2023-07-04T18:55:40.175Z] b352a97aabf1: Download complete [2023-07-04T18:55:40.175Z] 4872d77fe225: Download complete [2023-07-04T18:55:40.175Z] 5851b861e8e6: Download complete [2023-07-04T18:55:40.175Z] b85a868b505f: Verifying Checksum [2023-07-04T18:55:40.175Z] b85a868b505f: Download complete [2023-07-04T18:55:40.435Z] bab4dde63d76: Verifying Checksum [2023-07-04T18:55:40.435Z] bab4dde63d76: Download complete [2023-07-04T18:55:41.852Z] b85a868b505f: Pull complete [2023-07-04T18:55:41.852Z] e2be974225ed: Pull complete [2023-07-04T18:55:42.111Z] 339a4e72a1f5: Pull complete [2023-07-04T18:55:42.371Z] 988bab9f4d93: Pull complete [2023-07-04T18:55:42.630Z] 1469e6f7b9e6: Pull complete [2023-07-04T18:55:42.630Z] eaf3925da568: Pull complete [2023-07-04T18:55:44.541Z] bab4dde63d76: Pull complete [2023-07-04T18:55:44.541Z] bde34c3a00c8: Pull complete [2023-07-04T18:55:44.541Z] b352a97aabf1: Pull complete [2023-07-04T18:55:44.806Z] 4872d77fe225: Pull complete [2023-07-04T18:55:44.806Z] 5851b861e8e6: Pull complete [2023-07-04T18:55:44.806Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-04T18:55:44.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-04T18:55:44.806Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T18:55:44.910Z] prd-ubuntu20.04-docker-8c-8g-422 does not seem to be running inside a container [2023-07-04T18:55:44.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-04T18:55:46.576Z] $ docker top 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 -eo pid,comm [2023-07-04T18:55:46.629Z] 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-04T18:55:46.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-04T18:55:46.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T18:55:46.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T18:55:46.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T18:55:46.804Z] $ docker exec 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 ssh-agent [2023-07-04T18:55:46.921Z] SSH_AUTH_SOCK=/tmp/ssh-Pl2GU9YZISeT/agent.32 [2023-07-04T18:55:46.921Z] SSH_AGENT_PID=38 [2023-07-04T18:55:46.929Z] Running ssh-add (command line suppressed) [2023-07-04T18:55:47.048Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_14902907046947151671.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_14902907046947151671.key) [2023-07-04T18:55:47.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T18:55:47.349Z] + git tag --points-at HEAD [Pipeline] } [2023-07-04T18:55:47.370Z] $ docker exec --env ******** --env ******** 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 ssh-agent -k [2023-07-04T18:55:47.469Z] unset SSH_AUTH_SOCK; [2023-07-04T18:55:47.469Z] unset SSH_AGENT_PID; [2023-07-04T18:55:47.469Z] echo Agent pid 38 killed; [2023-07-04T18:55:47.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-04T18:55:47.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-04T18:55:47.502Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-04T18:55:47.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-04T18:55:47.627Z] $ docker exec 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 ssh-agent [2023-07-04T18:55:47.749Z] SSH_AUTH_SOCK=/tmp/ssh-TDTp5O1noQug/agent.70 [2023-07-04T18:55:47.749Z] SSH_AGENT_PID=76 [2023-07-04T18:55:47.753Z] Running ssh-add (command line suppressed) [2023-07-04T18:55:47.868Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_15103355334344822398.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_15103355334344822398.key) [2023-07-04T18:55:47.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-04T18:55:48.228Z] + git semver init [2023-07-04T18:55:48.498Z] 2023-07-04 18:55:48,389 [run_init] DEBUG init version:0.0.0 force:False [2023-07-04T18:55:48.498Z] 2023-07-04 18:55:48,390 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-07-04T18:55:48.498Z] 2023-07-04 18:55:48,390 [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-04T18:55:48.498Z] 2023-07-04 18:55:48,391 [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-04T18:55:49.440Z] 2023-07-04 18:55:49,214 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-07-04T18:55:49.440Z] 2023-07-04 18:55:49,215 [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-04T18:55:49.440Z] 2023-07-04 18:55:49,215 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-04T18:55:49.440Z] 2023-07-04 18:55:49,220 [execute] INFO git cat-file --batch-check [2023-07-04T18:55:49.440Z] 2023-07-04 18:55:49,221 [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-04T18:55:49.440Z] 2023-07-04 18:55:49,227 [execute] INFO git cat-file --batch [2023-07-04T18:55:49.440Z] 2023-07-04 18:55:49,227 [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-04T18:55:49.440Z] 2023-07-04 18:55:49,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-04T18:55:49.440Z] 0.0.0 [Pipeline] } [2023-07-04T18:55:49.454Z] $ docker exec --env ******** --env ******** 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 ssh-agent -k [2023-07-04T18:55:49.561Z] unset SSH_AUTH_SOCK; [2023-07-04T18:55:49.562Z] unset SSH_AGENT_PID; [2023-07-04T18:55:49.562Z] echo Agent pid 76 killed; [2023-07-04T18:55:49.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-04T18:55:49.877Z] + git semver [Pipeline] } [2023-07-04T18:55:50.164Z] $ docker stop --time=1 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 [2023-07-04T18:55:51.468Z] $ docker rm -f --volumes 07d2f62054ae02c94fc03f6d180e5b83b0dc9f0c2e85b5f0741695ff658fd777 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-04T18:55:51.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-04T18:55:52.013Z] Stashed 1 file(s) [Pipeline] echo [2023-07-04T18:55:52.016Z] [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-04T18:55:52.166Z] provisioning config files... [2023-07-04T18:55:52.176Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17505318818556269971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:55:52.472Z] ---> docker-login.sh [2023-07-04T18:55:52.472Z] nexus3.edgexfoundry.org:10001 [2023-07-04T18:55:52.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:52.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:52.472Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:52.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:52.472Z] [2023-07-04T18:55:52.472Z] Login Succeeded [2023-07-04T18:55:52.472Z] nexus3.edgexfoundry.org:10002 [2023-07-04T18:55:52.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:52.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:52.472Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:52.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:52.472Z] [2023-07-04T18:55:52.472Z] Login Succeeded [2023-07-04T18:55:52.472Z] nexus3.edgexfoundry.org:10003 [2023-07-04T18:55:52.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:52.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:52.732Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:52.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:52.732Z] [2023-07-04T18:55:52.732Z] Login Succeeded [2023-07-04T18:55:52.732Z] nexus3.edgexfoundry.org:10004 [2023-07-04T18:55:52.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:52.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:52.732Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:52.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:52.732Z] [2023-07-04T18:55:52.732Z] Login Succeeded [2023-07-04T18:55:52.732Z] docker.io [2023-07-04T18:55:52.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:55:52.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:55:52.991Z] Configure a credential helper to remove this warning. See [2023-07-04T18:55:52.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:55:52.991Z] [2023-07-04T18:55:52.991Z] Login Succeeded [2023-07-04T18:55:52.991Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T18:55:52.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-04T18:55:53.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T18:55:53.079Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-04T18:55:53.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T18:55:53.092Z] ========================================================= [2023-07-04T18:55:53.092Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-04T18:55:53.092Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:55:53.387Z] + 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-04T18:55:53.387Z] Sending build context to Docker daemon 4.858MB [2023-07-04T18:55:53.387Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-04T18:55:53.387Z] Step 2/21 : FROM ${BASE} as builder [2023-07-04T18:55:53.387Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-04T18:55:53.387Z] 91d30c5bc195: Pulling fs layer [2023-07-04T18:55:53.387Z] 316e5a4585fb: Pulling fs layer [2023-07-04T18:55:53.647Z] 91d30c5bc195: Verifying Checksum [2023-07-04T18:55:53.647Z] 91d30c5bc195: Download complete [2023-07-04T18:55:53.647Z] 91d30c5bc195: Pull complete [2023-07-04T18:55:54.218Z] 316e5a4585fb: Verifying Checksum [2023-07-04T18:55:54.218Z] 316e5a4585fb: Download complete [2023-07-04T18:55:57.500Z] 316e5a4585fb: Pull complete [2023-07-04T18:55:57.500Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-04T18:55:57.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-04T18:55:57.500Z] ---> e83ffa357ff4 [2023-07-04T18:55:57.500Z] 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-04T18:55:58.436Z] ---> Running in 023a250d98ff [2023-07-04T18:55:58.436Z] Connecting to iotech.jfrog.io (52.49.54.18:443) [2023-07-04T18:55:59.005Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T18:55:59.005Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T18:55:59.005Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T18:55:59.263Z] Removing intermediate container 023a250d98ff [2023-07-04T18:55:59.263Z] ---> 5494887e73e5 [2023-07-04T18:55:59.263Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T18:55:59.263Z] ---> Running in d93731c89ac9 [2023-07-04T18:55:59.832Z] Removing intermediate container d93731c89ac9 [2023-07-04T18:55:59.832Z] ---> d0f542cda2cf [2023-07-04T18:55:59.832Z] 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-04T18:56:00.092Z] ---> Running in afb494d83ffc [2023-07-04T18:56:00.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T18:56:00.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-04T18:56:00.610Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-04T18:56:01.179Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T18:56:01.179Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T18:56:01.179Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T18:56:01.179Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-04T18:56:01.179Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-04T18:56:01.179Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T18:56:02.117Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T18:56:02.117Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-04T18:56:02.117Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-04T18:56:02.117Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T18:56:02.117Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T18:56:03.052Z] (11/16) Installing libblkid (2.38-r1) [2023-07-04T18:56:03.052Z] (12/16) Installing libuuid (2.38-r1) [2023-07-04T18:56:03.052Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-04T18:56:03.052Z] (14/16) Installing libmount (2.38-r1) [2023-07-04T18:56:03.052Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-04T18:56:03.052Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-04T18:56:03.052Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T18:56:03.052Z] OK: 280 MiB in 90 packages [2023-07-04T18:56:03.987Z] Removing intermediate container afb494d83ffc [2023-07-04T18:56:03.987Z] ---> b7fcfdcb7035 [2023-07-04T18:56:03.987Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-04T18:56:04.247Z] ---> Running in 9634a4a041df [2023-07-04T18:56:04.815Z] Removing intermediate container 9634a4a041df [2023-07-04T18:56:04.815Z] ---> 5ba037ff04ea [2023-07-04T18:56:04.816Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-04T18:56:05.075Z] ---> e8edf30abd17 [2023-07-04T18:56:05.075Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-04T18:56:05.334Z] ---> fbec98628317 [2023-07-04T18:56:05.334Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-04T18:56:05.334Z] ---> e2411dc9a0b6 [2023-07-04T18:56:05.334Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-04T18:56:05.595Z] ---> b1c3a1d68d52 [2023-07-04T18:56:05.595Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-04T18:56:05.855Z] ---> 5953b70e48ad [2023-07-04T18:56:05.855Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-04T18:56:05.855Z] ---> b22c881dd839 [2023-07-04T18:56:05.855Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-04T18:56:06.113Z] ---> Running in a9aaddb24d0d [2023-07-04T18:56:06.371Z] + CPPCHECK=false [2023-07-04T18:56:06.371Z] + DOCGEN=false [2023-07-04T18:56:06.371Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-04T18:56:06.371Z] + '[' 0 -gt 0 ] [2023-07-04T18:56:06.371Z] + readlink -f ./scripts/build.sh [2023-07-04T18:56:06.371Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-04T18:56:06.371Z] + dirname /tmp/sdk/scripts [2023-07-04T18:56:06.371Z] + ROOT=/tmp/sdk [2023-07-04T18:56:06.371Z] + cd /tmp/sdk [2023-07-04T18:56:06.371Z] + mkdir -p /tmp/sdk/build/release [2023-07-04T18:56:06.371Z] + cd /tmp/sdk/build/release [2023-07-04T18:56:06.371Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-04T18:56:06.371Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T18:56:06.371Z] -- Detecting C compiler ABI info [2023-07-04T18:56:06.633Z] -- Detecting C compiler ABI info - done [2023-07-04T18:56:06.633Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T18:56:06.633Z] -- Detecting C compile features [2023-07-04T18:56:06.633Z] -- Detecting C compile features - done [2023-07-04T18:56:06.633Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T18:56:06.633Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T18:56:06.633Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T18:56:06.633Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T18:56:06.633Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T18:56:06.633Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T18:56:06.633Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T18:56:06.633Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T18:56:06.633Z] -- /opt/iotech/iot/1.5/include [2023-07-04T18:56:06.633Z] -- C SDK 0.0.0 for Linux [2023-07-04T18:56:06.633Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T18:56:06.633Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T18:56:06.633Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T18:56:06.893Z] -- Configuring done [2023-07-04T18:56:06.893Z] -- Generating done [2023-07-04T18:56:06.893Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-04T18:56:06.893Z] + make all package [2023-07-04T18:56:06.893Z] + tee release.log [2023-07-04T18:56:06.893Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:56:06.893Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:56:06.893Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:06.893Z] 25 | void clear_ae_signals (); [2023-07-04T18:56:06.893Z] | ^~~~ [2023-07-04T18:56:06.893Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:56:06.893Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:56:06.893Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:56:06.893Z] | ^ [2023-07-04T18:56:06.893Z] | ; [2023-07-04T18:56:06.893Z] 171 | } [2023-07-04T18:56:06.893Z] | ~ [2023-07-04T18:56:06.893Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:56:06.893Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:06.893Z] 278 | void clear_ae_signals () [2023-07-04T18:56:06.893Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:56:06.893Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:56:06.893Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:56:06.893Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:56:06.893Z] + '[' false '=' true ] [2023-07-04T18:56:06.893Z] + '[' false '=' true ] [2023-07-04T18:56:06.893Z] + mkdir -p /tmp/sdk/build/debug [2023-07-04T18:56:06.893Z] + cd /tmp/sdk/build/debug [2023-07-04T18:56:06.893Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-04T18:56:06.893Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T18:56:06.893Z] -- Detecting C compiler ABI info [2023-07-04T18:56:07.111Z] Still waiting to schedule task [2023-07-04T18:56:07.111Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-04T18:56:07.155Z] -- Detecting C compiler ABI info - done [2023-07-04T18:56:07.155Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T18:56:07.155Z] -- Detecting C compile features [2023-07-04T18:56:07.155Z] -- Detecting C compile features - done [2023-07-04T18:56:07.155Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T18:56:07.155Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T18:56:07.155Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T18:56:07.155Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T18:56:07.155Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T18:56:07.155Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T18:56:07.155Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T18:56:07.155Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T18:56:07.155Z] -- /opt/iotech/iot/1.5/include [2023-07-04T18:56:07.155Z] -- C SDK 0.0.0 for Linux [2023-07-04T18:56:07.155Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T18:56:07.155Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T18:56:07.417Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T18:56:07.417Z] -- Configuring done [2023-07-04T18:56:07.417Z] -- Generating done [2023-07-04T18:56:07.417Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-04T18:56:07.417Z] + make [2023-07-04T18:56:07.417Z] + tee debug.log [2023-07-04T18:56:07.417Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:56:07.417Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:56:07.417Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:07.417Z] 25 | void clear_ae_signals (); [2023-07-04T18:56:07.417Z] | ^~~~ [2023-07-04T18:56:07.417Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:56:07.417Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:56:07.417Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:56:07.417Z] | ^ [2023-07-04T18:56:07.417Z] | ; [2023-07-04T18:56:07.417Z] 171 | } [2023-07-04T18:56:07.417Z] | ~ [2023-07-04T18:56:07.417Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:56:07.417Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:07.417Z] 278 | void clear_ae_signals () [2023-07-04T18:56:07.417Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:56:07.417Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:56:07.417Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:56:07.417Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:56:07.417Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.417Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.417Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.417Z] Consolidate compiler generated dependencies of target csdk [2023-07-04T18:56:07.417Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.417Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.417Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:56:07.741Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:56:07.741Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:07.741Z] 25 | void clear_ae_signals (); [2023-07-04T18:56:07.741Z] | ^~~~ [2023-07-04T18:56:07.741Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:56:07.741Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:56:07.741Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:56:07.741Z] | ^ [2023-07-04T18:56:07.741Z] | ; [2023-07-04T18:56:07.741Z] 171 | } [2023-07-04T18:56:07.741Z] | ~ [2023-07-04T18:56:07.741Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:56:07.741Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:56:07.741Z] 278 | void clear_ae_signals () [2023-07-04T18:56:07.741Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:56:07.741Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.741Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:56:07.741Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:56:07.741Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:56:07.741Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:56:07.741Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:56:08.001Z] 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-04T18:56:08.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T18:56:08.460Z] [2023-07-04T18:56:08.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:56:08.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T18:56:08.763Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-04T18:56:08.763Z] 5eb5b503b376: Pulling fs layer [2023-07-04T18:56:08.763Z] 5c69ac0246d0: Pulling fs layer [2023-07-04T18:56:08.763Z] ec43610c2a17: Pulling fs layer [2023-07-04T18:56:08.763Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-04T18:56:08.763Z] 33b1e0a273af: Pulling fs layer [2023-07-04T18:56:08.763Z] 3a2ae6a8a46f: Waiting [2023-07-04T18:56:08.763Z] 33b1e0a273af: Waiting [2023-07-04T18:56:08.763Z] 5d3b04190fa2: Pulling fs layer [2023-07-04T18:56:08.763Z] 2f39f015ded8: Pulling fs layer [2023-07-04T18:56:08.763Z] 2f39f015ded8: Waiting [2023-07-04T18:56:08.763Z] 5c69ac0246d0: Download complete [2023-07-04T18:56:08.763Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-04T18:56:08.763Z] 3a2ae6a8a46f: Download complete [2023-07-04T18:56:09.026Z] 33b1e0a273af: Verifying Checksum [2023-07-04T18:56:09.026Z] 33b1e0a273af: Download complete [2023-07-04T18:56:09.026Z] 5d3b04190fa2: Download complete [2023-07-04T18:56:09.026Z] ec43610c2a17: Verifying Checksum [2023-07-04T18:56:09.026Z] ec43610c2a17: Download complete [2023-07-04T18:56:09.026Z] 5eb5b503b376: Verifying Checksum [2023-07-04T18:56:09.026Z] 5eb5b503b376: Download complete [2023-07-04T18:56:09.595Z] 2f39f015ded8: Download complete [2023-07-04T18:56:10.163Z] 5eb5b503b376: Pull complete [2023-07-04T18:56:10.423Z] 5c69ac0246d0: Pull complete [2023-07-04T18:56:10.990Z] ec43610c2a17: Pull complete [2023-07-04T18:56:10.990Z] 3a2ae6a8a46f: Pull complete [2023-07-04T18:56:10.990Z] 33b1e0a273af: Pull complete [2023-07-04T18:56:11.249Z] 5d3b04190fa2: Pull complete [2023-07-04T18:56:16.520Z] 2f39f015ded8: Pull complete [2023-07-04T18:56:16.520Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-04T18:56:16.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T18:56:16.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T18:56:16.597Z] prd-ubuntu20.04-docker-8c-8g-422 does not seem to be running inside a container [2023-07-04T18:56:16.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-04T18:56:19.161Z] $ docker top 59a97f5b12721ee1f84789455bd33f56163534f5fc2b3d91f94555d487dde96c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:56:19.547Z] ---> job-cost.sh [2023-07-04T18:56:19.547Z] lf-activate-venv: SKIPPING [2023-07-04T18:56:19.547Z] INFO: No Stack... [2023-07-04T18:56:20.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-04T18:56:20.376Z] INFO: Archiving Costs [Pipeline] sh [2023-07-04T18:56:20.663Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-07-04T18:56:20.663Z] + cut -d, -f6 [Pipeline] lock [2023-07-04T18:56:20.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [2023-07-04T18:56:20.682Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] did not exist. Created. [2023-07-04T18:56:20.682Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-04T18:56:20.984Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-04T18:56:21.032Z] Stashed 1 file(s) [Pipeline] } [2023-07-04T18:56:21.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-04T18:56:21.067Z] $ docker stop --time=1 59a97f5b12721ee1f84789455bd33f56163534f5fc2b3d91f94555d487dde96c [2023-07-04T18:56:22.227Z] $ docker rm -f --volumes 59a97f5b12721ee1f84789455bd33f56163534f5fc2b3d91f94555d487dde96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-04T18:56:22.333Z] Failed in branch amd64 [2023-07-04T18:57:41.512Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-423 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-07-04T18:57:41.525Z] Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout [2023-07-04T18:57:41.563Z] Selected Git installation does not exist. Using Default [2023-07-04T18:57:41.563Z] The recommended git tool is: NONE [2023-07-04T18:57:46.517Z] using credential edgex-jenkins-ssh [2023-07-04T18:57:46.532Z] Cloning the remote Git repository [2023-07-04T18:57:46.589Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-04T18:57:46.678Z] > git init /w/workspace/device-sdk-c/10 # timeout=10 [2023-07-04T18:57:46.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-04T18:57:46.818Z] > git --version # timeout=10 [2023-07-04T18:57:46.839Z] > git --version # 'git version 2.25.1' [2023-07-04T18:57:46.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-04T18:57:46.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-04T18:57:50.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-04T18:57:50.374Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-04T18:57:51.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-04T18:57:51.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-04T18:57:51.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-04T18:57:51.249Z] > 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-04T18:57:51.786Z] Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-07-04T18:57:52.202Z] Merge succeeded, producing d3410677a3c7296bc72e54e8e7c02cd17494a54f [2023-07-04T18:57:52.202Z] Checking out Revision d3410677a3c7296bc72e54e8e7c02cd17494a54f (PR-444) [2023-07-04T18:57:51.805Z] > git config core.sparsecheckout # timeout=10 [2023-07-04T18:57:51.882Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-07-04T18:57:51.989Z] > git remote # timeout=10 [2023-07-04T18:57:52.010Z] > git config --get remote.origin.url # timeout=10 [2023-07-04T18:57:52.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-04T18:57:52.042Z] > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 [2023-07-04T18:57:52.185Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-04T18:57:52.210Z] > git config core.sparsecheckout # timeout=10 [2023-07-04T18:57:52.222Z] > git checkout -f d3410677a3c7296bc72e54e8e7c02cd17494a54f # timeout=10 [2023-07-04T18:57:55.648Z] Commit message: "Merge commit 'e7fd64e96379a16422cca1ca57683b7b4003cc62' into HEAD" [2023-07-04T18:57:55.676Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-04T18:57:55.658Z] > git rev-list --no-walk 1f4868e5dcbb45564af2eaa00066a4cb880fe992 # timeout=10 [2023-07-04T18:57:56.630Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-04T18:57:56.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-04T18:57:56.630Z] Dload Upload Total Spent Left Speed [2023-07-04T18:57:56.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-07-04T18:57:57.320Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-04T18:57:57.647Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-07-04T18:57:57.647Z] /etc/docker/daemon.json [2023-07-04T18:57:57.647Z] { [2023-07-04T18:57:57.647Z] "registry-mirrors": [ [2023-07-04T18:57:57.647Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-04T18:57:57.647Z] ], [2023-07-04T18:57:57.647Z] "bip": "10.250.0.254/24", [2023-07-04T18:57:57.647Z] "hosts": [ [2023-07-04T18:57:57.647Z] "tcp://0.0.0.0:5555", [2023-07-04T18:57:57.647Z] "unix:///var/run/docker.sock" [2023-07-04T18:57:57.647Z] ], [2023-07-04T18:57:57.647Z] "mtu": 1458, [2023-07-04T18:57:57.647Z] "selinux-enabled": true, [2023-07-04T18:57:57.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-04T18:57:57.647Z] } [Pipeline] sh [2023-07-04T18:57:57.995Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-04T18:57:58.320Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T18:58:16.566Z] provisioning config files... [2023-07-04T18:58:16.589Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config8004287830021344065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:58:16.932Z] ---> docker-login.sh [2023-07-04T18:58:16.932Z] nexus3.edgexfoundry.org:10001 [2023-07-04T18:58:17.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:58:17.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:58:17.470Z] Configure a credential helper to remove this warning. See [2023-07-04T18:58:17.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:58:17.470Z] [2023-07-04T18:58:17.470Z] Login Succeeded [2023-07-04T18:58:17.470Z] nexus3.edgexfoundry.org:10002 [2023-07-04T18:58:17.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:58:17.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:58:17.739Z] Configure a credential helper to remove this warning. See [2023-07-04T18:58:17.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:58:17.739Z] [2023-07-04T18:58:17.739Z] Login Succeeded [2023-07-04T18:58:17.739Z] nexus3.edgexfoundry.org:10003 [2023-07-04T18:58:18.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:58:18.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:58:18.273Z] Configure a credential helper to remove this warning. See [2023-07-04T18:58:18.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:58:18.273Z] [2023-07-04T18:58:18.273Z] Login Succeeded [2023-07-04T18:58:18.273Z] nexus3.edgexfoundry.org:10004 [2023-07-04T18:58:18.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:58:18.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:58:18.539Z] Configure a credential helper to remove this warning. See [2023-07-04T18:58:18.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:58:18.539Z] [2023-07-04T18:58:18.539Z] Login Succeeded [2023-07-04T18:58:18.539Z] docker.io [2023-07-04T18:58:18.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-04T18:58:18.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-04T18:58:18.808Z] Configure a credential helper to remove this warning. See [2023-07-04T18:58:18.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-04T18:58:18.808Z] [2023-07-04T18:58:18.808Z] Login Succeeded [2023-07-04T18:58:18.808Z] ---> docker-login.sh ends [Pipeline] } [2023-07-04T18:58:18.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-04T18:58:19.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T18:58:19.072Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-04T18:58:19.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-04T18:58:19.087Z] ========================================================= [2023-07-04T18:58:19.087Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-04T18:58:19.087Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:58:19.421Z] + 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-04T18:58:19.697Z] Sending build context to Docker daemon 2.922MB [2023-07-04T18:58:19.697Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-04T18:58:19.697Z] Step 2/21 : FROM ${BASE} as builder [2023-07-04T18:58:19.968Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-04T18:58:19.968Z] 547446be3368: Pulling fs layer [2023-07-04T18:58:19.968Z] 76bd08e1cacc: Pulling fs layer [2023-07-04T18:58:19.968Z] 547446be3368: Verifying Checksum [2023-07-04T18:58:19.968Z] 547446be3368: Download complete [2023-07-04T18:58:20.560Z] 547446be3368: Pull complete [2023-07-04T18:58:21.990Z] 76bd08e1cacc: Verifying Checksum [2023-07-04T18:58:21.990Z] 76bd08e1cacc: Download complete [2023-07-04T18:58:30.212Z] 76bd08e1cacc: Pull complete [2023-07-04T18:58:30.481Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-04T18:58:30.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-04T18:58:30.481Z] ---> 295cd00e64f4 [2023-07-04T18:58:30.481Z] 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-04T18:58:31.068Z] ---> Running in b35e32921bd5 [2023-07-04T18:58:32.479Z] Connecting to iotech.jfrog.io (52.208.21.235:443) [2023-07-04T18:58:32.750Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-04T18:58:32.750Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-04T18:58:32.751Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-04T18:58:33.338Z] Removing intermediate container b35e32921bd5 [2023-07-04T18:58:33.338Z] ---> 5826d1b2e74b [2023-07-04T18:58:33.338Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-04T18:58:33.338Z] ---> Running in 88d2d0b1c951 [2023-07-04T18:58:35.304Z] Removing intermediate container 88d2d0b1c951 [2023-07-04T18:58:35.304Z] ---> f57feed0b0c0 [2023-07-04T18:58:35.304Z] 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-04T18:58:35.304Z] ---> Running in 98b988270d5f [2023-07-04T18:58:35.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T18:58:36.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-04T18:58:36.738Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-04T18:58:37.322Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-04T18:58:37.322Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T18:58:37.590Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-04T18:58:37.590Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-04T18:58:37.590Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-04T18:58:37.590Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-04T18:58:38.549Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-04T18:58:38.549Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-04T18:58:38.549Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-04T18:58:38.549Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-04T18:58:38.549Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-04T18:58:39.505Z] (11/16) Installing libblkid (2.38-r1) [2023-07-04T18:58:39.505Z] (12/16) Installing libuuid (2.38-r1) [2023-07-04T18:58:39.505Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-04T18:58:39.771Z] (14/16) Installing libmount (2.38-r1) [2023-07-04T18:58:39.771Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-04T18:58:39.771Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-04T18:58:39.771Z] Executing busybox-1.35.0-r17.trigger [2023-07-04T18:58:39.771Z] OK: 286 MiB in 90 packages [2023-07-04T18:58:41.189Z] Removing intermediate container 98b988270d5f [2023-07-04T18:58:41.189Z] ---> 4d59da4d56aa [2023-07-04T18:58:41.189Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-04T18:58:41.189Z] ---> Running in dcf89bff274f [2023-07-04T18:58:42.604Z] Removing intermediate container dcf89bff274f [2023-07-04T18:58:42.604Z] ---> 86a6ab939a36 [2023-07-04T18:58:42.604Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-04T18:58:45.948Z] ---> 68a754bdf1a3 [2023-07-04T18:58:45.948Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-04T18:58:46.532Z] ---> a3991bd41e27 [2023-07-04T18:58:46.532Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-04T18:58:46.801Z] ---> 8ee7c6fe1523 [2023-07-04T18:58:46.801Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-04T18:58:47.387Z] ---> 4a7588f81bbd [2023-07-04T18:58:47.387Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-04T18:58:47.972Z] ---> 29b9c0738b25 [2023-07-04T18:58:47.972Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-04T18:58:48.242Z] ---> 2f113f3b8b05 [2023-07-04T18:58:48.242Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-04T18:58:48.242Z] ---> Running in 3f974407a3fb [2023-07-04T18:58:49.205Z] + CPPCHECK=false [2023-07-04T18:58:49.205Z] + DOCGEN=false [2023-07-04T18:58:49.205Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-04T18:58:49.205Z] + '[' 0 -gt 0 ] [2023-07-04T18:58:49.205Z] + readlink -f ./scripts/build.sh [2023-07-04T18:58:49.205Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-04T18:58:49.205Z] + dirname /tmp/sdk/scripts [2023-07-04T18:58:49.205Z] + ROOT=/tmp/sdk [2023-07-04T18:58:49.205Z] + cd /tmp/sdk [2023-07-04T18:58:49.205Z] + mkdir -p /tmp/sdk/build/release [2023-07-04T18:58:49.205Z] + cd /tmp/sdk/build/release [2023-07-04T18:58:49.205Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-04T18:58:49.482Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T18:58:49.482Z] -- Detecting C compiler ABI info [2023-07-04T18:58:50.066Z] -- Detecting C compiler ABI info - done [2023-07-04T18:58:50.066Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T18:58:50.067Z] -- Detecting C compile features [2023-07-04T18:58:50.067Z] -- Detecting C compile features - done [2023-07-04T18:58:50.067Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T18:58:50.067Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T18:58:50.332Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T18:58:50.332Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T18:58:50.332Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T18:58:50.332Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T18:58:50.332Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T18:58:50.332Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T18:58:50.332Z] -- /opt/iotech/iot/1.5/include [2023-07-04T18:58:50.332Z] -- C SDK 0.0.0 for Linux [2023-07-04T18:58:50.332Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T18:58:50.599Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T18:58:50.864Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T18:58:50.864Z] -- Configuring done [2023-07-04T18:58:51.130Z] -- Generating done [2023-07-04T18:58:51.130Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-04T18:58:51.130Z] + make all package [2023-07-04T18:58:51.130Z] + tee release.log [2023-07-04T18:58:51.395Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:58:51.660Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:58:51.661Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:51.661Z] 25 | void clear_ae_signals (); [2023-07-04T18:58:51.661Z] | ^~~~ [2023-07-04T18:58:51.661Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:58:51.661Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:58:51.661Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:58:51.661Z] | ^ [2023-07-04T18:58:51.661Z] | ; [2023-07-04T18:58:51.661Z] 171 | } [2023-07-04T18:58:51.661Z] | ~ [2023-07-04T18:58:51.661Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:58:51.661Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:51.661Z] 278 | void clear_ae_signals () [2023-07-04T18:58:51.661Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:58:51.661Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:58:51.661Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:58:51.661Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:58:51.661Z] + '[' false '=' true ] [2023-07-04T18:58:51.661Z] + '[' false '=' true ] [2023-07-04T18:58:51.661Z] + mkdir -p /tmp/sdk/build/debug [2023-07-04T18:58:51.661Z] + cd /tmp/sdk/build/debug [2023-07-04T18:58:51.661Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-04T18:58:51.926Z] -- The C compiler identification is GNU 11.2.1 [2023-07-04T18:58:51.926Z] -- Detecting C compiler ABI info [2023-07-04T18:58:52.193Z] -- Detecting C compiler ABI info - done [2023-07-04T18:58:52.461Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-04T18:58:52.461Z] -- Detecting C compile features [2023-07-04T18:58:52.461Z] -- Detecting C compile features - done [2023-07-04T18:58:52.461Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-04T18:58:52.727Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-04T18:58:52.727Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-04T18:58:52.727Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-04T18:58:52.727Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-04T18:58:52.727Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-04T18:58:52.727Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-04T18:58:52.727Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-04T18:58:52.727Z] -- /opt/iotech/iot/1.5/include [2023-07-04T18:58:52.727Z] -- C SDK 0.0.0 for Linux [2023-07-04T18:58:52.727Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-04T18:58:52.994Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-04T18:58:53.260Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-04T18:58:53.260Z] -- Configuring done [2023-07-04T18:58:53.526Z] -- Generating done [2023-07-04T18:58:53.526Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-04T18:58:53.526Z] + make [2023-07-04T18:58:53.526Z] + tee debug.log [2023-07-04T18:58:53.793Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:58:53.793Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:58:53.793Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:53.793Z] 25 | void clear_ae_signals (); [2023-07-04T18:58:53.793Z] | ^~~~ [2023-07-04T18:58:54.059Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:58:54.059Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:58:54.059Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:58:54.059Z] | ^ [2023-07-04T18:58:54.059Z] | ; [2023-07-04T18:58:54.059Z] 171 | } [2023-07-04T18:58:54.059Z] | ~ [2023-07-04T18:58:54.059Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:58:54.059Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:54.059Z] 278 | void clear_ae_signals () [2023-07-04T18:58:54.059Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:58:54.059Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:58:54.059Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:58:54.059Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:58:54.059Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.059Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.059Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.059Z] Consolidate compiler generated dependencies of target csdk [2023-07-04T18:58:54.059Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.059Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.059Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-04T18:58:54.325Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-04T18:58:54.326Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:54.326Z] 25 | void clear_ae_signals (); [2023-07-04T18:58:54.326Z] | ^~~~ [2023-07-04T18:58:54.326Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-04T18:58:54.326Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-04T18:58:54.326Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-04T18:58:54.326Z] | ^ [2023-07-04T18:58:54.326Z] | ; [2023-07-04T18:58:54.326Z] 171 | } [2023-07-04T18:58:54.326Z] | ~ [2023-07-04T18:58:54.326Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-04T18:58:54.326Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-04T18:58:54.326Z] 278 | void clear_ae_signals () [2023-07-04T18:58:54.326Z] | ^~~~~~~~~~~~~~~~ [2023-07-04T18:58:54.326Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-04T18:58:54.326Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.326Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-04T18:58:54.326Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.326Z] make: *** [Makefile:156: all] Error 2 [2023-07-04T18:58:54.326Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-04T18:58:54.911Z] 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-04T18:58:55.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T18:58:55.354Z] [2023-07-04T18:58:55.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:58:55.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T18:58:55.678Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-04T18:58:55.678Z] 8998bd30e6a1: Pulling fs layer [2023-07-04T18:58:55.678Z] 04944245beec: Pulling fs layer [2023-07-04T18:58:55.678Z] 699f458cf7ca: Pulling fs layer [2023-07-04T18:58:55.678Z] 765212b225bb: Pulling fs layer [2023-07-04T18:58:55.678Z] f23df028b6ca: Pulling fs layer [2023-07-04T18:58:55.678Z] d65c8cfc05b1: Pulling fs layer [2023-07-04T18:58:55.678Z] 2437ff75d9bd: Pulling fs layer [2023-07-04T18:58:55.678Z] 765212b225bb: Waiting [2023-07-04T18:58:55.678Z] f23df028b6ca: Waiting [2023-07-04T18:58:55.678Z] d65c8cfc05b1: Waiting [2023-07-04T18:58:55.678Z] 2437ff75d9bd: Waiting [2023-07-04T18:58:55.946Z] 04944245beec: Verifying Checksum [2023-07-04T18:58:55.946Z] 04944245beec: Download complete [2023-07-04T18:58:55.946Z] 765212b225bb: Download complete [2023-07-04T18:58:55.946Z] f23df028b6ca: Verifying Checksum [2023-07-04T18:58:55.946Z] f23df028b6ca: Download complete [2023-07-04T18:58:55.946Z] d65c8cfc05b1: Verifying Checksum [2023-07-04T18:58:55.946Z] d65c8cfc05b1: Download complete [2023-07-04T18:58:55.946Z] 699f458cf7ca: Verifying Checksum [2023-07-04T18:58:55.946Z] 699f458cf7ca: Download complete [2023-07-04T18:58:56.531Z] 8998bd30e6a1: Verifying Checksum [2023-07-04T18:58:59.114Z] 2437ff75d9bd: Verifying Checksum [2023-07-04T18:58:59.114Z] 2437ff75d9bd: Download complete [2023-07-04T18:59:00.523Z] 8998bd30e6a1: Pull complete [2023-07-04T18:59:00.790Z] 04944245beec: Pull complete [2023-07-04T18:59:02.197Z] 699f458cf7ca: Pull complete [2023-07-04T18:59:02.466Z] 765212b225bb: Pull complete [2023-07-04T18:59:03.050Z] f23df028b6ca: Pull complete [2023-07-04T18:59:03.315Z] d65c8cfc05b1: Pull complete [2023-07-04T18:59:18.319Z] 2437ff75d9bd: Pull complete [2023-07-04T18:59:18.319Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-04T18:59:18.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-04T18:59:18.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T18:59:18.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-423 does not seem to be running inside a container [2023-07-04T18:59:18.603Z] $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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-04T18:59:20.906Z] $ docker top 9c3a56ea591d3039235fbf48ba7825088a36c3f51b125a076861df822d3329c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:21.402Z] ---> job-cost.sh [2023-07-04T18:59:21.675Z] lf-activate-venv: SKIPPING [2023-07-04T18:59:21.675Z] INFO: No Stack... [2023-07-04T18:59:21.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-04T18:59:22.893Z] INFO: Archiving Costs [Pipeline] sh [2023-07-04T18:59:23.212Z] + cat /w/workspace/device-sdk-c/10/archives/cost.csv [2023-07-04T18:59:23.212Z] + cut -d, -f6 [Pipeline] lock [2023-07-04T18:59:23.265Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [2023-07-04T18:59:23.272Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] did not exist. Created. [2023-07-04T18:59:23.272Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-04T18:59:23.611Z] /w/workspace/device-sdk-c/10@tmp/durable-dec8f6b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-04T18:59:23.942Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-04T18:59:23.966Z] Warning: overwriting stash ‘stack-cost’ [2023-07-04T18:59:24.372Z] Stashed 1 file(s) [Pipeline] } [2023-07-04T18:59:24.379Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-04T18:59:24.400Z] $ docker stop --time=1 9c3a56ea591d3039235fbf48ba7825088a36c3f51b125a076861df822d3329c1 [2023-07-04T18:59:25.876Z] $ docker rm -f --volumes 9c3a56ea591d3039235fbf48ba7825088a36c3f51b125a076861df822d3329c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-04T18:59:26.126Z] 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-04T18:59:26.649Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-07-04T18:59:26.649Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-04T18:59:26.649Z] total 16 [2023-07-04T18:59:26.649Z] drwxr-xr-x 3 root root 4096 Jul 4 18:56 . [2023-07-04T18:59:26.649Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 18:56 .. [2023-07-04T18:59:26.649Z] drwxr-xr-x 2 root root 4096 Jul 4 18:56 cost [2023-07-04T18:59:26.649Z] -rw-r--r-- 1 root root 84 Jul 4 18:56 cost.csv [2023-07-04T18:59:26.649Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-04T18:59:26.649Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-04T18:59:26.649Z] total 16 [2023-07-04T18:59:26.649Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 18:56 . [2023-07-04T18:59:26.649Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 18:56 .. [2023-07-04T18:59:26.649Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 18:56 cost [2023-07-04T18:59:26.649Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 4 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:26.938Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:27.798Z] ---> package-listing.sh [2023-07-04T18:59:27.798Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-04T18:59:27.798Z] ++ facter osfamily [2023-07-04T18:59:28.058Z] + OS_FAMILY=debian [2023-07-04T18:59:28.058Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-07-04T18:59:28.058Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-04T18:59:28.058Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-04T18:59:28.058Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-04T18:59:28.058Z] + PACKAGES=/tmp/packages_start.txt [2023-07-04T18:59:28.058Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-04T18:59:28.058Z] + PACKAGES=/tmp/packages_end.txt [2023-07-04T18:59:28.058Z] + case "${OS_FAMILY}" in [2023-07-04T18:59:28.058Z] + dpkg -l [2023-07-04T18:59:28.058Z] + grep '^ii' [2023-07-04T18:59:28.058Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-04T18:59:28.058Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-04T18:59:28.058Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-04T18:59:28.058Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-04T18:59:28.058Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-07-04T18:59:28.058Z] + 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-04T18:59:28.068Z] 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-04T18:59:28.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-04T18:59:28.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-04T18:59:28.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-04T18:59:28.985Z] prd-ubuntu20.04-docker-8c-8g-422 does not seem to be running inside a container [2023-07-04T18:59:29.015Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-444 -v /w/workspace/edgexfoundry_device-sdk-c_PR-444:/w/workspace/edgexfoundry_device-sdk-c_PR-444:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-04T18:59:29.626Z] $ docker top 6ee5b5de3e729ed8a4e3c67dffc72b8de8a1217da1188b344f0f63799dfcf7f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-04T18:59:29.968Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-04T18:59:30.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-04T18:59:30.533Z] + ls /var/log/sa-host [2023-07-04T18:59:30.533Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-04T18:59:30.673Z] provisioning config files... [2023-07-04T18:59:30.683Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config14611735965763609114tmp [Pipeline] { [Pipeline] echo [2023-07-04T18:59:30.693Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:30.981Z] ---> create-netrc.sh [Pipeline] } [2023-07-04T18:59:30.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:31.309Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-04T18:59:31.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:31.601Z] ---> sudo-logs.sh [2023-07-04T18:59:31.601Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-04T18:59:31.631Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:31.920Z] ---> job-cost.sh [2023-07-04T18:59:31.920Z] lf-activate-venv: SKIPPING [2023-07-04T18:59:31.920Z] DEBUG: total: 0.2199999988079071 [2023-07-04T18:59:31.920Z] INFO: Retrieving Stack Cost... [2023-07-04T18:59:32.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-04T18:59:32.749Z] INFO: Archiving Costs [Pipeline] echo [2023-07-04T18:59:32.760Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-04T18:59:33.047Z] ---> logs-deploy.sh [2023-07-04T18:59:33.048Z] lf-activate-venv: SKIPPING [2023-07-04T18:59:33.048Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/10 [2023-07-04T18:59:33.048Z] INFO: archiving workspace using pattern(s): [2023-07-04T18:59:33.987Z] Archives upload complete. [2023-07-04T18:59:34.247Z] INFO: archiving logs to Nexus