Pull request #258 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 9cf39bf2d746133d82968d701e3e445806d0daf1+eeb2727d50df763d785a8885935756adc9e2bce2 (e65d644caf69badea93681d3b90b5c6a108af930) 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-ssh6518588021859778006.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17265619205920692877.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-258/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-258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12780364720198425305.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-258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7727259104113965293.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4839883051902665193.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-258/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-258/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17725854347250032529.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7102’ Running on prd-ubuntu20.04-docker-8c-8g-7104 in /w/workspace/gexfoundry_device-rest-go_PR-258 [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-258 # 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/258/head:refs/remotes/origin/PR-258 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eeb2727d50df763d785a8885935756adc9e2bce2 into PR head commit 9cf39bf2d746133d82968d701e3e445806d0daf1 Merge succeeded, producing 9cf39bf2d746133d82968d701e3e445806d0daf1 Checking out Revision 9cf39bf2d746133d82968d701e3e445806d0daf1 (PR-258) > git config core.sparsecheckout # timeout=10 > git checkout -f 9cf39bf2d746133d82968d701e3e445806d0daf1 # 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 eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cf39bf2d746133d82968d701e3e445806d0daf1 # timeout=10 Commit message: "refactor!: Clean up remain config items no longer needed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T19:49:05.285Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T19:49:05.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T19:49:05.540Z] ========================================================= [2023-02-22T19:49:05.540Z] EdgeX Global Pipelines Version Info [2023-02-22T19:49:05.540Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:49:06.271Z] ------------------- [2023-02-22T19:49:06.271Z] stable info: [2023-02-22T19:49:06.271Z] ------------------- [2023-02-22T19:49:06.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T19:49:06.271Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T19:49:06.271Z] Message: update stable to v1.0.244 [2023-02-22T19:49:06.840Z] ------------------- [2023-02-22T19:49:06.840Z] experimental info: [2023-02-22T19:49:06.840Z] ------------------- [2023-02-22T19:49:06.840Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T19:49:06.840Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T19:49:06.840Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T19:49:07.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-22T19:49:07.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-22T19:49:07.458Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T19:49:07.495Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T19:49:07.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T19:49:07.573Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T19:49:07.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T19:49:07.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-22T19:49:07.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T19:49:07.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T19:49:07.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T19:49:07.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-22T19:49:07.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T19:49:07.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T19:49:07.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T19:49:08.011Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T19:49:08.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T19:49:08.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T19:49:08.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T19:49:08.225Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T19:49:08.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-22T19:49:08.311Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-22T19:49:08.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T19:49:08.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T19:49:08.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T19:49:08.463Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T19:49:08.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T19:49:08.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-258 [Pipeline] echo [2023-02-22T19:49:08.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-258 [Pipeline] echo [2023-02-22T19:49:08.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-258 [Pipeline] echo [2023-02-22T19:49:08.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cf39bf2d746133d82968d701e3e445806d0daf1 [Pipeline] echo [2023-02-22T19:49:08.673Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cf39bf [Pipeline] echo [2023-02-22T19:49:08.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T19:49:08.819Z] provisioning config files... [2023-02-22T19:49:08.831Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/config7036301569705920037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:49:09.170Z] ---> docker-login.sh [2023-02-22T19:49:09.170Z] nexus3.edgexfoundry.org:10001 [2023-02-22T19:49:09.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:09.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:09.430Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:09.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:09.430Z] [2023-02-22T19:49:09.430Z] Login Succeeded [2023-02-22T19:49:09.430Z] nexus3.edgexfoundry.org:10002 [2023-02-22T19:49:09.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:09.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:09.430Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:09.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:09.430Z] [2023-02-22T19:49:09.430Z] Login Succeeded [2023-02-22T19:49:09.430Z] nexus3.edgexfoundry.org:10003 [2023-02-22T19:49:09.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:09.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:09.691Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:09.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:09.691Z] [2023-02-22T19:49:09.691Z] Login Succeeded [2023-02-22T19:49:09.691Z] nexus3.edgexfoundry.org:10004 [2023-02-22T19:49:09.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:09.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:09.691Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:09.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:09.691Z] [2023-02-22T19:49:09.691Z] Login Succeeded [2023-02-22T19:49:09.691Z] docker.io [2023-02-22T19:49:09.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:09.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:09.952Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:09.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:09.952Z] [2023-02-22T19:49:09.952Z] Login Succeeded [2023-02-22T19:49:09.952Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T19:49:09.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T19:49:10.655Z] + git rev-list -1 --merges 9cf39bf2d746133d82968d701e3e445806d0daf1~1..9cf39bf2d746133d82968d701e3e445806d0daf1 [Pipeline] echo [2023-02-22T19:49:10.726Z] -----------> git rev-list -1 --merges 9cf39bf2d746133d82968d701e3e445806d0daf1~1..9cf39bf2d746133d82968d701e3e445806d0daf1 9cf39bf2d746133d82968d701e3e445806d0daf1 [false] [Pipeline] sh [2023-02-22T19:49:11.036Z] + git log --format=format:%s -1 9cf39bf2d746133d82968d701e3e445806d0daf1 [Pipeline] echo [2023-02-22T19:49:11.074Z] ========================================================= [2023-02-22T19:49:11.074Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T19:49:11.074Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T19:49:11.500Z] + git log --format=format:%s -1 9cf39bf2d746133d82968d701e3e445806d0daf1 [Pipeline] echo [2023-02-22T19:49:11.533Z] [semverPrep] GIT_COMMIT: 9cf39bf2d746133d82968d701e3e445806d0daf1, Commit Message: refactor!: Clean up remain config items no longer needed [Pipeline] echo [2023-02-22T19:49:11.563Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T19:49:11.937Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T19:49:11.937Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T19:49:11.937Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T19:49:11.937Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T19:49:11.937Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T19:49:11.937Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T19:49:11.937Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:49:12.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T19:49:12.361Z] [2023-02-22T19:49:12.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:49:12.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T19:49:12.741Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T19:49:12.741Z] b85a868b505f: Pulling fs layer [2023-02-22T19:49:12.741Z] e2be974225ed: Pulling fs layer [2023-02-22T19:49:12.741Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T19:49:12.741Z] 988bab9f4d93: Pulling fs layer [2023-02-22T19:49:12.741Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T19:49:12.741Z] eaf3925da568: Pulling fs layer [2023-02-22T19:49:12.741Z] bab4dde63d76: Pulling fs layer [2023-02-22T19:49:12.741Z] bde34c3a00c8: Pulling fs layer [2023-02-22T19:49:12.741Z] eaf3925da568: Waiting [2023-02-22T19:49:12.741Z] b352a97aabf1: Pulling fs layer [2023-02-22T19:49:12.741Z] 988bab9f4d93: Waiting [2023-02-22T19:49:12.741Z] 4872d77fe225: Pulling fs layer [2023-02-22T19:49:12.741Z] 5851b861e8e6: Pulling fs layer [2023-02-22T19:49:12.741Z] 1469e6f7b9e6: Waiting [2023-02-22T19:49:12.741Z] bde34c3a00c8: Waiting [2023-02-22T19:49:12.741Z] 4872d77fe225: Waiting [2023-02-22T19:49:12.741Z] b352a97aabf1: Waiting [2023-02-22T19:49:12.741Z] 5851b861e8e6: Waiting [2023-02-22T19:49:12.741Z] e2be974225ed: Verifying Checksum [2023-02-22T19:49:12.741Z] e2be974225ed: Download complete [2023-02-22T19:49:12.741Z] 988bab9f4d93: Verifying Checksum [2023-02-22T19:49:12.741Z] 988bab9f4d93: Download complete [2023-02-22T19:49:13.003Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T19:49:13.003Z] 1469e6f7b9e6: Download complete [2023-02-22T19:49:13.003Z] eaf3925da568: Verifying Checksum [2023-02-22T19:49:13.003Z] eaf3925da568: Download complete [2023-02-22T19:49:13.003Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T19:49:13.003Z] 339a4e72a1f5: Download complete [2023-02-22T19:49:13.003Z] bde34c3a00c8: Download complete [2023-02-22T19:49:13.003Z] b352a97aabf1: Verifying Checksum [2023-02-22T19:49:13.003Z] b352a97aabf1: Download complete [2023-02-22T19:49:13.003Z] 4872d77fe225: Download complete [2023-02-22T19:49:13.003Z] 5851b861e8e6: Download complete [2023-02-22T19:49:13.003Z] b85a868b505f: Verifying Checksum [2023-02-22T19:49:13.003Z] b85a868b505f: Download complete [2023-02-22T19:49:13.265Z] bab4dde63d76: Verifying Checksum [2023-02-22T19:49:13.265Z] bab4dde63d76: Download complete [2023-02-22T19:49:14.264Z] b85a868b505f: Pull complete [2023-02-22T19:49:14.523Z] e2be974225ed: Pull complete [2023-02-22T19:49:14.783Z] 339a4e72a1f5: Pull complete [2023-02-22T19:49:15.043Z] 988bab9f4d93: Pull complete [2023-02-22T19:49:15.043Z] 1469e6f7b9e6: Pull complete [2023-02-22T19:49:15.303Z] eaf3925da568: Pull complete [2023-02-22T19:49:17.210Z] bab4dde63d76: Pull complete [2023-02-22T19:49:17.210Z] bde34c3a00c8: Pull complete [2023-02-22T19:49:17.210Z] b352a97aabf1: Pull complete [2023-02-22T19:49:17.210Z] 4872d77fe225: Pull complete [2023-02-22T19:49:17.210Z] 5851b861e8e6: Pull complete [2023-02-22T19:49:17.210Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T19:49:17.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T19:49:17.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:49:17.427Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-02-22T19:49:17.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-258 -v /w/workspace/gexfoundry_device-rest-go_PR-258:/w/workspace/gexfoundry_device-rest-go_PR-258:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-258@tmp:/w/workspace/gexfoundry_device-rest-go_PR-258@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-devops/py-git-semver:0.1.4 cat [2023-02-22T19:49:19.784Z] $ docker top a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 -eo pid,comm [2023-02-22T19:49:19.841Z] 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-02-22T19:49:19.842Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T19:49:19.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T19:49:19.969Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T19:49:20.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T19:49:20.078Z] $ docker exec a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 ssh-agent [2023-02-22T19:49:20.199Z] SSH_AUTH_SOCK=/tmp/ssh-IxfkmepVWoP1/agent.32 [2023-02-22T19:49:20.200Z] SSH_AGENT_PID=38 [2023-02-22T19:49:20.206Z] Running ssh-add (command line suppressed) [2023-02-22T19:49:20.305Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-258@tmp/private_key_9123852334634382934.key (/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/private_key_9123852334634382934.key) [2023-02-22T19:49:20.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T19:49:20.668Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T19:49:20.692Z] $ docker exec --env ******** --env ******** a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 ssh-agent -k [2023-02-22T19:49:20.791Z] unset SSH_AUTH_SOCK; [2023-02-22T19:49:20.792Z] unset SSH_AGENT_PID; [2023-02-22T19:49:20.792Z] echo Agent pid 38 killed; [2023-02-22T19:49:20.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T19:49:20.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T19:49:20.888Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T19:49:21.001Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T19:49:21.000Z] $ docker exec a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 ssh-agent [2023-02-22T19:49:21.111Z] SSH_AUTH_SOCK=/tmp/ssh-gK5cK5rgmr2y/agent.71 [2023-02-22T19:49:21.111Z] SSH_AGENT_PID=77 [2023-02-22T19:49:21.116Z] Running ssh-add (command line suppressed) [2023-02-22T19:49:21.215Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-258@tmp/private_key_13830623588728620414.key (/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/private_key_13830623588728620414.key) [2023-02-22T19:49:21.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T19:49:21.555Z] + git semver init [2023-02-22T19:49:21.814Z] 2023-02-22 19:49:21,708 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T19:49:21.814Z] 2023-02-22 19:49:21,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-258/.semver [2023-02-22T19:49:21.814Z] 2023-02-22 19:49:21,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-258/.semver [2023-02-22T19:49:21.814Z] 2023-02-22 19:49:21,710 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-258/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-258, universal_newlines=False, shell=None, istream=None) [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,894 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-258/.git/info/exclude [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-258/.semver/PR-258 with force:False [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,895 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-258/.semver/PR-258 [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,900 [execute] INFO git cat-file --batch-check [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-258/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,907 [execute] INFO git cat-file --batch [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-258/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T19:49:23.197Z] 2023-02-22 19:49:22,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-258/.semver/PR-258 [2023-02-22T19:49:23.197Z] 0.0.0 [Pipeline] } [2023-02-22T19:49:23.218Z] $ docker exec --env ******** --env ******** a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 ssh-agent -k [2023-02-22T19:49:23.327Z] unset SSH_AUTH_SOCK; [2023-02-22T19:49:23.327Z] unset SSH_AGENT_PID; [2023-02-22T19:49:23.327Z] echo Agent pid 77 killed; [2023-02-22T19:49:23.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T19:49:23.755Z] + git semver [Pipeline] } [2023-02-22T19:49:24.035Z] $ docker stop --time=1 a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 [2023-02-22T19:49:25.356Z] $ docker rm -f --volumes a0651ff067051ce56840253f851967715eeb140bb9fe5565f0ddbed4cfbf01b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T19:49:25.753Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T19:49:25.992Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T19:49:26.008Z] [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-02-22T19:49:26.603Z] provisioning config files... [2023-02-22T19:49:26.612Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/config14333057031572529872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:49:26.960Z] ---> docker-login.sh [2023-02-22T19:49:26.961Z] nexus3.edgexfoundry.org:10001 [2023-02-22T19:49:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:26.961Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:26.961Z] [2023-02-22T19:49:26.961Z] Login Succeeded [2023-02-22T19:49:26.961Z] nexus3.edgexfoundry.org:10002 [2023-02-22T19:49:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:26.961Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:26.961Z] [2023-02-22T19:49:26.961Z] Login Succeeded [2023-02-22T19:49:26.961Z] nexus3.edgexfoundry.org:10003 [2023-02-22T19:49:27.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:27.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:27.221Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:27.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:27.221Z] [2023-02-22T19:49:27.221Z] Login Succeeded [2023-02-22T19:49:27.221Z] nexus3.edgexfoundry.org:10004 [2023-02-22T19:49:27.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:27.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:27.221Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:27.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:27.221Z] [2023-02-22T19:49:27.221Z] Login Succeeded [2023-02-22T19:49:27.221Z] docker.io [2023-02-22T19:49:27.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:49:27.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:49:27.740Z] Configure a credential helper to remove this warning. See [2023-02-22T19:49:27.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:49:27.740Z] [2023-02-22T19:49:27.740Z] Login Succeeded [2023-02-22T19:49:27.740Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T19:49:27.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T19:49:28.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T19:49:28.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T19:49:28.220Z] ========================================================= [2023-02-22T19:49:28.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T19:49:28.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:49:28.726Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T19:49:28.726Z] Sending build context to Docker daemon 10.82MB [2023-02-22T19:49:28.726Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T19:49:28.726Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-22T19:49:28.726Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T19:49:28.726Z] 213ec9aee27d: Pulling fs layer [2023-02-22T19:49:28.726Z] 4583459ba037: Pulling fs layer [2023-02-22T19:49:28.726Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T19:49:28.726Z] 53926ce57604: Pulling fs layer [2023-02-22T19:49:28.726Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T19:49:28.726Z] 22ff95d597cd: Pulling fs layer [2023-02-22T19:49:28.726Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T19:49:28.726Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T19:49:28.726Z] a7acece74701: Pulling fs layer [2023-02-22T19:49:28.726Z] 53926ce57604: Waiting [2023-02-22T19:49:28.726Z] 96b7cbca73a9: Waiting [2023-02-22T19:49:28.726Z] a7acece74701: Waiting [2023-02-22T19:49:28.726Z] 12d6caf4c0d1: Waiting [2023-02-22T19:49:28.726Z] 22ff95d597cd: Waiting [2023-02-22T19:49:28.726Z] 21b2b0c7a3f4: Waiting [2023-02-22T19:49:28.986Z] 93c1e223e6f2: Verifying Checksum [2023-02-22T19:49:28.986Z] 93c1e223e6f2: Download complete [2023-02-22T19:49:28.986Z] 4583459ba037: Download complete [2023-02-22T19:49:28.986Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-22T19:49:28.986Z] 21b2b0c7a3f4: Download complete [2023-02-22T19:49:28.986Z] 22ff95d597cd: Verifying Checksum [2023-02-22T19:49:28.986Z] 22ff95d597cd: Download complete [2023-02-22T19:49:28.986Z] 213ec9aee27d: Download complete [2023-02-22T19:49:28.986Z] 12d6caf4c0d1: Download complete [2023-02-22T19:49:29.252Z] 213ec9aee27d: Pull complete [2023-02-22T19:49:29.252Z] 4583459ba037: Pull complete [2023-02-22T19:49:29.252Z] 93c1e223e6f2: Pull complete [2023-02-22T19:49:29.841Z] a7acece74701: Verifying Checksum [2023-02-22T19:49:29.841Z] a7acece74701: Download complete [2023-02-22T19:49:29.841Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T19:49:29.841Z] 96b7cbca73a9: Download complete [2023-02-22T19:49:29.841Z] 53926ce57604: Verifying Checksum [2023-02-22T19:49:29.841Z] 53926ce57604: Download complete [2023-02-22T19:49:34.028Z] 53926ce57604: Pull complete [2023-02-22T19:49:34.028Z] 21b2b0c7a3f4: Pull complete [2023-02-22T19:49:34.028Z] 22ff95d597cd: Pull complete [2023-02-22T19:49:34.028Z] 12d6caf4c0d1: Pull complete [2023-02-22T19:49:35.930Z] 96b7cbca73a9: Pull complete [2023-02-22T19:49:36.866Z] a7acece74701: Pull complete [2023-02-22T19:49:36.866Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T19:49:36.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T19:49:36.866Z] ---> db6d94c90886 [2023-02-22T19:49:36.866Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-22T19:49:40.156Z] ---> Running in 8de1422f04e5 [2023-02-22T19:49:40.156Z] Removing intermediate container 8de1422f04e5 [2023-02-22T19:49:40.156Z] ---> 4389d41f10aa [2023-02-22T19:49:40.156Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T19:49:40.156Z] ---> Running in 574d30e56425 [2023-02-22T19:49:40.156Z] Removing intermediate container 574d30e56425 [2023-02-22T19:49:40.156Z] ---> 95a7fb38b3bc [2023-02-22T19:49:40.156Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T19:49:40.156Z] ---> Running in b9b598b054d1 [2023-02-22T19:49:40.156Z] Removing intermediate container b9b598b054d1 [2023-02-22T19:49:40.156Z] ---> c548f276817c [2023-02-22T19:49:40.156Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T19:49:40.415Z] ---> Running in 940c1749a18d [2023-02-22T19:49:40.415Z] Removing intermediate container 940c1749a18d [2023-02-22T19:49:40.415Z] ---> 3d4584faa3b2 [2023-02-22T19:49:40.415Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T19:49:40.415Z] ---> Running in 84bd007eca30 [2023-02-22T19:49:40.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T19:49:40.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T19:49:41.191Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-22T19:49:41.191Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-22T19:49:41.191Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-22T19:49:41.191Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-22T19:49:41.191Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T19:49:41.191Z] OK: 216 MiB in 55 packages [2023-02-22T19:49:41.415Z] Still waiting to schedule task [2023-02-22T19:49:41.416Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7103’ is offline [2023-02-22T19:49:41.451Z] Removing intermediate container 84bd007eca30 [2023-02-22T19:49:41.451Z] ---> bfbf9adfe83a [2023-02-22T19:49:41.451Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-22T19:49:41.709Z] ---> Running in 6a8d7faaa203 [2023-02-22T19:49:41.709Z] Removing intermediate container 6a8d7faaa203 [2023-02-22T19:49:41.709Z] ---> 04032ebbe3a2 [2023-02-22T19:49:41.709Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-22T19:49:41.709Z] ---> 2815e59c2262 [2023-02-22T19:49:41.709Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T19:49:41.709Z] ---> Running in d0156a3be418 [2023-02-22T19:50:28.410Z] Removing intermediate container d0156a3be418 [2023-02-22T19:50:28.410Z] ---> e776c833d79b [2023-02-22T19:50:28.410Z] Step 11/12 : COPY . . [2023-02-22T19:50:28.410Z] ---> 41109cb9e750 [2023-02-22T19:50:28.410Z] Step 12/12 : RUN $MAKE [2023-02-22T19:50:28.410Z] ---> Running in 8e271c257424 [2023-02-22T19:50:28.410Z] noop [2023-02-22T19:50:28.410Z] Removing intermediate container 8e271c257424 [2023-02-22T19:50:28.410Z] ---> de529d32b537 [2023-02-22T19:50:28.410Z] Successfully built de529d32b537 [2023-02-22T19:50:28.410Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:50:28.865Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T19:50:28.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:50:29.015Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-02-22T19:50:29.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-258 -v /w/workspace/gexfoundry_device-rest-go_PR-258:/w/workspace/gexfoundry_device-rest-go_PR-258:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-258@tmp:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T19:50:29.393Z] $ docker top 236b6e7baf55b4d31a6e8cdb123fa32e59cfb00108a09ee0e6c885adcd384cd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T19:50:29.788Z] + go version [2023-02-22T19:50:29.788Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T19:50:29.818Z] $ docker stop --time=1 236b6e7baf55b4d31a6e8cdb123fa32e59cfb00108a09ee0e6c885adcd384cd1 [2023-02-22T19:50:31.125Z] $ docker rm -f --volumes 236b6e7baf55b4d31a6e8cdb123fa32e59cfb00108a09ee0e6c885adcd384cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:50:31.808Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T19:50:31.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:50:31.956Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-02-22T19:50:31.984Z] $ 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-258 -v /w/workspace/gexfoundry_device-rest-go_PR-258:/w/workspace/gexfoundry_device-rest-go_PR-258:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-258@tmp:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T19:50:32.303Z] $ docker top 92418efd6434dd4eec1af97094b6e7c5e356d2089aebc80f4e259d219565aed7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T19:50:32.694Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-258 [Pipeline] fileExists [Pipeline] sh [2023-02-22T19:50:33.051Z] + make test [2023-02-22T19:50:33.051Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T19:50:33.309Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-22T19:50:41.414Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-22T19:50:41.981Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements [2023-02-22T19:50:50.084Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-22T19:50:50.084Z] go vet ./... [2023-02-22T19:50:53.374Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T19:50:53.374Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T19:50:53.374Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T19:50:53.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T19:50:53.439Z] $ docker stop --time=1 92418efd6434dd4eec1af97094b6e7c5e356d2089aebc80f4e259d219565aed7 [2023-02-22T19:50:55.689Z] $ docker rm -f --volumes 92418efd6434dd4eec1af97094b6e7c5e356d2089aebc80f4e259d219565aed7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T19:50:56.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T19:50:56.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-22T19:50:56.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T19:50:57.252Z] + ls -al . [2023-02-22T19:50:57.252Z] total 188 [2023-02-22T19:50:57.252Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 19:50 . [2023-02-22T19:50:57.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 19:48 .. [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 22 19:49 .dockerignore [2023-02-22T19:50:57.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 19:50 .git [2023-02-22T19:50:57.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 19:49 .github [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 22 19:49 .gitignore [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 22 19:49 .golangci.yml [2023-02-22T19:50:57.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 19:49 .semver [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 22 19:49 Attribution.txt [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 22 19:49 CHANGELOG.md [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 22 19:49 Dockerfile [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 19:49 GOVERNANCE.md [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 22 19:49 Jenkinsfile [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 22 19:49 LICENSE [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 22 19:49 Makefile [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 22 19:49 OWNERS.md [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 22 19:49 README.md [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 19:49 VERSION [2023-02-22T19:50:57.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 19:49 bin [2023-02-22T19:50:57.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 19:49 cmd [2023-02-22T19:50:57.252Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 22 19:50 coverage.out [2023-02-22T19:50:57.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 19:49 driver [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 22 19:49 go.mod [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 22 19:49 go.sum [2023-02-22T19:50:57.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 19:49 snap [2023-02-22T19:50:57.252Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 22 19:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:50:57.648Z] + 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=9cf39bf2d746133d82968d701e3e445806d0daf1 --label arch=amd64 --label version=0.0.0 . [2023-02-22T19:50:57.648Z] Sending build context to Docker daemon 10.84MB [2023-02-22T19:50:57.648Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T19:50:57.648Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-22T19:50:57.648Z] ---> de529d32b537 [2023-02-22T19:50:57.648Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-22T19:50:57.908Z] ---> Running in dca4fcc6611d [2023-02-22T19:50:57.908Z] Removing intermediate container dca4fcc6611d [2023-02-22T19:50:57.908Z] ---> 0cbc8793c60a [2023-02-22T19:50:57.908Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T19:50:57.908Z] ---> Running in 700cd66cd52d [2023-02-22T19:50:57.908Z] Removing intermediate container 700cd66cd52d [2023-02-22T19:50:57.908Z] ---> 4143b1a8273e [2023-02-22T19:50:57.908Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T19:50:57.908Z] ---> Running in c64e511fae20 [2023-02-22T19:50:58.167Z] Removing intermediate container c64e511fae20 [2023-02-22T19:50:58.167Z] ---> 0945a3006126 [2023-02-22T19:50:58.167Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T19:50:58.167Z] ---> Running in b22a204d0b99 [2023-02-22T19:50:58.167Z] Removing intermediate container b22a204d0b99 [2023-02-22T19:50:58.167Z] ---> 9d59476ee993 [2023-02-22T19:50:58.167Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T19:50:58.167Z] ---> Running in 796f5708916a [2023-02-22T19:50:58.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T19:50:58.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T19:50:58.946Z] OK: 216 MiB in 55 packages [2023-02-22T19:50:59.206Z] Removing intermediate container 796f5708916a [2023-02-22T19:50:59.206Z] ---> c5bf44583a41 [2023-02-22T19:50:59.206Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-22T19:50:59.206Z] ---> Running in 533accfd664b [2023-02-22T19:50:59.206Z] Removing intermediate container 533accfd664b [2023-02-22T19:50:59.206Z] ---> 8a203532d216 [2023-02-22T19:50:59.206Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-22T19:50:59.464Z] ---> 9a0f729c58b6 [2023-02-22T19:50:59.465Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T19:50:59.465Z] ---> Running in 799edd349ad4 [2023-02-22T19:51:00.474Z] Removing intermediate container 799edd349ad4 [2023-02-22T19:51:00.474Z] ---> f562b7a4d801 [2023-02-22T19:51:00.474Z] Step 11/25 : COPY . . [2023-02-22T19:51:00.733Z] ---> 7215d17b514c [2023-02-22T19:51:00.733Z] Step 12/25 : RUN $MAKE [2023-02-22T19:51:00.733Z] ---> Running in be27d5e391ce [2023-02-22T19:51:00.993Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-22T19:51:22.914Z] Removing intermediate container be27d5e391ce [2023-02-22T19:51:22.914Z] ---> 0e7859cc51a2 [2023-02-22T19:51:22.914Z] Step 13/25 : FROM alpine:3.16 [2023-02-22T19:51:22.914Z] 3.16: Pulling from library/alpine [2023-02-22T19:51:22.914Z] ef5531b6e74e: Pulling fs layer [2023-02-22T19:51:22.914Z] ef5531b6e74e: Pull complete [2023-02-22T19:51:22.914Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T19:51:22.914Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T19:51:22.914Z] ---> dfd21b5a31f5 [2023-02-22T19:51:22.914Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T19:51:22.914Z] ---> Running in 2d247ec99c0a [2023-02-22T19:51:22.914Z] Removing intermediate container 2d247ec99c0a [2023-02-22T19:51:22.914Z] ---> 68597b468648 [2023-02-22T19:51:22.914Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-22T19:51:22.914Z] ---> Running in 72c42ca72c7c [2023-02-22T19:51:22.914Z] Removing intermediate container 72c42ca72c7c [2023-02-22T19:51:22.914Z] ---> 44ea9a2f5c9c [2023-02-22T19:51:22.914Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-22T19:51:22.914Z] ---> Running in 13570691b68e [2023-02-22T19:51:22.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T19:51:22.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T19:51:22.914Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-22T19:51:22.914Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T19:51:22.914Z] OK: 6 MiB in 15 packages [2023-02-22T19:51:22.914Z] Removing intermediate container 13570691b68e [2023-02-22T19:51:22.914Z] ---> bc2e11a2d8ad [2023-02-22T19:51:22.914Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-22T19:51:22.925Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7105 in /w/workspace/gexfoundry_device-rest-go_PR-258 [Pipeline] { [Pipeline] ws [2023-02-22T19:51:22.988Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-22T19:51:23.072Z] The recommended git tool is: git [2023-02-22T19:51:23.479Z] ---> e7c61a2eeb11 [2023-02-22T19:51:23.479Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-22T19:51:23.479Z] ---> 1e104dd374ee [2023-02-22T19:51:23.479Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-22T19:51:23.737Z] ---> f9a6afcbf275 [2023-02-22T19:51:23.737Z] Step 20/25 : EXPOSE 59986 [2023-02-22T19:51:23.737Z] ---> Running in 142d033c7bfe [2023-02-22T19:51:23.737Z] Removing intermediate container 142d033c7bfe [2023-02-22T19:51:23.737Z] ---> 3deec31f8fb7 [2023-02-22T19:51:23.737Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-22T19:51:23.737Z] ---> Running in 9af666629840 [2023-02-22T19:51:23.737Z] Removing intermediate container 9af666629840 [2023-02-22T19:51:23.737Z] ---> e85ed2ac9681 [2023-02-22T19:51:23.737Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-22T19:51:23.995Z] ---> Running in 033707fd2961 [2023-02-22T19:51:23.995Z] Removing intermediate container 033707fd2961 [2023-02-22T19:51:23.995Z] ---> 671a3e5fae35 [2023-02-22T19:51:23.995Z] Step 23/25 : LABEL arch=amd64 [2023-02-22T19:51:23.995Z] ---> Running in cfdbe0f70dd3 [2023-02-22T19:51:23.995Z] Removing intermediate container cfdbe0f70dd3 [2023-02-22T19:51:23.995Z] ---> 75e6699912d8 [2023-02-22T19:51:23.995Z] Step 24/25 : LABEL git_sha=9cf39bf2d746133d82968d701e3e445806d0daf1 [2023-02-22T19:51:23.995Z] ---> Running in 780a5f3fb95f [2023-02-22T19:51:24.253Z] Removing intermediate container 780a5f3fb95f [2023-02-22T19:51:24.254Z] ---> 7de5536d5e2c [2023-02-22T19:51:24.254Z] Step 25/25 : LABEL version=0.0.0 [2023-02-22T19:51:24.254Z] ---> Running in 6b6959cdce91 [2023-02-22T19:51:24.254Z] Removing intermediate container 6b6959cdce91 [2023-02-22T19:51:24.254Z] ---> 22d1a44af25c [2023-02-22T19:51:24.254Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T19:51:24.254Z] Successfully built 22d1a44af25c [2023-02-22T19:51:24.254Z] 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-02-22T19:51:25.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T19:51:25.140Z] [2023-02-22T19:51:25.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:51:25.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T19:51:25.519Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T19:51:25.519Z] 5eb5b503b376: Pulling fs layer [2023-02-22T19:51:25.519Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T19:51:25.519Z] ec43610c2a17: Pulling fs layer [2023-02-22T19:51:25.519Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T19:51:25.519Z] 33b1e0a273af: Pulling fs layer [2023-02-22T19:51:25.519Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T19:51:25.519Z] 2f39f015ded8: Pulling fs layer [2023-02-22T19:51:25.519Z] 3a2ae6a8a46f: Waiting [2023-02-22T19:51:25.519Z] 33b1e0a273af: Waiting [2023-02-22T19:51:25.519Z] 5d3b04190fa2: Waiting [2023-02-22T19:51:25.519Z] 2f39f015ded8: Waiting [2023-02-22T19:51:25.519Z] 5c69ac0246d0: Verifying Checksum [2023-02-22T19:51:25.519Z] 5c69ac0246d0: Download complete [2023-02-22T19:51:25.519Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T19:51:25.519Z] 3a2ae6a8a46f: Download complete [2023-02-22T19:51:25.781Z] 33b1e0a273af: Verifying Checksum [2023-02-22T19:51:25.781Z] 33b1e0a273af: Download complete [2023-02-22T19:51:25.781Z] ec43610c2a17: Verifying Checksum [2023-02-22T19:51:25.781Z] ec43610c2a17: Download complete [2023-02-22T19:51:25.781Z] 5d3b04190fa2: Verifying Checksum [2023-02-22T19:51:25.781Z] 5d3b04190fa2: Download complete [2023-02-22T19:51:25.781Z] 5eb5b503b376: Verifying Checksum [2023-02-22T19:51:25.781Z] 5eb5b503b376: Download complete [2023-02-22T19:51:26.715Z] 2f39f015ded8: Verifying Checksum [2023-02-22T19:51:26.715Z] 2f39f015ded8: Download complete [2023-02-22T19:51:26.974Z] 5eb5b503b376: Pull complete [2023-02-22T19:51:27.233Z] 5c69ac0246d0: Pull complete [2023-02-22T19:51:27.797Z] ec43610c2a17: Pull complete [2023-02-22T19:51:27.797Z] 3a2ae6a8a46f: Pull complete [2023-02-22T19:51:28.055Z] 33b1e0a273af: Pull complete [2023-02-22T19:51:28.055Z] 5d3b04190fa2: Pull complete [2023-02-22T19:51:28.939Z] using credential edgex-jenkins-ssh [2023-02-22T19:51:28.958Z] Cloning the remote Git repository [2023-02-22T19:51:29.008Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-22T19:51:29.091Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-22T19:51:29.262Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-22T19:51:29.263Z] > git --version # timeout=10 [2023-02-22T19:51:29.286Z] > git --version # 'git version 2.25.1' [2023-02-22T19:51:29.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T19:51:29.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T19:51:31.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-22T19:51:31.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T19:51:33.133Z] Merging remotes/origin/main commit eeb2727d50df763d785a8885935756adc9e2bce2 into PR head commit 9cf39bf2d746133d82968d701e3e445806d0daf1 [2023-02-22T19:51:33.326Z] 2f39f015ded8: Pull complete [2023-02-22T19:51:33.326Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T19:51:33.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T19:51:33.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2023-02-22T19:51:33.405Z] Merge succeeded, producing 9cf39bf2d746133d82968d701e3e445806d0daf1 [2023-02-22T19:51:33.406Z] Checking out Revision 9cf39bf2d746133d82968d701e3e445806d0daf1 (PR-258) [Pipeline] } [Pipeline] // withEnv [2023-02-22T19:51:32.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-22T19:51:32.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-22T19:51:32.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T19:51:32.495Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/258/head:refs/remotes/origin/PR-258 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T19:51:33.158Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T19:51:33.189Z] > git checkout -f 9cf39bf2d746133d82968d701e3e445806d0daf1 # timeout=10 [2023-02-22T19:51:33.289Z] > git remote # timeout=10 [2023-02-22T19:51:33.311Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T19:51:33.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T19:51:33.347Z] > git merge eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 [2023-02-22T19:51:33.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T19:51:33.415Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T19:51:33.432Z] > git checkout -f 9cf39bf2d746133d82968d701e3e445806d0daf1 # timeout=10 [Pipeline] withDockerContainer [2023-02-22T19:51:33.548Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-02-22T19:51:33.574Z] $ 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-258 -v /w/workspace/gexfoundry_device-rest-go_PR-258:/w/workspace/gexfoundry_device-rest-go_PR-258:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-258@tmp:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T19:51:36.917Z] Commit message: "refactor!: Clean up remain config items no longer needed" [2023-02-22T19:51:36.994Z] $ docker top 2cbf5c185581839e12958db38df8b87fe763b06b9a235b7429ef826e28b2e2d7 -eo pid,comm [2023-02-22T19:51:36.976Z] > git --version # timeout=10 [2023-02-22T19:51:36.989Z] > git --version # 'git version 2.25.1' [2023-02-22T19:51:37.004Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:51:37.309Z] [2023-02-22T19:51:37.309Z] GitHub has been notified of this commit’s build result [2023-02-22T19:51:37.309Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [2023-02-22T19:51:37.453Z] ---> job-cost.sh [2023-02-22T19:51:37.453Z] lf-activate-venv: SKIPPING [2023-02-22T19:51:37.453Z] INFO: No Stack... [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T19:51:37.712Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T19:51:37.970Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T19:51:38.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T19:51:38.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T19:51:38.103Z] Dload Upload Total Spent Left Speed [2023-02-22T19:51:38.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [2023-02-22T19:51:38.284Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-258/archives/cost.csv [2023-02-22T19:51:38.284Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T19:51:38.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [2023-02-22T19:51:38.331Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] did not exist. Created. [2023-02-22T19:51:38.332Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-02-22T19:51:38.730Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T19:51:38.815Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T19:51:38.841Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T19:51:38.919Z] $ docker stop --time=1 2cbf5c185581839e12958db38df8b87fe763b06b9a235b7429ef826e28b2e2d7 [2023-02-22T19:51:39.001Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-02-22T19:51:40.072Z] $ docker rm -f --volumes 2cbf5c185581839e12958db38df8b87fe763b06b9a235b7429ef826e28b2e2d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-02-22T19:51:40.527Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T19:51:40.527Z] + sudo tee /etc/docker/daemon.new [2023-02-22T19:51:40.527Z] { [2023-02-22T19:51:40.527Z] "registry-mirrors": [ [2023-02-22T19:51:40.527Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T19:51:40.527Z] ], [2023-02-22T19:51:40.527Z] "bip": "10.250.0.254/24", [2023-02-22T19:51:40.527Z] "hosts": [ [2023-02-22T19:51:40.527Z] "tcp://0.0.0.0:5555", [2023-02-22T19:51:40.527Z] "unix:///var/run/docker.sock" [2023-02-22T19:51:40.527Z] ], [2023-02-22T19:51:40.527Z] "mtu": 1458, [2023-02-22T19:51:40.527Z] "selinux-enabled": true, [2023-02-22T19:51:40.527Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T19:51:40.527Z] } [Pipeline] // stage [Pipeline] } [Pipeline] sh [2023-02-22T19:51:40.930Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T19:51:41.304Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T19:51:59.662Z] provisioning config files... [2023-02-22T19:51:59.695Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config696515283044944861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:52:00.099Z] ---> docker-login.sh [2023-02-22T19:52:00.099Z] nexus3.edgexfoundry.org:10001 [2023-02-22T19:52:00.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:52:00.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:52:00.693Z] Configure a credential helper to remove this warning. See [2023-02-22T19:52:00.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:52:00.693Z] [2023-02-22T19:52:00.693Z] Login Succeeded [2023-02-22T19:52:00.693Z] nexus3.edgexfoundry.org:10002 [2023-02-22T19:52:00.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:52:01.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:52:01.235Z] Configure a credential helper to remove this warning. See [2023-02-22T19:52:01.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:52:01.235Z] [2023-02-22T19:52:01.235Z] Login Succeeded [2023-02-22T19:52:01.235Z] nexus3.edgexfoundry.org:10003 [2023-02-22T19:52:01.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:52:01.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:52:01.510Z] Configure a credential helper to remove this warning. See [2023-02-22T19:52:01.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:52:01.510Z] [2023-02-22T19:52:01.510Z] Login Succeeded [2023-02-22T19:52:01.510Z] nexus3.edgexfoundry.org:10004 [2023-02-22T19:52:01.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:52:02.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:52:02.061Z] Configure a credential helper to remove this warning. See [2023-02-22T19:52:02.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:52:02.061Z] [2023-02-22T19:52:02.061Z] Login Succeeded [2023-02-22T19:52:02.061Z] docker.io [2023-02-22T19:52:02.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T19:52:02.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T19:52:02.602Z] Configure a credential helper to remove this warning. See [2023-02-22T19:52:02.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T19:52:02.602Z] [2023-02-22T19:52:02.602Z] Login Succeeded [2023-02-22T19:52:02.602Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T19:52:02.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T19:52:03.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T19:52:03.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T19:52:03.116Z] ========================================================= [2023-02-22T19:52:03.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T19:52:03.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:52:03.606Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T19:52:03.606Z] Sending build context to Docker daemon 138.8kB [2023-02-22T19:52:03.887Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T19:52:03.887Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-22T19:52:04.171Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T19:52:04.171Z] 9b18e9b68314: Pulling fs layer [2023-02-22T19:52:04.171Z] 35d82f9e3411: Pulling fs layer [2023-02-22T19:52:04.171Z] e16973657156: Pulling fs layer [2023-02-22T19:52:04.171Z] fc693d55d65f: Pulling fs layer [2023-02-22T19:52:04.171Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T19:52:04.171Z] dda99020689f: Pulling fs layer [2023-02-22T19:52:04.171Z] db1c61fa0a46: Pulling fs layer [2023-02-22T19:52:04.171Z] 891c053d2c06: Pulling fs layer [2023-02-22T19:52:04.171Z] 7e9fc2657dce: Waiting [2023-02-22T19:52:04.171Z] dda99020689f: Waiting [2023-02-22T19:52:04.171Z] db1c61fa0a46: Waiting [2023-02-22T19:52:04.171Z] 891c053d2c06: Waiting [2023-02-22T19:52:04.171Z] fc693d55d65f: Waiting [2023-02-22T19:52:04.171Z] e16973657156: Verifying Checksum [2023-02-22T19:52:04.171Z] e16973657156: Download complete [2023-02-22T19:52:04.171Z] 35d82f9e3411: Verifying Checksum [2023-02-22T19:52:04.171Z] 35d82f9e3411: Download complete [2023-02-22T19:52:04.171Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T19:52:04.171Z] 7e9fc2657dce: Download complete [2023-02-22T19:52:04.171Z] 9b18e9b68314: Verifying Checksum [2023-02-22T19:52:04.171Z] 9b18e9b68314: Download complete [2023-02-22T19:52:04.171Z] dda99020689f: Verifying Checksum [2023-02-22T19:52:04.171Z] dda99020689f: Download complete [2023-02-22T19:52:05.158Z] 9b18e9b68314: Pull complete [2023-02-22T19:52:05.158Z] 891c053d2c06: Verifying Checksum [2023-02-22T19:52:05.158Z] 891c053d2c06: Download complete [2023-02-22T19:52:05.763Z] 35d82f9e3411: Pull complete [2023-02-22T19:52:06.357Z] e16973657156: Pull complete [2023-02-22T19:52:06.626Z] db1c61fa0a46: Verifying Checksum [2023-02-22T19:52:06.626Z] db1c61fa0a46: Download complete [2023-02-22T19:52:07.214Z] fc693d55d65f: Verifying Checksum [2023-02-22T19:52:07.214Z] fc693d55d65f: Download complete [2023-02-22T19:52:19.539Z] fc693d55d65f: Pull complete [2023-02-22T19:52:19.539Z] 7e9fc2657dce: Pull complete [2023-02-22T19:52:19.539Z] dda99020689f: Pull complete [2023-02-22T19:52:24.915Z] db1c61fa0a46: Pull complete [2023-02-22T19:52:26.887Z] 891c053d2c06: Pull complete [2023-02-22T19:52:26.887Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T19:52:26.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T19:52:26.887Z] ---> f96f9c87975a [2023-02-22T19:52:26.887Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-22T19:52:28.847Z] ---> Running in 52f400f00b44 [2023-02-22T19:52:28.847Z] Removing intermediate container 52f400f00b44 [2023-02-22T19:52:28.847Z] ---> b9dfca7fd493 [2023-02-22T19:52:28.847Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T19:52:28.847Z] ---> Running in 9bfc66ebf8ee [2023-02-22T19:52:29.437Z] Removing intermediate container 9bfc66ebf8ee [2023-02-22T19:52:29.437Z] ---> f7faa2b581d8 [2023-02-22T19:52:29.437Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T19:52:29.437Z] ---> Running in b96d74e057fa [2023-02-22T19:52:29.708Z] Removing intermediate container b96d74e057fa [2023-02-22T19:52:29.708Z] ---> 1f4514276824 [2023-02-22T19:52:29.708Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T19:52:29.708Z] ---> Running in 5b7d3115866c [2023-02-22T19:52:29.978Z] Removing intermediate container 5b7d3115866c [2023-02-22T19:52:29.978Z] ---> 7737c341446c [2023-02-22T19:52:29.979Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T19:52:30.249Z] ---> Running in 2509137a8c2d [2023-02-22T19:52:31.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T19:52:31.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T19:52:32.638Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-22T19:52:32.638Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-22T19:52:32.638Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-22T19:52:32.638Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-22T19:52:32.638Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T19:52:32.908Z] OK: 226 MiB in 55 packages [2023-02-22T19:52:33.876Z] Removing intermediate container 2509137a8c2d [2023-02-22T19:52:33.876Z] ---> bf4898c13e27 [2023-02-22T19:52:33.876Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-22T19:52:34.147Z] ---> Running in b81a6b2d6d68 [2023-02-22T19:52:34.420Z] Removing intermediate container b81a6b2d6d68 [2023-02-22T19:52:34.420Z] ---> 2db562899dd0 [2023-02-22T19:52:34.420Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-22T19:52:35.017Z] ---> 4b552202247e [2023-02-22T19:52:35.017Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T19:52:35.017Z] ---> Running in a592607d1cc4 [2023-02-22T19:53:56.712Z] Removing intermediate container a592607d1cc4 [2023-02-22T19:53:56.712Z] ---> d0f4e26ae63a [2023-02-22T19:53:56.712Z] Step 11/12 : COPY . . [2023-02-22T19:53:56.712Z] ---> 0b701daeddd6 [2023-02-22T19:53:56.713Z] Step 12/12 : RUN $MAKE [2023-02-22T19:53:56.713Z] ---> Running in 788dbb523179 [2023-02-22T19:53:56.713Z] noop [2023-02-22T19:53:56.713Z] Removing intermediate container 788dbb523179 [2023-02-22T19:53:56.713Z] ---> 3879a92087b5 [2023-02-22T19:53:56.713Z] Successfully built 3879a92087b5 [2023-02-22T19:53:56.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:53:57.214Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T19:53:57.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:53:57.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-7105 does not seem to be running inside a container [2023-02-22T19:53:57.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T19:53:58.790Z] $ docker top 37f02d82bba41496946fc47853cf07acf19a1f698ac7bf5467525cf8d712104f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T19:53:59.655Z] + go version [2023-02-22T19:53:59.655Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T19:53:59.691Z] $ docker stop --time=1 37f02d82bba41496946fc47853cf07acf19a1f698ac7bf5467525cf8d712104f [2023-02-22T19:54:01.282Z] $ docker rm -f --volumes 37f02d82bba41496946fc47853cf07acf19a1f698ac7bf5467525cf8d712104f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:54:02.142Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T19:54:02.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:54:02.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-7105 does not seem to be running inside a container [2023-02-22T19:54:02.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T19:54:03.567Z] $ docker top 98b3da3eb6c677584c7f83ebed64d6324c9a0abc285bb22f352e4a563761a52f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T19:54:04.436Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-22T19:54:04.826Z] + make test [2023-02-22T19:54:05.096Z] go test ./... -coverprofile=coverage.out ./... [2023-02-22T19:54:06.505Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-22T19:55:28.168Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-22T19:55:29.572Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.9% of statements [2023-02-22T19:55:30.154Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-22T19:55:30.154Z] go vet ./... [2023-02-22T19:55:56.846Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T19:55:56.846Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T19:55:56.846Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T19:55:56.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T19:55:56.921Z] $ docker stop --time=1 98b3da3eb6c677584c7f83ebed64d6324c9a0abc285bb22f352e4a563761a52f [2023-02-22T19:55:59.271Z] $ docker rm -f --volumes 98b3da3eb6c677584c7f83ebed64d6324c9a0abc285bb22f352e4a563761a52f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T19:56:00.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T19:56:00.335Z] Warning: overwriting stash ‘coverage-report’ [2023-02-22T19:56:00.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T19:56:01.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T19:56:01.903Z] + ls -al . [2023-02-22T19:56:01.903Z] total 184 [2023-02-22T19:56:01.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 19:54 . [2023-02-22T19:56:01.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 19:51 .. [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 22 19:51 .dockerignore [2023-02-22T19:56:01.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 19:51 .git [2023-02-22T19:56:01.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 19:51 .github [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 22 19:51 .gitignore [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 22 19:51 .golangci.yml [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 22 19:51 Attribution.txt [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 22 19:51 CHANGELOG.md [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 22 19:51 Dockerfile [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 19:51 GOVERNANCE.md [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 22 19:51 Jenkinsfile [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 22 19:51 LICENSE [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 22 19:51 Makefile [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 22 19:51 OWNERS.md [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 22 19:51 README.md [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 19:49 VERSION [2023-02-22T19:56:01.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 19:51 bin [2023-02-22T19:56:01.903Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 19:51 cmd [2023-02-22T19:56:01.903Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 22 19:55 coverage.out [2023-02-22T19:56:01.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 19:51 driver [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 22 19:51 go.mod [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 22 19:51 go.sum [2023-02-22T19:56:01.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 19:51 snap [2023-02-22T19:56:01.903Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 22 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:56:02.334Z] + 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=9cf39bf2d746133d82968d701e3e445806d0daf1 --label arch=arm64 --label version=0.0.0 . [2023-02-22T19:56:02.334Z] Sending build context to Docker daemon 153.1kB [2023-02-22T19:56:02.626Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T19:56:02.626Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-22T19:56:02.626Z] ---> 3879a92087b5 [2023-02-22T19:56:02.626Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-22T19:56:02.945Z] ---> Running in 322b3e4d4d65 [2023-02-22T19:56:03.213Z] Removing intermediate container 322b3e4d4d65 [2023-02-22T19:56:03.213Z] ---> 45093e9d1609 [2023-02-22T19:56:03.213Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-22T19:56:03.213Z] ---> Running in e405b6ac210d [2023-02-22T19:56:03.483Z] Removing intermediate container e405b6ac210d [2023-02-22T19:56:03.483Z] ---> de35637527b7 [2023-02-22T19:56:03.483Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-22T19:56:03.753Z] ---> Running in 0c8253012395 [2023-02-22T19:56:04.023Z] Removing intermediate container 0c8253012395 [2023-02-22T19:56:04.023Z] ---> f60ee8acbfd4 [2023-02-22T19:56:04.023Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-22T19:56:04.023Z] ---> Running in b411dd6c0a11 [2023-02-22T19:56:04.293Z] Removing intermediate container b411dd6c0a11 [2023-02-22T19:56:04.293Z] ---> 35f181746e75 [2023-02-22T19:56:04.293Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-22T19:56:04.293Z] ---> Running in 134242162eb0 [2023-02-22T19:56:05.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T19:56:05.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T19:56:07.166Z] OK: 226 MiB in 55 packages [2023-02-22T19:56:08.403Z] Removing intermediate container 134242162eb0 [2023-02-22T19:56:08.403Z] ---> d082180a2a8d [2023-02-22T19:56:08.403Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-22T19:56:08.403Z] ---> Running in 9895dd928a06 [2023-02-22T19:56:08.681Z] Removing intermediate container 9895dd928a06 [2023-02-22T19:56:08.681Z] ---> cdf9d7e64c28 [2023-02-22T19:56:08.681Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-22T19:56:09.306Z] ---> a231856b4018 [2023-02-22T19:56:09.307Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T19:56:09.307Z] ---> Running in bfcf4d5ce11f [2023-02-22T19:56:14.727Z] Removing intermediate container bfcf4d5ce11f [2023-02-22T19:56:14.727Z] ---> 1753b5350e22 [2023-02-22T19:56:14.727Z] Step 11/25 : COPY . . [2023-02-22T19:56:16.688Z] ---> 48a11fc2d013 [2023-02-22T19:56:16.688Z] Step 12/25 : RUN $MAKE [2023-02-22T19:56:16.688Z] ---> Running in b32052092fdc [2023-02-22T19:56:19.338Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-22T19:58:26.104Z] Removing intermediate container b32052092fdc [2023-02-22T19:58:26.104Z] ---> 8025f7a1d926 [2023-02-22T19:58:26.104Z] Step 13/25 : FROM alpine:3.16 [2023-02-22T19:58:26.104Z] 3.16: Pulling from library/alpine [2023-02-22T19:58:26.104Z] 3760b48202b3: Pulling fs layer [2023-02-22T19:58:26.104Z] 3760b48202b3: Download complete [2023-02-22T19:58:26.104Z] 3760b48202b3: Pull complete [2023-02-22T19:58:26.104Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T19:58:26.104Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T19:58:26.104Z] ---> 4c81e5bf8899 [2023-02-22T19:58:26.104Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T19:58:26.104Z] ---> Running in 4f6fb2900bee [2023-02-22T19:58:26.375Z] Removing intermediate container 4f6fb2900bee [2023-02-22T19:58:26.375Z] ---> db10d765eb95 [2023-02-22T19:58:26.375Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-22T19:58:26.375Z] ---> Running in 59813466bbf9 [2023-02-22T19:58:26.646Z] Removing intermediate container 59813466bbf9 [2023-02-22T19:58:26.646Z] ---> a16e96329666 [2023-02-22T19:58:26.646Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-22T19:58:26.646Z] ---> Running in 0a1f5a67fa2e [2023-02-22T19:58:28.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T19:58:28.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T19:58:29.758Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-22T19:58:29.758Z] Executing busybox-1.35.0-r17.trigger [2023-02-22T19:58:29.758Z] OK: 5 MiB in 15 packages [2023-02-22T19:58:30.718Z] Removing intermediate container 0a1f5a67fa2e [2023-02-22T19:58:30.718Z] ---> 9b46c15e39e3 [2023-02-22T19:58:30.718Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-22T19:58:32.656Z] ---> aba1d321d4d0 [2023-02-22T19:58:32.656Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-22T19:58:32.923Z] ---> 60073763715e [2023-02-22T19:58:32.923Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-22T19:58:33.504Z] ---> 378aba9d4f37 [2023-02-22T19:58:33.504Z] Step 20/25 : EXPOSE 59986 [2023-02-22T19:58:33.504Z] ---> Running in f179087bd545 [2023-02-22T19:58:33.770Z] Removing intermediate container f179087bd545 [2023-02-22T19:58:33.770Z] ---> 2443fec8c081 [2023-02-22T19:58:33.770Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-22T19:58:33.770Z] ---> Running in f26a963892d2 [2023-02-22T19:58:34.037Z] Removing intermediate container f26a963892d2 [2023-02-22T19:58:34.037Z] ---> 9d3add56ea86 [2023-02-22T19:58:34.037Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-22T19:58:34.315Z] ---> Running in ccf42f021818 [2023-02-22T19:58:34.582Z] Removing intermediate container ccf42f021818 [2023-02-22T19:58:34.582Z] ---> 986c7ea0f950 [2023-02-22T19:58:34.582Z] Step 23/25 : LABEL arch=arm64 [2023-02-22T19:58:34.582Z] ---> Running in 076c5d4055bb [2023-02-22T19:58:34.850Z] Removing intermediate container 076c5d4055bb [2023-02-22T19:58:34.850Z] ---> 0537ccb598ed [2023-02-22T19:58:34.850Z] Step 24/25 : LABEL git_sha=9cf39bf2d746133d82968d701e3e445806d0daf1 [2023-02-22T19:58:34.850Z] ---> Running in 75613f16c671 [2023-02-22T19:58:35.119Z] Removing intermediate container 75613f16c671 [2023-02-22T19:58:35.119Z] ---> 097bddff5195 [2023-02-22T19:58:35.119Z] Step 25/25 : LABEL version=0.0.0 [2023-02-22T19:58:35.119Z] ---> Running in 2734fd2e8c6f [2023-02-22T19:58:35.399Z] Removing intermediate container 2734fd2e8c6f [2023-02-22T19:58:35.399Z] ---> fdcf0b0884e2 [2023-02-22T19:58:35.399Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T19:58:35.399Z] Successfully built fdcf0b0884e2 [2023-02-22T19:58:35.666Z] 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-02-22T19:58:36.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T19:58:36.515Z] [2023-02-22T19:58:36.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:58:36.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T19:58:36.922Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T19:58:36.922Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T19:58:36.922Z] 04944245beec: Pulling fs layer [2023-02-22T19:58:36.922Z] 699f458cf7ca: Pulling fs layer [2023-02-22T19:58:36.922Z] 765212b225bb: Pulling fs layer [2023-02-22T19:58:36.922Z] f23df028b6ca: Pulling fs layer [2023-02-22T19:58:36.922Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T19:58:36.922Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T19:58:36.922Z] f23df028b6ca: Waiting [2023-02-22T19:58:36.922Z] d65c8cfc05b1: Waiting [2023-02-22T19:58:36.922Z] 2437ff75d9bd: Waiting [2023-02-22T19:58:36.922Z] 765212b225bb: Waiting [2023-02-22T19:58:37.196Z] 04944245beec: Verifying Checksum [2023-02-22T19:58:37.196Z] 04944245beec: Download complete [2023-02-22T19:58:37.196Z] 765212b225bb: Verifying Checksum [2023-02-22T19:58:37.196Z] 765212b225bb: Download complete [2023-02-22T19:58:37.196Z] f23df028b6ca: Download complete [2023-02-22T19:58:37.196Z] d65c8cfc05b1: Download complete [2023-02-22T19:58:37.468Z] 699f458cf7ca: Verifying Checksum [2023-02-22T19:58:37.468Z] 699f458cf7ca: Download complete [2023-02-22T19:58:37.736Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T19:58:37.736Z] 8998bd30e6a1: Download complete [2023-02-22T19:58:40.323Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T19:58:40.323Z] 2437ff75d9bd: Download complete [2023-02-22T19:58:41.747Z] 8998bd30e6a1: Pull complete [2023-02-22T19:58:42.014Z] 04944245beec: Pull complete [2023-02-22T19:58:45.358Z] 699f458cf7ca: Pull complete [2023-02-22T19:58:45.358Z] 765212b225bb: Pull complete [2023-02-22T19:58:45.944Z] f23df028b6ca: Pull complete [2023-02-22T19:58:46.213Z] d65c8cfc05b1: Pull complete [2023-02-22T19:59:01.219Z] 2437ff75d9bd: Pull complete [2023-02-22T19:59:01.219Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T19:59:01.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T19:59:01.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:59:01.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-7105 does not seem to be running inside a container [2023-02-22T19:59:01.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-22T19:59:04.676Z] $ docker top 08b9aa6eac137d269cb15d3f5d03d259a4e81160e499e6032c41b749bbb950e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:05.597Z] ---> job-cost.sh [2023-02-22T19:59:05.597Z] lf-activate-venv: SKIPPING [2023-02-22T19:59:05.597Z] INFO: No Stack... [2023-02-22T19:59:05.871Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T19:59:06.838Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T19:59:07.508Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-22T19:59:07.508Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T19:59:07.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [2023-02-22T19:59:07.601Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] did not exist. Created. [2023-02-22T19:59:07.601Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T19:59:08.004Z] /w/workspace/device-rest-go/1@tmp/durable-d7583dda/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T19:59:08.965Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T19:59:09.003Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T19:59:09.066Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T19:59:09.083Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-258-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T19:59:09.158Z] $ docker stop --time=1 08b9aa6eac137d269cb15d3f5d03d259a4e81160e499e6032c41b749bbb950e4 [2023-02-22T19:59:11.212Z] $ docker rm -f --volumes 08b9aa6eac137d269cb15d3f5d03d259a4e81160e499e6032c41b749bbb950e4 [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-02-22T19:59:12.243Z] provisioning config files... [2023-02-22T19:59:12.250Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/config14666285769225910526tmp [Pipeline] { [Pipeline] sh [2023-02-22T19:59:12.592Z] + set +x [2023-02-22T19:59:12.592Z] + bash -s -- [2023-02-22T19:59:12.592Z] + curl -s https://codecov.io/bash [2023-02-22T19:59:12.592Z] [2023-02-22T19:59:12.592Z] _____ _ [2023-02-22T19:59:12.592Z] / ____| | | [2023-02-22T19:59:12.592Z] | | ___ __| | ___ ___ _____ __ [2023-02-22T19:59:12.592Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-22T19:59:12.592Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-22T19:59:12.592Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-22T19:59:12.592Z] Bash-1.0.6 [2023-02-22T19:59:12.592Z] [2023-02-22T19:59:12.592Z] [2023-02-22T19:59:12.592Z] ==> git version 2.25.1 found [2023-02-22T19:59:12.592Z] ==> 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-02-22T19:59:12.592Z] Release-Date: 2020-01-08 [2023-02-22T19:59:12.592Z] 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-02-22T19:59:12.592Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-22T19:59:12.592Z] ==> Jenkins CI detected. [2023-02-22T19:59:12.592Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-258 [2023-02-22T19:59:12.592Z] project root: . [2023-02-22T19:59:12.592Z] --> token set from env [2023-02-22T19:59:12.592Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-22T19:59:12.592Z] ==> Running gcov in . (disable via -X gcov) [2023-02-22T19:59:12.592Z] ==> Python coveragepy not found [2023-02-22T19:59:12.592Z] ==> Searching for coverage reports in: [2023-02-22T19:59:12.592Z] + . [2023-02-22T19:59:12.592Z] -> Found 1 reports [2023-02-22T19:59:12.592Z] ==> Detecting git/mercurial file structure [2023-02-22T19:59:12.592Z] ==> Reading reports [2023-02-22T19:59:12.851Z] + ./coverage.out bytes=13744 [2023-02-22T19:59:12.851Z] ==> Appending adjustments [2023-02-22T19:59:12.851Z] https://docs.codecov.io/docs/fixing-reports [2023-02-22T19:59:12.851Z] + Found adjustments [2023-02-22T19:59:12.851Z] ==> Gzipping contents [2023-02-22T19:59:12.851Z] 4.0K /tmp/codecov.kQfrwE.gz [2023-02-22T19:59:12.851Z] ==> Uploading reports [2023-02-22T19:59:12.851Z] url: https://codecov.io [2023-02-22T19:59:12.851Z] query: branch=PR-258&commit=9cf39bf2d746133d82968d701e3e445806d0daf1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=258&job=&cmd_args= [2023-02-22T19:59:12.851Z] -> Pinging Codecov [2023-02-22T19:59:12.851Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-258&commit=9cf39bf2d746133d82968d701e3e445806d0daf1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=258&job=&cmd_args= [2023-02-22T19:59:13.111Z] -> Uploading to [2023-02-22T19:59:13.111Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-22/4E5D53B4F1F92C436F7061BF334D961C/9cf39bf2d746133d82968d701e3e445806d0daf1/a823fada-88f1-47fa-91f5-c6e4b6f07b57.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T195912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad4a00473eaa21dfe57edf6e13156b8ec117c2e5edc21bef0e1ed2281eae5034 [2023-02-22T19:59:13.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T19:59:13.112Z] Dload Upload Total Spent Left Speed [2023-02-22T19:59:13.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 7425 --:--:-- --:--:-- --:--:-- 7425 [2023-02-22T19:59:13.374Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9cf39bf2d746133d82968d701e3e445806d0daf1 [Pipeline] } [2023-02-22T19:59:13.404Z] 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-02-22T19:59:15.127Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-258/archives ] [2023-02-22T19:59:15.128Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-258/archives [2023-02-22T19:59:15.128Z] total 16 [2023-02-22T19:59:15.128Z] drwxr-xr-x 3 root root 4096 Feb 22 19:51 . [2023-02-22T19:59:15.128Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 19:51 .. [2023-02-22T19:59:15.128Z] drwxr-xr-x 2 root root 4096 Feb 22 19:51 cost [2023-02-22T19:59:15.128Z] -rw-r--r-- 1 root root 86 Feb 22 19:51 cost.csv [2023-02-22T19:59:15.128Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-258/archives [2023-02-22T19:59:15.128Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-258/archives [2023-02-22T19:59:15.128Z] total 16 [2023-02-22T19:59:15.128Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 19:51 . [2023-02-22T19:59:15.128Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 19:51 .. [2023-02-22T19:59:15.128Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 19:51 cost [2023-02-22T19:59:15.128Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 22 19:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:15.457Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:16.345Z] ---> package-listing.sh [2023-02-22T19:59:16.345Z] ++ facter osfamily [2023-02-22T19:59:16.345Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T19:59:16.605Z] + OS_FAMILY=debian [2023-02-22T19:59:16.605Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-258 [2023-02-22T19:59:16.605Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T19:59:16.605Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T19:59:16.605Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T19:59:16.605Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T19:59:16.605Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-258 ']' [2023-02-22T19:59:16.605Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T19:59:16.605Z] + case "${OS_FAMILY}" in [2023-02-22T19:59:16.605Z] + dpkg -l [2023-02-22T19:59:16.605Z] + grep '^ii' [2023-02-22T19:59:16.605Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T19:59:16.605Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T19:59:16.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T19:59:16.605Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-258 ']' [2023-02-22T19:59:16.605Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-258/archives/ [2023-02-22T19:59:16.605Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-258/archives/ [Pipeline] echo [2023-02-22T19:59:16.641Z] 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-258/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T19:59:16.931Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T19:59:17.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T19:59:17.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T19:59:17.709Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-02-22T19:59:17.738Z] $ 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-258/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-258 -v /w/workspace/gexfoundry_device-rest-go_PR-258:/w/workspace/gexfoundry_device-rest-go_PR-258:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-258@tmp:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T19:59:17.920Z] $ docker top a7e624bb11b41c217d271473e802e5f8eda0f1d223032db289ce4e360550452b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T19:59:18.310Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T19:59:18.624Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T19:59:18.930Z] + ls /var/log/sa-host [2023-02-22T19:59:18.930Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T19:59:19.089Z] provisioning config files... [2023-02-22T19:59:19.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-258@tmp/config16285147293349131182tmp [Pipeline] { [Pipeline] echo [2023-02-22T19:59:19.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:19.454Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T19:59:19.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:19.876Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T19:59:19.911Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:20.224Z] ---> sudo-logs.sh [2023-02-22T19:59:20.224Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T19:59:20.310Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:20.619Z] ---> job-cost.sh [2023-02-22T19:59:20.619Z] lf-activate-venv: SKIPPING [2023-02-22T19:59:20.619Z] DEBUG: total: 0.2199999988079071 [2023-02-22T19:59:20.619Z] INFO: Retrieving Stack Cost... [2023-02-22T19:59:21.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T19:59:21.448Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T19:59:21.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T19:59:21.796Z] ---> logs-deploy.sh [2023-02-22T19:59:21.796Z] lf-activate-venv: SKIPPING [2023-02-22T19:59:21.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-258/1 [2023-02-22T19:59:21.796Z] INFO: archiving workspace using pattern(s): [2023-02-22T19:59:22.732Z] Archives upload complete. [2023-02-22T19:59:22.732Z] INFO: archiving logs to Nexus