Pull request #359 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 90ccbe8c3959e88cf292f2cee2145a297c115455+be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 (a78b13bfa938d33d668988de2baa6f24454a5029) 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-ssh15706969628205647776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh5312484318477189469.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-359/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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9930133072761198595.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-359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7524495629698522867.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh12325817166879942380.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-359/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-359/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11441180231190078350.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-16279 in /w/workspace/gexfoundry_device-rest-go_PR-359 [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-359 # 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 > 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/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 into PR head commit 90ccbe8c3959e88cf292f2cee2145a297c115455 Merge succeeded, producing 90ccbe8c3959e88cf292f2cee2145a297c115455 Checking out Revision 90ccbe8c3959e88cf292f2cee2145a297c115455 (PR-359) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 90ccbe8c3959e88cf292f2cee2145a297c115455 # 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 be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90ccbe8c3959e88cf292f2cee2145a297c115455 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T20:08:22.487Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T20:08:22.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T20:08:22.790Z] ========================================================= [2023-11-01T20:08:22.790Z] EdgeX Global Pipelines Version Info [2023-11-01T20:08:22.790Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:08:23.894Z] ------------------- [2023-11-01T20:08:23.894Z] stable info: [2023-11-01T20:08:23.894Z] ------------------- [2023-11-01T20:08:23.894Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T20:08:23.894Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T20:08:23.894Z] Message: update stable to v1.0.255 [2023-11-01T20:08:24.155Z] ------------------- [2023-11-01T20:08:24.155Z] experimental info: [2023-11-01T20:08:24.155Z] ------------------- [2023-11-01T20:08:24.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T20:08:24.155Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T20:08:24.155Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T20:08:24.472Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-01T20:08:24.514Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-01T20:08:24.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T20:08:24.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T20:08:24.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T20:08:24.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T20:08:24.726Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T20:08:24.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-01T20:08:24.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T20:08:24.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T20:08:24.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T20:08:24.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-01T20:08:25.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T20:08:25.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T20:08:25.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T20:08:25.138Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T20:08:25.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T20:08:25.222Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T20:08:25.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T20:08:25.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T20:08:25.346Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-01T20:08:25.386Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-01T20:08:25.424Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T20:08:25.471Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T20:08:25.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T20:08:25.555Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T20:08:25.599Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T20:08:25.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-359 [Pipeline] echo [2023-11-01T20:08:25.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-359 [Pipeline] echo [2023-11-01T20:08:25.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-359 [Pipeline] echo [2023-11-01T20:08:25.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] echo [2023-11-01T20:08:25.817Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90ccbe8 [Pipeline] echo [2023-11-01T20:08:25.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:08:25.991Z] provisioning config files... [2023-11-01T20:08:26.008Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/config10917998607316786203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:08:26.352Z] ---> docker-login.sh [2023-11-01T20:08:26.353Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:08:27.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:27.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:27.335Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:27.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:27.335Z] [2023-11-01T20:08:27.335Z] Login Succeeded [2023-11-01T20:08:27.335Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:08:27.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:27.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:27.596Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:27.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:27.596Z] [2023-11-01T20:08:27.596Z] Login Succeeded [2023-11-01T20:08:27.596Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:08:27.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:27.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:27.596Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:27.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:27.596Z] [2023-11-01T20:08:27.596Z] Login Succeeded [2023-11-01T20:08:27.596Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:08:27.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:27.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:27.855Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:27.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:27.855Z] [2023-11-01T20:08:27.855Z] Login Succeeded [2023-11-01T20:08:27.855Z] docker.io [2023-11-01T20:08:27.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:28.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:28.116Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:28.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:28.116Z] [2023-11-01T20:08:28.116Z] Login Succeeded [2023-11-01T20:08:28.116Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:08:28.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T20:08:28.789Z] + git rev-list -1 --merges 90ccbe8c3959e88cf292f2cee2145a297c115455~1..90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] echo [2023-11-01T20:08:28.853Z] -----------> git rev-list -1 --merges 90ccbe8c3959e88cf292f2cee2145a297c115455~1..90ccbe8c3959e88cf292f2cee2145a297c115455 90ccbe8c3959e88cf292f2cee2145a297c115455 [false] [Pipeline] sh [2023-11-01T20:08:29.166Z] + git log --format=format:%s -1 90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] echo [2023-11-01T20:08:29.206Z] ========================================================= [2023-11-01T20:08:29.206Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T20:08:29.206Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:08:29.672Z] + git log --format=format:%s -1 90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] echo [2023-11-01T20:08:29.721Z] [semverPrep] GIT_COMMIT: 90ccbe8c3959e88cf292f2cee2145a297c115455, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-11-01T20:08:29.751Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T20:08:30.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T20:08:30.160Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T20:08:30.160Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T20:08:30.160Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T20:08:30.160Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T20:08:30.160Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T20:08:30.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:08:30.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:08:30.672Z] [2023-11-01T20:08:30.672Z] 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-01T20:08:31.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:08:31.054Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T20:08:31.054Z] b85a868b505f: Pulling fs layer [2023-11-01T20:08:31.054Z] e2be974225ed: Pulling fs layer [2023-11-01T20:08:31.054Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T20:08:31.054Z] 988bab9f4d93: Pulling fs layer [2023-11-01T20:08:31.054Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T20:08:31.054Z] eaf3925da568: Pulling fs layer [2023-11-01T20:08:31.054Z] bab4dde63d76: Pulling fs layer [2023-11-01T20:08:31.054Z] bde34c3a00c8: Pulling fs layer [2023-11-01T20:08:31.054Z] b352a97aabf1: Pulling fs layer [2023-11-01T20:08:31.054Z] 4872d77fe225: Pulling fs layer [2023-11-01T20:08:31.054Z] 5851b861e8e6: Pulling fs layer [2023-11-01T20:08:31.054Z] 1469e6f7b9e6: Waiting [2023-11-01T20:08:31.054Z] eaf3925da568: Waiting [2023-11-01T20:08:31.054Z] bab4dde63d76: Waiting [2023-11-01T20:08:31.054Z] bde34c3a00c8: Waiting [2023-11-01T20:08:31.054Z] b352a97aabf1: Waiting [2023-11-01T20:08:31.054Z] 4872d77fe225: Waiting [2023-11-01T20:08:31.054Z] 988bab9f4d93: Waiting [2023-11-01T20:08:31.054Z] e2be974225ed: Verifying Checksum [2023-11-01T20:08:31.054Z] e2be974225ed: Download complete [2023-11-01T20:08:31.054Z] 988bab9f4d93: Verifying Checksum [2023-11-01T20:08:31.054Z] 988bab9f4d93: Download complete [2023-11-01T20:08:31.054Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T20:08:31.054Z] 1469e6f7b9e6: Download complete [2023-11-01T20:08:31.314Z] eaf3925da568: Verifying Checksum [2023-11-01T20:08:31.314Z] eaf3925da568: Download complete [2023-11-01T20:08:31.314Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T20:08:31.314Z] 339a4e72a1f5: Download complete [2023-11-01T20:08:31.314Z] bde34c3a00c8: Verifying Checksum [2023-11-01T20:08:31.314Z] bde34c3a00c8: Download complete [2023-11-01T20:08:31.314Z] b352a97aabf1: Download complete [2023-11-01T20:08:31.314Z] 4872d77fe225: Verifying Checksum [2023-11-01T20:08:31.314Z] 4872d77fe225: Download complete [2023-11-01T20:08:31.314Z] 5851b861e8e6: Verifying Checksum [2023-11-01T20:08:31.314Z] 5851b861e8e6: Download complete [2023-11-01T20:08:31.314Z] b85a868b505f: Verifying Checksum [2023-11-01T20:08:31.314Z] b85a868b505f: Download complete [2023-11-01T20:08:31.574Z] bab4dde63d76: Verifying Checksum [2023-11-01T20:08:31.574Z] bab4dde63d76: Download complete [2023-11-01T20:08:32.511Z] b85a868b505f: Pull complete [2023-11-01T20:08:32.770Z] e2be974225ed: Pull complete [2023-11-01T20:08:33.031Z] 339a4e72a1f5: Pull complete [2023-11-01T20:08:33.291Z] 988bab9f4d93: Pull complete [2023-11-01T20:08:33.551Z] 1469e6f7b9e6: Pull complete [2023-11-01T20:08:33.551Z] eaf3925da568: Pull complete [2023-11-01T20:08:35.456Z] bab4dde63d76: Pull complete [2023-11-01T20:08:35.456Z] bde34c3a00c8: Pull complete [2023-11-01T20:08:35.456Z] b352a97aabf1: Pull complete [2023-11-01T20:08:35.456Z] 4872d77fe225: Pull complete [2023-11-01T20:08:35.456Z] 5851b861e8e6: Pull complete [2023-11-01T20:08:35.456Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T20:08:35.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T20:08:35.456Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:08:35.710Z] prd-ubuntu20.04-docker-8c-8g-16279 does not seem to be running inside a container [2023-11-01T20:08:35.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-359 -v /w/workspace/gexfoundry_device-rest-go_PR-359:/w/workspace/gexfoundry_device-rest-go_PR-359:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-359@tmp:/w/workspace/gexfoundry_device-rest-go_PR-359@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T20:08:38.601Z] $ docker top edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 -eo pid,comm [2023-11-01T20:08:38.661Z] 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-01T20:08:38.661Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T20:08:38.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:08:38.796Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:08:38.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:08:38.899Z] $ docker exec edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 ssh-agent [2023-11-01T20:08:39.005Z] SSH_AUTH_SOCK=/tmp/ssh-njSg3FZ9RYYc/agent.32 [2023-11-01T20:08:39.005Z] SSH_AGENT_PID=38 [2023-11-01T20:08:39.011Z] Running ssh-add (command line suppressed) [2023-11-01T20:08:39.121Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-359@tmp/private_key_16664554640458091222.key (/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/private_key_16664554640458091222.key) [2023-11-01T20:08:39.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:08:39.497Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T20:08:39.522Z] $ docker exec --env ******** --env ******** edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 ssh-agent -k [2023-11-01T20:08:39.610Z] unset SSH_AUTH_SOCK; [2023-11-01T20:08:39.610Z] unset SSH_AGENT_PID; [2023-11-01T20:08:39.610Z] echo Agent pid 38 killed; [2023-11-01T20:08:39.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T20:08:39.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T20:08:39.717Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T20:08:39.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T20:08:39.836Z] $ docker exec edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 ssh-agent [2023-11-01T20:08:39.954Z] SSH_AUTH_SOCK=/tmp/ssh-MYc4XseJg8kF/agent.70 [2023-11-01T20:08:39.954Z] SSH_AGENT_PID=76 [2023-11-01T20:08:39.959Z] Running ssh-add (command line suppressed) [2023-11-01T20:08:40.061Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-359@tmp/private_key_9341911717433211972.key (/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/private_key_9341911717433211972.key) [2023-11-01T20:08:40.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T20:08:40.407Z] + git semver init [2023-11-01T20:08:40.668Z] 2023-11-01 20:08:40,573 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T20:08:40.668Z] 2023-11-01 20:08:40,573 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-359/.semver [2023-11-01T20:08:40.668Z] 2023-11-01 20:08:40,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-359/.semver [2023-11-01T20:08:40.668Z] 2023-11-01 20:08:40,574 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-359/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-359, universal_newlines=False, shell=None, istream=None) [2023-11-01T20:08:42.048Z] 2023-11-01 20:08:41,631 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-359/.git/info/exclude [2023-11-01T20:08:42.048Z] 2023-11-01 20:08:41,631 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-359/.semver/PR-359 with force:False [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,631 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-359/.semver/PR-359 [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,636 [execute] INFO git cat-file --batch-check [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,642 [execute] INFO git cat-file --batch [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-359/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T20:08:42.049Z] 2023-11-01 20:08:41,647 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-359/.semver/PR-359 [2023-11-01T20:08:42.049Z] 0.0.0 [Pipeline] } [2023-11-01T20:08:42.072Z] $ docker exec --env ******** --env ******** edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 ssh-agent -k [2023-11-01T20:08:42.175Z] unset SSH_AUTH_SOCK; [2023-11-01T20:08:42.175Z] unset SSH_AGENT_PID; [2023-11-01T20:08:42.175Z] echo Agent pid 76 killed; [2023-11-01T20:08:42.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T20:08:42.616Z] + git semver [Pipeline] } [2023-11-01T20:08:42.899Z] $ docker stop --time=1 edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 [2023-11-01T20:08:44.219Z] $ docker rm -f --volumes edbb90db0be7d3794bd07cb7b0bb4006c760ba9a7149cd9a20f1e7190c196aa8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:08:44.634Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T20:08:45.010Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T20:08:45.026Z] [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-01T20:08:45.585Z] provisioning config files... [2023-11-01T20:08:45.596Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/config7399294768478175219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:08:45.942Z] ---> docker-login.sh [2023-11-01T20:08:45.942Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:08:45.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:45.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:45.942Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:45.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:45.942Z] [2023-11-01T20:08:45.942Z] Login Succeeded [2023-11-01T20:08:45.942Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:08:45.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:45.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:45.942Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:45.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:45.942Z] [2023-11-01T20:08:45.942Z] Login Succeeded [2023-11-01T20:08:45.942Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:08:46.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:46.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:46.201Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:46.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:46.201Z] [2023-11-01T20:08:46.201Z] Login Succeeded [2023-11-01T20:08:46.201Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:08:46.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:46.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:46.201Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:46.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:46.201Z] [2023-11-01T20:08:46.201Z] Login Succeeded [2023-11-01T20:08:46.201Z] docker.io [2023-11-01T20:08:46.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:08:46.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:08:46.461Z] Configure a credential helper to remove this warning. See [2023-11-01T20:08:46.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:08:46.461Z] [2023-11-01T20:08:46.461Z] Login Succeeded [2023-11-01T20:08:46.461Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:08:46.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T20:08:46.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:08:46.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:08:46.749Z] ========================================================= [2023-11-01T20:08:46.749Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T20:08:46.749Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:08:47.253Z] + 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-01T20:08:47.253Z] Sending build context to Docker daemon 10.94MB [2023-11-01T20:08:47.253Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:08:47.253Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T20:08:47.253Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T20:08:47.253Z] 7264a8db6415: Pulling fs layer [2023-11-01T20:08:47.253Z] c4d48a809fc2: Pulling fs layer [2023-11-01T20:08:47.253Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T20:08:47.253Z] ad3a456e5733: Pulling fs layer [2023-11-01T20:08:47.253Z] 33e27b845d1e: Pulling fs layer [2023-11-01T20:08:47.253Z] c68163c4e522: Pulling fs layer [2023-11-01T20:08:47.253Z] 50da416c3ac9: Pulling fs layer [2023-11-01T20:08:47.253Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T20:08:47.253Z] 33e27b845d1e: Waiting [2023-11-01T20:08:47.253Z] c68163c4e522: Waiting [2023-11-01T20:08:47.253Z] 50da416c3ac9: Waiting [2023-11-01T20:08:47.253Z] 23d2d4c4bb30: Waiting [2023-11-01T20:08:47.253Z] ad3a456e5733: Waiting [2023-11-01T20:08:47.253Z] c4d48a809fc2: Download complete [2023-11-01T20:08:47.253Z] ad3a456e5733: Download complete [2023-11-01T20:08:47.514Z] 33e27b845d1e: Verifying Checksum [2023-11-01T20:08:47.514Z] 33e27b845d1e: Download complete [2023-11-01T20:08:47.514Z] 7264a8db6415: Download complete [2023-11-01T20:08:47.514Z] c68163c4e522: Verifying Checksum [2023-11-01T20:08:47.514Z] c68163c4e522: Download complete [2023-11-01T20:08:47.514Z] 7264a8db6415: Pull complete [2023-11-01T20:08:47.514Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T20:08:47.514Z] 23d2d4c4bb30: Download complete [2023-11-01T20:08:47.773Z] c4d48a809fc2: Pull complete [2023-11-01T20:08:48.033Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T20:08:48.033Z] 4f1c88b9dad5: Download complete [2023-11-01T20:08:48.297Z] 50da416c3ac9: Verifying Checksum [2023-11-01T20:08:48.297Z] 50da416c3ac9: Download complete [2023-11-01T20:08:50.833Z] 4f1c88b9dad5: Pull complete [2023-11-01T20:08:51.120Z] ad3a456e5733: Pull complete [2023-11-01T20:08:51.120Z] 33e27b845d1e: Pull complete [2023-11-01T20:08:51.379Z] c68163c4e522: Pull complete [2023-11-01T20:08:53.915Z] 50da416c3ac9: Pull complete [2023-11-01T20:08:53.915Z] 23d2d4c4bb30: Pull complete [2023-11-01T20:08:53.915Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T20:08:53.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T20:08:53.915Z] ---> 0786185ac409 [2023-11-01T20:08:53.915Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:08:59.198Z] ---> Running in 903a1020a9e4 [2023-11-01T20:08:59.198Z] Removing intermediate container 903a1020a9e4 [2023-11-01T20:08:59.198Z] ---> 0120f3422147 [2023-11-01T20:08:59.198Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:08:59.198Z] ---> Running in 763b8253d6d0 [2023-11-01T20:08:59.198Z] Removing intermediate container 763b8253d6d0 [2023-11-01T20:08:59.198Z] ---> 3e1f602a5409 [2023-11-01T20:08:59.198Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:08:59.198Z] ---> Running in 664b3f67d8ce [2023-11-01T20:08:59.198Z] Removing intermediate container 664b3f67d8ce [2023-11-01T20:08:59.198Z] ---> b9d9cdb8ee25 [2023-11-01T20:08:59.198Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:08:59.198Z] ---> Running in e759654dbb8d [2023-11-01T20:08:59.198Z] Removing intermediate container e759654dbb8d [2023-11-01T20:08:59.198Z] ---> c058d277b53e [2023-11-01T20:08:59.198Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:08:59.198Z] ---> Running in 71087205f51c [2023-11-01T20:08:59.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:08:59.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:08:59.458Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T20:08:59.458Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T20:08:59.458Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T20:08:59.458Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T20:08:59.458Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:08:59.458Z] OK: 268 MiB in 56 packages [2023-11-01T20:09:00.025Z] Removing intermediate container 71087205f51c [2023-11-01T20:09:00.025Z] ---> efcf5d5765ff [2023-11-01T20:09:00.025Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T20:09:00.025Z] ---> Running in 3c24c4e076da [2023-11-01T20:09:00.025Z] Removing intermediate container 3c24c4e076da [2023-11-01T20:09:00.025Z] ---> a4fb6d351e50 [2023-11-01T20:09:00.025Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T20:09:00.285Z] ---> 9e60a40d1051 [2023-11-01T20:09:00.285Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:09:00.285Z] ---> Running in aab65a53bd17 [2023-11-01T20:09:00.406Z] Still waiting to schedule task [2023-11-01T20:09:00.407Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-01T20:09:39.124Z] Removing intermediate container aab65a53bd17 [2023-11-01T20:09:39.124Z] ---> 7fe6e1e7adb5 [2023-11-01T20:09:39.124Z] Step 11/12 : COPY . . [2023-11-01T20:09:39.691Z] ---> be0e17b66121 [2023-11-01T20:09:39.691Z] Step 12/12 : RUN $MAKE [2023-11-01T20:09:39.691Z] ---> Running in dd64c7023c89 [2023-11-01T20:09:39.691Z] noop [2023-11-01T20:09:39.948Z] Removing intermediate container dd64c7023c89 [2023-11-01T20:09:39.948Z] ---> c8e76003e98b [2023-11-01T20:09:39.948Z] Successfully built c8e76003e98b [2023-11-01T20:09:39.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:09:40.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T20:09:40.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:09:40.544Z] prd-ubuntu20.04-docker-8c-8g-16279 does not seem to be running inside a container [2023-11-01T20:09:40.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-359 -v /w/workspace/gexfoundry_device-rest-go_PR-359:/w/workspace/gexfoundry_device-rest-go_PR-359:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-359@tmp:/w/workspace/gexfoundry_device-rest-go_PR-359@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 ******** ci-base-image-x86_64 cat [2023-11-01T20:09:41.068Z] $ docker top 12aed05ed31d28882d9d7115e97407c66eda2196759648010d389d9a8b656664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:09:41.466Z] + go version [2023-11-01T20:09:41.466Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T20:09:41.502Z] $ docker stop --time=1 12aed05ed31d28882d9d7115e97407c66eda2196759648010d389d9a8b656664 [2023-11-01T20:09:42.828Z] $ docker rm -f --volumes 12aed05ed31d28882d9d7115e97407c66eda2196759648010d389d9a8b656664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:09:43.510Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T20:09:43.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:09:43.662Z] prd-ubuntu20.04-docker-8c-8g-16279 does not seem to be running inside a container [2023-11-01T20:09:43.698Z] $ 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-359 -v /w/workspace/gexfoundry_device-rest-go_PR-359:/w/workspace/gexfoundry_device-rest-go_PR-359:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-359@tmp:/w/workspace/gexfoundry_device-rest-go_PR-359@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 ******** ci-base-image-x86_64 cat [2023-11-01T20:09:44.010Z] $ docker top 1ad8fc216d55c298603c27c1c47d8449cc3afa068561c4ae1499c408980b15d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:09:44.403Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-359 [Pipeline] fileExists [Pipeline] sh [2023-11-01T20:09:44.756Z] + make test [2023-11-01T20:09:44.757Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T20:09:47.352Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T20:09:57.326Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T20:09:57.326Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-01T20:10:01.654Z] go vet ./... [2023-11-01T20:10:04.951Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T20:10:04.951Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T20:10:04.951Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T20:10:05.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T20:10:05.278Z] $ docker stop --time=1 1ad8fc216d55c298603c27c1c47d8449cc3afa068561c4ae1499c408980b15d2 [2023-11-01T20:10:10.899Z] $ docker rm -f --volumes 1ad8fc216d55c298603c27c1c47d8449cc3afa068561c4ae1499c408980b15d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:10:11.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T20:10:11.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T20:10:12.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T20:10:12.539Z] + ls -al . [2023-11-01T20:10:12.539Z] total 184 [2023-11-01T20:10:12.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:09 . [2023-11-01T20:10:12.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:08 .. [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:08 .dockerignore [2023-11-01T20:10:12.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:09 .git [2023-11-01T20:10:12.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:08 .github [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:08 .gitignore [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:08 .golangci.yml [2023-11-01T20:10:12.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:08 .semver [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 20:08 Attribution.txt [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 20:08 CHANGELOG.md [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 20:08 Dockerfile [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:08 GOVERNANCE.md [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:08 Jenkinsfile [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:08 LICENSE [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 20:08 Makefile [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:08 OWNERS.md [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 20:08 README.md [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:08 VERSION [2023-11-01T20:10:12.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:08 bin [2023-11-01T20:10:12.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:08 cmd [2023-11-01T20:10:12.539Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 20:09 coverage.out [2023-11-01T20:10:12.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:08 driver [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 20:08 go.mod [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 20:08 go.sum [2023-11-01T20:10:12.539Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:10:12.932Z] + 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=90ccbe8c3959e88cf292f2cee2145a297c115455 --label arch=amd64 --label version=0.0.0 . [2023-11-01T20:10:12.932Z] Sending build context to Docker daemon 10.96MB [2023-11-01T20:10:12.932Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:10:12.932Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T20:10:12.932Z] ---> c8e76003e98b [2023-11-01T20:10:12.932Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:10:13.870Z] ---> Running in f41d8ac0a42f [2023-11-01T20:10:13.870Z] Removing intermediate container f41d8ac0a42f [2023-11-01T20:10:13.870Z] ---> fa730d6d041f [2023-11-01T20:10:13.870Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:10:14.129Z] ---> Running in 2582fc08ee5b [2023-11-01T20:10:14.129Z] Removing intermediate container 2582fc08ee5b [2023-11-01T20:10:14.129Z] ---> 1034e2a8ca6d [2023-11-01T20:10:14.129Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:10:14.387Z] ---> Running in dedb15d43bea [2023-11-01T20:10:14.387Z] Removing intermediate container dedb15d43bea [2023-11-01T20:10:14.387Z] ---> 2619ce58cf0d [2023-11-01T20:10:14.387Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:10:14.387Z] ---> Running in 4f55a8b84a15 [2023-11-01T20:10:14.387Z] Removing intermediate container 4f55a8b84a15 [2023-11-01T20:10:14.387Z] ---> 47001e559106 [2023-11-01T20:10:14.387Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:10:14.387Z] ---> Running in 3bb748d6eb4a [2023-11-01T20:10:14.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:10:14.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:10:15.214Z] OK: 268 MiB in 56 packages [2023-11-01T20:10:15.782Z] Removing intermediate container 3bb748d6eb4a [2023-11-01T20:10:15.782Z] ---> a9521689a31f [2023-11-01T20:10:15.782Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T20:10:15.782Z] ---> Running in e6ee668d95c1 [2023-11-01T20:10:15.782Z] Removing intermediate container e6ee668d95c1 [2023-11-01T20:10:15.782Z] ---> 2670fdc51c11 [2023-11-01T20:10:15.782Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T20:10:15.782Z] ---> a351474ec028 [2023-11-01T20:10:15.783Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:10:15.783Z] ---> Running in 097617449cc5 [2023-11-01T20:10:16.349Z] Removing intermediate container 097617449cc5 [2023-11-01T20:10:16.349Z] ---> c7858a669181 [2023-11-01T20:10:16.349Z] Step 11/25 : COPY . . [2023-11-01T20:10:17.050Z] ---> 0e0a37228a8d [2023-11-01T20:10:17.050Z] Step 12/25 : RUN $MAKE [2023-11-01T20:10:17.050Z] ---> Running in 505af1505d85 [2023-11-01T20:10:17.050Z] 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-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T20:10:39.240Z] Removing intermediate container 505af1505d85 [2023-11-01T20:10:39.240Z] ---> d9066fc0cad2 [2023-11-01T20:10:39.240Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T20:10:39.240Z] 3.18: Pulling from library/alpine [2023-11-01T20:10:39.240Z] 96526aa774ef: Pulling fs layer [2023-11-01T20:10:39.240Z] 96526aa774ef: Verifying Checksum [2023-11-01T20:10:39.240Z] 96526aa774ef: Download complete [2023-11-01T20:10:39.511Z] 96526aa774ef: Pull complete [2023-11-01T20:10:39.511Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T20:10:39.511Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T20:10:39.511Z] ---> 8ca4688f4f35 [2023-11-01T20:10:39.511Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T20:10:39.771Z] ---> Running in e6309efe39d1 [2023-11-01T20:10:40.051Z] Removing intermediate container e6309efe39d1 [2023-11-01T20:10:40.051Z] ---> f2742707b8af [2023-11-01T20:10:40.051Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T20:10:40.051Z] ---> Running in eee152a340d4 [2023-11-01T20:10:40.309Z] Removing intermediate container eee152a340d4 [2023-11-01T20:10:40.309Z] ---> dfacea078456 [2023-11-01T20:10:40.309Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T20:10:40.569Z] ---> Running in 533bb36d589c [2023-11-01T20:10:41.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T20:10:41.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T20:10:41.402Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T20:10:41.402Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:10:41.402Z] OK: 7 MiB in 16 packages [2023-11-01T20:10:42.337Z] Removing intermediate container 533bb36d589c [2023-11-01T20:10:42.337Z] ---> 728fb6696eb6 [2023-11-01T20:10:42.337Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T20:10:43.270Z] ---> 76bf8b5cd6fc [2023-11-01T20:10:43.270Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T20:10:43.270Z] ---> 7e4786a3a7bf [2023-11-01T20:10:43.270Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T20:10:43.530Z] ---> 96cf24f39858 [2023-11-01T20:10:43.530Z] Step 20/25 : EXPOSE 59986 [2023-11-01T20:10:43.530Z] ---> Running in c2f995c341f1 [2023-11-01T20:10:43.530Z] Removing intermediate container c2f995c341f1 [2023-11-01T20:10:43.530Z] ---> 39978574a2f4 [2023-11-01T20:10:43.530Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T20:10:43.530Z] ---> Running in d86cd6a1c375 [2023-11-01T20:10:43.530Z] Removing intermediate container d86cd6a1c375 [2023-11-01T20:10:43.530Z] ---> d6063656a46b [2023-11-01T20:10:43.530Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T20:10:43.530Z] ---> Running in 91b22faf6709 [2023-11-01T20:10:43.789Z] Removing intermediate container 91b22faf6709 [2023-11-01T20:10:43.789Z] ---> c134bc55f514 [2023-11-01T20:10:43.789Z] Step 23/25 : LABEL arch=amd64 [2023-11-01T20:10:43.789Z] ---> Running in ebb31db8370c [2023-11-01T20:10:43.789Z] Removing intermediate container ebb31db8370c [2023-11-01T20:10:43.789Z] ---> d7c43ecf5bd6 [2023-11-01T20:10:43.789Z] Step 24/25 : LABEL git_sha=90ccbe8c3959e88cf292f2cee2145a297c115455 [2023-11-01T20:10:43.789Z] ---> Running in d94fb525422e [2023-11-01T20:10:43.789Z] Removing intermediate container d94fb525422e [2023-11-01T20:10:43.789Z] ---> 47e0b7d0e065 [2023-11-01T20:10:43.789Z] Step 25/25 : LABEL version=0.0.0 [2023-11-01T20:10:43.789Z] ---> Running in fcaa11b313a9 [2023-11-01T20:10:44.049Z] Removing intermediate container fcaa11b313a9 [2023-11-01T20:10:44.049Z] ---> 3d7adf37e3a7 [2023-11-01T20:10:44.049Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T20:10:44.049Z] Successfully built 3d7adf37e3a7 [2023-11-01T20:10:44.049Z] 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-01T20:10:44.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:10:44.961Z] [2023-11-01T20:10:44.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:10:45.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:10:45.342Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T20:10:45.342Z] 5eb5b503b376: Pulling fs layer [2023-11-01T20:10:45.342Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T20:10:45.342Z] ec43610c2a17: Pulling fs layer [2023-11-01T20:10:45.342Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T20:10:45.342Z] 33b1e0a273af: Pulling fs layer [2023-11-01T20:10:45.342Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T20:10:45.342Z] 2f39f015ded8: Pulling fs layer [2023-11-01T20:10:45.342Z] 33b1e0a273af: Waiting [2023-11-01T20:10:45.342Z] 5d3b04190fa2: Waiting [2023-11-01T20:10:45.342Z] 2f39f015ded8: Waiting [2023-11-01T20:10:45.342Z] 3a2ae6a8a46f: Waiting [2023-11-01T20:10:45.342Z] 5c69ac0246d0: Download complete [2023-11-01T20:10:45.342Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T20:10:45.342Z] 3a2ae6a8a46f: Download complete [2023-11-01T20:10:45.342Z] 33b1e0a273af: Verifying Checksum [2023-11-01T20:10:45.342Z] 33b1e0a273af: Download complete [2023-11-01T20:10:45.343Z] 5d3b04190fa2: Download complete [2023-11-01T20:10:45.601Z] ec43610c2a17: Download complete [2023-11-01T20:10:45.601Z] 5eb5b503b376: Verifying Checksum [2023-11-01T20:10:45.601Z] 5eb5b503b376: Download complete [2023-11-01T20:10:46.543Z] 2f39f015ded8: Verifying Checksum [2023-11-01T20:10:46.543Z] 2f39f015ded8: Download complete [2023-11-01T20:10:46.827Z] 5eb5b503b376: Pull complete [2023-11-01T20:10:47.085Z] 5c69ac0246d0: Pull complete [2023-11-01T20:10:47.654Z] ec43610c2a17: Pull complete [2023-11-01T20:10:47.654Z] 3a2ae6a8a46f: Pull complete [2023-11-01T20:10:47.913Z] 33b1e0a273af: Pull complete [2023-11-01T20:10:47.913Z] 5d3b04190fa2: Pull complete [2023-11-01T20:10:48.471Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16281 in /w/workspace/gexfoundry_device-rest-go_PR-359 [Pipeline] { [Pipeline] ws [2023-11-01T20:10:48.540Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-01T20:10:48.620Z] The recommended git tool is: git [2023-11-01T20:10:52.101Z] 2f39f015ded8: Pull complete [2023-11-01T20:10:52.101Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T20:10:52.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:10:52.101Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:10:52.343Z] prd-ubuntu20.04-docker-8c-8g-16279 does not seem to be running inside a container [2023-11-01T20:10:52.383Z] $ 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-359 -v /w/workspace/gexfoundry_device-rest-go_PR-359:/w/workspace/gexfoundry_device-rest-go_PR-359:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-359@tmp:/w/workspace/gexfoundry_device-rest-go_PR-359@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T20:10:57.547Z] using credential edgex-jenkins-ssh [2023-11-01T20:10:57.565Z] Cloning the remote Git repository [2023-11-01T20:10:58.192Z] $ docker top c7c7f970bf0d7598edd41dc9b99a82a38c47a95fe506082cd9a5a01c576cc1f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:10:57.606Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T20:10:57.717Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-01T20:10:57.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T20:10:57.937Z] > git --version # timeout=10 [2023-11-01T20:10:57.978Z] > git --version # 'git version 2.25.1' [2023-11-01T20:10:57.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T20:10:58.191Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T20:10:58.646Z] ---> job-cost.sh [2023-11-01T20:10:58.646Z] lf-activate-venv: SKIPPING [2023-11-01T20:10:58.646Z] INFO: No Stack... [2023-11-01T20:10:58.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T20:10:59.477Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T20:10:59.792Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-359/archives/cost.csv [2023-11-01T20:10:59.792Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T20:10:59.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [2023-11-01T20:10:59.839Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] did not exist. Created. [2023-11-01T20:10:59.839Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T20:11:00.237Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T20:11:00.290Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T20:11:00.318Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T20:11:00.396Z] $ docker stop --time=1 c7c7f970bf0d7598edd41dc9b99a82a38c47a95fe506082cd9a5a01c576cc1f4 [2023-11-01T20:11:00.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-01T20:11:00.129Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T20:11:01.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-01T20:11:01.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-01T20:11:01.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T20:11:01.119Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/359/head:refs/remotes/origin/PR-359 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-01T20:11:01.693Z] $ docker rm -f --volumes c7c7f970bf0d7598edd41dc9b99a82a38c47a95fe506082cd9a5a01c576cc1f4 [2023-11-01T20:11:01.722Z] Merging remotes/origin/main commit be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 into PR head commit 90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T20:11:02.107Z] Merge succeeded, producing 90ccbe8c3959e88cf292f2cee2145a297c115455 [2023-11-01T20:11:02.108Z] Checking out Revision 90ccbe8c3959e88cf292f2cee2145a297c115455 (PR-359) [2023-11-01T20:11:01.748Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T20:11:01.877Z] > git checkout -f 90ccbe8c3959e88cf292f2cee2145a297c115455 # timeout=10 [2023-11-01T20:11:01.963Z] > git remote # timeout=10 [2023-11-01T20:11:01.992Z] > git config --get remote.origin.url # timeout=10 [2023-11-01T20:11:02.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T20:11:02.044Z] > git merge be4ef312c22dc034e41ce6d88dbc2c6735f3bed2 # timeout=10 [2023-11-01T20:11:02.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-01T20:11:02.112Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T20:11:02.130Z] > git checkout -f 90ccbe8c3959e88cf292f2cee2145a297c115455 # timeout=10 [2023-11-01T20:11:02.854Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-11-01T20:11:02.980Z] > git --version # timeout=10 [2023-11-01T20:11:03.009Z] > git --version # 'git version 2.25.1' [2023-11-01T20:11:03.040Z] fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:11:04.333Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T20:11:04.333Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T20:11:04.333Z] Dload Upload Total Spent Left Speed [2023-11-01T20:11:04.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh [2023-11-01T20:11:05.173Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T20:11:05.519Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T20:11:05.519Z] + sudo tee /etc/docker/daemon.new [2023-11-01T20:11:06.937Z] { [2023-11-01T20:11:06.937Z] "registry-mirrors": [ [2023-11-01T20:11:06.937Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T20:11:06.937Z] ], [2023-11-01T20:11:06.937Z] "bip": "10.250.0.254/24", [2023-11-01T20:11:06.937Z] "hosts": [ [2023-11-01T20:11:06.937Z] "tcp://0.0.0.0:5555", [2023-11-01T20:11:06.937Z] "unix:///var/run/docker.sock" [2023-11-01T20:11:06.937Z] ], [2023-11-01T20:11:06.937Z] "mtu": 1458, [2023-11-01T20:11:06.937Z] "selinux-enabled": true, [2023-11-01T20:11:06.937Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T20:11:06.937Z] } [Pipeline] sh [2023-11-01T20:11:07.302Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T20:11:07.654Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:11:26.022Z] provisioning config files... [2023-11-01T20:11:26.054Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3296346974293358998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:11:26.464Z] ---> docker-login.sh [2023-11-01T20:11:26.464Z] nexus3.edgexfoundry.org:10001 [2023-11-01T20:11:27.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:11:27.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:11:27.060Z] Configure a credential helper to remove this warning. See [2023-11-01T20:11:27.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:11:27.060Z] [2023-11-01T20:11:27.060Z] Login Succeeded [2023-11-01T20:11:27.060Z] nexus3.edgexfoundry.org:10002 [2023-11-01T20:11:27.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:11:27.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:11:27.333Z] Configure a credential helper to remove this warning. See [2023-11-01T20:11:27.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:11:27.333Z] [2023-11-01T20:11:27.333Z] Login Succeeded [2023-11-01T20:11:27.605Z] nexus3.edgexfoundry.org:10003 [2023-11-01T20:11:27.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:11:27.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:11:27.880Z] Configure a credential helper to remove this warning. See [2023-11-01T20:11:27.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:11:27.880Z] [2023-11-01T20:11:27.880Z] Login Succeeded [2023-11-01T20:11:27.880Z] nexus3.edgexfoundry.org:10004 [2023-11-01T20:11:28.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:11:28.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:11:28.152Z] Configure a credential helper to remove this warning. See [2023-11-01T20:11:28.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:11:28.152Z] [2023-11-01T20:11:28.152Z] Login Succeeded [2023-11-01T20:11:28.152Z] docker.io [2023-11-01T20:11:28.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T20:11:29.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T20:11:29.039Z] Configure a credential helper to remove this warning. See [2023-11-01T20:11:29.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T20:11:29.039Z] [2023-11-01T20:11:29.039Z] Login Succeeded [2023-11-01T20:11:29.311Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T20:11:29.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T20:11:29.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:11:29.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T20:11:29.851Z] ========================================================= [2023-11-01T20:11:29.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T20:11:29.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:11:30.366Z] + 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-01T20:11:30.366Z] Sending build context to Docker daemon 121.9kB [2023-11-01T20:11:30.635Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:11:30.636Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-01T20:11:30.636Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T20:11:30.907Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T20:11:30.907Z] 5d54e960e981: Pulling fs layer [2023-11-01T20:11:30.907Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T20:11:30.907Z] f0e02332f6b5: Pulling fs layer [2023-11-01T20:11:30.907Z] cefa15bbcfad: Pulling fs layer [2023-11-01T20:11:30.907Z] 17808c966233: Pulling fs layer [2023-11-01T20:11:30.907Z] f4c1fc716caa: Pulling fs layer [2023-11-01T20:11:30.907Z] f0e02332f6b5: Waiting [2023-11-01T20:11:30.907Z] cefa15bbcfad: Waiting [2023-11-01T20:11:30.907Z] 17808c966233: Waiting [2023-11-01T20:11:30.907Z] f4c1fc716caa: Waiting [2023-11-01T20:11:30.907Z] 5d54e960e981: Verifying Checksum [2023-11-01T20:11:30.907Z] 5d54e960e981: Download complete [2023-11-01T20:11:30.907Z] f0e02332f6b5: Verifying Checksum [2023-11-01T20:11:30.907Z] f0e02332f6b5: Download complete [2023-11-01T20:11:30.907Z] cefa15bbcfad: Verifying Checksum [2023-11-01T20:11:30.907Z] cefa15bbcfad: Download complete [2023-11-01T20:11:30.907Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T20:11:30.907Z] 9fda8d8052c6: Download complete [2023-11-01T20:11:31.179Z] f4c1fc716caa: Verifying Checksum [2023-11-01T20:11:31.179Z] f4c1fc716caa: Download complete [2023-11-01T20:11:32.604Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T20:11:32.604Z] c4a7e357bf2a: Download complete [2023-11-01T20:11:33.570Z] 17808c966233: Verifying Checksum [2023-11-01T20:11:33.570Z] 17808c966233: Download complete [2023-11-01T20:11:35.003Z] 9fda8d8052c6: Pull complete [2023-11-01T20:11:35.595Z] 5d54e960e981: Pull complete [2023-11-01T20:11:50.830Z] c4a7e357bf2a: Pull complete [2023-11-01T20:11:50.830Z] f0e02332f6b5: Pull complete [2023-11-01T20:11:50.830Z] cefa15bbcfad: Pull complete [2023-11-01T20:11:57.493Z] 17808c966233: Pull complete [2023-11-01T20:11:59.446Z] f4c1fc716caa: Pull complete [2023-11-01T20:11:59.446Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T20:11:59.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T20:11:59.446Z] ---> ea914061e18c [2023-11-01T20:11:59.446Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:12:00.407Z] ---> Running in ac75387dbb13 [2023-11-01T20:12:00.676Z] Removing intermediate container ac75387dbb13 [2023-11-01T20:12:00.676Z] ---> 66435a5c6855 [2023-11-01T20:12:00.676Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:12:00.676Z] ---> Running in ac73ff8f5b72 [2023-11-01T20:12:01.262Z] Removing intermediate container ac73ff8f5b72 [2023-11-01T20:12:01.262Z] ---> 550a12f98599 [2023-11-01T20:12:01.262Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:12:01.262Z] ---> Running in e5ebb7dcd39e [2023-11-01T20:12:01.531Z] Removing intermediate container e5ebb7dcd39e [2023-11-01T20:12:01.531Z] ---> 0c24a74d612b [2023-11-01T20:12:01.531Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:12:01.531Z] ---> Running in f073ad9b8f5b [2023-11-01T20:12:01.809Z] Removing intermediate container f073ad9b8f5b [2023-11-01T20:12:01.809Z] ---> 1c6e4f8ea8a5 [2023-11-01T20:12:01.809Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:12:02.083Z] ---> Running in b336a298504b [2023-11-01T20:12:03.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:12:03.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:12:04.746Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-01T20:12:04.746Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-01T20:12:04.746Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-01T20:12:05.017Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-01T20:12:05.017Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:12:05.017Z] OK: 270 MiB in 56 packages [2023-11-01T20:12:05.986Z] Removing intermediate container b336a298504b [2023-11-01T20:12:05.986Z] ---> b83abb1045a9 [2023-11-01T20:12:05.986Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-01T20:12:06.255Z] ---> Running in c35c92494f6a [2023-11-01T20:12:06.533Z] Removing intermediate container c35c92494f6a [2023-11-01T20:12:06.533Z] ---> c15db6fcc63a [2023-11-01T20:12:06.533Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-01T20:12:06.810Z] ---> 556abc24ce22 [2023-11-01T20:12:06.810Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:12:07.086Z] ---> Running in f957acefcc31 [2023-11-01T20:13:28.779Z] Removing intermediate container f957acefcc31 [2023-11-01T20:13:28.779Z] ---> 6ba83401d9dd [2023-11-01T20:13:28.779Z] Step 11/12 : COPY . . [2023-11-01T20:13:28.779Z] ---> dda397a40dcf [2023-11-01T20:13:28.779Z] Step 12/12 : RUN $MAKE [2023-11-01T20:13:28.779Z] ---> Running in 3ead77946c14 [2023-11-01T20:13:28.779Z] noop [2023-11-01T20:13:28.779Z] Removing intermediate container 3ead77946c14 [2023-11-01T20:13:28.779Z] ---> fe2452b59ea3 [2023-11-01T20:13:28.779Z] Successfully built fe2452b59ea3 [2023-11-01T20:13:28.779Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:13:29.270Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T20:13:29.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:13:29.585Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2023-11-01T20:13:29.647Z] $ 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 ******** ci-base-image-arm64 cat [2023-11-01T20:13:30.928Z] $ docker top 53b85cc21b6a61b1e0f31ece6e51a718052aa26e60368ffc28db5d1cc694a595 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:13:31.819Z] + go version [2023-11-01T20:13:31.819Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T20:13:31.853Z] $ docker stop --time=1 53b85cc21b6a61b1e0f31ece6e51a718052aa26e60368ffc28db5d1cc694a595 [2023-11-01T20:13:33.491Z] $ docker rm -f --volumes 53b85cc21b6a61b1e0f31ece6e51a718052aa26e60368ffc28db5d1cc694a595 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:13:34.384Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T20:13:34.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:13:34.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2023-11-01T20:13:34.728Z] $ 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 ******** ci-base-image-arm64 cat [2023-11-01T20:13:35.940Z] $ docker top 9918cf9939edcf18de8c0144787d0dbdd1e9c3ee41925d013017e9bb06ee2c76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:13:36.825Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-01T20:13:37.561Z] + make test [2023-11-01T20:13:37.562Z] go test ./... -coverprofile=coverage.out ./... [2023-11-01T20:13:44.212Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-01T20:15:35.896Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-01T20:15:35.896Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements [2023-11-01T20:15:35.896Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T20:15:35.896Z] go vet ./... [2023-11-01T20:15:54.178Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T20:15:54.178Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T20:15:54.178Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T20:15:54.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T20:15:54.248Z] $ docker stop --time=1 9918cf9939edcf18de8c0144787d0dbdd1e9c3ee41925d013017e9bb06ee2c76 [2023-11-01T20:15:56.281Z] $ docker rm -f --volumes 9918cf9939edcf18de8c0144787d0dbdd1e9c3ee41925d013017e9bb06ee2c76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T20:15:57.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T20:15:57.778Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T20:15:58.345Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T20:15:58.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T20:15:59.321Z] + ls -al . [2023-11-01T20:15:59.321Z] total 180 [2023-11-01T20:15:59.321Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 1 20:13 . [2023-11-01T20:15:59.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:10 .. [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:11 .dockerignore [2023-11-01T20:15:59.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:11 .git [2023-11-01T20:15:59.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:11 .github [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:11 .gitignore [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:11 .golangci.yml [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 1 20:11 Attribution.txt [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 1 20:11 CHANGELOG.md [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 1 20:11 Dockerfile [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:11 GOVERNANCE.md [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:11 Jenkinsfile [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:11 LICENSE [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 1 20:11 Makefile [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:11 OWNERS.md [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 15738 Nov 1 20:11 README.md [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:08 VERSION [2023-11-01T20:15:59.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:11 bin [2023-11-01T20:15:59.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:11 cmd [2023-11-01T20:15:59.321Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 1 20:15 coverage.out [2023-11-01T20:15:59.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:11 driver [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 3891 Nov 1 20:11 go.mod [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 1 20:11 go.sum [2023-11-01T20:15:59.321Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:15:59.757Z] + 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=90ccbe8c3959e88cf292f2cee2145a297c115455 --label arch=arm64 --label version=0.0.0 . [2023-11-01T20:15:59.757Z] Sending build context to Docker daemon 137.2kB [2023-11-01T20:16:00.031Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T20:16:00.031Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-01T20:16:00.031Z] ---> fe2452b59ea3 [2023-11-01T20:16:00.031Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-01T20:16:00.301Z] ---> Running in 84f611ac5202 [2023-11-01T20:16:00.570Z] Removing intermediate container 84f611ac5202 [2023-11-01T20:16:00.570Z] ---> 898087c1ac26 [2023-11-01T20:16:00.570Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-01T20:16:00.570Z] ---> Running in d00d77740e36 [2023-11-01T20:16:00.844Z] Removing intermediate container d00d77740e36 [2023-11-01T20:16:00.844Z] ---> ab5919df2333 [2023-11-01T20:16:00.844Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-01T20:16:01.113Z] ---> Running in bb4ff49a7b0c [2023-11-01T20:16:01.382Z] Removing intermediate container bb4ff49a7b0c [2023-11-01T20:16:01.382Z] ---> 972003f16af7 [2023-11-01T20:16:01.382Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-01T20:16:01.382Z] ---> Running in 7ad8fc8f9f81 [2023-11-01T20:16:01.973Z] Removing intermediate container 7ad8fc8f9f81 [2023-11-01T20:16:01.973Z] ---> a9e22d78db6b [2023-11-01T20:16:01.973Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-01T20:16:01.973Z] ---> Running in 6c406dc5db9d [2023-11-01T20:16:03.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:16:03.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:16:05.090Z] OK: 270 MiB in 56 packages [2023-11-01T20:16:06.055Z] Removing intermediate container 6c406dc5db9d [2023-11-01T20:16:06.055Z] ---> 726550e9fc15 [2023-11-01T20:16:06.055Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-01T20:16:06.055Z] ---> Running in b4ea96e6389f [2023-11-01T20:16:06.325Z] Removing intermediate container b4ea96e6389f [2023-11-01T20:16:06.325Z] ---> 3f2950cf9257 [2023-11-01T20:16:06.325Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-01T20:16:06.913Z] ---> 199d59e688c7 [2023-11-01T20:16:06.913Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T20:16:06.913Z] ---> Running in c31e947484b1 [2023-11-01T20:16:09.515Z] Removing intermediate container c31e947484b1 [2023-11-01T20:16:09.515Z] ---> dbc19fb8df68 [2023-11-01T20:16:09.515Z] Step 11/25 : COPY . . [2023-11-01T20:16:10.106Z] ---> 1ee45286f5af [2023-11-01T20:16:10.106Z] Step 12/25 : RUN $MAKE [2023-11-01T20:16:10.106Z] ---> Running in e1610bf707fa [2023-11-01T20:16:11.074Z] 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-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-01T20:18:17.801Z] Removing intermediate container e1610bf707fa [2023-11-01T20:18:17.801Z] ---> 37242d8a9184 [2023-11-01T20:18:17.801Z] Step 13/25 : FROM alpine:3.18 [2023-11-01T20:18:18.069Z] 3.18: Pulling from library/alpine [2023-11-01T20:18:18.069Z] 579b34f0a95b: Pulling fs layer [2023-11-01T20:18:18.338Z] 579b34f0a95b: Verifying Checksum [2023-11-01T20:18:18.338Z] 579b34f0a95b: Download complete [2023-11-01T20:18:18.929Z] 579b34f0a95b: Pull complete [2023-11-01T20:18:18.929Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T20:18:18.929Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T20:18:18.929Z] ---> 3cc203321400 [2023-11-01T20:18:18.929Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T20:18:19.202Z] ---> Running in f4f0f8df6861 [2023-11-01T20:18:19.481Z] Removing intermediate container f4f0f8df6861 [2023-11-01T20:18:19.481Z] ---> 5f8e07645806 [2023-11-01T20:18:19.481Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-01T20:18:19.481Z] ---> Running in 612d4d6475df [2023-11-01T20:18:19.747Z] Removing intermediate container 612d4d6475df [2023-11-01T20:18:19.748Z] ---> d22bfce0463f [2023-11-01T20:18:19.748Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-01T20:18:20.016Z] ---> Running in 04fd1109cb99 [2023-11-01T20:18:20.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T20:18:21.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T20:18:22.651Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-01T20:18:22.651Z] Executing busybox-1.36.1-r2.trigger [2023-11-01T20:18:22.651Z] OK: 8 MiB in 16 packages [2023-11-01T20:18:25.235Z] Removing intermediate container 04fd1109cb99 [2023-11-01T20:18:25.235Z] ---> a7824b0a56f1 [2023-11-01T20:18:25.235Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-01T20:18:26.649Z] ---> 3a394b973e39 [2023-11-01T20:18:26.649Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-01T20:18:26.917Z] ---> 3ea10141b18b [2023-11-01T20:18:26.917Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-01T20:18:27.596Z] ---> d367ce5ea544 [2023-11-01T20:18:27.596Z] Step 20/25 : EXPOSE 59986 [2023-11-01T20:18:27.596Z] ---> Running in 21746f41c2e2 [2023-11-01T20:18:27.904Z] Removing intermediate container 21746f41c2e2 [2023-11-01T20:18:27.904Z] ---> f5f2c6f1d351 [2023-11-01T20:18:27.904Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-01T20:18:28.189Z] ---> Running in 9a68074a1030 [2023-11-01T20:18:28.463Z] Removing intermediate container 9a68074a1030 [2023-11-01T20:18:28.463Z] ---> 6e2e1f767058 [2023-11-01T20:18:28.463Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-01T20:18:28.463Z] ---> Running in 70bedec8330f [2023-11-01T20:18:28.764Z] Removing intermediate container 70bedec8330f [2023-11-01T20:18:28.764Z] ---> 2aad2c1696b2 [2023-11-01T20:18:28.764Z] Step 23/25 : LABEL arch=arm64 [2023-11-01T20:18:29.035Z] ---> Running in 8b14742afe4b [2023-11-01T20:18:29.311Z] Removing intermediate container 8b14742afe4b [2023-11-01T20:18:29.311Z] ---> a38aac4c9bda [2023-11-01T20:18:29.311Z] Step 24/25 : LABEL git_sha=90ccbe8c3959e88cf292f2cee2145a297c115455 [2023-11-01T20:18:29.311Z] ---> Running in ea783d17fb0e [2023-11-01T20:18:29.592Z] Removing intermediate container ea783d17fb0e [2023-11-01T20:18:29.592Z] ---> aa254ab008a0 [2023-11-01T20:18:29.592Z] Step 25/25 : LABEL version=0.0.0 [2023-11-01T20:18:29.883Z] ---> Running in 37e0a170d36e [2023-11-01T20:18:30.165Z] Removing intermediate container 37e0a170d36e [2023-11-01T20:18:30.165Z] ---> fb7c9a389c03 [2023-11-01T20:18:30.165Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T20:18:30.165Z] Successfully built fb7c9a389c03 [2023-11-01T20:18:30.165Z] 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-01T20:18:30.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:18:30.991Z] [2023-11-01T20:18:30.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:18:31.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:18:31.400Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T20:18:31.400Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T20:18:31.400Z] 04944245beec: Pulling fs layer [2023-11-01T20:18:31.400Z] 699f458cf7ca: Pulling fs layer [2023-11-01T20:18:31.400Z] 765212b225bb: Pulling fs layer [2023-11-01T20:18:31.400Z] f23df028b6ca: Pulling fs layer [2023-11-01T20:18:31.400Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T20:18:31.400Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T20:18:31.400Z] 765212b225bb: Waiting [2023-11-01T20:18:31.400Z] f23df028b6ca: Waiting [2023-11-01T20:18:31.400Z] d65c8cfc05b1: Waiting [2023-11-01T20:18:31.400Z] 2437ff75d9bd: Waiting [2023-11-01T20:18:31.676Z] 04944245beec: Verifying Checksum [2023-11-01T20:18:31.676Z] 04944245beec: Download complete [2023-11-01T20:18:31.676Z] 765212b225bb: Verifying Checksum [2023-11-01T20:18:31.676Z] 765212b225bb: Download complete [2023-11-01T20:18:31.676Z] f23df028b6ca: Verifying Checksum [2023-11-01T20:18:31.676Z] f23df028b6ca: Download complete [2023-11-01T20:18:31.676Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T20:18:31.676Z] d65c8cfc05b1: Download complete [2023-11-01T20:18:31.945Z] 699f458cf7ca: Verifying Checksum [2023-11-01T20:18:31.945Z] 699f458cf7ca: Download complete [2023-11-01T20:18:32.213Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T20:18:32.213Z] 8998bd30e6a1: Download complete [2023-11-01T20:18:34.274Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T20:18:34.274Z] 2437ff75d9bd: Download complete [2023-11-01T20:18:36.856Z] 8998bd30e6a1: Pull complete [2023-11-01T20:18:37.123Z] 04944245beec: Pull complete [2023-11-01T20:18:39.702Z] 699f458cf7ca: Pull complete [2023-11-01T20:18:39.975Z] 765212b225bb: Pull complete [2023-11-01T20:18:40.934Z] f23df028b6ca: Pull complete [2023-11-01T20:18:40.934Z] d65c8cfc05b1: Pull complete [2023-11-01T20:18:55.927Z] 2437ff75d9bd: Pull complete [2023-11-01T20:18:55.927Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T20:18:55.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T20:18:55.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:18:56.291Z] prd-ubuntu20.04-docker-arm64-4c-16g-16281 does not seem to be running inside a container [2023-11-01T20:18:56.365Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T20:18:59.184Z] $ docker top b539802efc3026ae0d6cb52f4721b28f490b2c7d63443b1e693ff8a53a0bc300 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:18:59.771Z] ---> job-cost.sh [2023-11-01T20:19:00.039Z] lf-activate-venv: SKIPPING [2023-11-01T20:19:00.039Z] INFO: No Stack... [2023-11-01T20:19:00.305Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T20:19:01.278Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T20:19:01.940Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-11-01T20:19:01.940Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T20:19:02.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [2023-11-01T20:19:02.024Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] did not exist. Created. [2023-11-01T20:19:02.024Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T20:19:02.436Z] /w/workspace/device-rest-go/1@tmp/durable-f5cbb5a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T20:19:03.117Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T20:19:03.154Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T20:19:03.202Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T20:19:03.217Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T20:19:03.310Z] $ docker stop --time=1 b539802efc3026ae0d6cb52f4721b28f490b2c7d63443b1e693ff8a53a0bc300 [2023-11-01T20:19:08.147Z] $ docker rm -f --volumes b539802efc3026ae0d6cb52f4721b28f490b2c7d63443b1e693ff8a53a0bc300 [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-01T20:19:09.209Z] provisioning config files... [2023-11-01T20:19:09.216Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/config8477022308727519627tmp [Pipeline] { [Pipeline] sh [2023-11-01T20:19:09.553Z] + set +x [2023-11-01T20:19:09.553Z] + bash -s+ -- [2023-11-01T20:19:09.553Z] curl -s https://codecov.io/bash [2023-11-01T20:19:09.813Z] [2023-11-01T20:19:09.813Z] _____ _ [2023-11-01T20:19:09.813Z] / ____| | | [2023-11-01T20:19:09.813Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T20:19:09.813Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T20:19:09.813Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T20:19:09.813Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T20:19:09.813Z] Bash-1.0.6 [2023-11-01T20:19:09.813Z] [2023-11-01T20:19:09.813Z] [2023-11-01T20:19:09.813Z] ==> git version 2.25.1 found [2023-11-01T20:19:09.813Z] ==> 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-01T20:19:09.813Z] Release-Date: 2020-01-08 [2023-11-01T20:19:09.813Z] 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-01T20:19:09.813Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T20:19:09.813Z] ==> Jenkins CI detected. [2023-11-01T20:19:09.813Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-359 [2023-11-01T20:19:09.813Z] project root: . [2023-11-01T20:19:09.813Z] --> token set from env [2023-11-01T20:19:09.813Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T20:19:09.813Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T20:19:09.813Z] ==> Python coveragepy not found [2023-11-01T20:19:09.813Z] ==> Searching for coverage reports in: [2023-11-01T20:19:09.813Z] + . [2023-11-01T20:19:09.813Z] -> Found 1 reports [2023-11-01T20:19:09.813Z] ==> Detecting git/mercurial file structure [2023-11-01T20:19:09.813Z] ==> Reading reports [2023-11-01T20:19:09.813Z] + ./coverage.out bytes=14499 [2023-11-01T20:19:09.813Z] ==> Appending adjustments [2023-11-01T20:19:09.813Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T20:19:10.073Z] + Found adjustments [2023-11-01T20:19:10.073Z] ==> Gzipping contents [2023-11-01T20:19:10.073Z] 4.0K /tmp/codecov.xcwxx2.gz [2023-11-01T20:19:10.073Z] ==> Uploading reports [2023-11-01T20:19:10.073Z] url: https://codecov.io [2023-11-01T20:19:10.073Z] query: branch=PR-359&commit=90ccbe8c3959e88cf292f2cee2145a297c115455&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=359&job=&cmd_args= [2023-11-01T20:19:10.073Z] -> Pinging Codecov [2023-11-01T20:19:10.073Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-359&commit=90ccbe8c3959e88cf292f2cee2145a297c115455&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=359&job=&cmd_args= [2023-11-01T20:19:10.073Z] -> Uploading to [2023-11-01T20:19:10.073Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/4E5D53B4F1F92C436F7061BF334D961C/90ccbe8c3959e88cf292f2cee2145a297c115455/81b07d40-deb3-4c78-bc84-d65e7b9d98fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T201909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=683c4c6d782f2f1cbe0f7c3305d6d96155efc5d1a4553b452e00afb8b3d3da25 [2023-11-01T20:19:10.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T20:19:10.073Z] Dload Upload Total Spent Left Speed [2023-11-01T20:19:10.332Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9396 --:--:-- --:--:-- --:--:-- 9396 [2023-11-01T20:19:10.332Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/90ccbe8c3959e88cf292f2cee2145a297c115455 [Pipeline] } [2023-11-01T20:19:10.360Z] 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-01T20:19:12.240Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-359/archives ] [2023-11-01T20:19:12.240Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-359/archives [2023-11-01T20:19:12.240Z] total 16 [2023-11-01T20:19:12.240Z] drwxr-xr-x 3 root root 4096 Nov 1 20:10 . [2023-11-01T20:19:12.240Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:11 .. [2023-11-01T20:19:12.240Z] drwxr-xr-x 2 root root 4096 Nov 1 20:10 cost [2023-11-01T20:19:12.240Z] -rw-r--r-- 1 root root 86 Nov 1 20:10 cost.csv [2023-11-01T20:19:12.240Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-359/archives [2023-11-01T20:19:12.240Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-359/archives [2023-11-01T20:19:12.240Z] total 16 [2023-11-01T20:19:12.240Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:10 . [2023-11-01T20:19:12.240Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:11 .. [2023-11-01T20:19:12.240Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 20:10 cost [2023-11-01T20:19:12.240Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:12.569Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:13.470Z] ---> package-listing.sh [2023-11-01T20:19:13.470Z] ++ facter osfamily [2023-11-01T20:19:13.470Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T20:19:13.728Z] + OS_FAMILY=debian [2023-11-01T20:19:13.728Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-359 [2023-11-01T20:19:13.728Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T20:19:13.728Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T20:19:13.728Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T20:19:13.728Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T20:19:13.728Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-359 ']' [2023-11-01T20:19:13.728Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T20:19:13.728Z] + case "${OS_FAMILY}" in [2023-11-01T20:19:13.728Z] + dpkg -l [2023-11-01T20:19:13.728Z] + grep '^ii' [2023-11-01T20:19:13.728Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T20:19:13.728Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T20:19:13.728Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T20:19:13.728Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-359 ']' [2023-11-01T20:19:13.728Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-359/archives/ [2023-11-01T20:19:13.728Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-359/archives/ [Pipeline] echo [2023-11-01T20:19:13.765Z] 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-359/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T20:19:14.056Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T20:19:14.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T20:19:14.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T20:19:14.831Z] prd-ubuntu20.04-docker-8c-8g-16279 does not seem to be running inside a container [2023-11-01T20:19:14.867Z] $ 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-359/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-359 -v /w/workspace/gexfoundry_device-rest-go_PR-359:/w/workspace/gexfoundry_device-rest-go_PR-359:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-359@tmp:/w/workspace/gexfoundry_device-rest-go_PR-359@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-lftools-log-publisher:latest cat [2023-11-01T20:19:15.055Z] $ docker top 865ea74e9cf6a9bde113e5a31e4411c89a28676948d005dbcc97b92a04011ede -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T20:19:15.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T20:19:15.755Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T20:19:16.064Z] + ls /var/log/sa-host [2023-11-01T20:19:16.064Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T20:19:16.292Z] provisioning config files... [2023-11-01T20:19:16.303Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-359@tmp/config9952323345692044700tmp [Pipeline] { [Pipeline] echo [2023-11-01T20:19:16.353Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:16.665Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T20:19:16.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:17.124Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T20:19:17.159Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:17.472Z] ---> sudo-logs.sh [2023-11-01T20:19:17.473Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T20:19:17.569Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:17.876Z] ---> job-cost.sh [2023-11-01T20:19:17.876Z] lf-activate-venv: SKIPPING [2023-11-01T20:19:17.876Z] DEBUG: total: 0.2199999988079071 [2023-11-01T20:19:17.876Z] INFO: Retrieving Stack Cost... [2023-11-01T20:19:18.136Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T20:19:18.703Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T20:19:18.738Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T20:19:19.050Z] ---> logs-deploy.sh [2023-11-01T20:19:19.050Z] lf-activate-venv: SKIPPING [2023-11-01T20:19:19.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-359/1 [2023-11-01T20:19:19.050Z] INFO: archiving workspace using pattern(s): [2023-11-01T20:19:19.989Z] Archives upload complete. [2023-11-01T20:19:19.989Z] INFO: archiving logs to Nexus