Pull request #366 opened 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3f5745b9430ec2ede972e81d57068a7a4028a5f6+63560b1f091cdd18f74439d048f83e61f0721fcd (6b6b3338a89dfcd88ae789f00858d28d2523e202) 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-ssh8492860799572700315.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh7889312221135268188.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-rest-go/branches/PR-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6741746356032210542.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-rest-go/branches/PR-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9053350195435709324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1486257850644935609.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-rest-go/branches/PR-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3599937958885925514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [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-17137 in /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-366 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 3f5745b9430ec2ede972e81d57068a7a4028a5f6 Merge succeeded, producing 3f5745b9430ec2ede972e81d57068a7a4028a5f6 Checking out Revision 3f5745b9430ec2ede972e81d57068a7a4028a5f6 (PR-366) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # timeout=10 Commit message: "docs: Remove breaking change about common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-09T14:25:54.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-09T14:25:54.479Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-09T14:25:54.605Z] ========================================================= [2023-11-09T14:25:54.605Z] EdgeX Global Pipelines Version Info [2023-11-09T14:25:54.605Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:25:55.363Z] ------------------- [2023-11-09T14:25:55.363Z] stable info: [2023-11-09T14:25:55.363Z] ------------------- [2023-11-09T14:25:55.363Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-09T14:25:55.363Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:25:55.363Z] Message: update stable to v1.0.257 [2023-11-09T14:25:55.943Z] ------------------- [2023-11-09T14:25:55.943Z] experimental info: [2023-11-09T14:25:55.943Z] ------------------- [2023-11-09T14:25:55.943Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-09T14:25:55.943Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:25:55.943Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-09T14:25:56.306Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-09T14:25:56.352Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-09T14:25:56.393Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-09T14:25:56.435Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-09T14:25:56.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-09T14:25:56.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-09T14:25:56.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-09T14:25:56.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-09T14:25:56.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-09T14:25:56.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-09T14:25:56.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-09T14:25:56.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-09T14:25:56.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-09T14:25:56.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-09T14:25:56.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:25:56.938Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:25:56.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:25:57.025Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:25:57.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-09T14:25:57.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-09T14:25:57.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-09T14:25:57.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-09T14:25:57.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-09T14:25:57.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-09T14:25:57.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-09T14:25:57.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-09T14:25:57.465Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-09T14:25:57.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2023-11-09T14:25:57.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2023-11-09T14:25:57.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2023-11-09T14:25:57.625Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [Pipeline] echo [2023-11-09T14:25:57.659Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f5745b [Pipeline] echo [2023-11-09T14:25:57.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:25:57.822Z] provisioning config files... [2023-11-09T14:25:57.838Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config14472485002931688978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:25:58.191Z] ---> docker-login.sh [2023-11-09T14:25:58.191Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:25:58.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:25:58.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:25:58.712Z] Configure a credential helper to remove this warning. See [2023-11-09T14:25:58.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:25:58.712Z] [2023-11-09T14:25:58.712Z] Login Succeeded [2023-11-09T14:25:58.712Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:25:58.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:25:58.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:25:58.712Z] Configure a credential helper to remove this warning. See [2023-11-09T14:25:58.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:25:58.712Z] [2023-11-09T14:25:58.712Z] Login Succeeded [2023-11-09T14:25:58.712Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:25:58.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:25:58.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:25:58.972Z] Configure a credential helper to remove this warning. See [2023-11-09T14:25:58.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:25:58.972Z] [2023-11-09T14:25:58.972Z] Login Succeeded [2023-11-09T14:25:58.972Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:25:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:25:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:25:58.973Z] Configure a credential helper to remove this warning. See [2023-11-09T14:25:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:25:58.973Z] [2023-11-09T14:25:58.973Z] Login Succeeded [2023-11-09T14:25:58.973Z] docker.io [2023-11-09T14:25:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:25:59.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:25:59.233Z] Configure a credential helper to remove this warning. See [2023-11-09T14:25:59.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:25:59.233Z] [2023-11-09T14:25:59.233Z] Login Succeeded [2023-11-09T14:25:59.233Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:25:59.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-09T14:25:59.892Z] + git rev-list -1 --merges 3f5745b9430ec2ede972e81d57068a7a4028a5f6~1..3f5745b9430ec2ede972e81d57068a7a4028a5f6 [Pipeline] echo [2023-11-09T14:25:59.962Z] -----------> git rev-list -1 --merges 3f5745b9430ec2ede972e81d57068a7a4028a5f6~1..3f5745b9430ec2ede972e81d57068a7a4028a5f6 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [false] [Pipeline] sh [2023-11-09T14:26:00.278Z] + git log --format=format:%s -1 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [Pipeline] echo [2023-11-09T14:26:00.320Z] ========================================================= [2023-11-09T14:26:00.320Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-09T14:26:00.320Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:26:00.797Z] + git log --format=format:%s -1 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [Pipeline] echo [2023-11-09T14:26:00.833Z] [semverPrep] GIT_COMMIT: 3f5745b9430ec2ede972e81d57068a7a4028a5f6, Commit Message: docs: Remove breaking change about common config [Pipeline] echo [2023-11-09T14:26:00.863Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-09T14:26:01.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:26:01.280Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-09T14:26:01.280Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-09T14:26:01.280Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-09T14:26:01.280Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-09T14:26:01.280Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-09T14:26:01.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:26:01.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:26:01.782Z] [2023-11-09T14:26:01.782Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:26:02.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:26:02.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-09T14:26:02.228Z] b85a868b505f: Pulling fs layer [2023-11-09T14:26:02.228Z] e2be974225ed: Pulling fs layer [2023-11-09T14:26:02.228Z] 339a4e72a1f5: Pulling fs layer [2023-11-09T14:26:02.228Z] 988bab9f4d93: Pulling fs layer [2023-11-09T14:26:02.228Z] 1469e6f7b9e6: Pulling fs layer [2023-11-09T14:26:02.228Z] eaf3925da568: Pulling fs layer [2023-11-09T14:26:02.228Z] bab4dde63d76: Pulling fs layer [2023-11-09T14:26:02.228Z] bde34c3a00c8: Pulling fs layer [2023-11-09T14:26:02.228Z] b352a97aabf1: Pulling fs layer [2023-11-09T14:26:02.228Z] 988bab9f4d93: Waiting [2023-11-09T14:26:02.228Z] 4872d77fe225: Pulling fs layer [2023-11-09T14:26:02.228Z] 5851b861e8e6: Pulling fs layer [2023-11-09T14:26:02.228Z] bab4dde63d76: Waiting [2023-11-09T14:26:02.228Z] bde34c3a00c8: Waiting [2023-11-09T14:26:02.228Z] b352a97aabf1: Waiting [2023-11-09T14:26:02.228Z] 5851b861e8e6: Waiting [2023-11-09T14:26:02.228Z] 4872d77fe225: Waiting [2023-11-09T14:26:02.228Z] 1469e6f7b9e6: Waiting [2023-11-09T14:26:02.228Z] e2be974225ed: Verifying Checksum [2023-11-09T14:26:02.228Z] e2be974225ed: Download complete [2023-11-09T14:26:02.228Z] 988bab9f4d93: Download complete [2023-11-09T14:26:02.228Z] 1469e6f7b9e6: Verifying Checksum [2023-11-09T14:26:02.228Z] 1469e6f7b9e6: Download complete [2023-11-09T14:26:02.490Z] eaf3925da568: Verifying Checksum [2023-11-09T14:26:02.490Z] eaf3925da568: Download complete [2023-11-09T14:26:02.490Z] 339a4e72a1f5: Verifying Checksum [2023-11-09T14:26:02.490Z] 339a4e72a1f5: Download complete [2023-11-09T14:26:02.490Z] bde34c3a00c8: Download complete [2023-11-09T14:26:02.490Z] b352a97aabf1: Download complete [2023-11-09T14:26:02.490Z] 4872d77fe225: Verifying Checksum [2023-11-09T14:26:02.490Z] 4872d77fe225: Download complete [2023-11-09T14:26:02.490Z] 5851b861e8e6: Verifying Checksum [2023-11-09T14:26:02.490Z] 5851b861e8e6: Download complete [2023-11-09T14:26:02.490Z] b85a868b505f: Download complete [2023-11-09T14:26:02.751Z] bab4dde63d76: Verifying Checksum [2023-11-09T14:26:02.751Z] bab4dde63d76: Download complete [2023-11-09T14:26:03.704Z] b85a868b505f: Pull complete [2023-11-09T14:26:03.968Z] e2be974225ed: Pull complete [2023-11-09T14:26:04.229Z] 339a4e72a1f5: Pull complete [2023-11-09T14:26:04.491Z] 988bab9f4d93: Pull complete [2023-11-09T14:26:04.751Z] 1469e6f7b9e6: Pull complete [2023-11-09T14:26:04.751Z] eaf3925da568: Pull complete [2023-11-09T14:26:06.657Z] bab4dde63d76: Pull complete [2023-11-09T14:26:06.657Z] bde34c3a00c8: Pull complete [2023-11-09T14:26:06.918Z] b352a97aabf1: Pull complete [2023-11-09T14:26:06.918Z] 4872d77fe225: Pull complete [2023-11-09T14:26:06.918Z] 5851b861e8e6: Pull complete [2023-11-09T14:26:06.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-09T14:26:06.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:26:06.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:26:07.169Z] prd-ubuntu20.04-docker-8c-8g-17137 does not seem to be running inside a container [2023-11-09T14:26:07.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:26:12.792Z] $ docker top a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 -eo pid,comm [2023-11-09T14:26:12.853Z] 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-11-09T14:26:12.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:26:12.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:26:12.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:26:13.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:26:13.095Z] $ docker exec a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 ssh-agent [2023-11-09T14:26:13.204Z] SSH_AUTH_SOCK=/tmp/ssh-cBBNMLhxlANr/agent.32 [2023-11-09T14:26:13.204Z] SSH_AGENT_PID=38 [2023-11-09T14:26:13.210Z] Running ssh-add (command line suppressed) [2023-11-09T14:26:13.317Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_14989870781068388687.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_14989870781068388687.key) [2023-11-09T14:26:13.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:26:13.674Z] + git tag --points-at HEAD [Pipeline] } [2023-11-09T14:26:13.702Z] $ docker exec --env ******** --env ******** a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 ssh-agent -k [2023-11-09T14:26:13.796Z] unset SSH_AUTH_SOCK; [2023-11-09T14:26:13.796Z] unset SSH_AGENT_PID; [2023-11-09T14:26:13.796Z] echo Agent pid 38 killed; [2023-11-09T14:26:13.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-09T14:26:13.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:26:13.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:26:14.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:26:14.011Z] $ docker exec a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 ssh-agent [2023-11-09T14:26:14.140Z] SSH_AUTH_SOCK=/tmp/ssh-zUZGsNq52ZTJ/agent.70 [2023-11-09T14:26:14.140Z] SSH_AGENT_PID=76 [2023-11-09T14:26:14.144Z] Running ssh-add (command line suppressed) [2023-11-09T14:26:14.250Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_13616534114061332799.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_13616534114061332799.key) [2023-11-09T14:26:14.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:26:14.596Z] + git semver init [2023-11-09T14:26:14.857Z] 2023-11-09 14:26:14,776 [run_init] DEBUG init version:0.0.0 force:False [2023-11-09T14:26:14.857Z] 2023-11-09 14:26:14,777 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver [2023-11-09T14:26:14.857Z] 2023-11-09 14:26:14,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-366/.semver [2023-11-09T14:26:14.857Z] 2023-11-09 14:26:14,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-366/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,979 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.git/info/exclude [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 with force:False [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,980 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,982 [execute] INFO git cat-file --batch-check [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:26:16.253Z] 2023-11-09 14:26:15,987 [execute] INFO git cat-file --batch [2023-11-09T14:26:16.254Z] 2023-11-09 14:26:15,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:26:16.254Z] 2023-11-09 14:26:15,992 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 [2023-11-09T14:26:16.254Z] 0.0.0 [Pipeline] } [2023-11-09T14:26:16.279Z] $ docker exec --env ******** --env ******** a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 ssh-agent -k [2023-11-09T14:26:16.375Z] unset SSH_AUTH_SOCK; [2023-11-09T14:26:16.375Z] unset SSH_AGENT_PID; [2023-11-09T14:26:16.375Z] echo Agent pid 76 killed; [2023-11-09T14:26:16.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:26:16.825Z] + git semver [Pipeline] } [2023-11-09T14:26:17.119Z] $ docker stop --time=1 a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 [2023-11-09T14:26:18.400Z] $ docker rm -f --volumes a78408e0cf108472b46785eb980a054d6ee429b8be906aae2e499ee3c35c9811 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:26:18.813Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-09T14:26:19.100Z] Stashed 1 file(s) [Pipeline] echo [2023-11-09T14:26:19.119Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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-11-09T14:26:19.749Z] provisioning config files... [2023-11-09T14:26:19.759Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config6944845572939717648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:26:20.111Z] ---> docker-login.sh [2023-11-09T14:26:20.112Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:26:20.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:26:20.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:26:20.112Z] Configure a credential helper to remove this warning. See [2023-11-09T14:26:20.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:26:20.112Z] [2023-11-09T14:26:20.112Z] Login Succeeded [2023-11-09T14:26:20.112Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:26:20.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:26:20.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:26:20.112Z] Configure a credential helper to remove this warning. See [2023-11-09T14:26:20.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:26:20.112Z] [2023-11-09T14:26:20.112Z] Login Succeeded [2023-11-09T14:26:20.112Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:26:20.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:26:20.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:26:20.373Z] Configure a credential helper to remove this warning. See [2023-11-09T14:26:20.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:26:20.373Z] [2023-11-09T14:26:20.373Z] Login Succeeded [2023-11-09T14:26:20.373Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:26:20.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:26:20.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:26:20.373Z] Configure a credential helper to remove this warning. See [2023-11-09T14:26:20.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:26:20.373Z] [2023-11-09T14:26:20.373Z] Login Succeeded [2023-11-09T14:26:20.373Z] docker.io [2023-11-09T14:26:20.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:26:20.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:26:20.896Z] Configure a credential helper to remove this warning. See [2023-11-09T14:26:20.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:26:20.896Z] [2023-11-09T14:26:20.896Z] Login Succeeded [2023-11-09T14:26:20.896Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:26:20.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T14:26:21.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:26:21.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:26:21.214Z] ========================================================= [2023-11-09T14:26:21.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-09T14:26:21.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:26:21.713Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T14:26:21.713Z] Sending build context to Docker daemon 10.95MB [2023-11-09T14:26:21.713Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:26:21.713Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:26:21.713Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-09T14:26:21.713Z] 7264a8db6415: Pulling fs layer [2023-11-09T14:26:21.713Z] c4d48a809fc2: Pulling fs layer [2023-11-09T14:26:21.713Z] 4f1c88b9dad5: Pulling fs layer [2023-11-09T14:26:21.713Z] ad3a456e5733: Pulling fs layer [2023-11-09T14:26:21.713Z] 33e27b845d1e: Pulling fs layer [2023-11-09T14:26:21.713Z] c68163c4e522: Pulling fs layer [2023-11-09T14:26:21.713Z] 50da416c3ac9: Pulling fs layer [2023-11-09T14:26:21.713Z] 23d2d4c4bb30: Pulling fs layer [2023-11-09T14:26:21.713Z] 33e27b845d1e: Waiting [2023-11-09T14:26:21.713Z] ad3a456e5733: Waiting [2023-11-09T14:26:21.713Z] c68163c4e522: Waiting [2023-11-09T14:26:21.713Z] 50da416c3ac9: Waiting [2023-11-09T14:26:21.713Z] c4d48a809fc2: Verifying Checksum [2023-11-09T14:26:21.713Z] c4d48a809fc2: Download complete [2023-11-09T14:26:21.973Z] ad3a456e5733: Verifying Checksum [2023-11-09T14:26:21.973Z] ad3a456e5733: Download complete [2023-11-09T14:26:21.973Z] 33e27b845d1e: Download complete [2023-11-09T14:26:21.973Z] 7264a8db6415: Verifying Checksum [2023-11-09T14:26:21.973Z] 7264a8db6415: Download complete [2023-11-09T14:26:21.973Z] c68163c4e522: Verifying Checksum [2023-11-09T14:26:21.973Z] c68163c4e522: Download complete [2023-11-09T14:26:21.973Z] 7264a8db6415: Pull complete [2023-11-09T14:26:22.232Z] 23d2d4c4bb30: Verifying Checksum [2023-11-09T14:26:22.232Z] 23d2d4c4bb30: Download complete [2023-11-09T14:26:22.232Z] c4d48a809fc2: Pull complete [2023-11-09T14:26:22.232Z] 4f1c88b9dad5: Verifying Checksum [2023-11-09T14:26:22.232Z] 4f1c88b9dad5: Download complete [2023-11-09T14:26:22.801Z] 50da416c3ac9: Verifying Checksum [2023-11-09T14:26:22.801Z] 50da416c3ac9: Download complete [2023-11-09T14:26:26.087Z] 4f1c88b9dad5: Pull complete [2023-11-09T14:26:26.087Z] ad3a456e5733: Pull complete [2023-11-09T14:26:26.087Z] 33e27b845d1e: Pull complete [2023-11-09T14:26:26.087Z] c68163c4e522: Pull complete [2023-11-09T14:26:28.619Z] 50da416c3ac9: Pull complete [2023-11-09T14:26:28.880Z] 23d2d4c4bb30: Pull complete [2023-11-09T14:26:28.880Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-09T14:26:28.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-09T14:26:28.880Z] ---> 0786185ac409 [2023-11-09T14:26:28.880Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:26:34.573Z] Still waiting to schedule task [2023-11-09T14:26:34.574Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-09T14:26:37.061Z] ---> Running in 854f0dcb8028 [2023-11-09T14:26:37.061Z] Removing intermediate container 854f0dcb8028 [2023-11-09T14:26:37.061Z] ---> 8910c571e091 [2023-11-09T14:26:37.061Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:26:37.061Z] ---> Running in 508fc2013f10 [2023-11-09T14:26:37.061Z] Removing intermediate container 508fc2013f10 [2023-11-09T14:26:37.061Z] ---> 293fce1b393a [2023-11-09T14:26:37.061Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:26:37.061Z] ---> Running in 4190f39a7bf5 [2023-11-09T14:26:37.061Z] Removing intermediate container 4190f39a7bf5 [2023-11-09T14:26:37.061Z] ---> fddc8d35daa8 [2023-11-09T14:26:37.061Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:26:37.061Z] ---> Running in a6497495766e [2023-11-09T14:26:37.061Z] Removing intermediate container a6497495766e [2023-11-09T14:26:37.061Z] ---> 74c8a39e322d [2023-11-09T14:26:37.061Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:26:37.061Z] ---> Running in bf51efc44ed5 [2023-11-09T14:26:37.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:26:37.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:26:37.320Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:26:37.320Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:26:37.320Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:26:37.320Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:26:37.320Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:26:37.320Z] OK: 268 MiB in 56 packages [2023-11-09T14:26:37.888Z] Removing intermediate container bf51efc44ed5 [2023-11-09T14:26:37.888Z] ---> 88290076f23d [2023-11-09T14:26:37.888Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:26:37.888Z] ---> Running in 29301d681e5a [2023-11-09T14:26:38.147Z] Removing intermediate container 29301d681e5a [2023-11-09T14:26:38.148Z] ---> 41dbe405b2f1 [2023-11-09T14:26:38.148Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:26:38.148Z] ---> 3c0abea6fcce [2023-11-09T14:26:38.148Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:26:38.148Z] ---> Running in cae3acbe1533 [2023-11-09T14:27:24.867Z] Removing intermediate container cae3acbe1533 [2023-11-09T14:27:24.867Z] ---> a4d9b1a36fc1 [2023-11-09T14:27:24.867Z] Step 11/12 : COPY . . [2023-11-09T14:27:24.867Z] ---> 068393738718 [2023-11-09T14:27:24.867Z] Step 12/12 : RUN $MAKE [2023-11-09T14:27:24.867Z] ---> Running in 76d970614651 [2023-11-09T14:27:24.867Z] noop [2023-11-09T14:27:24.867Z] Removing intermediate container 76d970614651 [2023-11-09T14:27:24.867Z] ---> 55363f646cb3 [2023-11-09T14:27:24.867Z] Successfully built 55363f646cb3 [2023-11-09T14:27:24.867Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:27:25.319Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:27:25.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:27:25.478Z] prd-ubuntu20.04-docker-8c-8g-17137 does not seem to be running inside a container [2023-11-09T14:27:25.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:27:25.860Z] $ docker top 9b0dc9e7378e4b188a7d71cac1cbc4471147a320127256ab61e79f3c1503959e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:27:26.264Z] + go version [2023-11-09T14:27:26.265Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-09T14:27:26.297Z] $ docker stop --time=1 9b0dc9e7378e4b188a7d71cac1cbc4471147a320127256ab61e79f3c1503959e [2023-11-09T14:27:27.571Z] $ docker rm -f --volumes 9b0dc9e7378e4b188a7d71cac1cbc4471147a320127256ab61e79f3c1503959e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:27:28.341Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:27:28.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:27:28.503Z] prd-ubuntu20.04-docker-8c-8g-17137 does not seem to be running inside a container [2023-11-09T14:27:28.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:27:28.874Z] $ docker top 2317568d36c803fea56b152afbb65a0b3f2b9bd4263ada199381ea21655233a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:27:29.276Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:27:29.640Z] + make test [2023-11-09T14:27:29.640Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:27:31.548Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:27:41.519Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:27:41.519Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-11-09T14:27:48.086Z] go vet ./... [2023-11-09T14:27:52.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:27:52.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:27:52.270Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:27:52.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:27:52.356Z] $ docker stop --time=1 2317568d36c803fea56b152afbb65a0b3f2b9bd4263ada199381ea21655233a8 [2023-11-09T14:27:57.951Z] $ docker rm -f --volumes 2317568d36c803fea56b152afbb65a0b3f2b9bd4263ada199381ea21655233a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:27:58.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:27:58.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-09T14:27:59.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:27:59.691Z] + ls -al . [2023-11-09T14:27:59.692Z] total 180 [2023-11-09T14:27:59.692Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 14:27 . [2023-11-09T14:27:59.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:25 .. [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:25 .dockerignore [2023-11-09T14:27:59.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:27 .git [2023-11-09T14:27:59.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:25 .github [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:25 .gitignore [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:25 .golangci.yml [2023-11-09T14:27:59.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:26 .semver [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:25 Attribution.txt [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 14:25 CHANGELOG.md [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:25 Dockerfile [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:25 GOVERNANCE.md [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:25 Jenkinsfile [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:25 LICENSE [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:25 Makefile [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:25 OWNERS.md [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:25 README.md [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:26 VERSION [2023-11-09T14:27:59.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:25 bin [2023-11-09T14:27:59.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:25 cmd [2023-11-09T14:27:59.692Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:27 coverage.out [2023-11-09T14:27:59.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:25 driver [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:25 go.mod [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:25 go.sum [2023-11-09T14:27:59.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:25 openapi [2023-11-09T14:27:59.692Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:28:00.101Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3f5745b9430ec2ede972e81d57068a7a4028a5f6 --label arch=amd64 --label version=0.0.0 . [2023-11-09T14:28:00.101Z] Sending build context to Docker daemon 10.96MB [2023-11-09T14:28:00.101Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:28:00.101Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:28:00.101Z] ---> 55363f646cb3 [2023-11-09T14:28:00.101Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:28:00.669Z] ---> Running in 8d38f7d9b6c6 [2023-11-09T14:28:00.669Z] Removing intermediate container 8d38f7d9b6c6 [2023-11-09T14:28:00.669Z] ---> d4680faee8b7 [2023-11-09T14:28:00.669Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:28:00.669Z] ---> Running in 344a65c356b0 [2023-11-09T14:28:00.669Z] Removing intermediate container 344a65c356b0 [2023-11-09T14:28:00.669Z] ---> e89c2d6250c1 [2023-11-09T14:28:00.669Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:28:00.669Z] ---> Running in 68b7282aa489 [2023-11-09T14:28:00.928Z] Removing intermediate container 68b7282aa489 [2023-11-09T14:28:00.928Z] ---> 896dfdf06638 [2023-11-09T14:28:00.928Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:28:00.928Z] ---> Running in bac02009b0d8 [2023-11-09T14:28:00.928Z] Removing intermediate container bac02009b0d8 [2023-11-09T14:28:00.928Z] ---> 0b9dbc213566 [2023-11-09T14:28:00.928Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:28:00.928Z] ---> Running in 1525e7d28fa6 [2023-11-09T14:28:01.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:28:01.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:28:01.447Z] OK: 268 MiB in 56 packages [2023-11-09T14:28:01.706Z] Removing intermediate container 1525e7d28fa6 [2023-11-09T14:28:01.706Z] ---> 6cbe23ab907a [2023-11-09T14:28:01.706Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:28:01.706Z] ---> Running in 6f3aa6e3219f [2023-11-09T14:28:01.967Z] Removing intermediate container 6f3aa6e3219f [2023-11-09T14:28:01.967Z] ---> f7824c97c7b4 [2023-11-09T14:28:01.967Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:28:01.967Z] ---> fd67efb0d65b [2023-11-09T14:28:01.967Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:28:01.967Z] ---> Running in 9bb2b3dc30fb [2023-11-09T14:28:02.535Z] Removing intermediate container 9bb2b3dc30fb [2023-11-09T14:28:02.535Z] ---> bbbba036a1eb [2023-11-09T14:28:02.535Z] Step 11/25 : COPY . . [2023-11-09T14:28:03.124Z] ---> 367336ee9a86 [2023-11-09T14:28:03.124Z] Step 12/25 : RUN $MAKE [2023-11-09T14:28:03.124Z] ---> Running in 337b2a53f6d4 [2023-11-09T14:28:03.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:28:11.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17138 in /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] { [Pipeline] ws [2023-11-09T14:28:11.623Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-09T14:28:11.710Z] The recommended git tool is: git [2023-11-09T14:28:16.507Z] using credential edgex-jenkins-ssh [2023-11-09T14:28:16.522Z] Cloning the remote Git repository [2023-11-09T14:28:16.551Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:28:16.632Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-09T14:28:16.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:28:16.764Z] > git --version # timeout=10 [2023-11-09T14:28:16.781Z] > git --version # 'git version 2.25.1' [2023-11-09T14:28:16.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:28:16.918Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:28:18.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T14:28:18.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:28:20.243Z] Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [2023-11-09T14:28:19.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T14:28:19.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:28:19.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:28:19.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-09T14:28:20.253Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T14:28:20.321Z] > git checkout -f 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # timeout=10 [2023-11-09T14:28:20.546Z] Merge succeeded, producing 3f5745b9430ec2ede972e81d57068a7a4028a5f6 [2023-11-09T14:28:20.547Z] Checking out Revision 3f5745b9430ec2ede972e81d57068a7a4028a5f6 (PR-366) [2023-11-09T14:28:20.414Z] > git remote # timeout=10 [2023-11-09T14:28:20.433Z] > git config --get remote.origin.url # timeout=10 [2023-11-09T14:28:20.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:28:20.480Z] > git merge 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [2023-11-09T14:28:20.511Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-09T14:28:20.544Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T14:28:20.558Z] > git checkout -f 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # timeout=10 [2023-11-09T14:28:24.570Z] Commit message: "docs: Remove breaking change about common config" [2023-11-09T14:28:24.616Z] > git --version # timeout=10 [2023-11-09T14:28:24.627Z] > git --version # 'git version 2.25.1' [2023-11-09T14:28:24.640Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-11-09T14:28:25.327Z] Removing intermediate container 337b2a53f6d4 [2023-11-09T14:28:25.327Z] ---> 1ad6998daca8 [2023-11-09T14:28:25.327Z] Step 13/25 : FROM alpine:3.18 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:28:25.896Z] 3.18: Pulling from library/alpine [2023-11-09T14:28:25.896Z] 96526aa774ef: Pulling fs layer [2023-11-09T14:28:25.927Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-09T14:28:25.927Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:28:25.927Z] Dload Upload Total Spent Left Speed [2023-11-09T14:28:25.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 90585 0 --:--:-- --:--:-- --:--:-- 90585 [2023-11-09T14:28:26.155Z] 96526aa774ef: Verifying Checksum [2023-11-09T14:28:26.155Z] 96526aa774ef: Download complete [Pipeline] sh [2023-11-09T14:28:26.443Z] 96526aa774ef: Pull complete [2023-11-09T14:28:26.443Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:28:26.443Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:28:26.443Z] ---> 8ca4688f4f35 [2023-11-09T14:28:26.443Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:28:26.661Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-09T14:28:26.701Z] ---> Running in c58fd0055e7a [2023-11-09T14:28:26.702Z] Removing intermediate container c58fd0055e7a [2023-11-09T14:28:26.702Z] ---> eef3367b2c9d [2023-11-09T14:28:26.702Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:28:26.702Z] ---> Running in 896fe5c16507 [2023-11-09T14:28:26.702Z] Removing intermediate container 896fe5c16507 [2023-11-09T14:28:26.702Z] ---> ab897a0d34dc [2023-11-09T14:28:26.702Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:28:26.961Z] ---> Running in 3ed3943376f7 [2023-11-09T14:28:27.010Z] + sudo tee /etc/docker/daemon.new [2023-11-09T14:28:27.010Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-09T14:28:27.010Z] { [2023-11-09T14:28:27.010Z] "registry-mirrors": [ [2023-11-09T14:28:27.010Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-09T14:28:27.010Z] ], [2023-11-09T14:28:27.010Z] "bip": "10.250.0.254/24", [2023-11-09T14:28:27.010Z] "hosts": [ [2023-11-09T14:28:27.010Z] "tcp://0.0.0.0:5555", [2023-11-09T14:28:27.010Z] "unix:///var/run/docker.sock" [2023-11-09T14:28:27.010Z] ], [2023-11-09T14:28:27.010Z] "mtu": 1458, [2023-11-09T14:28:27.010Z] "selinux-enabled": true, [2023-11-09T14:28:27.010Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-09T14:28:27.010Z] } [Pipeline] sh [2023-11-09T14:28:27.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:28:27.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:28:27.352Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-09T14:28:27.479Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:28:27.479Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:28:27.479Z] OK: 7 MiB in 16 packages [2023-11-09T14:28:27.698Z] + sudo service docker restart [2023-11-09T14:28:28.046Z] Removing intermediate container 3ed3943376f7 [2023-11-09T14:28:28.047Z] ---> d87c3b7b991b [2023-11-09T14:28:28.047Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:28:29.007Z] ---> c28ec4c411de [2023-11-09T14:28:29.007Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:28:29.007Z] ---> 67142c38751e [2023-11-09T14:28:29.007Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:28:29.268Z] ---> 7e61dac776f8 [2023-11-09T14:28:29.268Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:28:29.268Z] ---> Running in cf4568cd0337 [2023-11-09T14:28:29.268Z] Removing intermediate container cf4568cd0337 [2023-11-09T14:28:29.268Z] ---> 0a29ffad3f66 [2023-11-09T14:28:29.268Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:28:29.268Z] ---> Running in f92b2aa821a2 [2023-11-09T14:28:29.268Z] Removing intermediate container f92b2aa821a2 [2023-11-09T14:28:29.268Z] ---> 017f80d579cd [2023-11-09T14:28:29.268Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:28:29.528Z] ---> Running in 77074cc3bf5f [2023-11-09T14:28:29.528Z] Removing intermediate container 77074cc3bf5f [2023-11-09T14:28:29.528Z] ---> 54017e56c1dc [2023-11-09T14:28:29.528Z] Step 23/25 : LABEL arch=amd64 [2023-11-09T14:28:29.528Z] ---> Running in f40a3cde9b1e [2023-11-09T14:28:29.528Z] Removing intermediate container f40a3cde9b1e [2023-11-09T14:28:29.528Z] ---> de7145709dc9 [2023-11-09T14:28:29.528Z] Step 24/25 : LABEL git_sha=3f5745b9430ec2ede972e81d57068a7a4028a5f6 [2023-11-09T14:28:29.786Z] ---> Running in 0c4fb00c50b4 [2023-11-09T14:28:29.786Z] Removing intermediate container 0c4fb00c50b4 [2023-11-09T14:28:29.786Z] ---> e062121cd3f7 [2023-11-09T14:28:29.786Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T14:28:29.786Z] ---> Running in b5ed10f554ad [2023-11-09T14:28:29.786Z] Removing intermediate container b5ed10f554ad [2023-11-09T14:28:29.786Z] ---> af6f14ad461e [2023-11-09T14:28:29.786Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:28:29.786Z] Successfully built af6f14ad461e [2023-11-09T14:28:29.787Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:28:30.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:28:30.675Z] [2023-11-09T14:28:30.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:28:31.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:28:31.057Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-09T14:28:31.057Z] 5eb5b503b376: Pulling fs layer [2023-11-09T14:28:31.057Z] 5c69ac0246d0: Pulling fs layer [2023-11-09T14:28:31.057Z] ec43610c2a17: Pulling fs layer [2023-11-09T14:28:31.057Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-09T14:28:31.057Z] 33b1e0a273af: Pulling fs layer [2023-11-09T14:28:31.057Z] 3a2ae6a8a46f: Waiting [2023-11-09T14:28:31.057Z] 33b1e0a273af: Waiting [2023-11-09T14:28:31.057Z] 5d3b04190fa2: Pulling fs layer [2023-11-09T14:28:31.057Z] 2f39f015ded8: Pulling fs layer [2023-11-09T14:28:31.057Z] 5d3b04190fa2: Waiting [2023-11-09T14:28:31.057Z] 2f39f015ded8: Waiting [2023-11-09T14:28:31.057Z] 5c69ac0246d0: Verifying Checksum [2023-11-09T14:28:31.057Z] 5c69ac0246d0: Download complete [2023-11-09T14:28:31.057Z] 3a2ae6a8a46f: Download complete [2023-11-09T14:28:31.057Z] 33b1e0a273af: Verifying Checksum [2023-11-09T14:28:31.057Z] 33b1e0a273af: Download complete [2023-11-09T14:28:31.318Z] 5d3b04190fa2: Verifying Checksum [2023-11-09T14:28:31.318Z] 5d3b04190fa2: Download complete [2023-11-09T14:28:31.318Z] ec43610c2a17: Verifying Checksum [2023-11-09T14:28:31.318Z] ec43610c2a17: Download complete [2023-11-09T14:28:31.318Z] 5eb5b503b376: Verifying Checksum [2023-11-09T14:28:31.318Z] 5eb5b503b376: Download complete [2023-11-09T14:28:31.890Z] 2f39f015ded8: Verifying Checksum [2023-11-09T14:28:31.890Z] 2f39f015ded8: Download complete [2023-11-09T14:28:32.459Z] 5eb5b503b376: Pull complete [2023-11-09T14:28:32.721Z] 5c69ac0246d0: Pull complete [2023-11-09T14:28:33.294Z] ec43610c2a17: Pull complete [2023-11-09T14:28:33.294Z] 3a2ae6a8a46f: Pull complete [2023-11-09T14:28:33.555Z] 33b1e0a273af: Pull complete [2023-11-09T14:28:33.555Z] 5d3b04190fa2: Pull complete [2023-11-09T14:28:38.830Z] 2f39f015ded8: Pull complete [2023-11-09T14:28:38.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-09T14:28:38.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:28:38.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:28:39.070Z] prd-ubuntu20.04-docker-8c-8g-17137 does not seem to be running inside a container [2023-11-09T14:28:39.099Z] $ 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/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:28:46.264Z] $ docker top 4d7a61044ceb0c65f12d9c1b32a026d95c2bf55458fa728067819fd852baff4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-11-09T14:28:46.541Z] provisioning config files... [2023-11-09T14:28:46.565Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3464906550656805090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:28:46.777Z] ---> job-cost.sh [2023-11-09T14:28:46.777Z] lf-activate-venv: SKIPPING [2023-11-09T14:28:46.777Z] INFO: No Stack... [2023-11-09T14:28:46.974Z] ---> docker-login.sh [2023-11-09T14:28:46.974Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:28:47.037Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:28:47.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:28:47.296Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:28:47.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:28:47.523Z] Configure a credential helper to remove this warning. See [2023-11-09T14:28:47.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:28:47.523Z] [2023-11-09T14:28:47.523Z] Login Succeeded [2023-11-09T14:28:47.523Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:28:47.628Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-366/archives/cost.csv [2023-11-09T14:28:47.628Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T14:28:47.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [2023-11-09T14:28:47.685Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] did not exist. Created. [2023-11-09T14:28:47.685Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-11-09T14:28:47.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:28:47.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:28:47.793Z] Configure a credential helper to remove this warning. See [2023-11-09T14:28:47.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:28:47.793Z] [2023-11-09T14:28:47.793Z] Login Succeeded [2023-11-09T14:28:47.793Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2023-11-09T14:28:48.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:28:48.124Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-09T14:28:48.177Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:28:48.207Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:28:48.299Z] $ docker stop --time=1 4d7a61044ceb0c65f12d9c1b32a026d95c2bf55458fa728067819fd852baff4f [2023-11-09T14:28:48.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:28:48.335Z] Configure a credential helper to remove this warning. See [2023-11-09T14:28:48.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:28:48.335Z] [2023-11-09T14:28:48.335Z] Login Succeeded [2023-11-09T14:28:48.335Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:28:48.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:28:48.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:28:48.604Z] Configure a credential helper to remove this warning. See [2023-11-09T14:28:48.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:28:48.604Z] [2023-11-09T14:28:48.604Z] Login Succeeded [2023-11-09T14:28:48.604Z] docker.io [2023-11-09T14:28:48.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:28:49.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:28:49.137Z] Configure a credential helper to remove this warning. See [2023-11-09T14:28:49.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:28:49.137Z] [2023-11-09T14:28:49.137Z] Login Succeeded [2023-11-09T14:28:49.137Z] ---> docker-login.sh ends [2023-11-09T14:28:49.490Z] $ docker rm -f --volumes 4d7a61044ceb0c65f12d9c1b32a026d95c2bf55458fa728067819fd852baff4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-11-09T14:28:49.664Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-11-09T14:28:50.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:28:50.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:28:50.136Z] ========================================================= [2023-11-09T14:28:50.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-09T14:28:50.136Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:28:50.632Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T14:28:53.245Z] Sending build context to Docker daemon 127.5kB [2023-11-09T14:28:53.514Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:28:53.514Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:28:53.514Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-09T14:28:53.514Z] 9fda8d8052c6: Pulling fs layer [2023-11-09T14:28:53.514Z] 5d54e960e981: Pulling fs layer [2023-11-09T14:28:53.514Z] c4a7e357bf2a: Pulling fs layer [2023-11-09T14:28:53.514Z] f0e02332f6b5: Pulling fs layer [2023-11-09T14:28:53.514Z] cefa15bbcfad: Pulling fs layer [2023-11-09T14:28:53.514Z] 17808c966233: Pulling fs layer [2023-11-09T14:28:53.514Z] f4c1fc716caa: Pulling fs layer [2023-11-09T14:28:53.514Z] cefa15bbcfad: Waiting [2023-11-09T14:28:53.514Z] 17808c966233: Waiting [2023-11-09T14:28:53.514Z] f4c1fc716caa: Waiting [2023-11-09T14:28:53.514Z] f0e02332f6b5: Waiting [2023-11-09T14:28:53.514Z] 5d54e960e981: Verifying Checksum [2023-11-09T14:28:53.514Z] 5d54e960e981: Download complete [2023-11-09T14:28:53.514Z] f0e02332f6b5: Verifying Checksum [2023-11-09T14:28:53.514Z] f0e02332f6b5: Download complete [2023-11-09T14:28:53.514Z] cefa15bbcfad: Download complete [2023-11-09T14:28:53.785Z] 9fda8d8052c6: Download complete [2023-11-09T14:28:54.053Z] f4c1fc716caa: Verifying Checksum [2023-11-09T14:28:54.053Z] f4c1fc716caa: Download complete [2023-11-09T14:28:54.635Z] 9fda8d8052c6: Pull complete [2023-11-09T14:28:54.907Z] 5d54e960e981: Pull complete [2023-11-09T14:28:55.489Z] c4a7e357bf2a: Verifying Checksum [2023-11-09T14:28:55.489Z] c4a7e357bf2a: Download complete [2023-11-09T14:28:56.447Z] 17808c966233: Verifying Checksum [2023-11-09T14:28:56.447Z] 17808c966233: Download complete [2023-11-09T14:29:08.763Z] c4a7e357bf2a: Pull complete [2023-11-09T14:29:08.763Z] f0e02332f6b5: Pull complete [2023-11-09T14:29:08.763Z] cefa15bbcfad: Pull complete [2023-11-09T14:29:16.971Z] 17808c966233: Pull complete [2023-11-09T14:29:17.553Z] f4c1fc716caa: Pull complete [2023-11-09T14:29:17.553Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-09T14:29:17.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-09T14:29:17.553Z] ---> ea914061e18c [2023-11-09T14:29:17.553Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:29:19.571Z] ---> Running in 3673e642a475 [2023-11-09T14:29:19.571Z] Removing intermediate container 3673e642a475 [2023-11-09T14:29:19.571Z] ---> 818974934ce2 [2023-11-09T14:29:19.571Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:29:19.571Z] ---> Running in d7648e18102a [2023-11-09T14:29:19.838Z] Removing intermediate container d7648e18102a [2023-11-09T14:29:19.838Z] ---> 1cdb1280ed5e [2023-11-09T14:29:19.838Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:29:20.113Z] ---> Running in 2b769f5e17a2 [2023-11-09T14:29:20.380Z] Removing intermediate container 2b769f5e17a2 [2023-11-09T14:29:20.380Z] ---> 34840f98c33a [2023-11-09T14:29:20.380Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:29:20.380Z] ---> Running in 2881b474d666 [2023-11-09T14:29:20.645Z] Removing intermediate container 2881b474d666 [2023-11-09T14:29:20.645Z] ---> ca9f12992e0f [2023-11-09T14:29:20.645Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:29:20.911Z] ---> Running in d76d8145b689 [2023-11-09T14:29:21.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:29:22.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:29:23.547Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:29:23.547Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:29:23.547Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:29:23.547Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:29:23.547Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:29:23.547Z] OK: 270 MiB in 56 packages [2023-11-09T14:29:24.518Z] Removing intermediate container d76d8145b689 [2023-11-09T14:29:24.518Z] ---> bbb6095fb080 [2023-11-09T14:29:24.518Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:29:24.518Z] ---> Running in 98d00d302f2f [2023-11-09T14:29:24.784Z] Removing intermediate container 98d00d302f2f [2023-11-09T14:29:24.784Z] ---> 3c2665692f73 [2023-11-09T14:29:24.784Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:29:25.370Z] ---> b05c89477024 [2023-11-09T14:29:25.370Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:29:25.370Z] ---> Running in 67b835322ea5 [2023-11-09T14:30:33.252Z] Removing intermediate container 67b835322ea5 [2023-11-09T14:30:33.252Z] ---> 71b602fffa35 [2023-11-09T14:30:33.252Z] Step 11/12 : COPY . . [2023-11-09T14:30:33.839Z] ---> 59d289a4ce1d [2023-11-09T14:30:33.839Z] Step 12/12 : RUN $MAKE [2023-11-09T14:30:34.110Z] ---> Running in af5cfadfe91d [2023-11-09T14:30:35.073Z] noop [2023-11-09T14:30:35.660Z] Removing intermediate container af5cfadfe91d [2023-11-09T14:30:35.660Z] ---> de78e13ba16c [2023-11-09T14:30:35.660Z] Successfully built de78e13ba16c [2023-11-09T14:30:35.660Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:30:36.143Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:30:36.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:30:36.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-17138 does not seem to be running inside a container [2023-11-09T14:30:36.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:30:37.662Z] $ docker top 257512b9770419ad0eaef3ce83e5a5b9849af2d01fd2cd26db7ac8b74be144bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:30:38.546Z] + go version [2023-11-09T14:30:38.546Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-09T14:30:38.584Z] $ docker stop --time=1 257512b9770419ad0eaef3ce83e5a5b9849af2d01fd2cd26db7ac8b74be144bc [2023-11-09T14:30:40.197Z] $ docker rm -f --volumes 257512b9770419ad0eaef3ce83e5a5b9849af2d01fd2cd26db7ac8b74be144bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:30:41.099Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:30:41.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:30:41.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-17138 does not seem to be running inside a container [2023-11-09T14:30:41.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:30:42.593Z] $ docker top 2a9eb9adce637b4a73256db8577b4f462871620fcdd9f85cb9cc6b9370b6820f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:30:43.154Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:30:43.802Z] + make test [2023-11-09T14:30:44.069Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:30:49.542Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:32:26.196Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:32:26.196Z] ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements [2023-11-09T14:32:26.196Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-09T14:32:26.196Z] go vet ./... [2023-11-09T14:32:38.512Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:32:38.512Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:32:38.512Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:32:38.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:32:38.609Z] $ docker stop --time=1 2a9eb9adce637b4a73256db8577b4f462871620fcdd9f85cb9cc6b9370b6820f [2023-11-09T14:32:40.507Z] $ docker rm -f --volumes 2a9eb9adce637b4a73256db8577b4f462871620fcdd9f85cb9cc6b9370b6820f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:32:41.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:32:41.849Z] Warning: overwriting stash ‘coverage-report’ [2023-11-09T14:32:42.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:32:43.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:32:43.376Z] + ls -al . [2023-11-09T14:32:43.376Z] total 176 [2023-11-09T14:32:43.376Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:30 . [2023-11-09T14:32:43.376Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:28 .. [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:28 .dockerignore [2023-11-09T14:32:43.376Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:28 .git [2023-11-09T14:32:43.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:28 .github [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:28 .gitignore [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:28 .golangci.yml [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:28 Attribution.txt [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 14:28 CHANGELOG.md [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:28 Dockerfile [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:28 GOVERNANCE.md [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:28 Jenkinsfile [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:28 LICENSE [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:28 Makefile [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:28 OWNERS.md [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:28 README.md [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:26 VERSION [2023-11-09T14:32:43.376Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:28 bin [2023-11-09T14:32:43.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:28 cmd [2023-11-09T14:32:43.376Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:32 coverage.out [2023-11-09T14:32:43.376Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:28 driver [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:28 go.mod [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:28 go.sum [2023-11-09T14:32:43.376Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:28 openapi [2023-11-09T14:32:43.376Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:32:43.811Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3f5745b9430ec2ede972e81d57068a7a4028a5f6 --label arch=arm64 --label version=0.0.0 . [2023-11-09T14:32:43.811Z] Sending build context to Docker daemon 142.8kB [2023-11-09T14:32:44.080Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:32:44.080Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:32:44.080Z] ---> de78e13ba16c [2023-11-09T14:32:44.080Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:32:44.080Z] ---> Running in 04f8636e48a2 [2023-11-09T14:32:44.347Z] Removing intermediate container 04f8636e48a2 [2023-11-09T14:32:44.347Z] ---> 3723eacdf622 [2023-11-09T14:32:44.348Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:32:44.614Z] ---> Running in 6a19993ca404 [2023-11-09T14:32:44.883Z] Removing intermediate container 6a19993ca404 [2023-11-09T14:32:44.883Z] ---> f38cf7d7cdb4 [2023-11-09T14:32:44.883Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:32:44.883Z] ---> Running in 9618d945bd91 [2023-11-09T14:32:47.970Z] Removing intermediate container 9618d945bd91 [2023-11-09T14:32:47.970Z] ---> e2321ca40c4a [2023-11-09T14:32:47.970Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:32:48.242Z] ---> Running in a81050187529 [2023-11-09T14:32:48.515Z] Removing intermediate container a81050187529 [2023-11-09T14:32:48.515Z] ---> 90d022b99280 [2023-11-09T14:32:48.515Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:32:48.791Z] ---> Running in 0fd6693a879c [2023-11-09T14:32:49.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:32:50.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:32:51.443Z] OK: 270 MiB in 56 packages [2023-11-09T14:32:52.407Z] Removing intermediate container 0fd6693a879c [2023-11-09T14:32:52.407Z] ---> 527e6d619b0e [2023-11-09T14:32:52.407Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:32:52.407Z] ---> Running in d1d22f4323e2 [2023-11-09T14:32:52.676Z] Removing intermediate container d1d22f4323e2 [2023-11-09T14:32:52.676Z] ---> 89e6a8322445 [2023-11-09T14:32:52.676Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:32:53.408Z] ---> ce2bf8d4b964 [2023-11-09T14:32:53.408Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:32:53.408Z] ---> Running in d5b61dd34056 [2023-11-09T14:32:56.822Z] Removing intermediate container d5b61dd34056 [2023-11-09T14:32:56.822Z] ---> 565046de7424 [2023-11-09T14:32:56.822Z] Step 11/25 : COPY . . [2023-11-09T14:32:57.434Z] ---> 7f8894cd54b1 [2023-11-09T14:32:57.434Z] Step 12/25 : RUN $MAKE [2023-11-09T14:32:57.434Z] ---> Running in 8204704e054b [2023-11-09T14:33:02.790Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:35:09.531Z] Removing intermediate container 8204704e054b [2023-11-09T14:35:09.531Z] ---> efadf6654dc5 [2023-11-09T14:35:09.531Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T14:35:09.531Z] 3.18: Pulling from library/alpine [2023-11-09T14:35:09.531Z] 579b34f0a95b: Pulling fs layer [2023-11-09T14:35:09.531Z] 579b34f0a95b: Verifying Checksum [2023-11-09T14:35:09.531Z] 579b34f0a95b: Download complete [2023-11-09T14:35:09.531Z] 579b34f0a95b: Pull complete [2023-11-09T14:35:09.531Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:35:09.531Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:35:09.531Z] ---> 3cc203321400 [2023-11-09T14:35:09.531Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:35:09.531Z] ---> Running in 51cdfa6d4923 [2023-11-09T14:35:09.531Z] Removing intermediate container 51cdfa6d4923 [2023-11-09T14:35:09.531Z] ---> ec5e66ffcb60 [2023-11-09T14:35:09.531Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:35:09.531Z] ---> Running in fb7109efbe66 [2023-11-09T14:35:09.531Z] Removing intermediate container fb7109efbe66 [2023-11-09T14:35:09.531Z] ---> db2796151c88 [2023-11-09T14:35:09.531Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:35:09.531Z] ---> Running in 3fca74f67784 [2023-11-09T14:35:09.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:35:09.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:35:09.531Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:35:09.531Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:35:09.531Z] OK: 8 MiB in 16 packages [2023-11-09T14:35:09.531Z] Removing intermediate container 3fca74f67784 [2023-11-09T14:35:09.531Z] ---> 51d04eb10024 [2023-11-09T14:35:09.531Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:35:09.531Z] ---> 6642dc51689c [2023-11-09T14:35:09.531Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:35:09.531Z] ---> 4d0c676f1e30 [2023-11-09T14:35:09.531Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:35:09.531Z] ---> 9ff90dadf59a [2023-11-09T14:35:09.531Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:35:09.531Z] ---> Running in 51c8b61b1b4d [2023-11-09T14:35:09.531Z] Removing intermediate container 51c8b61b1b4d [2023-11-09T14:35:09.531Z] ---> b4998a755cca [2023-11-09T14:35:09.531Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:35:09.531Z] ---> Running in b1d583d09b08 [2023-11-09T14:35:09.531Z] Removing intermediate container b1d583d09b08 [2023-11-09T14:35:09.531Z] ---> e8a41aa2c177 [2023-11-09T14:35:09.531Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:35:09.531Z] ---> Running in da83c40f417c [2023-11-09T14:35:09.531Z] Removing intermediate container da83c40f417c [2023-11-09T14:35:09.531Z] ---> 51cf010ea827 [2023-11-09T14:35:09.531Z] Step 23/25 : LABEL arch=arm64 [2023-11-09T14:35:09.531Z] ---> Running in e9398e7953ca [2023-11-09T14:35:09.531Z] Removing intermediate container e9398e7953ca [2023-11-09T14:35:09.531Z] ---> 42e3e2755865 [2023-11-09T14:35:09.531Z] Step 24/25 : LABEL git_sha=3f5745b9430ec2ede972e81d57068a7a4028a5f6 [2023-11-09T14:35:09.531Z] ---> Running in fd4fadba6c12 [2023-11-09T14:35:09.531Z] Removing intermediate container fd4fadba6c12 [2023-11-09T14:35:09.531Z] ---> 7c5dab9dc012 [2023-11-09T14:35:09.531Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T14:35:09.531Z] ---> Running in 2c5e5b0936d9 [2023-11-09T14:35:09.531Z] Removing intermediate container 2c5e5b0936d9 [2023-11-09T14:35:09.531Z] ---> 6a1f8df4f8a8 [2023-11-09T14:35:09.531Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:35:09.531Z] Successfully built 6a1f8df4f8a8 [2023-11-09T14:35:09.531Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:35:10.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:35:10.355Z] [2023-11-09T14:35:10.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:35:10.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:35:10.787Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-09T14:35:10.787Z] 8998bd30e6a1: Pulling fs layer [2023-11-09T14:35:10.787Z] 04944245beec: Pulling fs layer [2023-11-09T14:35:10.787Z] 699f458cf7ca: Pulling fs layer [2023-11-09T14:35:10.787Z] 765212b225bb: Pulling fs layer [2023-11-09T14:35:10.787Z] f23df028b6ca: Pulling fs layer [2023-11-09T14:35:10.787Z] d65c8cfc05b1: Pulling fs layer [2023-11-09T14:35:10.787Z] 2437ff75d9bd: Pulling fs layer [2023-11-09T14:35:10.787Z] 765212b225bb: Waiting [2023-11-09T14:35:10.787Z] f23df028b6ca: Waiting [2023-11-09T14:35:10.787Z] 2437ff75d9bd: Waiting [2023-11-09T14:35:11.055Z] 04944245beec: Verifying Checksum [2023-11-09T14:35:11.055Z] 04944245beec: Download complete [2023-11-09T14:35:11.055Z] 765212b225bb: Verifying Checksum [2023-11-09T14:35:11.055Z] f23df028b6ca: Verifying Checksum [2023-11-09T14:35:11.055Z] f23df028b6ca: Download complete [2023-11-09T14:35:11.055Z] d65c8cfc05b1: Verifying Checksum [2023-11-09T14:35:11.055Z] d65c8cfc05b1: Download complete [2023-11-09T14:35:11.322Z] 699f458cf7ca: Verifying Checksum [2023-11-09T14:35:11.323Z] 699f458cf7ca: Download complete [2023-11-09T14:35:11.590Z] 8998bd30e6a1: Download complete [2023-11-09T14:35:14.168Z] 2437ff75d9bd: Verifying Checksum [2023-11-09T14:35:14.168Z] 2437ff75d9bd: Download complete [2023-11-09T14:35:16.115Z] 8998bd30e6a1: Pull complete [2023-11-09T14:35:16.697Z] 04944245beec: Pull complete [2023-11-09T14:35:18.100Z] 699f458cf7ca: Pull complete [2023-11-09T14:35:18.365Z] 765212b225bb: Pull complete [2023-11-09T14:35:21.698Z] f23df028b6ca: Pull complete [2023-11-09T14:35:21.698Z] d65c8cfc05b1: Pull complete [2023-11-09T14:35:39.890Z] 2437ff75d9bd: Pull complete [2023-11-09T14:35:39.890Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-09T14:35:39.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:35:39.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:35:40.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-17138 does not seem to be running inside a container [2023-11-09T14:35:40.289Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-09T14:35:42.850Z] $ docker top 4752cac000f9d0a646f6fd0bd3e70f7acc415fcabcc8200a50ba913de531c0ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:35:43.738Z] ---> job-cost.sh [2023-11-09T14:35:43.738Z] lf-activate-venv: SKIPPING [2023-11-09T14:35:43.738Z] INFO: No Stack... [2023-11-09T14:35:44.002Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-09T14:35:44.952Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:35:45.299Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-09T14:35:45.299Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T14:35:45.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [2023-11-09T14:35:45.385Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] did not exist. Created. [2023-11-09T14:35:45.385Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:35:46.109Z] /w/workspace/device-rest-go/1@tmp/durable-9e01e3d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-09T14:35:46.458Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-09T14:35:46.494Z] Warning: overwriting stash ‘stack-cost’ [2023-11-09T14:35:46.534Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:35:46.548Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:35:46.635Z] $ docker stop --time=1 4752cac000f9d0a646f6fd0bd3e70f7acc415fcabcc8200a50ba913de531c0ae [2023-11-09T14:35:51.250Z] $ docker rm -f --volumes 4752cac000f9d0a646f6fd0bd3e70f7acc415fcabcc8200a50ba913de531c0ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-09T14:35:52.230Z] provisioning config files... [2023-11-09T14:35:52.240Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config338956604874387318tmp [Pipeline] { [Pipeline] sh [2023-11-09T14:35:52.576Z] + set +x [2023-11-09T14:35:52.576Z] + + curl -sbash https://codecov.io/bash -s [2023-11-09T14:35:52.576Z] -- [2023-11-09T14:35:52.576Z] [2023-11-09T14:35:52.576Z] _____ _ [2023-11-09T14:35:52.576Z] / ____| | | [2023-11-09T14:35:52.576Z] | | ___ __| | ___ ___ _____ __ [2023-11-09T14:35:52.576Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-09T14:35:52.576Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-09T14:35:52.576Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-09T14:35:52.576Z] Bash-1.0.6 [2023-11-09T14:35:52.576Z] [2023-11-09T14:35:52.576Z] [2023-11-09T14:35:52.576Z] ==> git version 2.25.1 found [2023-11-09T14:35:52.576Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-09T14:35:52.576Z] Release-Date: 2020-01-08 [2023-11-09T14:35:52.576Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-09T14:35:52.576Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-09T14:35:52.576Z] ==> Jenkins CI detected. [2023-11-09T14:35:52.576Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-366 [2023-11-09T14:35:52.576Z] project root: . [2023-11-09T14:35:52.576Z] --> token set from env [2023-11-09T14:35:52.576Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-09T14:35:52.576Z] ==> Running gcov in . (disable via -X gcov) [2023-11-09T14:35:52.838Z] ==> Python coveragepy not found [2023-11-09T14:35:52.838Z] ==> Searching for coverage reports in: [2023-11-09T14:35:52.838Z] + . [2023-11-09T14:35:52.838Z] -> Found 1 reports [2023-11-09T14:35:52.838Z] ==> Detecting git/mercurial file structure [2023-11-09T14:35:52.838Z] ==> Reading reports [2023-11-09T14:35:52.838Z] + ./coverage.out bytes=14499 [2023-11-09T14:35:52.838Z] ==> Appending adjustments [2023-11-09T14:35:52.838Z] https://docs.codecov.io/docs/fixing-reports [2023-11-09T14:35:52.838Z] + Found adjustments [2023-11-09T14:35:52.838Z] ==> Gzipping contents [2023-11-09T14:35:52.838Z] 4.0K /tmp/codecov.yLGc8p.gz [2023-11-09T14:35:52.838Z] ==> Uploading reports [2023-11-09T14:35:52.838Z] url: https://codecov.io [2023-11-09T14:35:52.838Z] query: branch=PR-366&commit=3f5745b9430ec2ede972e81d57068a7a4028a5f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-11-09T14:35:52.838Z] -> Pinging Codecov [2023-11-09T14:35:52.838Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-366&commit=3f5745b9430ec2ede972e81d57068a7a4028a5f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= [2023-11-09T14:35:52.838Z] -> Uploading to [2023-11-09T14:35:52.839Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/3f5745b9430ec2ede972e81d57068a7a4028a5f6/4725745b-c716-400f-acc4-3fb86e3092da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T143552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b42aef5d196dbd2defbe03fb41c8a0dcedea9ba542c9935e513ad01de3fae046 [2023-11-09T14:35:52.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:35:52.839Z] Dload Upload Total Spent Left Speed [2023-11-09T14:35:53.099Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11321 --:--:-- --:--:-- --:--:-- 11321 100 2321 0 0 100 2321 0 8379 --:--:-- --:--:-- --:--:-- 8348 [2023-11-09T14:35:53.099Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3f5745b9430ec2ede972e81d57068a7a4028a5f6 [Pipeline] } [2023-11-09T14:35:53.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-11-09T14:35:54.888Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-366/archives ] [2023-11-09T14:35:54.888Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T14:35:54.888Z] total 16 [2023-11-09T14:35:54.888Z] drwxr-xr-x 3 root root 4096 Nov 9 14:28 . [2023-11-09T14:35:54.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:28 .. [2023-11-09T14:35:54.888Z] drwxr-xr-x 2 root root 4096 Nov 9 14:28 cost [2023-11-09T14:35:54.888Z] -rw-r--r-- 1 root root 86 Nov 9 14:28 cost.csv [2023-11-09T14:35:54.888Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T14:35:54.888Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives [2023-11-09T14:35:54.888Z] total 16 [2023-11-09T14:35:54.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:28 . [2023-11-09T14:35:54.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:28 .. [2023-11-09T14:35:54.888Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 14:28 cost [2023-11-09T14:35:54.888Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 9 14:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:35:55.229Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:35:56.126Z] ---> package-listing.sh [2023-11-09T14:35:56.126Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-09T14:35:56.126Z] ++ facter osfamily [2023-11-09T14:35:56.386Z] + OS_FAMILY=debian [2023-11-09T14:35:56.386Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-366 [2023-11-09T14:35:56.386Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-09T14:35:56.386Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-09T14:35:56.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-09T14:35:56.386Z] + PACKAGES=/tmp/packages_start.txt [2023-11-09T14:35:56.386Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' [2023-11-09T14:35:56.386Z] + PACKAGES=/tmp/packages_end.txt [2023-11-09T14:35:56.386Z] + case "${OS_FAMILY}" in [2023-11-09T14:35:56.386Z] + dpkg -l [2023-11-09T14:35:56.386Z] + grep '^ii' [2023-11-09T14:35:56.386Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-09T14:35:56.386Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-09T14:35:56.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-09T14:35:56.386Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' [2023-11-09T14:35:56.386Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ [2023-11-09T14:35:56.386Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ [Pipeline] echo [2023-11-09T14:35:56.423Z] 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/gexfoundry_device-rest-go_PR-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-09T14:35:56.717Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:35:57.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:35:57.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:35:57.485Z] prd-ubuntu20.04-docker-8c-8g-17137 does not seem to be running inside a container [2023-11-09T14:35:57.518Z] $ 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/gexfoundry_device-rest-go_PR-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:35:57.711Z] $ docker top c3dfddfe1eb001e66f02ee13eb9c97fb641aa12b1f7a00a9ce3dd1a6c5938a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:35:58.102Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-09T14:35:58.453Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-09T14:35:58.764Z] + ls /var/log/sa-host [2023-11-09T14:35:58.764Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:35:58.999Z] provisioning config files... [2023-11-09T14:35:59.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config9842499626174692408tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:35:59.062Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:35:59.374Z] ---> create-netrc.sh [Pipeline] } [2023-11-09T14:35:59.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:35:59.822Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-09T14:35:59.858Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:36:00.175Z] ---> sudo-logs.sh [2023-11-09T14:36:00.175Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-09T14:36:00.267Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:36:00.585Z] ---> job-cost.sh [2023-11-09T14:36:00.585Z] lf-activate-venv: SKIPPING [2023-11-09T14:36:00.585Z] DEBUG: total: 0.2199999988079071 [2023-11-09T14:36:00.585Z] INFO: Retrieving Stack Cost... [2023-11-09T14:36:01.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:36:01.413Z] INFO: Archiving Costs [Pipeline] echo [2023-11-09T14:36:01.449Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:36:01.766Z] ---> logs-deploy.sh [2023-11-09T14:36:01.766Z] lf-activate-venv: SKIPPING [2023-11-09T14:36:01.766Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-366/1 [2023-11-09T14:36:01.766Z] INFO: archiving workspace using pattern(s): [2023-11-09T14:36:02.706Z] Archives upload complete. [2023-11-09T14:36:02.968Z] INFO: archiving logs to Nexus [2023-11-09T14:36:03.537Z] ---> uname -a: [2023-11-09T14:36:03.537Z] Linux prd-ubuntu20-04-docker-8c-8g-17137 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-09T14:36:03.537Z] [2023-11-09T14:36:03.537Z] [2023-11-09T14:36:03.537Z] ---> lscpu: [2023-11-09T14:36:03.537Z] Architecture: x86_64 [2023-11-09T14:36:03.537Z] CPU op-mode(s): 32-bit, 64-bit [2023-11-09T14:36:03.537Z] Byte Order: Little Endian [2023-11-09T14:36:03.537Z] Address sizes: 40 bits physical, 48 bits virtual [2023-11-09T14:36:03.537Z] CPU(s): 8 [2023-11-09T14:36:03.537Z] On-line CPU(s) list: 0-7 [2023-11-09T14:36:03.537Z] Thread(s) per core: 1 [2023-11-09T14:36:03.537Z] Core(s) per socket: 1 [2023-11-09T14:36:03.537Z] Socket(s): 8 [2023-11-09T14:36:03.537Z] NUMA node(s): 1 [2023-11-09T14:36:03.537Z] Vendor ID: AuthenticAMD [2023-11-09T14:36:03.537Z] CPU family: 23 [2023-11-09T14:36:03.537Z] Model: 49 [2023-11-09T14:36:03.537Z] Model name: AMD EPYC-Rome Processor [2023-11-09T14:36:03.537Z] Stepping: 0 [2023-11-09T14:36:03.537Z] CPU MHz: 2799.998 [2023-11-09T14:36:03.537Z] BogoMIPS: 5599.99 [2023-11-09T14:36:03.537Z] Virtualization: AMD-V [2023-11-09T14:36:03.537Z] Hypervisor vendor: KVM [2023-11-09T14:36:03.537Z] Virtualization type: full [2023-11-09T14:36:03.537Z] L1d cache: 256 KiB [2023-11-09T14:36:03.537Z] L1i cache: 256 KiB [2023-11-09T14:36:03.537Z] L2 cache: 4 MiB [2023-11-09T14:36:03.537Z] L3 cache: 128 MiB [2023-11-09T14:36:03.537Z] NUMA node0 CPU(s): 0-7 [2023-11-09T14:36:03.537Z] Vulnerability Itlb multihit: Not affected [2023-11-09T14:36:03.537Z] Vulnerability L1tf: Not affected [2023-11-09T14:36:03.537Z] Vulnerability Mds: Not affected [2023-11-09T14:36:03.537Z] Vulnerability Meltdown: Not affected [2023-11-09T14:36:03.537Z] Vulnerability Mmio stale data: Not affected [2023-11-09T14:36:03.537Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-11-09T14:36:03.537Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-11-09T14:36:03.537Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-11-09T14:36:03.537Z] Vulnerability Srbds: Not affected [2023-11-09T14:36:03.537Z] Vulnerability Tsx async abort: Not affected [2023-11-09T14:36:03.538Z] 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-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] ---> nproc: [2023-11-09T14:36:03.538Z] 8 [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] ---> df -h: [2023-11-09T14:36:03.538Z] Filesystem Size Used Avail Use% Mounted on [2023-11-09T14:36:03.538Z] overlay 155G 12G 144G 8% / [2023-11-09T14:36:03.538Z] tmpfs 64M 0 64M 0% /dev [2023-11-09T14:36:03.538Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-11-09T14:36:03.538Z] shm 64M 0 64M 0% /dev/shm [2023-11-09T14:36:03.538Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] ---> sar -b -r -n DEV: [2023-11-09T14:36:03.538Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-17137) 11/09/23 _x86_64_ (8 CPU) [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] 14:25:06 LINUX RESTART (8 CPU) [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] 14:26:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-11-09T14:36:03.538Z] 14:27:01 199.88 4.81 195.07 0.00 447.11 131253.28 0.00 [2023-11-09T14:36:03.538Z] 14:28:01 139.63 0.22 139.41 0.00 12.00 58219.36 0.00 [2023-11-09T14:36:03.538Z] 14:29:01 159.96 0.08 159.87 0.00 14.66 37301.25 0.00 [2023-11-09T14:36:03.538Z] 14:30:01 2.03 0.00 2.03 0.00 0.00 24.81 0.00 [2023-11-09T14:36:03.538Z] 14:31:01 46.61 10.63 35.98 0.00 3456.76 5924.61 0.00 [2023-11-09T14:36:03.538Z] 14:32:01 3.92 0.02 3.90 0.00 0.13 81.99 0.00 [2023-11-09T14:36:03.538Z] 14:33:01 1.13 0.00 1.13 0.00 0.00 13.33 0.00 [2023-11-09T14:36:03.538Z] 14:34:01 1.55 0.00 1.55 0.00 0.00 17.33 0.00 [2023-11-09T14:36:03.538Z] 14:35:01 1.57 0.00 1.57 0.00 0.00 17.86 0.00 [2023-11-09T14:36:03.538Z] 14:36:01 6.07 0.28 5.78 0.00 20.53 110.38 0.00 [2023-11-09T14:36:03.538Z] Average: 55.99 1.60 54.39 0.00 395.03 23116.22 0.00 [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] 14:26:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-11-09T14:36:03.538Z] 14:27:01 28305552 31542396 756244 2.30 115964 3329960 2027980 5.98 1191288 2923164 162440 [2023-11-09T14:36:03.538Z] 14:28:01 28389004 31521104 773568 2.35 154020 3179344 1966384 5.80 1220496 2798224 484 [2023-11-09T14:36:03.538Z] 14:29:01 27638776 31568172 723736 2.20 165484 3898536 1757436 5.18 1258912 3441136 364 [2023-11-09T14:36:03.538Z] 14:30:01 27638928 31568364 723160 2.20 165532 3898536 1757436 5.18 1258708 3441136 44 [2023-11-09T14:36:03.538Z] 14:31:01 27292640 31550812 720564 2.19 188000 4195372 1740556 5.13 1485812 3527156 20 [2023-11-09T14:36:03.538Z] 14:32:01 27297840 31551148 720420 2.19 186556 4192124 1704792 5.02 1484616 3523924 12 [2023-11-09T14:36:03.538Z] 14:33:01 27298588 31551908 719556 2.19 186600 4192128 1704792 5.02 1483876 3523924 12 [2023-11-09T14:36:03.538Z] 14:34:01 27306668 31560164 711304 2.16 186624 4192256 1704792 5.02 1476060 3524032 12 [2023-11-09T14:36:03.538Z] 14:35:01 27306820 31560404 711220 2.16 186712 4192248 1704792 5.02 1476140 3524056 0 [2023-11-09T14:36:03.538Z] 14:36:01 27268672 31524988 741484 2.25 186860 4193624 1769224 5.21 1509248 3521268 172 [2023-11-09T14:36:03.538Z] Average: 27574349 31549946 730126 2.22 172235 3946413 1783818 5.26 1384516 3374802 16356 [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z] 14:26:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-11-09T14:36:03.538Z] 14:27:01 docker0 238.91 379.95 20.09 2641.11 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:27:01 ens3 563.55 349.87 7308.93 47.82 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:27:01 lo 3.12 3.12 0.31 0.31 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:28:01 docker0 1.30 2.88 0.08 30.90 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:28:01 ens3 35.54 22.40 65.29 14.02 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:28:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:28:01 vethd9e9fba 1.30 2.80 0.10 30.89 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:29:01 docker0 2.03 3.67 0.12 31.44 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:29:01 ens3 117.95 71.74 2629.79 16.37 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:29:01 lo 1.67 1.67 0.17 0.17 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:30:01 ens3 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:31:01 ens3 139.14 49.66 2080.97 3.71 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:31:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:32:01 ens3 0.18 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:33:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:34:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:35:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:36:01 ens3 25.38 16.21 28.35 9.64 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] 14:36:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] Average: docker0 23.87 38.08 2.00 266.39 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] Average: ens3 87.41 50.53 1201.16 9.09 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] Average: lo 0.72 0.72 0.07 0.07 0.00 0.00 0.00 0.00 [2023-11-09T14:36:03.538Z] [2023-11-09T14:36:03.538Z]