Pull request #265 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 3ba891808935b23585d79dbe78f724fdbb1fc05a+c4a62108a817389daed93061827783c9b25eff67 (037da5a965c53769ab553f484f2c6f8e0e0cfc84) 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-ssh4922014097438444595.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3370828355623617664.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8799429493900842807.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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17976787932934331954.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6118216033671234100.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12750667017861076834.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-241 in /w/workspace/gexfoundry_device-rest-go_PR-265 [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-265 # 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/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4a62108a817389daed93061827783c9b25eff67 into PR head commit 3ba891808935b23585d79dbe78f724fdbb1fc05a Merge succeeded, producing 3ba891808935b23585d79dbe78f724fdbb1fc05a Checking out Revision 3ba891808935b23585d79dbe78f724fdbb1fc05a (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ba891808935b23585d79dbe78f724fdbb1fc05a # 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 c4a62108a817389daed93061827783c9b25eff67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ba891808935b23585d79dbe78f724fdbb1fc05a # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T20:18:00.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T20:18:00.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T20:18:01.074Z] ========================================================= [2023-03-14T20:18:01.074Z] EdgeX Global Pipelines Version Info [2023-03-14T20:18:01.074Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:18:01.830Z] ------------------- [2023-03-14T20:18:01.830Z] stable info: [2023-03-14T20:18:01.830Z] ------------------- [2023-03-14T20:18:01.830Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T20:18:01.830Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T20:18:01.830Z] Message: update stable to v1.0.245 [2023-03-14T20:18:02.400Z] ------------------- [2023-03-14T20:18:02.401Z] experimental info: [2023-03-14T20:18:02.401Z] ------------------- [2023-03-14T20:18:02.401Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T20:18:02.401Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T20:18:02.401Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T20:18:02.706Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-14T20:18:02.749Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-14T20:18:02.796Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T20:18:02.833Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T20:18:02.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T20:18:02.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T20:18:02.970Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T20:18:03.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T20:18:03.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T20:18:03.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T20:18:03.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T20:18:03.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-14T20:18:03.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T20:18:03.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T20:18:03.296Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:18:03.335Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T20:18:03.372Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:18:03.412Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T20:18:03.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T20:18:03.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T20:18:03.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T20:18:03.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T20:18:03.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T20:18:03.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T20:18:03.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T20:18:03.731Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T20:18:03.783Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T20:18:03.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-03-14T20:18:03.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-03-14T20:18:03.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-03-14T20:18:03.953Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ba891808935b23585d79dbe78f724fdbb1fc05a [Pipeline] echo [2023-03-14T20:18:03.995Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ba8918 [Pipeline] echo [2023-03-14T20:18:04.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:18:04.154Z] provisioning config files... [2023-03-14T20:18:04.170Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/config17526199331535216967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:18:04.507Z] ---> docker-login.sh [2023-03-14T20:18:04.507Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:18:04.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:04.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:04.768Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:04.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:04.768Z] [2023-03-14T20:18:04.768Z] Login Succeeded [2023-03-14T20:18:04.768Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:18:04.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:04.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:04.768Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:04.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:04.768Z] [2023-03-14T20:18:04.768Z] Login Succeeded [2023-03-14T20:18:04.768Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:18:05.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:05.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:05.028Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:05.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:05.028Z] [2023-03-14T20:18:05.028Z] Login Succeeded [2023-03-14T20:18:05.028Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:18:05.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:05.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:05.028Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:05.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:05.028Z] [2023-03-14T20:18:05.028Z] Login Succeeded [2023-03-14T20:18:05.028Z] docker.io [2023-03-14T20:18:05.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:05.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:05.287Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:05.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:05.287Z] [2023-03-14T20:18:05.287Z] Login Succeeded [2023-03-14T20:18:05.287Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:18:05.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T20:18:05.919Z] + git rev-list -1 --merges 3ba891808935b23585d79dbe78f724fdbb1fc05a~1..3ba891808935b23585d79dbe78f724fdbb1fc05a [Pipeline] echo [2023-03-14T20:18:06.007Z] -----------> git rev-list -1 --merges 3ba891808935b23585d79dbe78f724fdbb1fc05a~1..3ba891808935b23585d79dbe78f724fdbb1fc05a 3ba891808935b23585d79dbe78f724fdbb1fc05a [false] [Pipeline] sh [2023-03-14T20:18:06.320Z] + git log --format=format:%s -1 3ba891808935b23585d79dbe78f724fdbb1fc05a [Pipeline] echo [2023-03-14T20:18:06.352Z] ========================================================= [2023-03-14T20:18:06.352Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T20:18:06.352Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:18:06.782Z] + git log --format=format:%s -1 3ba891808935b23585d79dbe78f724fdbb1fc05a [Pipeline] echo [2023-03-14T20:18:06.836Z] [semverPrep] GIT_COMMIT: 3ba891808935b23585d79dbe78f724fdbb1fc05a, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T20:18:06.868Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T20:18:07.257Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T20:18:07.257Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T20:18:07.257Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T20:18:07.257Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T20:18:07.257Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-03-14T20:18:07.257Z] -a /etc/ssh/ssh_known_hosts [2023-03-14T20:18:07.257Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:18:07.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:18:07.732Z] [2023-03-14T20:18:07.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:18:08.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:18:08.103Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T20:18:08.103Z] b85a868b505f: Pulling fs layer [2023-03-14T20:18:08.103Z] e2be974225ed: Pulling fs layer [2023-03-14T20:18:08.103Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T20:18:08.103Z] 988bab9f4d93: Pulling fs layer [2023-03-14T20:18:08.103Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T20:18:08.103Z] 988bab9f4d93: Waiting [2023-03-14T20:18:08.103Z] eaf3925da568: Pulling fs layer [2023-03-14T20:18:08.103Z] bab4dde63d76: Pulling fs layer [2023-03-14T20:18:08.103Z] 1469e6f7b9e6: Waiting [2023-03-14T20:18:08.103Z] eaf3925da568: Waiting [2023-03-14T20:18:08.103Z] bde34c3a00c8: Pulling fs layer [2023-03-14T20:18:08.103Z] b352a97aabf1: Pulling fs layer [2023-03-14T20:18:08.103Z] bab4dde63d76: Waiting [2023-03-14T20:18:08.103Z] bde34c3a00c8: Waiting [2023-03-14T20:18:08.103Z] 4872d77fe225: Pulling fs layer [2023-03-14T20:18:08.103Z] 5851b861e8e6: Pulling fs layer [2023-03-14T20:18:08.103Z] b352a97aabf1: Waiting [2023-03-14T20:18:08.103Z] 4872d77fe225: Waiting [2023-03-14T20:18:08.103Z] e2be974225ed: Verifying Checksum [2023-03-14T20:18:08.103Z] e2be974225ed: Download complete [2023-03-14T20:18:08.103Z] 988bab9f4d93: Verifying Checksum [2023-03-14T20:18:08.103Z] 988bab9f4d93: Download complete [2023-03-14T20:18:08.363Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T20:18:08.363Z] 1469e6f7b9e6: Download complete [2023-03-14T20:18:08.363Z] eaf3925da568: Download complete [2023-03-14T20:18:08.363Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T20:18:08.363Z] 339a4e72a1f5: Download complete [2023-03-14T20:18:08.363Z] bde34c3a00c8: Download complete [2023-03-14T20:18:08.363Z] b352a97aabf1: Download complete [2023-03-14T20:18:08.363Z] 4872d77fe225: Verifying Checksum [2023-03-14T20:18:08.363Z] 4872d77fe225: Download complete [2023-03-14T20:18:08.363Z] 5851b861e8e6: Download complete [2023-03-14T20:18:08.363Z] b85a868b505f: Verifying Checksum [2023-03-14T20:18:08.363Z] b85a868b505f: Download complete [2023-03-14T20:18:08.929Z] bab4dde63d76: Verifying Checksum [2023-03-14T20:18:08.929Z] bab4dde63d76: Download complete [2023-03-14T20:18:09.495Z] b85a868b505f: Pull complete [2023-03-14T20:18:09.752Z] e2be974225ed: Pull complete [2023-03-14T20:18:10.010Z] 339a4e72a1f5: Pull complete [2023-03-14T20:18:10.269Z] 988bab9f4d93: Pull complete [2023-03-14T20:18:10.528Z] 1469e6f7b9e6: Pull complete [2023-03-14T20:18:10.528Z] eaf3925da568: Pull complete [2023-03-14T20:18:12.431Z] bab4dde63d76: Pull complete [2023-03-14T20:18:12.431Z] bde34c3a00c8: Pull complete [2023-03-14T20:18:12.431Z] b352a97aabf1: Pull complete [2023-03-14T20:18:12.431Z] 4872d77fe225: Pull complete [2023-03-14T20:18:12.431Z] 5851b861e8e6: Pull complete [2023-03-14T20:18:12.431Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T20:18:12.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T20:18:12.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:18:12.653Z] prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container [2023-03-14T20:18:12.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-265 -v /w/workspace/gexfoundry_device-rest-go_PR-265:/w/workspace/gexfoundry_device-rest-go_PR-265:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-265@tmp:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T20:18:13.840Z] $ docker top 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T20:18:14.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:18:14.011Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:18:14.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:18:14.134Z] $ docker exec 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 ssh-agent [2023-03-14T20:18:14.239Z] SSH_AUTH_SOCK=/tmp/ssh-x5relsqlCgvQ/agent.32 [2023-03-14T20:18:14.239Z] SSH_AGENT_PID=38 [2023-03-14T20:18:14.245Z] Running ssh-add (command line suppressed) [2023-03-14T20:18:14.339Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-265@tmp/private_key_8961553250984183913.key (/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/private_key_8961553250984183913.key) [2023-03-14T20:18:14.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:18:14.685Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T20:18:14.712Z] $ docker exec --env ******** --env ******** 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 ssh-agent -k [2023-03-14T20:18:14.809Z] unset SSH_AUTH_SOCK; [2023-03-14T20:18:14.810Z] unset SSH_AGENT_PID; [2023-03-14T20:18:14.810Z] echo Agent pid 38 killed; [2023-03-14T20:18:14.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T20:18:14.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T20:18:14.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T20:18:15.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T20:18:15.027Z] $ docker exec 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 ssh-agent [2023-03-14T20:18:15.141Z] SSH_AUTH_SOCK=/tmp/ssh-jai9ecDGCIRy/agent.70 [2023-03-14T20:18:15.141Z] SSH_AGENT_PID=76 [2023-03-14T20:18:15.147Z] Running ssh-add (command line suppressed) [2023-03-14T20:18:15.260Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-265@tmp/private_key_6941706662786386108.key (/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/private_key_6941706662786386108.key) [2023-03-14T20:18:15.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T20:18:15.608Z] + git semver init [2023-03-14T20:18:15.872Z] 2023-03-14 20:18:15,805 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T20:18:15.872Z] 2023-03-14 20:18:15,806 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-265/.semver [2023-03-14T20:18:15.872Z] 2023-03-14 20:18:15,806 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-265/.semver [2023-03-14T20:18:15.872Z] 2023-03-14 20:18:15,806 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-265/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-265, universal_newlines=False, shell=None, istream=None) [2023-03-14T20:18:16.809Z] 2023-03-14 20:18:16,808 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-265/.git/info/exclude [2023-03-14T20:18:16.809Z] 2023-03-14 20:18:16,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-265/.semver/PR-265 with force:False [2023-03-14T20:18:16.809Z] 2023-03-14 20:18:16,809 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-265/.semver/PR-265 [2023-03-14T20:18:17.069Z] 2023-03-14 20:18:16,815 [execute] INFO git cat-file --batch-check [2023-03-14T20:18:17.069Z] 2023-03-14 20:18:16,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T20:18:17.069Z] 2023-03-14 20:18:16,822 [execute] INFO git cat-file --batch [2023-03-14T20:18:17.069Z] 2023-03-14 20:18:16,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T20:18:17.070Z] 2023-03-14 20:18:16,827 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-265/.semver/PR-265 [2023-03-14T20:18:17.070Z] 0.0.0 [Pipeline] } [2023-03-14T20:18:17.096Z] $ docker exec --env ******** --env ******** 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 ssh-agent -k [2023-03-14T20:18:17.188Z] unset SSH_AUTH_SOCK; [2023-03-14T20:18:17.189Z] unset SSH_AGENT_PID; [2023-03-14T20:18:17.189Z] echo Agent pid 76 killed; [2023-03-14T20:18:17.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T20:18:17.622Z] + git semver [Pipeline] } [2023-03-14T20:18:17.905Z] $ docker stop --time=1 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 [2023-03-14T20:18:19.210Z] $ docker rm -f --volumes 445a454c7b2055f5be0ba35b252774dd01f36ca3f3f58ef8cb699ab6b4691747 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:18:19.600Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T20:18:19.883Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T20:18:19.898Z] [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-03-14T20:18:20.475Z] provisioning config files... [2023-03-14T20:18:20.485Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/config17839484543928700791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:18:20.696Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-248 in /w/workspace/gexfoundry_device-rest-go_PR-265 [Pipeline] { [Pipeline] ws [2023-03-14T20:18:20.761Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T20:18:20.834Z] The recommended git tool is: git [2023-03-14T20:18:20.875Z] ---> docker-login.sh [2023-03-14T20:18:20.875Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:18:20.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:20.875Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:20.875Z] [2023-03-14T20:18:20.875Z] Login Succeeded [2023-03-14T20:18:20.875Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:18:20.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:20.875Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:20.875Z] [2023-03-14T20:18:20.875Z] Login Succeeded [2023-03-14T20:18:20.875Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:18:21.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:21.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:21.133Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:21.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:21.133Z] [2023-03-14T20:18:21.133Z] Login Succeeded [2023-03-14T20:18:21.133Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:18:21.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:21.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:21.133Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:21.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:21.133Z] [2023-03-14T20:18:21.133Z] Login Succeeded [2023-03-14T20:18:21.133Z] docker.io [2023-03-14T20:18:21.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:21.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:21.392Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:21.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:21.392Z] [2023-03-14T20:18:21.392Z] Login Succeeded [2023-03-14T20:18:21.392Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:18:21.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:18:21.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:18:21.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:18:21.688Z] ========================================================= [2023-03-14T20:18:21.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T20:18:21.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:18:22.153Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T20:18:22.153Z] Sending build context to Docker daemon 10.85MB [2023-03-14T20:18:22.153Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:18:22.153Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T20:18:22.153Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T20:18:22.153Z] 63b65145d645: Pulling fs layer [2023-03-14T20:18:22.153Z] a2d21d5440eb: Pulling fs layer [2023-03-14T20:18:22.153Z] 935e6c44a52c: Pulling fs layer [2023-03-14T20:18:22.153Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T20:18:22.153Z] 30dea6a524f1: Pulling fs layer [2023-03-14T20:18:22.153Z] a2aff8979fd8: Pulling fs layer [2023-03-14T20:18:22.153Z] 94cc34f8dd06: Waiting [2023-03-14T20:18:22.153Z] 30dea6a524f1: Waiting [2023-03-14T20:18:22.153Z] 6808be2612f2: Pulling fs layer [2023-03-14T20:18:22.153Z] f25807f1079a: Pulling fs layer [2023-03-14T20:18:22.153Z] a2aff8979fd8: Waiting [2023-03-14T20:18:22.153Z] f25807f1079a: Waiting [2023-03-14T20:18:22.153Z] 6808be2612f2: Waiting [2023-03-14T20:18:22.153Z] a2d21d5440eb: Verifying Checksum [2023-03-14T20:18:22.153Z] a2d21d5440eb: Download complete [2023-03-14T20:18:22.153Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T20:18:22.153Z] 94cc34f8dd06: Download complete [2023-03-14T20:18:22.153Z] 30dea6a524f1: Verifying Checksum [2023-03-14T20:18:22.153Z] 30dea6a524f1: Download complete [2023-03-14T20:18:22.412Z] 63b65145d645: Download complete [2023-03-14T20:18:22.412Z] a2aff8979fd8: Verifying Checksum [2023-03-14T20:18:22.412Z] a2aff8979fd8: Download complete [2023-03-14T20:18:22.412Z] 63b65145d645: Pull complete [2023-03-14T20:18:22.674Z] a2d21d5440eb: Pull complete [2023-03-14T20:18:22.935Z] f25807f1079a: Download complete [2023-03-14T20:18:22.935Z] 935e6c44a52c: Download complete [2023-03-14T20:18:23.194Z] 6808be2612f2: Verifying Checksum [2023-03-14T20:18:23.194Z] 6808be2612f2: Download complete [2023-03-14T20:18:26.477Z] 935e6c44a52c: Pull complete [2023-03-14T20:18:26.477Z] 94cc34f8dd06: Pull complete [2023-03-14T20:18:26.477Z] 30dea6a524f1: Pull complete [2023-03-14T20:18:26.477Z] a2aff8979fd8: Pull complete [2023-03-14T20:18:28.339Z] using credential edgex-jenkins-ssh [2023-03-14T20:18:28.364Z] Cloning the remote Git repository [2023-03-14T20:18:28.374Z] 6808be2612f2: Pull complete [2023-03-14T20:18:29.307Z] f25807f1079a: Pull complete [2023-03-14T20:18:29.307Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T20:18:29.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T20:18:29.307Z] ---> 3b553350e43f [2023-03-14T20:18:29.307Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:18:28.417Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-14T20:18:28.546Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-14T20:18:28.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-14T20:18:28.747Z] > git --version # timeout=10 [2023-03-14T20:18:28.782Z] > git --version # 'git version 2.25.1' [2023-03-14T20:18:28.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:18:28.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T20:18:30.684Z] ---> Running in 722006fba1a4 [2023-03-14T20:18:30.684Z] Removing intermediate container 722006fba1a4 [2023-03-14T20:18:30.684Z] ---> f2d12cdc7d14 [2023-03-14T20:18:30.684Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:18:30.684Z] ---> Running in 69d5a73ccba9 [2023-03-14T20:18:30.684Z] Removing intermediate container 69d5a73ccba9 [2023-03-14T20:18:30.684Z] ---> b9bd4decf96f [2023-03-14T20:18:30.684Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:18:30.684Z] ---> Running in 0b0cef21bd10 [2023-03-14T20:18:30.684Z] Removing intermediate container 0b0cef21bd10 [2023-03-14T20:18:30.684Z] ---> 3605db56e06e [2023-03-14T20:18:30.684Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:18:30.684Z] ---> Running in dea0a8d4fb85 [2023-03-14T20:18:30.942Z] Removing intermediate container dea0a8d4fb85 [2023-03-14T20:18:30.942Z] ---> 91403973ea4b [2023-03-14T20:18:30.942Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:18:30.942Z] ---> Running in 3fc029d47acc [2023-03-14T20:18:31.120Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-14T20:18:31.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:18:31.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:18:31.716Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T20:18:31.716Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T20:18:31.716Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T20:18:31.716Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T20:18:31.716Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:18:31.716Z] OK: 269 MiB in 57 packages [2023-03-14T20:18:32.281Z] Removing intermediate container 3fc029d47acc [2023-03-14T20:18:32.281Z] ---> 65aa6f990e38 [2023-03-14T20:18:32.281Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-14T20:18:32.281Z] ---> Running in 43910bdaff5d [2023-03-14T20:18:32.281Z] Removing intermediate container 43910bdaff5d [2023-03-14T20:18:32.281Z] ---> 8011aeb2aac0 [2023-03-14T20:18:32.281Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T20:18:32.281Z] ---> f8e82a59b2ae [2023-03-14T20:18:32.281Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:18:32.281Z] ---> Running in fe39ac84eed9 [2023-03-14T20:18:31.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T20:18:32.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-14T20:18:32.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-14T20:18:32.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:18:32.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T20:18:32.866Z] Merging remotes/origin/main commit c4a62108a817389daed93061827783c9b25eff67 into PR head commit 3ba891808935b23585d79dbe78f724fdbb1fc05a [2023-03-14T20:18:33.171Z] Merge succeeded, producing 3ba891808935b23585d79dbe78f724fdbb1fc05a [2023-03-14T20:18:33.171Z] Checking out Revision 3ba891808935b23585d79dbe78f724fdbb1fc05a (PR-265) [2023-03-14T20:18:32.878Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T20:18:32.965Z] > git checkout -f 3ba891808935b23585d79dbe78f724fdbb1fc05a # timeout=10 [2023-03-14T20:18:33.054Z] > git remote # timeout=10 [2023-03-14T20:18:33.074Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T20:18:33.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T20:18:33.114Z] > git merge c4a62108a817389daed93061827783c9b25eff67 # timeout=10 [2023-03-14T20:18:33.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T20:18:33.170Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T20:18:33.188Z] > git checkout -f 3ba891808935b23585d79dbe78f724fdbb1fc05a # timeout=10 [2023-03-14T20:18:36.792Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T20:18:36.843Z] > git --version # timeout=10 [2023-03-14T20:18:36.857Z] > git --version # 'git version 2.25.1' [2023-03-14T20:18:36.877Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:18:38.054Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T20:18:38.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T20:18:38.054Z] Dload Upload Total Spent Left Speed [2023-03-14T20:18:38.054Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-03-14T20:18:38.931Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T20:18:39.285Z] + sudo tee /etc/docker/daemon.new [2023-03-14T20:18:39.285Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T20:18:39.285Z] { [2023-03-14T20:18:39.285Z] "registry-mirrors": [ [2023-03-14T20:18:39.285Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T20:18:39.285Z] ], [2023-03-14T20:18:39.285Z] "bip": "10.250.0.254/24", [2023-03-14T20:18:39.285Z] "hosts": [ [2023-03-14T20:18:39.285Z] "tcp://0.0.0.0:5555", [2023-03-14T20:18:39.285Z] "unix:///var/run/docker.sock" [2023-03-14T20:18:39.285Z] ], [2023-03-14T20:18:39.285Z] "mtu": 1458, [2023-03-14T20:18:39.285Z] "selinux-enabled": true, [2023-03-14T20:18:39.285Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T20:18:39.285Z] } [Pipeline] sh [2023-03-14T20:18:39.648Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T20:18:40.018Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:18:58.387Z] provisioning config files... [2023-03-14T20:18:58.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9967447887862582892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:18:58.829Z] ---> docker-login.sh [2023-03-14T20:18:58.829Z] nexus3.edgexfoundry.org:10001 [2023-03-14T20:18:59.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:59.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:59.420Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:59.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:59.420Z] [2023-03-14T20:18:59.420Z] Login Succeeded [2023-03-14T20:18:59.420Z] nexus3.edgexfoundry.org:10002 [2023-03-14T20:18:59.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:18:59.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:18:59.963Z] Configure a credential helper to remove this warning. See [2023-03-14T20:18:59.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:18:59.963Z] [2023-03-14T20:18:59.963Z] Login Succeeded [2023-03-14T20:18:59.963Z] nexus3.edgexfoundry.org:10003 [2023-03-14T20:19:00.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:19:00.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:19:00.233Z] Configure a credential helper to remove this warning. See [2023-03-14T20:19:00.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:19:00.233Z] [2023-03-14T20:19:00.233Z] Login Succeeded [2023-03-14T20:19:00.233Z] nexus3.edgexfoundry.org:10004 [2023-03-14T20:19:00.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:19:00.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:19:00.800Z] Configure a credential helper to remove this warning. See [2023-03-14T20:19:00.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:19:00.800Z] [2023-03-14T20:19:00.800Z] Login Succeeded [2023-03-14T20:19:00.800Z] docker.io [2023-03-14T20:19:01.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T20:19:01.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T20:19:01.338Z] Configure a credential helper to remove this warning. See [2023-03-14T20:19:01.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T20:19:01.338Z] [2023-03-14T20:19:01.338Z] Login Succeeded [2023-03-14T20:19:01.338Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T20:19:01.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T20:19:01.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:19:01.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T20:19:01.864Z] ========================================================= [2023-03-14T20:19:01.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T20:19:01.864Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:19:02.364Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T20:19:02.364Z] Sending build context to Docker daemon 139.3kB [2023-03-14T20:19:02.633Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:19:02.633Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T20:19:02.906Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T20:19:02.906Z] af6eaf76a39c: Pulling fs layer [2023-03-14T20:19:02.906Z] 55522c791124: Pulling fs layer [2023-03-14T20:19:02.906Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T20:19:02.906Z] 169dfbe0d373: Pulling fs layer [2023-03-14T20:19:02.906Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T20:19:02.906Z] 169dfbe0d373: Waiting [2023-03-14T20:19:02.906Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T20:19:02.906Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T20:19:02.906Z] 5abe8eddf0d5: Waiting [2023-03-14T20:19:02.906Z] 52ebb69f0ebf: Waiting [2023-03-14T20:19:02.906Z] e1ff8fa3b103: Waiting [2023-03-14T20:19:02.906Z] 55522c791124: Verifying Checksum [2023-03-14T20:19:02.906Z] 55522c791124: Download complete [2023-03-14T20:19:02.906Z] 169dfbe0d373: Verifying Checksum [2023-03-14T20:19:02.906Z] 169dfbe0d373: Download complete [2023-03-14T20:19:02.906Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T20:19:02.906Z] af6eaf76a39c: Verifying Checksum [2023-03-14T20:19:02.906Z] af6eaf76a39c: Download complete [2023-03-14T20:19:03.917Z] af6eaf76a39c: Pull complete [2023-03-14T20:19:04.188Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T20:19:04.188Z] 5abe8eddf0d5: Download complete [2023-03-14T20:19:04.361Z] Removing intermediate container fe39ac84eed9 [2023-03-14T20:19:04.361Z] ---> 67f76a50932b [2023-03-14T20:19:04.361Z] Step 11/12 : COPY . . [2023-03-14T20:19:04.361Z] ---> 41da28c3f08d [2023-03-14T20:19:04.361Z] Step 12/12 : RUN $MAKE [2023-03-14T20:19:04.361Z] ---> Running in 4ee25cc3202f [2023-03-14T20:19:04.361Z] noop [2023-03-14T20:19:04.361Z] Removing intermediate container 4ee25cc3202f [2023-03-14T20:19:04.361Z] ---> e562625de7c4 [2023-03-14T20:19:04.361Z] Successfully built e562625de7c4 [2023-03-14T20:19:04.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [2023-03-14T20:19:04.461Z] 55522c791124: Pull complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:19:04.832Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:19:04.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:19:04.987Z] prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container [2023-03-14T20:19:05.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-265 -v /w/workspace/gexfoundry_device-rest-go_PR-265:/w/workspace/gexfoundry_device-rest-go_PR-265:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-265@tmp:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:19:05.361Z] $ docker top 39c8dc06b1618784fcba3c948584d1da19e6f967eeb10fb29bd3a849b7986a93 -eo pid,comm [Pipeline] { [2023-03-14T20:19:05.447Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T20:19:05.447Z] ce5c4a1c91eb: Download complete [Pipeline] sh [2023-03-14T20:19:05.721Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T20:19:05.721Z] 52ebb69f0ebf: Download complete [2023-03-14T20:19:05.767Z] + go version [2023-03-14T20:19:05.767Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T20:19:05.795Z] $ docker stop --time=1 39c8dc06b1618784fcba3c948584d1da19e6f967eeb10fb29bd3a849b7986a93 [2023-03-14T20:19:07.088Z] $ docker rm -f --volumes 39c8dc06b1618784fcba3c948584d1da19e6f967eeb10fb29bd3a849b7986a93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:19:07.801Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T20:19:07.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:19:07.949Z] prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container [2023-03-14T20:19:07.978Z] $ 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-265 -v /w/workspace/gexfoundry_device-rest-go_PR-265:/w/workspace/gexfoundry_device-rest-go_PR-265:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-265@tmp:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T20:19:08.341Z] $ docker top fd4fbd2423d0d271923d20b89a016f258b361dd429d6392f93676a33df6eea94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:19:08.734Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-03-14T20:19:09.102Z] + make test [2023-03-14T20:19:09.102Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T20:19:14.371Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-14T20:19:18.073Z] ce5c4a1c91eb: Pull complete [2023-03-14T20:19:18.074Z] 169dfbe0d373: Pull complete [2023-03-14T20:19:18.074Z] e1ff8fa3b103: Pull complete [2023-03-14T20:19:24.333Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-14T20:19:24.333Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements [2023-03-14T20:19:24.798Z] 52ebb69f0ebf: Pull complete [2023-03-14T20:19:26.239Z] 5abe8eddf0d5: Pull complete [2023-03-14T20:19:26.239Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T20:19:26.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T20:19:26.239Z] ---> 6cb57ee374ae [2023-03-14T20:19:26.239Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:19:28.853Z] ---> Running in 77e158b30539 [2023-03-14T20:19:28.853Z] Removing intermediate container 77e158b30539 [2023-03-14T20:19:28.853Z] ---> bd11d8a061b0 [2023-03-14T20:19:28.853Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:19:28.853Z] ---> Running in 779fbfab905e [2023-03-14T20:19:29.128Z] Removing intermediate container 779fbfab905e [2023-03-14T20:19:29.128Z] ---> 9467592e4f08 [2023-03-14T20:19:29.128Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:19:29.400Z] ---> Running in 1990b352c681 [2023-03-14T20:19:29.672Z] Removing intermediate container 1990b352c681 [2023-03-14T20:19:29.672Z] ---> 9543019cb303 [2023-03-14T20:19:29.672Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:19:29.672Z] ---> Running in 1a762690525a [2023-03-14T20:19:29.945Z] Removing intermediate container 1a762690525a [2023-03-14T20:19:29.945Z] ---> 0a6bd0f735d7 [2023-03-14T20:19:29.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:19:30.432Z] ---> Running in 9236aefd8179 [2023-03-14T20:19:30.889Z] go vet ./... [2023-03-14T20:19:31.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T20:19:32.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T20:19:33.365Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T20:19:33.642Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T20:19:33.642Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T20:19:33.642Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T20:19:33.642Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:19:33.642Z] OK: 268 MiB in 57 packages [2023-03-14T20:19:34.166Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T20:19:34.166Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T20:19:34.166Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T20:19:34.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T20:19:34.239Z] $ docker stop --time=1 fd4fbd2423d0d271923d20b89a016f258b361dd429d6392f93676a33df6eea94 [2023-03-14T20:19:35.076Z] Removing intermediate container 9236aefd8179 [2023-03-14T20:19:35.076Z] ---> 45ca9789f9ba [2023-03-14T20:19:35.076Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-14T20:19:35.076Z] ---> Running in 6385e4e24fb6 [2023-03-14T20:19:35.347Z] Removing intermediate container 6385e4e24fb6 [2023-03-14T20:19:35.347Z] ---> ee5e54b4e79a [2023-03-14T20:19:35.347Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T20:19:35.939Z] ---> 00d61029a1b4 [2023-03-14T20:19:35.939Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:19:36.174Z] $ docker rm -f --volumes fd4fbd2423d0d271923d20b89a016f258b361dd429d6392f93676a33df6eea94 [2023-03-14T20:19:36.213Z] ---> Running in 584441765bf2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:19:36.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T20:19:36.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T20:19:37.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T20:19:37.851Z] + ls -al . [2023-03-14T20:19:37.851Z] total 184 [2023-03-14T20:19:37.851Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 20:19 . [2023-03-14T20:19:37.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:17 .. [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 20:17 .dockerignore [2023-03-14T20:19:37.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:18 .git [2023-03-14T20:19:37.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:17 .github [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 20:17 .gitignore [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:17 .golangci.yml [2023-03-14T20:19:37.851Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:18 .semver [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 20:17 Attribution.txt [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 20:17 CHANGELOG.md [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 20:17 Dockerfile [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:17 GOVERNANCE.md [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:17 Jenkinsfile [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:17 LICENSE [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 20:17 Makefile [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 20:17 OWNERS.md [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 20:17 README.md [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:18 VERSION [2023-03-14T20:19:37.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:17 bin [2023-03-14T20:19:37.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:17 cmd [2023-03-14T20:19:37.851Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 20:19 coverage.out [2023-03-14T20:19:37.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:17 driver [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 20:17 go.mod [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 20:17 go.sum [2023-03-14T20:19:37.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:17 snap [2023-03-14T20:19:37.851Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:19:38.263Z] + 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=3ba891808935b23585d79dbe78f724fdbb1fc05a --label arch=amd64 --label version=0.0.0 . [2023-03-14T20:19:38.263Z] Sending build context to Docker daemon 10.86MB [2023-03-14T20:19:38.263Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:19:38.263Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T20:19:38.263Z] ---> e562625de7c4 [2023-03-14T20:19:38.263Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:19:38.263Z] ---> Running in b1d808a23a69 [2023-03-14T20:19:38.521Z] Removing intermediate container b1d808a23a69 [2023-03-14T20:19:38.521Z] ---> 9fc3639f572a [2023-03-14T20:19:38.521Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:19:38.521Z] ---> Running in b2a90584c079 [2023-03-14T20:19:38.521Z] Removing intermediate container b2a90584c079 [2023-03-14T20:19:38.521Z] ---> 8d4ae841626b [2023-03-14T20:19:38.521Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:19:38.521Z] ---> Running in daec77a0144a [2023-03-14T20:19:38.783Z] Removing intermediate container daec77a0144a [2023-03-14T20:19:38.783Z] ---> 8ae9133e7915 [2023-03-14T20:19:38.783Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:19:38.783Z] ---> Running in a43928f8eb7e [2023-03-14T20:19:38.783Z] Removing intermediate container a43928f8eb7e [2023-03-14T20:19:38.783Z] ---> 70d820e1e824 [2023-03-14T20:19:38.783Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:19:38.783Z] ---> Running in b6fc024f5a5f [2023-03-14T20:19:39.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:19:39.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:19:39.301Z] OK: 269 MiB in 57 packages [2023-03-14T20:19:39.869Z] Removing intermediate container b6fc024f5a5f [2023-03-14T20:19:39.869Z] ---> fbe5fd9635b7 [2023-03-14T20:19:39.869Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-14T20:19:39.869Z] ---> Running in bf60d73e06d1 [2023-03-14T20:19:39.869Z] Removing intermediate container bf60d73e06d1 [2023-03-14T20:19:39.869Z] ---> 7e2217d8064f [2023-03-14T20:19:39.869Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-14T20:19:39.869Z] ---> 56642f2962ff [2023-03-14T20:19:39.869Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:19:39.869Z] ---> Running in 3393f91bad04 [2023-03-14T20:19:40.805Z] Removing intermediate container 3393f91bad04 [2023-03-14T20:19:40.805Z] ---> 29cabbba8bd4 [2023-03-14T20:19:40.805Z] Step 11/25 : COPY . . [2023-03-14T20:19:41.062Z] ---> 7dc215029a98 [2023-03-14T20:19:41.062Z] Step 12/25 : RUN $MAKE [2023-03-14T20:19:41.062Z] ---> Running in a9101cc5df48 [2023-03-14T20:19:41.631Z] 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-03-14T20:19:59.709Z] Removing intermediate container a9101cc5df48 [2023-03-14T20:19:59.709Z] ---> 0c67cf33f087 [2023-03-14T20:19:59.709Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T20:19:59.709Z] 3.17: Pulling from library/alpine [2023-03-14T20:19:59.709Z] 63b65145d645: Already exists [2023-03-14T20:19:59.709Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T20:19:59.709Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T20:19:59.709Z] ---> b2aa39c304c2 [2023-03-14T20:19:59.709Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T20:19:59.709Z] ---> Running in b2df6ad8a5a5 [2023-03-14T20:19:59.709Z] Removing intermediate container b2df6ad8a5a5 [2023-03-14T20:19:59.709Z] ---> f6dbef6afd61 [2023-03-14T20:19:59.709Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-14T20:19:59.709Z] ---> Running in 7d1ba4f6ebe6 [2023-03-14T20:19:59.709Z] Removing intermediate container 7d1ba4f6ebe6 [2023-03-14T20:19:59.709Z] ---> b557aee2998a [2023-03-14T20:19:59.709Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T20:19:59.709Z] ---> Running in 68998271ad13 [2023-03-14T20:19:59.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T20:19:59.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T20:19:59.709Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T20:19:59.709Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:19:59.709Z] OK: 7 MiB in 16 packages [2023-03-14T20:19:59.709Z] Removing intermediate container 68998271ad13 [2023-03-14T20:19:59.709Z] ---> 8582619a8310 [2023-03-14T20:19:59.709Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-14T20:19:59.971Z] ---> 8691bf2288fc [2023-03-14T20:19:59.971Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-14T20:20:00.230Z] ---> 7b41cf56ca7b [2023-03-14T20:20:00.230Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-14T20:20:00.230Z] ---> fb718cc0ecdf [2023-03-14T20:20:00.230Z] Step 20/25 : EXPOSE 59986 [2023-03-14T20:20:00.230Z] ---> Running in 588b7487b7c9 [2023-03-14T20:20:00.489Z] Removing intermediate container 588b7487b7c9 [2023-03-14T20:20:00.489Z] ---> cc4a0b1d0e88 [2023-03-14T20:20:00.489Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-14T20:20:00.489Z] ---> Running in 879b46e1786a [2023-03-14T20:20:00.489Z] Removing intermediate container 879b46e1786a [2023-03-14T20:20:00.489Z] ---> 100092de93e5 [2023-03-14T20:20:00.489Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T20:20:00.489Z] ---> Running in 9860e5cf6629 [2023-03-14T20:20:00.749Z] Removing intermediate container 9860e5cf6629 [2023-03-14T20:20:00.749Z] ---> 74a19101d8d9 [2023-03-14T20:20:00.749Z] Step 23/25 : LABEL arch=amd64 [2023-03-14T20:20:00.749Z] ---> Running in 6bc737e647f0 [2023-03-14T20:20:00.749Z] Removing intermediate container 6bc737e647f0 [2023-03-14T20:20:00.749Z] ---> a24488cccfbb [2023-03-14T20:20:00.749Z] Step 24/25 : LABEL git_sha=3ba891808935b23585d79dbe78f724fdbb1fc05a [2023-03-14T20:20:00.749Z] ---> Running in c059b06549b2 [2023-03-14T20:20:01.007Z] Removing intermediate container c059b06549b2 [2023-03-14T20:20:01.007Z] ---> 628bd8271f1a [2023-03-14T20:20:01.007Z] Step 25/25 : LABEL version=0.0.0 [2023-03-14T20:20:01.007Z] ---> Running in 4c6b746796c6 [2023-03-14T20:20:01.007Z] Removing intermediate container 4c6b746796c6 [2023-03-14T20:20:01.007Z] ---> 9231dc6abf1a [2023-03-14T20:20:01.008Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T20:20:01.008Z] Successfully built 9231dc6abf1a [2023-03-14T20:20:01.008Z] 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-03-14T20:20:01.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:20:01.857Z] [2023-03-14T20:20:01.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:20:02.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:20:02.231Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T20:20:02.231Z] 5eb5b503b376: Pulling fs layer [2023-03-14T20:20:02.231Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T20:20:02.231Z] ec43610c2a17: Pulling fs layer [2023-03-14T20:20:02.231Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T20:20:02.231Z] 33b1e0a273af: Pulling fs layer [2023-03-14T20:20:02.231Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T20:20:02.231Z] 2f39f015ded8: Pulling fs layer [2023-03-14T20:20:02.231Z] 33b1e0a273af: Waiting [2023-03-14T20:20:02.231Z] 3a2ae6a8a46f: Waiting [2023-03-14T20:20:02.231Z] 5d3b04190fa2: Waiting [2023-03-14T20:20:02.231Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T20:20:02.231Z] 5c69ac0246d0: Download complete [2023-03-14T20:20:02.231Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T20:20:02.231Z] 3a2ae6a8a46f: Download complete [2023-03-14T20:20:03.167Z] ec43610c2a17: Verifying Checksum [2023-03-14T20:20:03.167Z] ec43610c2a17: Download complete [2023-03-14T20:20:03.167Z] 5d3b04190fa2: Download complete [2023-03-14T20:20:03.167Z] 33b1e0a273af: Verifying Checksum [2023-03-14T20:20:03.167Z] 33b1e0a273af: Download complete [2023-03-14T20:20:03.167Z] 5eb5b503b376: Download complete [2023-03-14T20:20:03.734Z] 2f39f015ded8: Download complete [2023-03-14T20:20:04.301Z] 5eb5b503b376: Pull complete [2023-03-14T20:20:04.559Z] 5c69ac0246d0: Pull complete [2023-03-14T20:20:04.818Z] ec43610c2a17: Pull complete [2023-03-14T20:20:04.818Z] 3a2ae6a8a46f: Pull complete [2023-03-14T20:20:05.076Z] 33b1e0a273af: Pull complete [2023-03-14T20:20:05.076Z] 5d3b04190fa2: Pull complete [2023-03-14T20:20:09.271Z] 2f39f015ded8: Pull complete [2023-03-14T20:20:09.271Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T20:20:09.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:20:09.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:20:09.505Z] prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container [2023-03-14T20:20:09.534Z] $ 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-265 -v /w/workspace/gexfoundry_device-rest-go_PR-265:/w/workspace/gexfoundry_device-rest-go_PR-265:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-265@tmp:/w/workspace/gexfoundry_device-rest-go_PR-265@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-03-14T20:20:11.238Z] $ docker top ddf622827cf389f1795bd765d60d582ec7480ab3e21d30a578bb820bd401dc95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:20:11.691Z] ---> job-cost.sh [2023-03-14T20:20:11.691Z] lf-activate-venv: SKIPPING [2023-03-14T20:20:11.691Z] INFO: No Stack... [2023-03-14T20:20:11.949Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T20:20:12.518Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T20:20:12.837Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-265/archives/cost.csv [2023-03-14T20:20:12.837Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T20:20:12.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [2023-03-14T20:20:12.890Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] did not exist. Created. [2023-03-14T20:20:12.890Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T20:20:13.286Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T20:20:13.340Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T20:20:13.436Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T20:20:13.537Z] $ docker stop --time=1 ddf622827cf389f1795bd765d60d582ec7480ab3e21d30a578bb820bd401dc95 [2023-03-14T20:20:14.698Z] $ docker rm -f --volumes ddf622827cf389f1795bd765d60d582ec7480ab3e21d30a578bb820bd401dc95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T20:20:57.955Z] Removing intermediate container 584441765bf2 [2023-03-14T20:20:57.956Z] ---> a6b93c8dc0af [2023-03-14T20:20:57.956Z] Step 11/12 : COPY . . [2023-03-14T20:20:57.956Z] ---> 78ab363e4fb2 [2023-03-14T20:20:57.956Z] Step 12/12 : RUN $MAKE [2023-03-14T20:20:57.956Z] ---> Running in 4fcad965c219 [2023-03-14T20:20:57.956Z] noop [2023-03-14T20:20:57.956Z] Removing intermediate container 4fcad965c219 [2023-03-14T20:20:57.956Z] ---> 01e779d2e1bf [2023-03-14T20:20:57.956Z] Successfully built 01e779d2e1bf [2023-03-14T20:20:57.956Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:20:58.447Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T20:20:58.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:20:58.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-248 does not seem to be running inside a container [2023-03-14T20:20:58.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T20:21:00.356Z] $ docker top 06a9e2cb957a986b89c3851332c059d402d50ff4ced1b7a668561ded01abffa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:21:01.325Z] + go version [2023-03-14T20:21:01.325Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T20:21:01.563Z] $ docker stop --time=1 06a9e2cb957a986b89c3851332c059d402d50ff4ced1b7a668561ded01abffa4 [2023-03-14T20:21:03.288Z] $ docker rm -f --volumes 06a9e2cb957a986b89c3851332c059d402d50ff4ced1b7a668561ded01abffa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:21:04.240Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T20:21:04.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:21:04.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-248 does not seem to be running inside a container [2023-03-14T20:21:04.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T20:21:06.246Z] $ docker top d3d4d1e5ab98a298d2b958b9d953effafa01b76629dd1dd6b5d3c7a3921500ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:21:07.193Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T20:21:07.921Z] + make test [2023-03-14T20:21:07.921Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T20:21:54.912Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-14T20:24:16.857Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-14T20:24:16.857Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.1% of statements [2023-03-14T20:24:16.857Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T20:24:16.857Z] go vet ./... [2023-03-14T20:24:43.606Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T20:24:43.607Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T20:24:43.607Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T20:24:43.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T20:24:43.670Z] $ docker stop --time=1 d3d4d1e5ab98a298d2b958b9d953effafa01b76629dd1dd6b5d3c7a3921500ac [2023-03-14T20:24:45.676Z] $ docker rm -f --volumes d3d4d1e5ab98a298d2b958b9d953effafa01b76629dd1dd6b5d3c7a3921500ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T20:24:47.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T20:24:47.154Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T20:24:47.826Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T20:24:48.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T20:24:48.805Z] + ls -al . [2023-03-14T20:24:48.806Z] total 180 [2023-03-14T20:24:48.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:21 . [2023-03-14T20:24:48.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:18 .. [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 14 20:18 .dockerignore [2023-03-14T20:24:48.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:18 .git [2023-03-14T20:24:48.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:18 .github [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 20:18 .gitignore [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:18 .golangci.yml [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 14 20:18 Attribution.txt [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 14 20:18 CHANGELOG.md [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 14 20:18 Dockerfile [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:18 GOVERNANCE.md [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:18 Jenkinsfile [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:18 LICENSE [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 14 20:18 Makefile [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 20:18 OWNERS.md [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 14 20:18 README.md [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:18 VERSION [2023-03-14T20:24:48.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:18 bin [2023-03-14T20:24:48.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:18 cmd [2023-03-14T20:24:48.806Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 14 20:24 coverage.out [2023-03-14T20:24:48.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:18 driver [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 14 20:18 go.mod [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 20:18 go.sum [2023-03-14T20:24:48.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:18 snap [2023-03-14T20:24:48.806Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 14 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:24:49.239Z] + 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=3ba891808935b23585d79dbe78f724fdbb1fc05a --label arch=arm64 --label version=0.0.0 . [2023-03-14T20:24:49.240Z] Sending build context to Docker daemon 154.1kB [2023-03-14T20:24:49.523Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T20:24:49.523Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-14T20:24:49.523Z] ---> 01e779d2e1bf [2023-03-14T20:24:49.523Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-14T20:24:49.796Z] ---> Running in a2bbd39de446 [2023-03-14T20:24:50.070Z] Removing intermediate container a2bbd39de446 [2023-03-14T20:24:50.070Z] ---> 55e9f92fc9f3 [2023-03-14T20:24:50.070Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T20:24:50.070Z] ---> Running in 48f374123752 [2023-03-14T20:24:50.670Z] Removing intermediate container 48f374123752 [2023-03-14T20:24:50.670Z] ---> 5294717042ef [2023-03-14T20:24:50.670Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T20:24:50.670Z] ---> Running in 6464f8e17007 [2023-03-14T20:24:50.944Z] Removing intermediate container 6464f8e17007 [2023-03-14T20:24:50.944Z] ---> 4e30890e734f [2023-03-14T20:24:50.944Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T20:24:51.218Z] ---> Running in 2d98681908f8 [2023-03-14T20:24:51.494Z] Removing intermediate container 2d98681908f8 [2023-03-14T20:24:51.494Z] ---> 878259d2ea33 [2023-03-14T20:24:51.494Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T20:24:51.494Z] ---> Running in 3f24c23e8947 [2023-03-14T20:24:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T20:24:53.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T20:24:54.888Z] OK: 268 MiB in 57 packages [2023-03-14T20:24:55.874Z] Removing intermediate container 3f24c23e8947 [2023-03-14T20:24:55.875Z] ---> 0f8fe195ed80 [2023-03-14T20:24:55.875Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-14T20:24:55.875Z] ---> Running in 4878925ebb35 [2023-03-14T20:24:56.467Z] Removing intermediate container 4878925ebb35 [2023-03-14T20:24:56.467Z] ---> 3b454e1913cf [2023-03-14T20:24:56.467Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-14T20:24:56.746Z] ---> ce88f63e2597 [2023-03-14T20:24:56.746Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T20:24:57.018Z] ---> Running in 2052e387aa61 [2023-03-14T20:25:00.400Z] Removing intermediate container 2052e387aa61 [2023-03-14T20:25:00.400Z] ---> 0d1ae3a97d6d [2023-03-14T20:25:00.400Z] Step 11/25 : COPY . . [2023-03-14T20:25:00.674Z] ---> a283ae3436e4 [2023-03-14T20:25:00.674Z] Step 12/25 : RUN $MAKE [2023-03-14T20:25:00.674Z] ---> Running in 012c01d88fdf [2023-03-14T20:25:01.653Z] 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-03-14T20:27:53.573Z] Removing intermediate container 012c01d88fdf [2023-03-14T20:27:53.573Z] ---> e8b11c6d937c [2023-03-14T20:27:53.573Z] Step 13/25 : FROM alpine:3.17 [2023-03-14T20:27:53.573Z] 3.17: Pulling from library/alpine [2023-03-14T20:27:53.573Z] af6eaf76a39c: Already exists [2023-03-14T20:27:53.573Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T20:27:53.573Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T20:27:53.573Z] ---> d74e625d9115 [2023-03-14T20:27:53.573Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T20:27:53.573Z] ---> Running in 79732f9b1aac [2023-03-14T20:27:53.573Z] Removing intermediate container 79732f9b1aac [2023-03-14T20:27:53.573Z] ---> d480a6ff991c [2023-03-14T20:27:53.573Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-14T20:27:53.573Z] ---> Running in 2f995fad57c2 [2023-03-14T20:27:53.573Z] Removing intermediate container 2f995fad57c2 [2023-03-14T20:27:53.573Z] ---> cc91cc703831 [2023-03-14T20:27:53.573Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-14T20:27:53.573Z] ---> Running in 50bc92d03750 [2023-03-14T20:27:53.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T20:27:53.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T20:27:53.573Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T20:27:53.573Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T20:27:53.573Z] OK: 8 MiB in 16 packages [2023-03-14T20:27:53.573Z] Removing intermediate container 50bc92d03750 [2023-03-14T20:27:53.573Z] ---> 8d83f070b43f [2023-03-14T20:27:53.573Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-14T20:27:53.573Z] ---> 572aa8d26f80 [2023-03-14T20:27:53.573Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-14T20:27:53.573Z] ---> 9cf9d5a8c8c8 [2023-03-14T20:27:53.573Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-14T20:27:53.573Z] ---> 9577266bdc34 [2023-03-14T20:27:53.573Z] Step 20/25 : EXPOSE 59986 [2023-03-14T20:27:53.573Z] ---> Running in e5a97efe5146 [2023-03-14T20:27:53.573Z] Removing intermediate container e5a97efe5146 [2023-03-14T20:27:53.573Z] ---> b3bcdd29eb13 [2023-03-14T20:27:53.573Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-14T20:27:53.573Z] ---> Running in b3f878321e39 [2023-03-14T20:27:53.573Z] Removing intermediate container b3f878321e39 [2023-03-14T20:27:53.573Z] ---> dbf76d96068c [2023-03-14T20:27:53.573Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T20:27:53.573Z] ---> Running in 9e6e4b7aaff0 [2023-03-14T20:27:53.573Z] Removing intermediate container 9e6e4b7aaff0 [2023-03-14T20:27:53.573Z] ---> 545e40035f0b [2023-03-14T20:27:53.573Z] Step 23/25 : LABEL arch=arm64 [2023-03-14T20:27:53.573Z] ---> Running in 6f5589847fa3 [2023-03-14T20:27:53.573Z] Removing intermediate container 6f5589847fa3 [2023-03-14T20:27:53.573Z] ---> d68f1369a398 [2023-03-14T20:27:53.573Z] Step 24/25 : LABEL git_sha=3ba891808935b23585d79dbe78f724fdbb1fc05a [2023-03-14T20:27:53.573Z] ---> Running in 0567e521a4f2 [2023-03-14T20:27:53.574Z] Removing intermediate container 0567e521a4f2 [2023-03-14T20:27:53.574Z] ---> 61bd071270ae [2023-03-14T20:27:53.574Z] Step 25/25 : LABEL version=0.0.0 [2023-03-14T20:27:53.574Z] ---> Running in ed1948f3dca0 [2023-03-14T20:27:53.574Z] Removing intermediate container ed1948f3dca0 [2023-03-14T20:27:53.574Z] ---> 0be190f5d882 [2023-03-14T20:27:53.574Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T20:27:53.574Z] Successfully built 0be190f5d882 [2023-03-14T20:27:53.574Z] 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-03-14T20:27:54.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T20:27:54.443Z] [2023-03-14T20:27:54.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:27:54.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T20:27:55.159Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T20:27:55.159Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T20:27:55.159Z] 04944245beec: Pulling fs layer [2023-03-14T20:27:55.159Z] 699f458cf7ca: Pulling fs layer [2023-03-14T20:27:55.159Z] 765212b225bb: Pulling fs layer [2023-03-14T20:27:55.159Z] f23df028b6ca: Pulling fs layer [2023-03-14T20:27:55.159Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T20:27:55.159Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T20:27:55.159Z] 765212b225bb: Waiting [2023-03-14T20:27:55.159Z] f23df028b6ca: Waiting [2023-03-14T20:27:55.159Z] d65c8cfc05b1: Waiting [2023-03-14T20:27:55.159Z] 2437ff75d9bd: Waiting [2023-03-14T20:27:55.159Z] 04944245beec: Verifying Checksum [2023-03-14T20:27:55.159Z] 04944245beec: Download complete [2023-03-14T20:27:55.159Z] 765212b225bb: Verifying Checksum [2023-03-14T20:27:55.159Z] 765212b225bb: Download complete [2023-03-14T20:27:55.159Z] f23df028b6ca: Verifying Checksum [2023-03-14T20:27:55.159Z] f23df028b6ca: Download complete [2023-03-14T20:27:55.445Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T20:27:55.445Z] d65c8cfc05b1: Download complete [2023-03-14T20:27:55.445Z] 699f458cf7ca: Verifying Checksum [2023-03-14T20:27:55.445Z] 699f458cf7ca: Download complete [2023-03-14T20:27:55.736Z] 8998bd30e6a1: Download complete [2023-03-14T20:27:58.395Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T20:27:58.395Z] 2437ff75d9bd: Download complete [2023-03-14T20:28:00.363Z] 8998bd30e6a1: Pull complete [2023-03-14T20:28:00.955Z] 04944245beec: Pull complete [2023-03-14T20:28:02.384Z] 699f458cf7ca: Pull complete [2023-03-14T20:28:02.975Z] 765212b225bb: Pull complete [2023-03-14T20:28:03.566Z] f23df028b6ca: Pull complete [2023-03-14T20:28:03.837Z] d65c8cfc05b1: Pull complete [2023-03-14T20:28:18.896Z] 2437ff75d9bd: Pull complete [2023-03-14T20:28:18.896Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T20:28:18.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T20:28:18.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:28:19.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-248 does not seem to be running inside a container [2023-03-14T20:28:19.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T20:28:22.417Z] $ docker top 5222d6d8e78464daa3502f2889ce25d9f81de9621ea70960ee77c52b4bb60608 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:23.403Z] ---> job-cost.sh [2023-03-14T20:28:23.403Z] lf-activate-venv: SKIPPING [2023-03-14T20:28:23.403Z] INFO: No Stack... [2023-03-14T20:28:23.996Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T20:28:24.966Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T20:28:25.634Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-14T20:28:25.634Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T20:28:25.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [2023-03-14T20:28:25.741Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] did not exist. Created. [2023-03-14T20:28:25.741Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T20:28:26.490Z] /w/workspace/device-rest-go/1@tmp/durable-183b4ba1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T20:28:27.191Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T20:28:27.227Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T20:28:27.287Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T20:28:27.300Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-265-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T20:28:27.376Z] $ docker stop --time=1 5222d6d8e78464daa3502f2889ce25d9f81de9621ea70960ee77c52b4bb60608 [2023-03-14T20:28:28.962Z] $ docker rm -f --volumes 5222d6d8e78464daa3502f2889ce25d9f81de9621ea70960ee77c52b4bb60608 [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-03-14T20:28:29.897Z] provisioning config files... [2023-03-14T20:28:29.903Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/config12306081362921549285tmp [Pipeline] { [Pipeline] sh [2023-03-14T20:28:30.235Z] + set +x [2023-03-14T20:28:30.235Z] + curl+ -s https://codecov.io/bash [2023-03-14T20:28:30.235Z] bash -s -- [2023-03-14T20:28:30.235Z] [2023-03-14T20:28:30.235Z] _____ _ [2023-03-14T20:28:30.235Z] / ____| | | [2023-03-14T20:28:30.235Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T20:28:30.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T20:28:30.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T20:28:30.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T20:28:30.235Z] Bash-1.0.6 [2023-03-14T20:28:30.235Z] [2023-03-14T20:28:30.235Z] [2023-03-14T20:28:30.235Z] ==> git version 2.25.1 found [2023-03-14T20:28:30.235Z] ==> 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-03-14T20:28:30.235Z] Release-Date: 2020-01-08 [2023-03-14T20:28:30.235Z] 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-03-14T20:28:30.235Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T20:28:30.235Z] ==> Jenkins CI detected. [2023-03-14T20:28:30.235Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-265 [2023-03-14T20:28:30.235Z] project root: . [2023-03-14T20:28:30.235Z] --> token set from env [2023-03-14T20:28:30.235Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T20:28:30.235Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T20:28:30.235Z] ==> Python coveragepy not found [2023-03-14T20:28:30.235Z] ==> Searching for coverage reports in: [2023-03-14T20:28:30.235Z] + . [2023-03-14T20:28:30.235Z] -> Found 1 reports [2023-03-14T20:28:30.235Z] ==> Detecting git/mercurial file structure [2023-03-14T20:28:30.235Z] ==> Reading reports [2023-03-14T20:28:30.235Z] + ./coverage.out bytes=14200 [2023-03-14T20:28:30.494Z] ==> Appending adjustments [2023-03-14T20:28:30.494Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T20:28:30.494Z] + Found adjustments [2023-03-14T20:28:30.494Z] ==> Gzipping contents [2023-03-14T20:28:30.494Z] 4.0K /tmp/codecov.TTJGYI.gz [2023-03-14T20:28:30.494Z] ==> Uploading reports [2023-03-14T20:28:30.494Z] url: https://codecov.io [2023-03-14T20:28:30.494Z] query: branch=PR-265&commit=3ba891808935b23585d79dbe78f724fdbb1fc05a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-03-14T20:28:30.494Z] -> Pinging Codecov [2023-03-14T20:28:30.494Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-265&commit=3ba891808935b23585d79dbe78f724fdbb1fc05a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=265&job=&cmd_args= [2023-03-14T20:28:30.754Z] -> Uploading to [2023-03-14T20:28:30.754Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/4E5D53B4F1F92C436F7061BF334D961C/3ba891808935b23585d79dbe78f724fdbb1fc05a/7189f3bd-b702-46e8-8d9a-4159d68eb793.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T202830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cee1f314197067f457752b17d136890382026760842657bca3d195738730fcc0 [2023-03-14T20:28:30.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T20:28:30.754Z] Dload Upload Total Spent Left Speed [2023-03-14T20:28:31.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 9029 --:--:-- --:--:-- --:--:-- 9029 [2023-03-14T20:28:31.014Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3ba891808935b23585d79dbe78f724fdbb1fc05a [Pipeline] } [2023-03-14T20:28:31.040Z] 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-03-14T20:28:32.707Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-265/archives ] [2023-03-14T20:28:32.707Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-265/archives [2023-03-14T20:28:32.707Z] total 16 [2023-03-14T20:28:32.707Z] drwxr-xr-x 3 root root 4096 Mar 14 20:20 . [2023-03-14T20:28:32.707Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:20 .. [2023-03-14T20:28:32.707Z] drwxr-xr-x 2 root root 4096 Mar 14 20:20 cost [2023-03-14T20:28:32.707Z] -rw-r--r-- 1 root root 87 Mar 14 20:20 cost.csv [2023-03-14T20:28:32.707Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-265/archives [2023-03-14T20:28:32.707Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-265/archives [2023-03-14T20:28:32.707Z] total 16 [2023-03-14T20:28:32.707Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:20 . [2023-03-14T20:28:32.707Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:20 .. [2023-03-14T20:28:32.707Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:20 cost [2023-03-14T20:28:32.707Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 14 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:33.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:33.920Z] ---> package-listing.sh [2023-03-14T20:28:33.920Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T20:28:33.920Z] ++ facter osfamily [2023-03-14T20:28:34.179Z] + OS_FAMILY=debian [2023-03-14T20:28:34.179Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-265 [2023-03-14T20:28:34.179Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T20:28:34.179Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T20:28:34.179Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T20:28:34.179Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T20:28:34.179Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-265 ']' [2023-03-14T20:28:34.179Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T20:28:34.179Z] + case "${OS_FAMILY}" in [2023-03-14T20:28:34.179Z] + dpkg -l [2023-03-14T20:28:34.179Z] + grep '^ii' [2023-03-14T20:28:34.179Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T20:28:34.179Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T20:28:34.179Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T20:28:34.179Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-265 ']' [2023-03-14T20:28:34.179Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-265/archives/ [2023-03-14T20:28:34.179Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-265/archives/ [Pipeline] echo [2023-03-14T20:28:34.213Z] 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T20:28:34.505Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T20:28:35.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T20:28:35.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T20:28:35.262Z] prd-ubuntu20.04-docker-8c-8g-241 does not seem to be running inside a container [2023-03-14T20:28:35.292Z] $ 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-265/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-265 -v /w/workspace/gexfoundry_device-rest-go_PR-265:/w/workspace/gexfoundry_device-rest-go_PR-265:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-265@tmp:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T20:28:35.522Z] $ docker top 7c57bbe9b7c206f6c157d39c1c36dd89710785241b34b7574a06d4566a8a73c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T20:28:35.908Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T20:28:36.218Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T20:28:36.522Z] + ls /var/log/sa-host [2023-03-14T20:28:36.522Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T20:28:36.652Z] provisioning config files... [2023-03-14T20:28:36.664Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-265@tmp/config15439085435362924270tmp [Pipeline] { [Pipeline] echo [2023-03-14T20:28:36.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:37.021Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T20:28:37.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:37.441Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T20:28:37.471Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:37.780Z] ---> sudo-logs.sh [2023-03-14T20:28:37.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T20:28:37.864Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:38.174Z] ---> job-cost.sh [2023-03-14T20:28:38.174Z] lf-activate-venv: SKIPPING [2023-03-14T20:28:38.174Z] DEBUG: total: 0.2199999988079071 [2023-03-14T20:28:38.174Z] INFO: Retrieving Stack Cost... [2023-03-14T20:28:38.742Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T20:28:39.001Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T20:28:39.037Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T20:28:39.347Z] ---> logs-deploy.sh [2023-03-14T20:28:39.347Z] lf-activate-venv: SKIPPING [2023-03-14T20:28:39.347Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-265/1 [2023-03-14T20:28:39.347Z] INFO: archiving workspace using pattern(s): [2023-03-14T20:28:40.286Z] Archives upload complete. [2023-03-14T20:28:40.286Z] INFO: archiving logs to Nexus