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 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 rather than 2ab919ba902543e8751b24cbae806de0a32484ea Obtained Jenkinsfile from e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 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-ssh16990655995512379200.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-ssh16934132415760797037.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-ssh13194951284721288883.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-ssh9122873598325821076.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-ssh12404882239566441528.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-1743 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 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea Merge succeeded, producing 8615412d3997c60e39ea39344ccbacf0f8855c91 Checking out Revision 8615412d3997c60e39ea39344ccbacf0f8855c91 (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 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8615412d3997c60e39ea39344ccbacf0f8855c91 # timeout=10 Commit message: "Merge commit 'e4aa58a90e880d3b2fc448b9bdb101dfbcc44123' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7ec79b626892d51bd86d11a58a8cdd713d8de940 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-21T18:56:35.002Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-21T18:56:35.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-21T18:56:35.069Z] ========================================================= [2023-07-21T18:56:35.069Z] EdgeX Global Pipelines Version Info [2023-07-21T18:56:35.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:56:35.773Z] ------------------- [2023-07-21T18:56:35.773Z] stable info: [2023-07-21T18:56:35.773Z] ------------------- [2023-07-21T18:56:35.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-21T18:56:35.773Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T18:56:35.773Z] Message: update stable to v1.0.250 [2023-07-21T18:56:36.342Z] ------------------- [2023-07-21T18:56:36.342Z] experimental info: [2023-07-21T18:56:36.342Z] ------------------- [2023-07-21T18:56:36.342Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-21T18:56:36.342Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T18:56:36.342Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-21T18:56:36.511Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-21T18:56:36.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-21T18:56:36.534Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-21T18:56:36.550Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-21T18:56:36.559Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-21T18:56:36.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-21T18:56:36.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-21T18:56:36.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-21T18:56:36.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-21T18:56:36.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-21T18:56:36.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-21T18:56:36.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-21T18:56:36.657Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T18:56:36.666Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T18:56:36.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-21T18:56:36.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-21T18:56:36.698Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-21T18:56:36.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-07-21T18:56:36.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-07-21T18:56:36.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-07-21T18:56:36.744Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8615412d3997c60e39ea39344ccbacf0f8855c91 [Pipeline] echo [2023-07-21T18:56:36.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8615412 [Pipeline] echo [2023-07-21T18:56:36.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T18:56:36.812Z] provisioning config files... [2023-07-21T18:56:36.824Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config6222600226731861134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:56:37.132Z] ---> docker-login.sh [2023-07-21T18:56:37.132Z] nexus3.edgexfoundry.org:10001 [2023-07-21T18:56:37.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:37.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:37.392Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:37.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:37.392Z] [2023-07-21T18:56:37.392Z] Login Succeeded [2023-07-21T18:56:37.392Z] nexus3.edgexfoundry.org:10002 [2023-07-21T18:56:37.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:37.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:37.392Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:37.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:37.392Z] [2023-07-21T18:56:37.392Z] Login Succeeded [2023-07-21T18:56:37.392Z] nexus3.edgexfoundry.org:10003 [2023-07-21T18:56:37.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:37.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:37.652Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:37.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:37.652Z] [2023-07-21T18:56:37.652Z] Login Succeeded [2023-07-21T18:56:37.652Z] nexus3.edgexfoundry.org:10004 [2023-07-21T18:56:37.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:37.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:37.652Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:37.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:37.652Z] [2023-07-21T18:56:37.652Z] Login Succeeded [2023-07-21T18:56:37.652Z] docker.io [2023-07-21T18:56:37.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:37.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:37.910Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:37.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:37.910Z] [2023-07-21T18:56:37.910Z] Login Succeeded [2023-07-21T18:56:37.910Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T18:56:37.917Z] 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-21T18:56:38.270Z] + git rev-list -1 --merges 8615412d3997c60e39ea39344ccbacf0f8855c91~1..8615412d3997c60e39ea39344ccbacf0f8855c91 [Pipeline] echo [2023-07-21T18:56:38.315Z] -----------> git rev-list -1 --merges 8615412d3997c60e39ea39344ccbacf0f8855c91~1..8615412d3997c60e39ea39344ccbacf0f8855c91 8615412d3997c60e39ea39344ccbacf0f8855c91 [2023-07-21T18:56:38.315Z] 8615412d3997c60e39ea39344ccbacf0f8855c91 [false] [Pipeline] sh [2023-07-21T18:56:38.599Z] + git log --format=format:%s -1 8615412d3997c60e39ea39344ccbacf0f8855c91 [Pipeline] echo [2023-07-21T18:56:38.610Z] ========================================================= [2023-07-21T18:56:38.610Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T18:56:38.610Z] ========================================================= 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-21T18:56:38.995Z] + git rev-list -1 --merges 8615412d3997c60e39ea39344ccbacf0f8855c91~1..8615412d3997c60e39ea39344ccbacf0f8855c91 [Pipeline] echo [2023-07-21T18:56:39.007Z] -----------> git rev-list -1 --merges 8615412d3997c60e39ea39344ccbacf0f8855c91~1..8615412d3997c60e39ea39344ccbacf0f8855c91 8615412d3997c60e39ea39344ccbacf0f8855c91 [2023-07-21T18:56:39.007Z] 8615412d3997c60e39ea39344ccbacf0f8855c91 [false] [Pipeline] sh [2023-07-21T18:56:39.289Z] + git log --format=format:%s -1 8615412d3997c60e39ea39344ccbacf0f8855c91 [Pipeline] echo [2023-07-21T18:56:39.303Z] ========================================================= [2023-07-21T18:56:39.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T18:56:39.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-21T18:56:39.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T18:56:39.653Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-21T18:56:39.653Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-21T18:56:39.653Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-21T18:56:39.653Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-21T18:56:39.653Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-21T18:56:39.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:56:39.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:56:39.987Z] [2023-07-21T18:56:39.987Z] 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-21T18:56:40.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:56:40.283Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-21T18:56:40.283Z] b85a868b505f: Pulling fs layer [2023-07-21T18:56:40.283Z] e2be974225ed: Pulling fs layer [2023-07-21T18:56:40.283Z] 339a4e72a1f5: Pulling fs layer [2023-07-21T18:56:40.283Z] 988bab9f4d93: Pulling fs layer [2023-07-21T18:56:40.283Z] 988bab9f4d93: Waiting [2023-07-21T18:56:40.283Z] 1469e6f7b9e6: Pulling fs layer [2023-07-21T18:56:40.283Z] eaf3925da568: Pulling fs layer [2023-07-21T18:56:40.283Z] 1469e6f7b9e6: Waiting [2023-07-21T18:56:40.283Z] bab4dde63d76: Pulling fs layer [2023-07-21T18:56:40.283Z] eaf3925da568: Waiting [2023-07-21T18:56:40.283Z] bde34c3a00c8: Pulling fs layer [2023-07-21T18:56:40.283Z] b352a97aabf1: Pulling fs layer [2023-07-21T18:56:40.283Z] b352a97aabf1: Waiting [2023-07-21T18:56:40.283Z] 4872d77fe225: Pulling fs layer [2023-07-21T18:56:40.283Z] 5851b861e8e6: Pulling fs layer [2023-07-21T18:56:40.283Z] bde34c3a00c8: Waiting [2023-07-21T18:56:40.283Z] 4872d77fe225: Waiting [2023-07-21T18:56:40.283Z] 5851b861e8e6: Waiting [2023-07-21T18:56:40.283Z] e2be974225ed: Download complete [2023-07-21T18:56:40.283Z] 988bab9f4d93: Download complete [2023-07-21T18:56:40.283Z] 1469e6f7b9e6: Verifying Checksum [2023-07-21T18:56:40.283Z] 1469e6f7b9e6: Download complete [2023-07-21T18:56:40.283Z] eaf3925da568: Verifying Checksum [2023-07-21T18:56:40.283Z] eaf3925da568: Download complete [2023-07-21T18:56:40.542Z] 339a4e72a1f5: Verifying Checksum [2023-07-21T18:56:40.542Z] 339a4e72a1f5: Download complete [2023-07-21T18:56:40.542Z] bde34c3a00c8: Download complete [2023-07-21T18:56:40.542Z] b352a97aabf1: Download complete [2023-07-21T18:56:40.542Z] 4872d77fe225: Download complete [2023-07-21T18:56:40.543Z] 5851b861e8e6: Verifying Checksum [2023-07-21T18:56:40.543Z] 5851b861e8e6: Download complete [2023-07-21T18:56:40.543Z] b85a868b505f: Verifying Checksum [2023-07-21T18:56:40.543Z] b85a868b505f: Download complete [2023-07-21T18:56:40.801Z] bab4dde63d76: Verifying Checksum [2023-07-21T18:56:40.801Z] bab4dde63d76: Download complete [2023-07-21T18:56:41.736Z] b85a868b505f: Pull complete [2023-07-21T18:56:41.995Z] e2be974225ed: Pull complete [2023-07-21T18:56:42.563Z] 339a4e72a1f5: Pull complete [2023-07-21T18:56:42.563Z] 988bab9f4d93: Pull complete [2023-07-21T18:56:42.820Z] 1469e6f7b9e6: Pull complete [2023-07-21T18:56:42.820Z] eaf3925da568: Pull complete [2023-07-21T18:56:44.721Z] bab4dde63d76: Pull complete [2023-07-21T18:56:44.980Z] bde34c3a00c8: Pull complete [2023-07-21T18:56:44.980Z] b352a97aabf1: Pull complete [2023-07-21T18:56:44.980Z] 4872d77fe225: Pull complete [2023-07-21T18:56:45.241Z] 5851b861e8e6: Pull complete [2023-07-21T18:56:45.241Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-21T18:56:45.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:56:45.241Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T18:56:45.337Z] prd-ubuntu20.04-docker-8c-8g-1743 does not seem to be running inside a container [2023-07-21T18:56:45.378Z] $ 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-21T18:56:49.158Z] $ docker top 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 -eo pid,comm [2023-07-21T18:56:49.206Z] 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-21T18:56:49.206Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T18:56:49.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T18:56:49.249Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T18:56:49.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T18:56:49.369Z] $ docker exec 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 ssh-agent [2023-07-21T18:56:49.476Z] SSH_AUTH_SOCK=/tmp/ssh-0TflQkCahnwJ/agent.32 [2023-07-21T18:56:49.476Z] SSH_AGENT_PID=38 [2023-07-21T18:56:49.482Z] Running ssh-add (command line suppressed) [2023-07-21T18:56:49.605Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8260367943240398651.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_8260367943240398651.key) [2023-07-21T18:56:49.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T18:56:49.902Z] + git tag --points-at HEAD [Pipeline] } [2023-07-21T18:56:49.923Z] $ docker exec --env ******** --env ******** 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 ssh-agent -k [2023-07-21T18:56:50.033Z] unset SSH_AUTH_SOCK; [2023-07-21T18:56:50.034Z] unset SSH_AGENT_PID; [2023-07-21T18:56:50.034Z] echo Agent pid 38 killed; [2023-07-21T18:56:50.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-21T18:56:50.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T18:56:50.066Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T18:56:50.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T18:56:50.179Z] $ docker exec 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 ssh-agent [2023-07-21T18:56:50.287Z] SSH_AUTH_SOCK=/tmp/ssh-xQSHzOIKwTxw/agent.70 [2023-07-21T18:56:50.287Z] SSH_AGENT_PID=76 [2023-07-21T18:56:50.293Z] Running ssh-add (command line suppressed) [2023-07-21T18:56:50.392Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_15948921825716403136.key (/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/private_key_15948921825716403136.key) [2023-07-21T18:56:50.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T18:56:50.692Z] + git semver init [2023-07-21T18:56:50.952Z] 2023-07-21 18:56:50,879 [run_init] DEBUG init version:0.0.0 force:False [2023-07-21T18:56:50.952Z] 2023-07-21 18:56:50,880 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver [2023-07-21T18:56:50.952Z] 2023-07-21 18:56:50,880 [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-21T18:56:50.952Z] 2023-07-21 18:56:50,880 [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-21T18:56:51.894Z] 2023-07-21 18:56:51,776 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.git/info/exclude [2023-07-21T18:56:51.894Z] 2023-07-21 18:56:51,777 [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-21T18:56:51.894Z] 2023-07-21 18:56:51,777 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-21T18:56:51.894Z] 2023-07-21 18:56:51,782 [execute] INFO git cat-file --batch-check [2023-07-21T18:56:51.894Z] 2023-07-21 18:56:51,783 [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-21T18:56:51.894Z] 2023-07-21 18:56:51,789 [execute] INFO git cat-file --batch [2023-07-21T18:56:51.894Z] 2023-07-21 18:56:51,789 [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-21T18:56:51.894Z] 2023-07-21 18:56:51,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-444/.semver/PR-444 [2023-07-21T18:56:51.894Z] 0.0.0 [Pipeline] } [2023-07-21T18:56:51.909Z] $ docker exec --env ******** --env ******** 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 ssh-agent -k [2023-07-21T18:56:52.011Z] unset SSH_AUTH_SOCK; [2023-07-21T18:56:52.012Z] unset SSH_AGENT_PID; [2023-07-21T18:56:52.012Z] echo Agent pid 76 killed; [2023-07-21T18:56:52.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T18:56:52.318Z] + git semver [Pipeline] } [2023-07-21T18:56:52.594Z] $ docker stop --time=1 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 [2023-07-21T18:56:53.897Z] $ docker rm -f --volumes 767fe68b259965e67a8268a2a20d935db14b83de6a0d0bca9857cc8af9fc3998 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T18:56:54.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-21T18:56:54.433Z] Stashed 1 file(s) [Pipeline] echo [2023-07-21T18:56:54.436Z] [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-21T18:56:54.525Z] provisioning config files... [2023-07-21T18:56:54.535Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config17613324465148073722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:56:54.832Z] ---> docker-login.sh [2023-07-21T18:56:54.832Z] nexus3.edgexfoundry.org:10001 [2023-07-21T18:56:54.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:54.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:54.832Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:54.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:54.832Z] [2023-07-21T18:56:54.832Z] Login Succeeded [2023-07-21T18:56:54.832Z] nexus3.edgexfoundry.org:10002 [2023-07-21T18:56:54.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:54.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:54.832Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:54.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:54.832Z] [2023-07-21T18:56:54.832Z] Login Succeeded [2023-07-21T18:56:54.832Z] nexus3.edgexfoundry.org:10003 [2023-07-21T18:56:55.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:55.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:55.092Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:55.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:55.092Z] [2023-07-21T18:56:55.092Z] Login Succeeded [2023-07-21T18:56:55.092Z] nexus3.edgexfoundry.org:10004 [2023-07-21T18:56:55.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:55.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:55.092Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:55.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:55.092Z] [2023-07-21T18:56:55.092Z] Login Succeeded [2023-07-21T18:56:55.092Z] docker.io [2023-07-21T18:56:55.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:56:55.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:56:55.356Z] Configure a credential helper to remove this warning. See [2023-07-21T18:56:55.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:56:55.356Z] [2023-07-21T18:56:55.356Z] Login Succeeded [2023-07-21T18:56:55.356Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T18:56:55.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T18:56:55.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:56:55.435Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-21T18:56:55.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:56:55.456Z] ========================================================= [2023-07-21T18:56:55.456Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-21T18:56:55.456Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:56:55.752Z] + 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-21T18:56:55.752Z] Sending build context to Docker daemon 4.889MB [2023-07-21T18:56:55.752Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T18:56:55.752Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T18:56:55.752Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-21T18:56:55.752Z] 91d30c5bc195: Pulling fs layer [2023-07-21T18:56:55.752Z] 316e5a4585fb: Pulling fs layer [2023-07-21T18:56:56.011Z] 91d30c5bc195: Verifying Checksum [2023-07-21T18:56:56.011Z] 91d30c5bc195: Download complete [2023-07-21T18:56:56.011Z] 91d30c5bc195: Pull complete [2023-07-21T18:56:56.577Z] 316e5a4585fb: Verifying Checksum [2023-07-21T18:56:56.577Z] 316e5a4585fb: Download complete [2023-07-21T18:56:59.107Z] 316e5a4585fb: Pull complete [2023-07-21T18:56:59.107Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-21T18:56:59.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-21T18:56:59.107Z] ---> e83ffa357ff4 [2023-07-21T18:56:59.107Z] 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-21T18:57:01.638Z] ---> Running in a255aaded632 [2023-07-21T18:57:01.897Z] Connecting to iotech.jfrog.io (52.48.157.202:443) [2023-07-21T18:57:02.156Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T18:57:02.156Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T18:57:02.156Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T18:57:02.418Z] Removing intermediate container a255aaded632 [2023-07-21T18:57:02.418Z] ---> 2953b781f52a [2023-07-21T18:57:02.418Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T18:57:02.680Z] ---> Running in e393fa5909be [2023-07-21T18:57:03.247Z] Removing intermediate container e393fa5909be [2023-07-21T18:57:03.247Z] ---> f4e77f39dd12 [2023-07-21T18:57:03.247Z] 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-21T18:57:03.247Z] ---> Running in 0b41ec425fb6 [2023-07-21T18:57:03.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:57:03.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T18:57:03.767Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:57:04.335Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T18:57:04.335Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:57:04.335Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:57:04.335Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T18:57:04.335Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T18:57:04.335Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T18:57:04.904Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T18:57:04.904Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T18:57:04.904Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T18:57:04.904Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T18:57:04.904Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T18:57:05.843Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T18:57:05.843Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T18:57:05.843Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T18:57:05.843Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T18:57:05.843Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T18:57:05.843Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T18:57:05.843Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T18:57:05.843Z] OK: 280 MiB in 90 packages [2023-07-21T18:57:06.780Z] Removing intermediate container 0b41ec425fb6 [2023-07-21T18:57:06.780Z] ---> aa1ec83ad944 [2023-07-21T18:57:06.780Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T18:57:06.780Z] ---> Running in fec06ded5f6c [2023-07-21T18:57:07.039Z] Removing intermediate container fec06ded5f6c [2023-07-21T18:57:07.039Z] ---> 1ef54409d261 [2023-07-21T18:57:07.039Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T18:57:07.333Z] ---> 57b22afd83c0 [2023-07-21T18:57:07.333Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T18:57:07.592Z] ---> fce28b89944e [2023-07-21T18:57:07.592Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T18:57:07.592Z] ---> 9555e0325dad [2023-07-21T18:57:07.592Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T18:57:07.850Z] ---> b863e58a34b9 [2023-07-21T18:57:07.850Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T18:57:07.850Z] ---> da864ef4aa9f [2023-07-21T18:57:07.850Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T18:57:08.108Z] ---> c9fbe7619132 [2023-07-21T18:57:08.108Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T18:57:08.108Z] ---> Running in 491c30a3badb [2023-07-21T18:57:08.366Z] + CPPCHECK=false [2023-07-21T18:57:08.366Z] + DOCGEN=false [2023-07-21T18:57:08.366Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T18:57:08.366Z] + '[' 0 -gt 0 ] [2023-07-21T18:57:08.366Z] + readlink -f ./scripts/build.sh [2023-07-21T18:57:08.366Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T18:57:08.366Z] + dirname /tmp/sdk/scripts [2023-07-21T18:57:08.366Z] + ROOT=/tmp/sdk [2023-07-21T18:57:08.366Z] + cd /tmp/sdk [2023-07-21T18:57:08.366Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T18:57:08.366Z] + cd /tmp/sdk/build/release [2023-07-21T18:57:08.366Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T18:57:08.366Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:57:08.366Z] -- Detecting C compiler ABI info [2023-07-21T18:57:08.366Z] -- Detecting C compiler ABI info - done [2023-07-21T18:57:08.366Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:57:08.366Z] -- Detecting C compile features [2023-07-21T18:57:08.366Z] -- Detecting C compile features - done [2023-07-21T18:57:08.366Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:57:08.625Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:57:08.625Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:57:08.625Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:57:08.625Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:57:08.625Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:57:08.625Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:57:08.625Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:57:08.625Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:57:08.625Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:57:08.625Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:57:08.625Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:57:08.625Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:57:08.625Z] -- Configuring done [2023-07-21T18:57:08.625Z] -- Generating done [2023-07-21T18:57:08.625Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T18:57:08.625Z] + make all package [2023-07-21T18:57:08.625Z] + tee release.log [2023-07-21T18:57:08.884Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:57:08.884Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T18:57:08.884Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:08.884Z] 25 | void clear_ae_signals (); [2023-07-21T18:57:08.884Z] | ^~~~ [2023-07-21T18:57:08.884Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T18:57:08.884Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T18:57:08.884Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T18:57:08.884Z] | ^ [2023-07-21T18:57:08.885Z] | ; [2023-07-21T18:57:08.885Z] 171 | } [2023-07-21T18:57:08.885Z] | ~ [2023-07-21T18:57:08.885Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T18:57:08.885Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:08.885Z] 278 | void clear_ae_signals () [2023-07-21T18:57:08.885Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T18:57:08.885Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T18:57:08.885Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T18:57:08.885Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T18:57:08.885Z] + '[' false '=' true ] [2023-07-21T18:57:08.885Z] + '[' false '=' true ] [2023-07-21T18:57:08.885Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T18:57:08.885Z] + cd /tmp/sdk/build/debug [2023-07-21T18:57:08.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T18:57:08.885Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:57:08.885Z] -- Detecting C compiler ABI info [2023-07-21T18:57:08.885Z] -- Detecting C compiler ABI info - done [2023-07-21T18:57:08.885Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:57:08.885Z] -- Detecting C compile features [2023-07-21T18:57:08.885Z] -- Detecting C compile features - done [2023-07-21T18:57:08.885Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:57:09.144Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:57:09.144Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:57:09.144Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:57:09.144Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:57:09.144Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:57:09.144Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:57:09.144Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:57:09.144Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:57:09.144Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:57:09.144Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:57:09.144Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:57:09.144Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:57:09.144Z] -- Configuring done [2023-07-21T18:57:09.144Z] -- Generating done [2023-07-21T18:57:09.144Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T18:57:09.144Z] + make [2023-07-21T18:57:09.144Z] + tee debug.log [2023-07-21T18:57:09.144Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:57:09.144Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T18:57:09.144Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:09.144Z] 25 | void clear_ae_signals (); [2023-07-21T18:57:09.144Z] | ^~~~ [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T18:57:09.403Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T18:57:09.403Z] | ^ [2023-07-21T18:57:09.403Z] | ; [2023-07-21T18:57:09.403Z] 171 | } [2023-07-21T18:57:09.403Z] | ~ [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:09.403Z] 278 | void clear_ae_signals () [2023-07-21T18:57:09.403Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T18:57:09.403Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T18:57:09.403Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T18:57:09.403Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T18:57:09.403Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.403Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.403Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.403Z] Consolidate compiler generated dependencies of target csdk [2023-07-21T18:57:09.403Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.403Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.403Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:57:09.403Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:09.403Z] 25 | void clear_ae_signals (); [2023-07-21T18:57:09.403Z] | ^~~~ [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T18:57:09.403Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T18:57:09.403Z] | ^ [2023-07-21T18:57:09.403Z] | ; [2023-07-21T18:57:09.403Z] 171 | } [2023-07-21T18:57:09.403Z] | ~ [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T18:57:09.403Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T18:57:09.403Z] 278 | void clear_ae_signals () [2023-07-21T18:57:09.403Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T18:57:09.403Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T18:57:09.403Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.404Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.404Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T18:57:09.404Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:57:09.404Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T18:57:09.498Z] Still waiting to schedule task [2023-07-21T18:57:09.498Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1744’ is offline [2023-07-21T18:57:09.661Z] 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-21T18:57:10.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:57:10.122Z] [2023-07-21T18:57:10.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:57:10.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:57:10.420Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-21T18:57:10.420Z] 5eb5b503b376: Pulling fs layer [2023-07-21T18:57:10.420Z] 5c69ac0246d0: Pulling fs layer [2023-07-21T18:57:10.420Z] ec43610c2a17: Pulling fs layer [2023-07-21T18:57:10.420Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-21T18:57:10.420Z] 33b1e0a273af: Pulling fs layer [2023-07-21T18:57:10.420Z] 5d3b04190fa2: Pulling fs layer [2023-07-21T18:57:10.420Z] 2f39f015ded8: Pulling fs layer [2023-07-21T18:57:10.420Z] 3a2ae6a8a46f: Waiting [2023-07-21T18:57:10.420Z] 33b1e0a273af: Waiting [2023-07-21T18:57:10.420Z] 5d3b04190fa2: Waiting [2023-07-21T18:57:10.420Z] 2f39f015ded8: Waiting [2023-07-21T18:57:10.420Z] 5c69ac0246d0: Download complete [2023-07-21T18:57:10.420Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-21T18:57:10.420Z] 3a2ae6a8a46f: Download complete [2023-07-21T18:57:10.420Z] 33b1e0a273af: Verifying Checksum [2023-07-21T18:57:10.420Z] 33b1e0a273af: Download complete [2023-07-21T18:57:10.420Z] 5d3b04190fa2: Verifying Checksum [2023-07-21T18:57:10.420Z] 5d3b04190fa2: Download complete [2023-07-21T18:57:10.677Z] ec43610c2a17: Verifying Checksum [2023-07-21T18:57:10.677Z] ec43610c2a17: Download complete [2023-07-21T18:57:10.677Z] 5eb5b503b376: Verifying Checksum [2023-07-21T18:57:10.677Z] 5eb5b503b376: Download complete [2023-07-21T18:57:11.243Z] 2f39f015ded8: Download complete [2023-07-21T18:57:11.810Z] 5eb5b503b376: Pull complete [2023-07-21T18:57:11.810Z] 5c69ac0246d0: Pull complete [2023-07-21T18:57:12.376Z] ec43610c2a17: Pull complete [2023-07-21T18:57:12.376Z] 3a2ae6a8a46f: Pull complete [2023-07-21T18:57:12.376Z] 33b1e0a273af: Pull complete [2023-07-21T18:57:12.633Z] 5d3b04190fa2: Pull complete [2023-07-21T18:57:16.817Z] 2f39f015ded8: Pull complete [2023-07-21T18:57:16.817Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-21T18:57:16.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:57:16.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T18:57:16.888Z] prd-ubuntu20.04-docker-8c-8g-1743 does not seem to be running inside a container [2023-07-21T18:57:16.916Z] $ 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-21T18:57:22.227Z] $ docker top 1a21473b5a64622a5da0e46bb1335fed458a9bf355134b19beae25417b9aa209 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:57:22.590Z] ---> job-cost.sh [2023-07-21T18:57:22.590Z] lf-activate-venv: SKIPPING [2023-07-21T18:57:22.590Z] INFO: No Stack... [2023-07-21T18:57:22.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T18:57:23.109Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T18:57:23.397Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/cost.csv [2023-07-21T18:57:23.397Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T18:57:23.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [2023-07-21T18:57:23.413Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] did not exist. Created. [2023-07-21T18:57:23.414Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T18:57:23.719Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-21T18:57:23.756Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T18:57:23.762Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T18:57:23.785Z] $ docker stop --time=1 1a21473b5a64622a5da0e46bb1335fed458a9bf355134b19beae25417b9aa209 [2023-07-21T18:57:24.929Z] $ docker rm -f --volumes 1a21473b5a64622a5da0e46bb1335fed458a9bf355134b19beae25417b9aa209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T18:57:25.023Z] Failed in branch amd64 [2023-07-21T18:59:32.964Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1745 in /w/workspace/edgexfoundry_device-sdk-c_PR-444 [Pipeline] { [Pipeline] ws [2023-07-21T18:59:32.979Z] Running in /w/workspace/device-sdk-c/13 [Pipeline] { [Pipeline] checkout [2023-07-21T18:59:33.012Z] Selected Git installation does not exist. Using Default [2023-07-21T18:59:33.012Z] The recommended git tool is: NONE [2023-07-21T18:59:38.732Z] using credential edgex-jenkins-ssh [2023-07-21T18:59:38.752Z] Cloning the remote Git repository [2023-07-21T18:59:38.798Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:59:38.904Z] > git init /w/workspace/device-sdk-c/13 # timeout=10 [2023-07-21T18:59:39.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:59:39.047Z] > git --version # timeout=10 [2023-07-21T18:59:39.070Z] > git --version # 'git version 2.25.1' [2023-07-21T18:59:39.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:59:39.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T18:59:40.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-21T18:59:40.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T18:59:41.833Z] Merging remotes/origin/main commit e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit 2ab919ba902543e8751b24cbae806de0a32484ea [2023-07-21T18:59:41.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-21T18:59:41.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:59:41.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:59:41.275Z] > 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-21T18:59:42.269Z] Merge succeeded, producing 94b47772b46cefb9b2d55bc9e01bdbeea3b40d2b [2023-07-21T18:59:42.270Z] Checking out Revision 94b47772b46cefb9b2d55bc9e01bdbeea3b40d2b (PR-444) [2023-07-21T18:59:41.854Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T18:59:41.931Z] > git checkout -f 2ab919ba902543e8751b24cbae806de0a32484ea # timeout=10 [2023-07-21T18:59:42.052Z] > git remote # timeout=10 [2023-07-21T18:59:42.073Z] > git config --get remote.origin.url # timeout=10 [2023-07-21T18:59:42.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:59:42.102Z] > git merge e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 [2023-07-21T18:59:42.253Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-21T18:59:42.277Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T18:59:42.290Z] > git checkout -f 94b47772b46cefb9b2d55bc9e01bdbeea3b40d2b # timeout=10 [2023-07-21T18:59:45.782Z] Commit message: "Merge commit 'e4aa58a90e880d3b2fc448b9bdb101dfbcc44123' into HEAD" [2023-07-21T18:59:45.806Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T18:59:45.791Z] > git rev-list --no-walk 7ec79b626892d51bd86d11a58a8cdd713d8de940 # timeout=10 [2023-07-21T18:59:46.656Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-21T18:59:46.656Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T18:59:46.656Z] Dload Upload Total Spent Left Speed [2023-07-21T18:59:46.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-07-21T18:59:47.462Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-21T18:59:47.789Z] + sudo tee /etc/docker/daemon.new [2023-07-21T18:59:47.789Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-21T18:59:47.789Z] { [2023-07-21T18:59:47.789Z] "registry-mirrors": [ [2023-07-21T18:59:47.789Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-21T18:59:47.789Z] ], [2023-07-21T18:59:47.789Z] "bip": "10.250.0.254/24", [2023-07-21T18:59:47.789Z] "hosts": [ [2023-07-21T18:59:47.789Z] "tcp://0.0.0.0:5555", [2023-07-21T18:59:47.789Z] "unix:///var/run/docker.sock" [2023-07-21T18:59:47.789Z] ], [2023-07-21T18:59:47.789Z] "mtu": 1458, [2023-07-21T18:59:47.789Z] "selinux-enabled": true, [2023-07-21T18:59:47.789Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-21T18:59:47.789Z] } [Pipeline] sh [2023-07-21T18:59:48.113Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-21T18:59:48.436Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T19:00:06.697Z] provisioning config files... [2023-07-21T19:00:06.722Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/13@tmp/config3751726408053695973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:00:07.065Z] ---> docker-login.sh [2023-07-21T19:00:07.065Z] nexus3.edgexfoundry.org:10001 [2023-07-21T19:00:07.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T19:00:07.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T19:00:07.651Z] Configure a credential helper to remove this warning. See [2023-07-21T19:00:07.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T19:00:07.651Z] [2023-07-21T19:00:07.651Z] Login Succeeded [2023-07-21T19:00:07.651Z] nexus3.edgexfoundry.org:10002 [2023-07-21T19:00:07.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T19:00:07.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T19:00:07.924Z] Configure a credential helper to remove this warning. See [2023-07-21T19:00:07.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T19:00:07.924Z] [2023-07-21T19:00:07.924Z] Login Succeeded [2023-07-21T19:00:07.924Z] nexus3.edgexfoundry.org:10003 [2023-07-21T19:00:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T19:00:08.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T19:00:08.462Z] Configure a credential helper to remove this warning. See [2023-07-21T19:00:08.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T19:00:08.462Z] [2023-07-21T19:00:08.462Z] Login Succeeded [2023-07-21T19:00:08.462Z] nexus3.edgexfoundry.org:10004 [2023-07-21T19:00:08.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T19:00:08.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T19:00:08.730Z] Configure a credential helper to remove this warning. See [2023-07-21T19:00:08.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T19:00:08.730Z] [2023-07-21T19:00:08.730Z] Login Succeeded [2023-07-21T19:00:08.730Z] docker.io [2023-07-21T19:00:08.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T19:00:13.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T19:00:13.260Z] Configure a credential helper to remove this warning. See [2023-07-21T19:00:13.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T19:00:13.260Z] [2023-07-21T19:00:13.260Z] Login Succeeded [2023-07-21T19:00:13.528Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T19:00:13.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T19:00:13.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T19:00:13.820Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-21T19:00:13.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T19:00:13.840Z] ========================================================= [2023-07-21T19:00:13.840Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-21T19:00:13.840Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:00:14.183Z] + 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-21T19:00:14.453Z] Sending build context to Docker daemon 2.939MB [2023-07-21T19:00:14.453Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T19:00:14.453Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T19:00:14.722Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-21T19:00:14.722Z] 547446be3368: Pulling fs layer [2023-07-21T19:00:14.722Z] 76bd08e1cacc: Pulling fs layer [2023-07-21T19:00:14.722Z] 547446be3368: Verifying Checksum [2023-07-21T19:00:14.722Z] 547446be3368: Download complete [2023-07-21T19:00:15.308Z] 547446be3368: Pull complete [2023-07-21T19:00:17.260Z] 76bd08e1cacc: Download complete [2023-07-21T19:00:25.517Z] 76bd08e1cacc: Pull complete [2023-07-21T19:00:25.517Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-21T19:00:25.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-21T19:00:25.517Z] ---> 295cd00e64f4 [2023-07-21T19:00:25.517Z] 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-21T19:00:25.785Z] ---> Running in 656ef62ab7ef [2023-07-21T19:00:27.202Z] Connecting to iotech.jfrog.io (52.17.147.170:443) [2023-07-21T19:00:27.470Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T19:00:27.470Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T19:00:27.470Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T19:00:28.059Z] Removing intermediate container 656ef62ab7ef [2023-07-21T19:00:28.059Z] ---> a1b0056a4bcb [2023-07-21T19:00:28.059Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T19:00:28.059Z] ---> Running in efe701a790ee [2023-07-21T19:00:30.027Z] Removing intermediate container efe701a790ee [2023-07-21T19:00:30.027Z] ---> 47cbb3d2c651 [2023-07-21T19:00:30.027Z] 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-21T19:00:30.027Z] ---> Running in 74c157fcbb6d [2023-07-21T19:00:30.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:30.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:31.471Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:32.431Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T19:00:32.431Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T19:00:32.431Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T19:00:32.431Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T19:00:32.431Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T19:00:32.431Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T19:00:33.014Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T19:00:33.014Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T19:00:33.280Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T19:00:33.280Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T19:00:33.280Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T19:00:34.243Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T19:00:34.243Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T19:00:34.243Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T19:00:34.243Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T19:00:34.243Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T19:00:34.243Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T19:00:34.243Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T19:00:34.243Z] OK: 286 MiB in 90 packages [2023-07-21T19:00:35.661Z] Removing intermediate container 74c157fcbb6d [2023-07-21T19:00:35.661Z] ---> 19aee1b40635 [2023-07-21T19:00:35.661Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T19:00:35.661Z] ---> Running in bb530fbb552e [2023-07-21T19:00:37.085Z] Removing intermediate container bb530fbb552e [2023-07-21T19:00:37.085Z] ---> 83dd0fbebe08 [2023-07-21T19:00:37.085Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T19:00:37.669Z] ---> f1853e3b3f99 [2023-07-21T19:00:37.669Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T19:00:38.257Z] ---> 789dd92af812 [2023-07-21T19:00:38.257Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T19:00:38.841Z] ---> 71cd9ba4b822 [2023-07-21T19:00:38.841Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T19:00:39.428Z] ---> a94d8f061064 [2023-07-21T19:00:39.428Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T19:00:39.698Z] ---> 7982680c6071 [2023-07-21T19:00:39.698Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T19:00:40.286Z] ---> a4addad20f19 [2023-07-21T19:00:40.286Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T19:00:40.286Z] ---> Running in bd9d7f5d913e [2023-07-21T19:00:41.245Z] + CPPCHECK=false [2023-07-21T19:00:41.245Z] + DOCGEN=false [2023-07-21T19:00:41.245Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T19:00:41.245Z] + '[' 0 -gt 0 ] [2023-07-21T19:00:41.245Z] + readlink -f ./scripts/build.sh [2023-07-21T19:00:41.245Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T19:00:41.245Z] + dirname /tmp/sdk/scripts [2023-07-21T19:00:41.245Z] + ROOT=/tmp/sdk [2023-07-21T19:00:41.245Z] + cd /tmp/sdk [2023-07-21T19:00:41.245Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T19:00:41.245Z] + cd /tmp/sdk/build/release [2023-07-21T19:00:41.245Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T19:00:41.515Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T19:00:41.515Z] -- Detecting C compiler ABI info [2023-07-21T19:00:41.781Z] -- Detecting C compiler ABI info - done [2023-07-21T19:00:42.050Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T19:00:42.050Z] -- Detecting C compile features [2023-07-21T19:00:42.050Z] -- Detecting C compile features - done [2023-07-21T19:00:42.050Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T19:00:42.317Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T19:00:42.317Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T19:00:42.317Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T19:00:42.317Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T19:00:42.317Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T19:00:42.317Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T19:00:42.317Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T19:00:42.317Z] -- /opt/iotech/iot/1.5/include [2023-07-21T19:00:42.317Z] -- C SDK 0.0.0 for Linux [2023-07-21T19:00:42.317Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T19:00:42.584Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T19:00:42.855Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T19:00:43.124Z] -- Configuring done [2023-07-21T19:00:43.392Z] -- Generating done [2023-07-21T19:00:43.392Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T19:00:43.392Z] + make all package [2023-07-21T19:00:43.392Z] + tee release.log [2023-07-21T19:00:43.392Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T19:00:43.661Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T19:00:43.661Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:43.661Z] 25 | void clear_ae_signals (); [2023-07-21T19:00:43.661Z] | ^~~~ [2023-07-21T19:00:43.661Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T19:00:43.661Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T19:00:43.661Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T19:00:43.661Z] | ^ [2023-07-21T19:00:43.661Z] | ; [2023-07-21T19:00:43.661Z] 171 | } [2023-07-21T19:00:43.661Z] | ~ [2023-07-21T19:00:43.661Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T19:00:43.661Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:43.661Z] 278 | void clear_ae_signals () [2023-07-21T19:00:43.661Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T19:00:43.661Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T19:00:43.661Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T19:00:43.661Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T19:00:43.661Z] + '[' false '=' true ] [2023-07-21T19:00:43.661Z] + '[' false '=' true ] [2023-07-21T19:00:43.661Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T19:00:43.661Z] + cd /tmp/sdk/build/debug [2023-07-21T19:00:43.661Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T19:00:44.243Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T19:00:44.243Z] -- Detecting C compiler ABI info [2023-07-21T19:00:44.513Z] -- Detecting C compiler ABI info - done [2023-07-21T19:00:44.513Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T19:00:44.513Z] -- Detecting C compile features [2023-07-21T19:00:44.513Z] -- Detecting C compile features - done [2023-07-21T19:00:44.513Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T19:00:44.782Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T19:00:44.782Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T19:00:44.782Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T19:00:44.782Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T19:00:44.782Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T19:00:44.782Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T19:00:44.782Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T19:00:44.782Z] -- /opt/iotech/iot/1.5/include [2023-07-21T19:00:44.782Z] -- C SDK 0.0.0 for Linux [2023-07-21T19:00:44.782Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T19:00:45.368Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T19:00:45.368Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T19:00:45.649Z] -- Configuring done [2023-07-21T19:00:45.918Z] -- Generating done [2023-07-21T19:00:45.918Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T19:00:45.918Z] + make [2023-07-21T19:00:45.918Z] + tee debug.log [2023-07-21T19:00:45.918Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T19:00:46.184Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T19:00:46.184Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:46.184Z] 25 | void clear_ae_signals (); [2023-07-21T19:00:46.184Z] | ^~~~ [2023-07-21T19:00:46.184Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T19:00:46.184Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T19:00:46.184Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T19:00:46.184Z] | ^ [2023-07-21T19:00:46.184Z] | ; [2023-07-21T19:00:46.184Z] 171 | } [2023-07-21T19:00:46.184Z] | ~ [2023-07-21T19:00:46.184Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T19:00:46.184Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:46.184Z] 278 | void clear_ae_signals () [2023-07-21T19:00:46.184Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T19:00:46.184Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T19:00:46.184Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T19:00:46.184Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T19:00:46.184Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.184Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.184Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.449Z] Consolidate compiler generated dependencies of target csdk [2023-07-21T19:00:46.449Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.449Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.449Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T19:00:46.715Z] In file included from /tmp/sdk/src/c/autoevent.c:9: [2023-07-21T19:00:46.715Z] /tmp/sdk/src/c/autoevent.h:25:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:46.715Z] 25 | void clear_ae_signals (); [2023-07-21T19:00:46.715Z] | ^~~~ [2023-07-21T19:00:46.715Z] /tmp/sdk/src/c/autoevent.c: In function 'edgex_device_autoevent_start': [2023-07-21T19:00:46.715Z] /tmp/sdk/src/c/autoevent.c:170:47: error: expected ';' before '}' token [2023-07-21T19:00:46.715Z] 170 | init_flg_slv = sem_init (&slv_mutex, 0, 1) [2023-07-21T19:00:46.715Z] | ^ [2023-07-21T19:00:46.715Z] | ; [2023-07-21T19:00:46.715Z] 171 | } [2023-07-21T19:00:46.715Z] | ~ [2023-07-21T19:00:46.715Z] /tmp/sdk/src/c/autoevent.c: At top level: [2023-07-21T19:00:46.715Z] /tmp/sdk/src/c/autoevent.c:278:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] [2023-07-21T19:00:46.715Z] 278 | void clear_ae_signals () [2023-07-21T19:00:46.715Z] | ^~~~~~~~~~~~~~~~ [2023-07-21T19:00:46.715Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.715Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:76: c/CMakeFiles/csdk.dir/autoevent.c.o] Error 1 [2023-07-21T19:00:46.715Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2023-07-21T19:00:46.715Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:46.715Z] make: *** [Makefile:156: all] Error 2 [2023-07-21T19:00:46.715Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:47.303Z] 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-21T19:00:47.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:00:47.772Z] [2023-07-21T19:00:47.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:00:48.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:00:48.360Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-21T19:00:48.360Z] 8998bd30e6a1: Pulling fs layer [2023-07-21T19:00:48.360Z] 04944245beec: Pulling fs layer [2023-07-21T19:00:48.360Z] 699f458cf7ca: Pulling fs layer [2023-07-21T19:00:48.360Z] 765212b225bb: Pulling fs layer [2023-07-21T19:00:48.360Z] f23df028b6ca: Pulling fs layer [2023-07-21T19:00:48.360Z] d65c8cfc05b1: Pulling fs layer [2023-07-21T19:00:48.360Z] 2437ff75d9bd: Pulling fs layer [2023-07-21T19:00:48.360Z] f23df028b6ca: Waiting [2023-07-21T19:00:48.360Z] d65c8cfc05b1: Waiting [2023-07-21T19:00:48.360Z] 2437ff75d9bd: Waiting [2023-07-21T19:00:48.629Z] 04944245beec: Verifying Checksum [2023-07-21T19:00:48.629Z] 04944245beec: Download complete [2023-07-21T19:00:48.629Z] 765212b225bb: Verifying Checksum [2023-07-21T19:00:48.629Z] 765212b225bb: Download complete [2023-07-21T19:00:48.629Z] f23df028b6ca: Verifying Checksum [2023-07-21T19:00:48.629Z] f23df028b6ca: Download complete [2023-07-21T19:00:48.899Z] d65c8cfc05b1: Verifying Checksum [2023-07-21T19:00:48.899Z] d65c8cfc05b1: Download complete [2023-07-21T19:00:48.899Z] 699f458cf7ca: Verifying Checksum [2023-07-21T19:00:48.899Z] 699f458cf7ca: Download complete [2023-07-21T19:00:49.169Z] 8998bd30e6a1: Verifying Checksum [2023-07-21T19:00:49.169Z] 8998bd30e6a1: Download complete [2023-07-21T19:00:51.755Z] 2437ff75d9bd: Verifying Checksum [2023-07-21T19:00:51.755Z] 2437ff75d9bd: Download complete [2023-07-21T19:00:53.164Z] 8998bd30e6a1: Pull complete [2023-07-21T19:00:53.432Z] 04944245beec: Pull complete [2023-07-21T19:00:54.841Z] 699f458cf7ca: Pull complete [2023-07-21T19:00:54.841Z] 765212b225bb: Pull complete [2023-07-21T19:00:55.815Z] f23df028b6ca: Pull complete [2023-07-21T19:00:55.815Z] d65c8cfc05b1: Pull complete [2023-07-21T19:01:10.814Z] 2437ff75d9bd: Pull complete [2023-07-21T19:01:10.814Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-21T19:01:10.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:01:10.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T19:01:11.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container [2023-07-21T19:01:11.092Z] $ 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/13 -v /w/workspace/device-sdk-c/13:/w/workspace/device-sdk-c/13:rw,z -v /w/workspace/device-sdk-c/13@tmp:/w/workspace/device-sdk-c/13@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-21T19:01:13.513Z] $ docker top 7f75980d25e4057ef331e2189cb0b89d9b0eee0b25d871cc7d8fecea67283313 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:14.057Z] ---> job-cost.sh [2023-07-21T19:01:14.328Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:14.328Z] INFO: No Stack... [2023-07-21T19:01:15.731Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-21T19:01:16.316Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T19:01:16.962Z] + cut -d, -f6 [2023-07-21T19:01:16.962Z] + cat /w/workspace/device-sdk-c/13/archives/cost.csv [Pipeline] lock [2023-07-21T19:01:17.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [2023-07-21T19:01:17.035Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] did not exist. Created. [2023-07-21T19:01:17.035Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T19:01:17.370Z] /w/workspace/device-sdk-c/13@tmp/durable-b03230af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-21T19:01:17.713Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-21T19:01:17.736Z] Warning: overwriting stash ‘stack-cost’ [2023-07-21T19:01:18.176Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T19:01:18.184Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-444-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T19:01:18.204Z] $ docker stop --time=1 7f75980d25e4057ef331e2189cb0b89d9b0eee0b25d871cc7d8fecea67283313 [2023-07-21T19:01:19.643Z] $ docker rm -f --volumes 7f75980d25e4057ef331e2189cb0b89d9b0eee0b25d871cc7d8fecea67283313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T19:01:19.880Z] 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-21T19:01:20.359Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives ] [2023-07-21T19:01:20.359Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-21T19:01:20.359Z] total 16 [2023-07-21T19:01:20.359Z] drwxr-xr-x 3 root root 4096 Jul 21 18:57 . [2023-07-21T19:01:20.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 18:57 .. [2023-07-21T19:01:20.359Z] drwxr-xr-x 2 root root 4096 Jul 21 18:57 cost [2023-07-21T19:01:20.359Z] -rw-r--r-- 1 root root 84 Jul 21 18:57 cost.csv [2023-07-21T19:01:20.359Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-21T19:01:20.359Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives [2023-07-21T19:01:20.359Z] total 16 [2023-07-21T19:01:20.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 18:57 . [2023-07-21T19:01:20.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 18:57 .. [2023-07-21T19:01:20.359Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 18:57 cost [2023-07-21T19:01:20.359Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 21 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:20.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:21.514Z] ---> package-listing.sh [2023-07-21T19:01:21.514Z] ++ facter osfamily [2023-07-21T19:01:21.514Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-21T19:01:21.772Z] + OS_FAMILY=debian [2023-07-21T19:01:21.773Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-444 [2023-07-21T19:01:21.773Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-21T19:01:21.773Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-21T19:01:21.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-21T19:01:21.773Z] + PACKAGES=/tmp/packages_start.txt [2023-07-21T19:01:21.773Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-21T19:01:21.773Z] + PACKAGES=/tmp/packages_end.txt [2023-07-21T19:01:21.773Z] + case "${OS_FAMILY}" in [2023-07-21T19:01:21.773Z] + dpkg -l [2023-07-21T19:01:21.773Z] + grep '^ii' [2023-07-21T19:01:21.773Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-21T19:01:21.773Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-21T19:01:21.773Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-21T19:01:21.773Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-444 ']' [2023-07-21T19:01:21.773Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-444/archives/ [2023-07-21T19:01:21.773Z] + 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-21T19:01:21.781Z] 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-21T19:01:22.059Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:01:22.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T19:01:22.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T19:01:22.688Z] prd-ubuntu20.04-docker-8c-8g-1743 does not seem to be running inside a container [2023-07-21T19:01:22.720Z] $ 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-21T19:01:22.967Z] $ docker top 4bbbbebb5bc9bb59283880a8234e21021a9808daf1818a99ade4fc1551b13219 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T19:01:23.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-21T19:01:23.603Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-21T19:01:23.889Z] + ls /var/log/sa-host [2023-07-21T19:01:23.889Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T19:01:23.952Z] provisioning config files... [2023-07-21T19:01:23.961Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-444@tmp/config7120601819094167915tmp [Pipeline] { [Pipeline] echo [2023-07-21T19:01:23.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:24.260Z] ---> create-netrc.sh [Pipeline] } [2023-07-21T19:01:24.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:24.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-21T19:01:24.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:24.888Z] ---> sudo-logs.sh [2023-07-21T19:01:24.888Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-21T19:01:24.921Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:25.203Z] ---> job-cost.sh [2023-07-21T19:01:25.203Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:25.203Z] DEBUG: total: 0.2199999988079071 [2023-07-21T19:01:25.203Z] INFO: Retrieving Stack Cost... [2023-07-21T19:01:25.463Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T19:01:25.724Z] INFO: Archiving Costs [Pipeline] echo [2023-07-21T19:01:25.735Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:26.020Z] ---> logs-deploy.sh [2023-07-21T19:01:26.020Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:26.020Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-444/13 [2023-07-21T19:01:26.020Z] INFO: archiving workspace using pattern(s): [2023-07-21T19:01:26.957Z] Archives upload complete. [2023-07-21T19:01:27.217Z] INFO: archiving logs to Nexus [2023-07-21T19:01:27.794Z] ---> uname -a: [2023-07-21T19:01:27.794Z] Linux prd-ubuntu20-04-docker-8c-8g-1743 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-21T19:01:27.794Z] [2023-07-21T19:01:27.794Z] [2023-07-21T19:01:27.794Z] ---> lscpu: [2023-07-21T19:01:27.794Z] Architecture: x86_64 [2023-07-21T19:01:27.794Z] CPU op-mode(s): 32-bit, 64-bit [2023-07-21T19:01:27.794Z] Byte Order: Little Endian [2023-07-21T19:01:27.794Z] Address sizes: 40 bits physical, 48 bits virtual [2023-07-21T19:01:27.794Z] CPU(s): 8 [2023-07-21T19:01:27.794Z] On-line CPU(s) list: 0-7 [2023-07-21T19:01:27.795Z] Thread(s) per core: 1 [2023-07-21T19:01:27.795Z] Core(s) per socket: 1 [2023-07-21T19:01:27.795Z] Socket(s): 8 [2023-07-21T19:01:27.795Z] NUMA node(s): 1 [2023-07-21T19:01:27.795Z] Vendor ID: AuthenticAMD [2023-07-21T19:01:27.795Z] CPU family: 23 [2023-07-21T19:01:27.795Z] Model: 49 [2023-07-21T19:01:27.795Z] Model name: AMD EPYC-Rome Processor [2023-07-21T19:01:27.795Z] Stepping: 0 [2023-07-21T19:01:27.795Z] CPU MHz: 2799.998 [2023-07-21T19:01:27.795Z] BogoMIPS: 5599.99 [2023-07-21T19:01:27.795Z] Virtualization: AMD-V [2023-07-21T19:01:27.795Z] Hypervisor vendor: KVM [2023-07-21T19:01:27.795Z] Virtualization type: full [2023-07-21T19:01:27.795Z] L1d cache: 256 KiB [2023-07-21T19:01:27.795Z] L1i cache: 256 KiB [2023-07-21T19:01:27.795Z] L2 cache: 4 MiB [2023-07-21T19:01:27.795Z] L3 cache: 128 MiB [2023-07-21T19:01:27.795Z] NUMA node0 CPU(s): 0-7 [2023-07-21T19:01:27.795Z] Vulnerability Itlb multihit: Not affected [2023-07-21T19:01:27.795Z] Vulnerability L1tf: Not affected [2023-07-21T19:01:27.795Z] Vulnerability Mds: Not affected [2023-07-21T19:01:27.795Z] Vulnerability Meltdown: Not affected [2023-07-21T19:01:27.795Z] Vulnerability Mmio stale data: Not affected [2023-07-21T19:01:27.795Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-07-21T19:01:27.795Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-07-21T19:01:27.795Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-07-21T19:01:27.795Z] Vulnerability Srbds: Not affected [2023-07-21T19:01:27.795Z] Vulnerability Tsx async abort: Not affected [2023-07-21T19:01:27.795Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] ---> nproc: [2023-07-21T19:01:27.795Z] 8 [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] ---> df -h: [2023-07-21T19:01:27.795Z] Filesystem Size Used Avail Use% Mounted on [2023-07-21T19:01:27.795Z] overlay 155G 11G 145G 7% / [2023-07-21T19:01:27.795Z] tmpfs 64M 0 64M 0% /dev [2023-07-21T19:01:27.795Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-07-21T19:01:27.795Z] shm 64M 0 64M 0% /dev/shm [2023-07-21T19:01:27.795Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] ---> sar -b -r -n DEV: [2023-07-21T19:01:27.795Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1743) 07/21/23 _x86_64_ (8 CPU) [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:55:56 LINUX RESTART (8 CPU) [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-07-21T19:01:27.795Z] 18:57:02 360.99 48.06 312.93 0.00 5402.83 181051.82 0.00 [2023-07-21T19:01:27.795Z] 18:58:01 77.62 0.34 77.28 0.00 33.75 18450.03 0.00 [2023-07-21T19:01:27.795Z] 18:59:01 0.93 0.00 0.93 0.00 0.00 10.93 0.00 [2023-07-21T19:01:27.795Z] 19:00:01 0.87 0.00 0.87 0.00 0.00 10.00 0.00 [2023-07-21T19:01:27.795Z] 19:01:01 3.62 0.97 2.65 0.00 67.46 58.39 0.00 [2023-07-21T19:01:27.795Z] Average: 88.84 9.90 78.94 0.00 1104.34 39987.30 0.00 [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-07-21T19:01:27.795Z] 18:57:02 29628128 31582876 749740 2.28 64340 2180648 1883036 5.55 1006780 1921272 400 [2023-07-21T19:01:27.795Z] 18:58:01 29113044 31578692 724724 2.20 85220 2639788 1752764 5.17 1053024 2328420 156 [2023-07-21T19:01:27.795Z] 18:59:01 29113432 31579304 723748 2.20 85260 2639788 1752764 5.17 1052680 2328420 20 [2023-07-21T19:01:27.795Z] 19:00:01 29121120 31586984 716184 2.18 85284 2639800 1752764 5.17 1045224 2328444 16 [2023-07-21T19:01:27.795Z] 19:01:01 29110940 31583780 718936 2.19 86724 2644928 1770720 5.22 1053592 2333508 68 [2023-07-21T19:01:27.795Z] Average: 29217333 31582327 726666 2.21 81366 2548990 1782410 5.25 1042260 2248013 132 [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-07-21T19:01:27.795Z] 18:57:02 ens3 513.75 344.89 4163.35 100.17 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:57:02 docker0 2.70 2.48 0.29 28.86 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:57:02 lo 6.67 6.67 0.64 0.64 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:58:01 ens3 118.96 69.35 2656.75 14.50 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:58:01 docker0 5.64 9.13 0.38 83.26 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:58:01 lo 1.15 1.15 0.11 0.11 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:59:01 ens3 0.78 0.13 0.15 0.07 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 18:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:00:01 ens3 0.48 0.43 0.28 0.21 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:01:01 ens3 0.63 0.60 0.43 0.22 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] 19:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] Average: ens3 126.95 83.13 1359.91 23.06 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] Average: docker0 1.66 2.30 0.13 22.22 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] Average: lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] ---> sar -P ALL: [2023-07-21T19:01:27.795Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1743) 07/21/23 _x86_64_ (8 CPU) [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:55:56 LINUX RESTART (8 CPU) [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] 18:56:01 CPU %user %nice %system %iowait %steal %idle [2023-07-21T19:01:27.795Z] 18:57:02 all 7.78 0.00 2.76 3.08 0.06 86.33 [2023-07-21T19:01:27.795Z] 18:57:02 0 7.73 0.00 3.37 0.34 0.05 88.52 [2023-07-21T19:01:27.795Z] 18:57:02 1 8.01 0.00 3.60 11.05 0.05 77.29 [2023-07-21T19:01:27.795Z] 18:57:02 2 8.43 0.00 2.53 2.26 0.05 86.72 [2023-07-21T19:01:27.795Z] 18:57:02 3 8.19 0.00 1.94 2.38 0.05 87.44 [2023-07-21T19:01:27.795Z] 18:57:02 4 7.92 0.00 3.26 6.43 0.07 82.32 [2023-07-21T19:01:27.795Z] 18:57:02 5 9.18 0.00 1.77 1.08 0.05 87.93 [2023-07-21T19:01:27.795Z] 18:57:02 6 7.86 0.00 2.15 0.44 0.05 89.50 [2023-07-21T19:01:27.795Z] 18:57:02 7 4.91 0.00 3.43 0.61 0.10 90.95 [2023-07-21T19:01:27.795Z] 18:58:01 all 2.97 0.00 1.54 1.44 0.03 94.02 [2023-07-21T19:01:27.795Z] 18:58:01 0 3.31 0.00 2.48 7.12 0.03 87.06 [2023-07-21T19:01:27.795Z] 18:58:01 1 1.71 0.00 1.25 2.68 0.03 94.33 [2023-07-21T19:01:27.795Z] 18:58:01 2 3.56 0.00 1.52 0.14 0.03 94.75 [2023-07-21T19:01:27.795Z] 18:58:01 3 3.77 0.00 1.40 0.07 0.05 94.72 [2023-07-21T19:01:27.795Z] 18:58:01 4 3.01 0.00 1.38 0.00 0.02 95.59 [2023-07-21T19:01:27.795Z] 18:58:01 5 3.29 0.00 1.43 0.31 0.02 94.96 [2023-07-21T19:01:27.795Z] 18:58:01 6 2.47 0.00 1.76 0.14 0.02 95.62 [2023-07-21T19:01:27.795Z] 18:58:01 7 2.64 0.00 1.14 1.11 0.02 95.09 [2023-07-21T19:01:27.795Z] 18:59:01 all 0.01 0.00 0.01 0.01 0.01 99.97 [2023-07-21T19:01:27.795Z] 18:59:01 0 0.00 0.00 0.00 0.00 0.00 100.00 [2023-07-21T19:01:27.795Z] 18:59:01 1 0.00 0.00 0.00 0.07 0.00 99.93 [2023-07-21T19:01:27.795Z] 18:59:01 2 0.00 0.00 0.00 0.00 0.00 100.00 [2023-07-21T19:01:27.795Z] 18:59:01 3 0.02 0.00 0.02 0.02 0.03 99.92 [2023-07-21T19:01:27.795Z] 18:59:01 4 0.00 0.00 0.00 0.00 0.02 99.98 [2023-07-21T19:01:27.795Z] 18:59:01 5 0.02 0.00 0.02 0.00 0.02 99.95 [2023-07-21T19:01:27.795Z] 18:59:01 6 0.02 0.00 0.02 0.00 0.00 99.97 [2023-07-21T19:01:27.795Z] 18:59:01 7 0.00 0.00 0.02 0.00 0.00 99.98 [2023-07-21T19:01:27.795Z] 19:00:01 all 0.04 0.00 0.02 0.02 0.01 99.92 [2023-07-21T19:01:27.795Z] 19:00:01 0 0.03 0.00 0.02 0.00 0.02 99.93 [2023-07-21T19:01:27.795Z] 19:00:01 1 0.02 0.00 0.02 0.00 0.00 99.97 [2023-07-21T19:01:27.795Z] 19:00:01 2 0.03 0.00 0.02 0.00 0.00 99.95 [2023-07-21T19:01:27.795Z] 19:00:01 3 0.05 0.00 0.03 0.13 0.03 99.75 [2023-07-21T19:01:27.795Z] 19:00:01 4 0.03 0.00 0.02 0.00 0.02 99.93 [2023-07-21T19:01:27.795Z] 19:00:01 5 0.05 0.00 0.02 0.00 0.00 99.93 [2023-07-21T19:01:27.795Z] 19:00:01 6 0.02 0.00 0.00 0.00 0.00 99.98 [2023-07-21T19:01:27.795Z] 19:00:01 7 0.07 0.00 0.02 0.00 0.00 99.92 [2023-07-21T19:01:27.795Z] 19:01:01 all 0.03 0.00 0.05 0.03 0.01 99.88 [2023-07-21T19:01:27.795Z] 19:01:01 0 0.07 0.00 0.03 0.00 0.00 99.90 [2023-07-21T19:01:27.795Z] 19:01:01 1 0.05 0.00 0.02 0.07 0.00 99.87 [2023-07-21T19:01:27.795Z] 19:01:01 2 0.00 0.00 0.00 0.00 0.00 100.00 [2023-07-21T19:01:27.795Z] 19:01:01 3 0.03 0.00 0.03 0.05 0.03 99.85 [2023-07-21T19:01:27.795Z] 19:01:01 4 0.03 0.00 0.02 0.03 0.02 99.90 [2023-07-21T19:01:27.795Z] 19:01:01 5 0.07 0.00 0.05 0.00 0.00 99.88 [2023-07-21T19:01:27.795Z] 19:01:01 6 0.02 0.00 0.02 0.00 0.00 99.97 [2023-07-21T19:01:27.795Z] 19:01:01 7 0.00 0.00 0.23 0.05 0.02 99.70 [2023-07-21T19:01:27.795Z] Average: all 2.16 0.00 0.87 0.91 0.02 96.04 [2023-07-21T19:01:27.795Z] Average: 0 2.22 0.00 1.17 1.47 0.02 95.13 [2023-07-21T19:01:27.795Z] Average: 1 1.95 0.00 0.97 2.76 0.02 94.30 [2023-07-21T19:01:27.795Z] Average: 2 2.39 0.00 0.81 0.48 0.02 96.30 [2023-07-21T19:01:27.795Z] Average: 3 2.40 0.00 0.68 0.53 0.04 96.35 [2023-07-21T19:01:27.795Z] Average: 4 2.20 0.00 0.93 1.30 0.03 95.55 [2023-07-21T19:01:27.795Z] Average: 5 2.51 0.00 0.65 0.28 0.02 96.55 [2023-07-21T19:01:27.795Z] Average: 6 2.07 0.00 0.78 0.11 0.01 97.03 [2023-07-21T19:01:27.795Z] Average: 7 1.51 0.00 0.96 0.35 0.03 97.15 [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z] [2023-07-21T19:01:27.795Z]