Pull request #267 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1247785a1fc51975b6dbde80b0a9dd4e28977c7a+eb45550bbe0df662ecfda2dd82817b25f9b033bb (632e59365d17a82ec82f71929a69d9011ae06e08) 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-ssh11145679805006859363.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-ssh7318382066289467147.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-267/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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14258042861038349918.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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16477737352316406379.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-ssh12185399079206538688.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-267/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-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6759702581239082242.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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-630 in /w/workspace/gexfoundry_device-rest-go_PR-267 [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-267 # 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/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit 1247785a1fc51975b6dbde80b0a9dd4e28977c7a Merge succeeded, producing 1247785a1fc51975b6dbde80b0a9dd4e28977c7a Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (PR-267) Commit message: "ci: Change dependabot gomod schedule to daily" 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-15T15:48:49.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # 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 eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T15:48:49.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T15:48:49.450Z] ========================================================= [2023-03-15T15:48:49.450Z] EdgeX Global Pipelines Version Info [2023-03-15T15:48:49.450Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:48:50.206Z] ------------------- [2023-03-15T15:48:50.206Z] stable info: [2023-03-15T15:48:50.206Z] ------------------- [2023-03-15T15:48:50.206Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T15:48:50.206Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T15:48:50.206Z] Message: update stable to v1.0.245 [2023-03-15T15:48:50.774Z] ------------------- [2023-03-15T15:48:50.774Z] experimental info: [2023-03-15T15:48:50.774Z] ------------------- [2023-03-15T15:48:50.774Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T15:48:50.774Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T15:48:50.774Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T15:48:51.058Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-15T15:48:51.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-15T15:48:51.134Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T15:48:51.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T15:48:51.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T15:48:51.254Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T15:48:51.293Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T15:48:51.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T15:48:51.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T15:48:51.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T15:48:51.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T15:48:51.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-15T15:48:51.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T15:48:51.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T15:48:51.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:48:51.684Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T15:48:51.726Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:48:51.767Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T15:48:51.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T15:48:51.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T15:48:51.886Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T15:48:51.924Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T15:48:51.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T15:48:52.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T15:48:52.044Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T15:48:52.085Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T15:48:52.123Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T15:48:52.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-267 [Pipeline] echo [2023-03-15T15:48:52.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-267 [Pipeline] echo [2023-03-15T15:48:52.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-267 [Pipeline] echo [2023-03-15T15:48:52.277Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo [2023-03-15T15:48:52.314Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1247785 [Pipeline] echo [2023-03-15T15:48:52.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:48:52.463Z] provisioning config files... [2023-03-15T15:48:52.476Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config3859650597530879642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:48:52.818Z] ---> docker-login.sh [2023-03-15T15:48:52.818Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:48:53.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:48:53.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:48:53.076Z] Configure a credential helper to remove this warning. See [2023-03-15T15:48:53.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:48:53.076Z] [2023-03-15T15:48:53.076Z] Login Succeeded [2023-03-15T15:48:53.076Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:48:53.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:48:53.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:48:53.076Z] Configure a credential helper to remove this warning. See [2023-03-15T15:48:53.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:48:53.076Z] [2023-03-15T15:48:53.076Z] Login Succeeded [2023-03-15T15:48:53.076Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:48:53.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:48:53.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:48:53.335Z] Configure a credential helper to remove this warning. See [2023-03-15T15:48:53.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:48:53.335Z] [2023-03-15T15:48:53.335Z] Login Succeeded [2023-03-15T15:48:53.335Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:48:53.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:48:53.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:48:53.335Z] Configure a credential helper to remove this warning. See [2023-03-15T15:48:53.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:48:53.335Z] [2023-03-15T15:48:53.335Z] Login Succeeded [2023-03-15T15:48:53.335Z] docker.io [2023-03-15T15:48:53.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:48:53.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:48:53.595Z] Configure a credential helper to remove this warning. See [2023-03-15T15:48:53.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:48:53.595Z] [2023-03-15T15:48:53.595Z] Login Succeeded [2023-03-15T15:48:53.595Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:48:53.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T15:48:54.204Z] + git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo [2023-03-15T15:48:54.270Z] -----------> git rev-list -1 --merges 1247785a1fc51975b6dbde80b0a9dd4e28977c7a~1..1247785a1fc51975b6dbde80b0a9dd4e28977c7a 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [false] [Pipeline] sh [2023-03-15T15:48:54.579Z] + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo [2023-03-15T15:48:54.608Z] ========================================================= [2023-03-15T15:48:54.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T15:48:54.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:48:55.020Z] + git log --format=format:%s -1 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] echo [2023-03-15T15:48:55.053Z] [semverPrep] GIT_COMMIT: 1247785a1fc51975b6dbde80b0a9dd4e28977c7a, Commit Message: ci: Change dependabot gomod schedule to daily [Pipeline] echo [2023-03-15T15:48:55.081Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T15:48:55.453Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T15:48:55.453Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T15:48:55.453Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T15:48:55.453Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T15:48:55.453Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T15:48:55.453Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T15:48:55.453Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:48:55.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:48:55.871Z] [2023-03-15T15:48:55.871Z] 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-15T15:48:56.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:48:56.238Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T15:48:56.238Z] b85a868b505f: Pulling fs layer [2023-03-15T15:48:56.238Z] e2be974225ed: Pulling fs layer [2023-03-15T15:48:56.238Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T15:48:56.238Z] 988bab9f4d93: Pulling fs layer [2023-03-15T15:48:56.238Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T15:48:56.238Z] eaf3925da568: Pulling fs layer [2023-03-15T15:48:56.238Z] bab4dde63d76: Pulling fs layer [2023-03-15T15:48:56.238Z] bde34c3a00c8: Pulling fs layer [2023-03-15T15:48:56.238Z] b352a97aabf1: Pulling fs layer [2023-03-15T15:48:56.238Z] 4872d77fe225: Pulling fs layer [2023-03-15T15:48:56.238Z] 5851b861e8e6: Pulling fs layer [2023-03-15T15:48:56.238Z] 988bab9f4d93: Waiting [2023-03-15T15:48:56.238Z] 1469e6f7b9e6: Waiting [2023-03-15T15:48:56.238Z] bab4dde63d76: Waiting [2023-03-15T15:48:56.238Z] bde34c3a00c8: Waiting [2023-03-15T15:48:56.238Z] eaf3925da568: Waiting [2023-03-15T15:48:56.238Z] b352a97aabf1: Waiting [2023-03-15T15:48:56.238Z] 5851b861e8e6: Waiting [2023-03-15T15:48:56.238Z] 4872d77fe225: Waiting [2023-03-15T15:48:56.238Z] e2be974225ed: Verifying Checksum [2023-03-15T15:48:56.238Z] e2be974225ed: Download complete [2023-03-15T15:48:56.238Z] 988bab9f4d93: Verifying Checksum [2023-03-15T15:48:56.238Z] 988bab9f4d93: Download complete [2023-03-15T15:48:56.502Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T15:48:56.502Z] 1469e6f7b9e6: Download complete [2023-03-15T15:48:56.502Z] eaf3925da568: Download complete [2023-03-15T15:48:56.502Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T15:48:56.502Z] 339a4e72a1f5: Download complete [2023-03-15T15:48:56.502Z] b352a97aabf1: Verifying Checksum [2023-03-15T15:48:56.502Z] b352a97aabf1: Download complete [2023-03-15T15:48:56.502Z] 4872d77fe225: Verifying Checksum [2023-03-15T15:48:56.502Z] 4872d77fe225: Download complete [2023-03-15T15:48:56.502Z] 5851b861e8e6: Download complete [2023-03-15T15:48:56.502Z] b85a868b505f: Verifying Checksum [2023-03-15T15:48:56.502Z] b85a868b505f: Download complete [2023-03-15T15:48:57.069Z] bab4dde63d76: Verifying Checksum [2023-03-15T15:48:57.069Z] bab4dde63d76: Download complete [2023-03-15T15:48:57.636Z] b85a868b505f: Pull complete [2023-03-15T15:48:57.894Z] e2be974225ed: Pull complete [2023-03-15T15:48:58.154Z] 339a4e72a1f5: Pull complete [2023-03-15T15:48:58.413Z] 988bab9f4d93: Pull complete [2023-03-15T15:48:58.673Z] 1469e6f7b9e6: Pull complete [2023-03-15T15:48:58.673Z] eaf3925da568: Pull complete [2023-03-15T15:49:00.575Z] bab4dde63d76: Pull complete [2023-03-15T15:49:00.575Z] bde34c3a00c8: Pull complete [2023-03-15T15:49:00.575Z] b352a97aabf1: Pull complete [2023-03-15T15:49:00.575Z] 4872d77fe225: Pull complete [2023-03-15T15:49:00.575Z] 5851b861e8e6: Pull complete [2023-03-15T15:49:00.575Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T15:49:00.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T15:49:00.575Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:49:00.798Z] prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container [2023-03-15T15:49:00.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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-15T15:49:02.420Z] $ docker top 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf -eo pid,comm [2023-03-15T15:49:02.470Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T15:49:02.470Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T15:49:02.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:49:02.604Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:49:02.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:49:02.725Z] $ docker exec 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent [2023-03-15T15:49:02.832Z] SSH_AUTH_SOCK=/tmp/ssh-MXwzHPfaw9YZ/agent.34 [2023-03-15T15:49:02.832Z] SSH_AGENT_PID=40 [2023-03-15T15:49:02.837Z] Running ssh-add (command line suppressed) [2023-03-15T15:49:02.935Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_2948962023349291161.key (/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_2948962023349291161.key) [2023-03-15T15:49:02.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:49:03.277Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T15:49:03.306Z] $ docker exec --env ******** --env ******** 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent -k [2023-03-15T15:49:03.413Z] unset SSH_AUTH_SOCK; [2023-03-15T15:49:03.413Z] unset SSH_AGENT_PID; [2023-03-15T15:49:03.413Z] echo Agent pid 40 killed; [2023-03-15T15:49:03.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T15:49:03.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T15:49:03.504Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T15:49:03.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T15:49:03.618Z] $ docker exec 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent [2023-03-15T15:49:03.722Z] SSH_AUTH_SOCK=/tmp/ssh-hgf7b7hY298M/agent.72 [2023-03-15T15:49:03.722Z] SSH_AGENT_PID=78 [2023-03-15T15:49:03.727Z] Running ssh-add (command line suppressed) [2023-03-15T15:49:03.835Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_12811065498393175760.key (/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/private_key_12811065498393175760.key) [2023-03-15T15:49:03.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T15:49:04.169Z] + git semver init [2023-03-15T15:49:04.429Z] 2023-03-15 15:49:04,350 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T15:49:04.429Z] 2023-03-15 15:49:04,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver [2023-03-15T15:49:04.429Z] 2023-03-15 15:49:04,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-267/.semver [2023-03-15T15:49:04.429Z] 2023-03-15 15:49:04,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-267/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267, universal_newlines=False, shell=None, istream=None) [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,263 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-267/.git/info/exclude [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 with force:False [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,269 [execute] INFO git cat-file --batch-check [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,274 [execute] INFO git cat-file --batch [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T15:49:05.363Z] 2023-03-15 15:49:05,278 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-267/.semver/PR-267 [2023-03-15T15:49:05.363Z] 0.0.0 [Pipeline] } [2023-03-15T15:49:05.393Z] $ docker exec --env ******** --env ******** 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf ssh-agent -k [2023-03-15T15:49:05.499Z] unset SSH_AUTH_SOCK; [2023-03-15T15:49:05.499Z] unset SSH_AGENT_PID; [2023-03-15T15:49:05.499Z] echo Agent pid 78 killed; [2023-03-15T15:49:05.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T15:49:05.928Z] + git semver [Pipeline] } [2023-03-15T15:49:06.218Z] $ docker stop --time=1 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf [2023-03-15T15:49:07.721Z] $ docker rm -f --volumes 80bc42b6a98acdfd2c6571b36633239e38ebc29bf74e7b2379947bd17aa67eaf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:49:08.112Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T15:49:08.379Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T15:49:08.395Z] [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-15T15:49:08.947Z] provisioning config files... [2023-03-15T15:49:08.959Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config8452901653381801539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:49:09.343Z] ---> docker-login.sh [2023-03-15T15:49:09.343Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:49:09.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:49:09.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:49:09.343Z] Configure a credential helper to remove this warning. See [2023-03-15T15:49:09.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:49:09.343Z] [2023-03-15T15:49:09.343Z] Login Succeeded [2023-03-15T15:49:09.343Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:49:09.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:49:09.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:49:09.343Z] Configure a credential helper to remove this warning. See [2023-03-15T15:49:09.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:49:09.343Z] [2023-03-15T15:49:09.343Z] Login Succeeded [2023-03-15T15:49:09.343Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:49:09.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:49:09.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:49:09.601Z] Configure a credential helper to remove this warning. See [2023-03-15T15:49:09.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:49:09.601Z] [2023-03-15T15:49:09.601Z] Login Succeeded [2023-03-15T15:49:09.601Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:49:09.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:49:09.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:49:09.601Z] Configure a credential helper to remove this warning. See [2023-03-15T15:49:09.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:49:09.601Z] [2023-03-15T15:49:09.601Z] Login Succeeded [2023-03-15T15:49:09.601Z] docker.io [2023-03-15T15:49:09.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:49:09.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:49:09.861Z] Configure a credential helper to remove this warning. See [2023-03-15T15:49:09.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:49:09.861Z] [2023-03-15T15:49:09.861Z] Login Succeeded [2023-03-15T15:49:09.861Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:49:09.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:49:10.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:49:10.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:49:10.139Z] ========================================================= [2023-03-15T15:49:10.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T15:49:10.140Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:49:10.617Z] + 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-15T15:49:10.617Z] Sending build context to Docker daemon 10.85MB [2023-03-15T15:49:10.617Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:49:10.617Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T15:49:10.617Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T15:49:10.617Z] 63b65145d645: Pulling fs layer [2023-03-15T15:49:10.617Z] a2d21d5440eb: Pulling fs layer [2023-03-15T15:49:10.617Z] 935e6c44a52c: Pulling fs layer [2023-03-15T15:49:10.617Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T15:49:10.617Z] 30dea6a524f1: Pulling fs layer [2023-03-15T15:49:10.617Z] a2aff8979fd8: Pulling fs layer [2023-03-15T15:49:10.617Z] 6808be2612f2: Pulling fs layer [2023-03-15T15:49:10.617Z] f25807f1079a: Pulling fs layer [2023-03-15T15:49:10.617Z] 30dea6a524f1: Waiting [2023-03-15T15:49:10.617Z] a2aff8979fd8: Waiting [2023-03-15T15:49:10.617Z] 6808be2612f2: Waiting [2023-03-15T15:49:10.617Z] f25807f1079a: Waiting [2023-03-15T15:49:10.617Z] 94cc34f8dd06: Waiting [2023-03-15T15:49:10.617Z] a2d21d5440eb: Verifying Checksum [2023-03-15T15:49:10.617Z] a2d21d5440eb: Download complete [2023-03-15T15:49:10.617Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T15:49:10.617Z] 94cc34f8dd06: Download complete [2023-03-15T15:49:10.881Z] 30dea6a524f1: Download complete [2023-03-15T15:49:10.881Z] 63b65145d645: Verifying Checksum [2023-03-15T15:49:10.881Z] 63b65145d645: Download complete [2023-03-15T15:49:10.881Z] a2aff8979fd8: Verifying Checksum [2023-03-15T15:49:10.881Z] a2aff8979fd8: Download complete [2023-03-15T15:49:10.881Z] 63b65145d645: Pull complete [2023-03-15T15:49:11.147Z] a2d21d5440eb: Pull complete [2023-03-15T15:49:11.407Z] f25807f1079a: Verifying Checksum [2023-03-15T15:49:11.407Z] f25807f1079a: Download complete [2023-03-15T15:49:11.407Z] 935e6c44a52c: Verifying Checksum [2023-03-15T15:49:11.407Z] 935e6c44a52c: Download complete [2023-03-15T15:49:11.665Z] 6808be2612f2: Verifying Checksum [2023-03-15T15:49:11.665Z] 6808be2612f2: Download complete [2023-03-15T15:49:14.189Z] 935e6c44a52c: Pull complete [2023-03-15T15:49:14.189Z] 94cc34f8dd06: Pull complete [2023-03-15T15:49:14.451Z] 30dea6a524f1: Pull complete [2023-03-15T15:49:14.451Z] a2aff8979fd8: Pull complete [2023-03-15T15:49:16.984Z] 6808be2612f2: Pull complete [2023-03-15T15:49:17.551Z] f25807f1079a: Pull complete [2023-03-15T15:49:17.551Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T15:49:17.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T15:49:17.551Z] ---> 3b553350e43f [2023-03-15T15:49:17.551Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:49:19.483Z] ---> Running in 53544155de67 [2023-03-15T15:49:19.483Z] Removing intermediate container 53544155de67 [2023-03-15T15:49:19.483Z] ---> 0008792c4f39 [2023-03-15T15:49:19.483Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:49:19.483Z] ---> Running in 254b73f9fd98 [2023-03-15T15:49:19.483Z] Removing intermediate container 254b73f9fd98 [2023-03-15T15:49:19.483Z] ---> 2e0f002a7141 [2023-03-15T15:49:19.483Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:49:19.483Z] ---> Running in 101fd168d00f [2023-03-15T15:49:19.741Z] Removing intermediate container 101fd168d00f [2023-03-15T15:49:19.741Z] ---> 7d84880d6d39 [2023-03-15T15:49:19.741Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:49:19.741Z] ---> Running in 557672b60281 [2023-03-15T15:49:19.741Z] Removing intermediate container 557672b60281 [2023-03-15T15:49:19.741Z] ---> 63b1fd9014c1 [2023-03-15T15:49:19.741Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:49:20.001Z] ---> Running in 26d1c06dd033 [2023-03-15T15:49:20.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:49:20.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:49:20.519Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:49:20.519Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T15:49:20.519Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:49:20.519Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:49:20.519Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:49:20.519Z] OK: 269 MiB in 57 packages [2023-03-15T15:49:21.087Z] Removing intermediate container 26d1c06dd033 [2023-03-15T15:49:21.087Z] ---> 069b54ce9233 [2023-03-15T15:49:21.087Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T15:49:21.087Z] ---> Running in cbbb5d2238b1 [2023-03-15T15:49:21.087Z] Removing intermediate container cbbb5d2238b1 [2023-03-15T15:49:21.087Z] ---> 08c32701f411 [2023-03-15T15:49:21.087Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T15:49:21.346Z] ---> 59a3724b7ad2 [2023-03-15T15:49:21.346Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:49:21.346Z] ---> Running in bccad5209a4b [2023-03-15T15:49:23.784Z] Still waiting to schedule task [2023-03-15T15:49:23.784Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T15:49:43.280Z] Removing intermediate container bccad5209a4b [2023-03-15T15:49:43.280Z] ---> c98b9f201d50 [2023-03-15T15:49:43.280Z] Step 11/12 : COPY . . [2023-03-15T15:49:43.280Z] ---> 7668625d97ca [2023-03-15T15:49:43.280Z] Step 12/12 : RUN $MAKE [2023-03-15T15:49:43.280Z] ---> Running in 27db2ee8c3ad [2023-03-15T15:49:43.280Z] noop [2023-03-15T15:49:43.280Z] Removing intermediate container 27db2ee8c3ad [2023-03-15T15:49:43.280Z] ---> 3d657baaee78 [2023-03-15T15:49:43.280Z] Successfully built 3d657baaee78 [2023-03-15T15:49:43.280Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:49:43.736Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:49:43.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:49:43.876Z] prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container [2023-03-15T15:49:43.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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-15T15:49:44.285Z] $ docker top 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:49:44.677Z] + go version [2023-03-15T15:49:44.677Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T15:49:44.715Z] $ docker stop --time=1 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 [2023-03-15T15:49:46.104Z] $ docker rm -f --volumes 3284174e98ff6417c344c76e9b0d3d2179328c6665c3b31acf208fd86188fb46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:49:46.817Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T15:49:46.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:49:46.962Z] prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container [2023-03-15T15:49:46.991Z] $ 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-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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-15T15:49:47.519Z] $ docker top 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T15:49:47.902Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-267 [Pipeline] fileExists [Pipeline] sh [2023-03-15T15:49:48.260Z] + make test [2023-03-15T15:49:48.260Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T15:49:53.529Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T15:50:03.488Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T15:50:03.488Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements [2023-03-15T15:50:10.042Z] go vet ./... [2023-03-15T15:50:13.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T15:50:13.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T15:50:13.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T15:50:13.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T15:50:13.523Z] $ docker stop --time=1 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 [2023-03-15T15:50:15.600Z] $ docker rm -f --volumes 8bf68fbe54fc86a32353de1d1cd172fdf1b5904ea909b6b8622c7ba80fd1d0b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T15:50:16.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T15:50:16.196Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T15:50:16.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T15:50:17.094Z] + ls -al . [2023-03-15T15:50:17.094Z] total 184 [2023-03-15T15:50:17.094Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 15:49 . [2023-03-15T15:50:17.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 .. [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:48 .dockerignore [2023-03-15T15:50:17.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:49 .git [2023-03-15T15:50:17.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 .github [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:48 .gitignore [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:48 .golangci.yml [2023-03-15T15:50:17.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:49 .semver [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:48 Attribution.txt [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:48 CHANGELOG.md [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:48 Dockerfile [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:48 GOVERNANCE.md [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:48 Jenkinsfile [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:48 LICENSE [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:48 Makefile [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:48 OWNERS.md [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:48 README.md [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION [2023-03-15T15:50:17.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:48 bin [2023-03-15T15:50:17.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:48 cmd [2023-03-15T15:50:17.094Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 15:50 coverage.out [2023-03-15T15:50:17.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:48 driver [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:48 go.mod [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:48 go.sum [2023-03-15T15:50:17.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:48 snap [2023-03-15T15:50:17.094Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:50:17.474Z] + 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=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=amd64 --label version=0.0.0 . [2023-03-15T15:50:17.474Z] Sending build context to Docker daemon 10.87MB [2023-03-15T15:50:17.474Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:50:17.474Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T15:50:17.474Z] ---> 3d657baaee78 [2023-03-15T15:50:17.474Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:50:17.474Z] ---> Running in d739ce8fd68f [2023-03-15T15:50:17.733Z] Removing intermediate container d739ce8fd68f [2023-03-15T15:50:17.733Z] ---> 9ca72b4fc112 [2023-03-15T15:50:17.733Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:50:17.733Z] ---> Running in 0a21dee83ba3 [2023-03-15T15:50:17.733Z] Removing intermediate container 0a21dee83ba3 [2023-03-15T15:50:17.733Z] ---> 01f7eb24df36 [2023-03-15T15:50:17.733Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:50:17.991Z] ---> Running in ab3ce6b9e82e [2023-03-15T15:50:17.991Z] Removing intermediate container ab3ce6b9e82e [2023-03-15T15:50:17.991Z] ---> 711fc0ab0e9d [2023-03-15T15:50:17.991Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:50:17.991Z] ---> Running in 18257af91931 [2023-03-15T15:50:17.991Z] Removing intermediate container 18257af91931 [2023-03-15T15:50:17.991Z] ---> 94b6dcce316c [2023-03-15T15:50:17.991Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:50:18.251Z] ---> Running in be06828346b0 [2023-03-15T15:50:18.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:50:18.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:50:18.771Z] OK: 269 MiB in 57 packages [2023-03-15T15:50:19.034Z] Removing intermediate container be06828346b0 [2023-03-15T15:50:19.034Z] ---> d68092d966be [2023-03-15T15:50:19.034Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T15:50:19.293Z] ---> Running in 0c89e9dae61f [2023-03-15T15:50:19.293Z] Removing intermediate container 0c89e9dae61f [2023-03-15T15:50:19.293Z] ---> de465b176d42 [2023-03-15T15:50:19.293Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T15:50:19.552Z] ---> 83b403caddc9 [2023-03-15T15:50:19.552Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:50:19.552Z] ---> Running in 3655d766d50c [2023-03-15T15:50:20.487Z] Removing intermediate container 3655d766d50c [2023-03-15T15:50:20.487Z] ---> 2ecc1cce7da2 [2023-03-15T15:50:20.487Z] Step 11/25 : COPY . . [2023-03-15T15:50:20.746Z] ---> 40d59c290fed [2023-03-15T15:50:20.746Z] Step 12/25 : RUN $MAKE [2023-03-15T15:50:20.746Z] ---> Running in a93bc04e9097 [2023-03-15T15:50:21.006Z] 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-15T15:50:39.145Z] Removing intermediate container a93bc04e9097 [2023-03-15T15:50:39.145Z] ---> 6a5b67842bfa [2023-03-15T15:50:39.145Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T15:50:39.712Z] 3.17: Pulling from library/alpine [2023-03-15T15:50:39.712Z] 63b65145d645: Already exists [2023-03-15T15:50:39.712Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T15:50:39.712Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T15:50:39.712Z] ---> b2aa39c304c2 [2023-03-15T15:50:39.712Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T15:50:39.971Z] ---> Running in 774e8b5dba08 [2023-03-15T15:50:39.971Z] Removing intermediate container 774e8b5dba08 [2023-03-15T15:50:39.971Z] ---> 9b7214ed1585 [2023-03-15T15:50:39.971Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T15:50:39.971Z] ---> Running in 50c1d8ab0abd [2023-03-15T15:50:39.971Z] Removing intermediate container 50c1d8ab0abd [2023-03-15T15:50:39.971Z] ---> ed91f8c69652 [2023-03-15T15:50:39.971Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T15:50:40.229Z] ---> Running in 7044587ea590 [2023-03-15T15:50:40.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T15:50:40.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T15:50:41.057Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T15:50:41.057Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:50:41.057Z] OK: 7 MiB in 16 packages [2023-03-15T15:50:41.316Z] Removing intermediate container 7044587ea590 [2023-03-15T15:50:41.316Z] ---> 353abbb92454 [2023-03-15T15:50:41.316Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T15:50:42.252Z] ---> 3caa3a93b33c [2023-03-15T15:50:42.252Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T15:50:42.512Z] ---> 2ea23babf3c4 [2023-03-15T15:50:42.512Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T15:50:42.512Z] ---> 9bc089fabbae [2023-03-15T15:50:42.512Z] Step 20/25 : EXPOSE 59986 [2023-03-15T15:50:42.769Z] ---> Running in beac97f98153 [2023-03-15T15:50:42.769Z] Removing intermediate container beac97f98153 [2023-03-15T15:50:42.769Z] ---> 98329de6930f [2023-03-15T15:50:42.769Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T15:50:42.769Z] ---> Running in f860582b1103 [2023-03-15T15:50:42.769Z] Removing intermediate container f860582b1103 [2023-03-15T15:50:42.769Z] ---> 20b57ab62696 [2023-03-15T15:50:42.769Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T15:50:43.028Z] ---> Running in 696fa2beca51 [2023-03-15T15:50:43.028Z] Removing intermediate container 696fa2beca51 [2023-03-15T15:50:43.028Z] ---> 08f8f068ab6e [2023-03-15T15:50:43.028Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T15:50:43.028Z] ---> Running in fe94292c6b2b [2023-03-15T15:50:43.028Z] Removing intermediate container fe94292c6b2b [2023-03-15T15:50:43.028Z] ---> 49875cb94fc1 [2023-03-15T15:50:43.028Z] Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a [2023-03-15T15:50:43.028Z] ---> Running in 82de1de6afc5 [2023-03-15T15:50:43.291Z] Removing intermediate container 82de1de6afc5 [2023-03-15T15:50:43.291Z] ---> fa7ba95a7c90 [2023-03-15T15:50:43.291Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T15:50:43.291Z] ---> Running in 778a243a8a3f [2023-03-15T15:50:43.291Z] Removing intermediate container 778a243a8a3f [2023-03-15T15:50:43.291Z] ---> 09e6e4f540fb [2023-03-15T15:50:43.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T15:50:43.291Z] Successfully built 09e6e4f540fb [2023-03-15T15:50:43.291Z] 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-15T15:50:44.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:50:44.154Z] [2023-03-15T15:50:44.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:50:44.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:50:44.540Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T15:50:44.540Z] 5eb5b503b376: Pulling fs layer [2023-03-15T15:50:44.540Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T15:50:44.540Z] ec43610c2a17: Pulling fs layer [2023-03-15T15:50:44.540Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T15:50:44.540Z] 33b1e0a273af: Pulling fs layer [2023-03-15T15:50:44.540Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T15:50:44.540Z] 2f39f015ded8: Pulling fs layer [2023-03-15T15:50:44.540Z] 33b1e0a273af: Waiting [2023-03-15T15:50:44.540Z] 3a2ae6a8a46f: Waiting [2023-03-15T15:50:44.540Z] 5d3b04190fa2: Waiting [2023-03-15T15:50:44.540Z] 2f39f015ded8: Waiting [2023-03-15T15:50:44.540Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T15:50:44.540Z] 5c69ac0246d0: Download complete [2023-03-15T15:50:44.540Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T15:50:44.540Z] 3a2ae6a8a46f: Download complete [2023-03-15T15:50:44.800Z] 33b1e0a273af: Verifying Checksum [2023-03-15T15:50:44.800Z] 33b1e0a273af: Download complete [2023-03-15T15:50:44.800Z] ec43610c2a17: Verifying Checksum [2023-03-15T15:50:44.800Z] ec43610c2a17: Download complete [2023-03-15T15:50:44.800Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T15:50:44.800Z] 5d3b04190fa2: Download complete [2023-03-15T15:50:44.800Z] 5eb5b503b376: Download complete [2023-03-15T15:50:45.370Z] 2f39f015ded8: Download complete [2023-03-15T15:50:45.936Z] 5eb5b503b376: Pull complete [2023-03-15T15:50:46.194Z] 5c69ac0246d0: Pull complete [2023-03-15T15:50:46.453Z] ec43610c2a17: Pull complete [2023-03-15T15:50:46.453Z] 3a2ae6a8a46f: Pull complete [2023-03-15T15:50:46.711Z] 33b1e0a273af: Pull complete [2023-03-15T15:50:46.711Z] 5d3b04190fa2: Pull complete [2023-03-15T15:50:50.889Z] 2f39f015ded8: Pull complete [2023-03-15T15:50:50.889Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T15:50:50.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T15:50:50.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T15:50:51.098Z] prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container [2023-03-15T15:50:51.129Z] $ 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-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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-15T15:50:54.240Z] $ docker top 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:50:54.661Z] ---> job-cost.sh [2023-03-15T15:50:54.661Z] lf-activate-venv: SKIPPING [2023-03-15T15:50:54.661Z] INFO: No Stack... [2023-03-15T15:50:54.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T15:50:55.485Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T15:50:55.803Z] + + cut -d, -f6 [2023-03-15T15:50:55.803Z] cat /w/workspace/gexfoundry_device-rest-go_PR-267/archives/cost.csv [Pipeline] lock [2023-03-15T15:50:55.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [2023-03-15T15:50:55.848Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] did not exist. Created. [2023-03-15T15:50:55.848Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T15:50:56.244Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T15:50:56.292Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T15:50:56.322Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T15:50:56.397Z] $ docker stop --time=1 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa [2023-03-15T15:50:57.554Z] $ docker rm -f --volumes 2f3d9da35e1266c41ace1f4e3a7474d6a7ad58127ee832ea206d2a57f495feaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T15:57:50.019Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-754 in /w/workspace/gexfoundry_device-rest-go_PR-267 [Pipeline] { [Pipeline] ws [2023-03-15T15:57:50.075Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T15:57:50.165Z] The recommended git tool is: git [2023-03-15T15:57:56.966Z] using credential edgex-jenkins-ssh [2023-03-15T15:57:56.985Z] Cloning the remote Git repository [2023-03-15T15:57:57.054Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T15:57:57.180Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-15T15:57:57.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T15:57:57.365Z] > git --version # timeout=10 [2023-03-15T15:57:57.390Z] > git --version # 'git version 2.25.1' [2023-03-15T15:57:57.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:57:57.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:57:59.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T15:57:59.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T15:58:01.527Z] Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [2023-03-15T15:58:01.853Z] Merge succeeded, producing 1247785a1fc51975b6dbde80b0a9dd4e28977c7a [2023-03-15T15:58:01.853Z] Checking out Revision 1247785a1fc51975b6dbde80b0a9dd4e28977c7a (PR-267) [2023-03-15T15:58:00.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T15:58:00.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T15:58:00.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:58:00.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T15:58:01.551Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T15:58:01.643Z] > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 [2023-03-15T15:58:01.741Z] > git remote # timeout=10 [2023-03-15T15:58:01.762Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T15:58:01.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T15:58:01.803Z] > git merge eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 [2023-03-15T15:58:01.832Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T15:58:01.862Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T15:58:01.882Z] > git checkout -f 1247785a1fc51975b6dbde80b0a9dd4e28977c7a # timeout=10 [2023-03-15T15:58:02.448Z] Commit message: "ci: Change dependabot gomod schedule to daily" [2023-03-15T15:58:02.515Z] > git --version # timeout=10 [2023-03-15T15:58:02.527Z] > git --version # 'git version 2.25.1' [2023-03-15T15:58:02.548Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T15:58:03.782Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T15:58:03.782Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T15:58:03.782Z] Dload Upload Total Spent Left Speed [2023-03-15T15:58:03.782Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-15T15:58:04.417Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T15:58:04.779Z] + sudo tee /etc/docker/daemon.new [2023-03-15T15:58:04.779Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T15:58:04.779Z] { [2023-03-15T15:58:04.779Z] "registry-mirrors": [ [2023-03-15T15:58:04.779Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T15:58:04.779Z] ], [2023-03-15T15:58:04.779Z] "bip": "10.250.0.254/24", [2023-03-15T15:58:04.779Z] "hosts": [ [2023-03-15T15:58:04.779Z] "tcp://0.0.0.0:5555", [2023-03-15T15:58:04.779Z] "unix:///var/run/docker.sock" [2023-03-15T15:58:04.779Z] ], [2023-03-15T15:58:04.779Z] "mtu": 1458, [2023-03-15T15:58:04.779Z] "selinux-enabled": true, [2023-03-15T15:58:04.779Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T15:58:04.779Z] } [Pipeline] sh [2023-03-15T15:58:05.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T15:58:05.513Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T15:58:23.884Z] provisioning config files... [2023-03-15T15:58:23.929Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1274343272903462737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T15:58:24.354Z] ---> docker-login.sh [2023-03-15T15:58:24.354Z] nexus3.edgexfoundry.org:10001 [2023-03-15T15:58:24.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:58:24.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:58:24.953Z] Configure a credential helper to remove this warning. See [2023-03-15T15:58:24.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:58:24.953Z] [2023-03-15T15:58:24.953Z] Login Succeeded [2023-03-15T15:58:24.953Z] nexus3.edgexfoundry.org:10002 [2023-03-15T15:58:25.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:58:25.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:58:25.500Z] Configure a credential helper to remove this warning. See [2023-03-15T15:58:25.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:58:25.500Z] [2023-03-15T15:58:25.500Z] Login Succeeded [2023-03-15T15:58:25.500Z] nexus3.edgexfoundry.org:10003 [2023-03-15T15:58:25.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:58:25.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:58:25.777Z] Configure a credential helper to remove this warning. See [2023-03-15T15:58:25.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:58:25.777Z] [2023-03-15T15:58:25.777Z] Login Succeeded [2023-03-15T15:58:25.777Z] nexus3.edgexfoundry.org:10004 [2023-03-15T15:58:26.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:58:26.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:58:26.332Z] Configure a credential helper to remove this warning. See [2023-03-15T15:58:26.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:58:26.332Z] [2023-03-15T15:58:26.332Z] Login Succeeded [2023-03-15T15:58:26.332Z] docker.io [2023-03-15T15:58:26.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T15:58:26.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T15:58:26.876Z] Configure a credential helper to remove this warning. See [2023-03-15T15:58:26.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T15:58:26.876Z] [2023-03-15T15:58:26.876Z] Login Succeeded [2023-03-15T15:58:26.876Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T15:58:26.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T15:58:27.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:58:27.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T15:58:27.429Z] ========================================================= [2023-03-15T15:58:27.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T15:58:27.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T15:58:27.942Z] + 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-15T15:58:29.367Z] Sending build context to Docker daemon 139.3kB [2023-03-15T15:58:29.367Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T15:58:29.367Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T15:58:29.648Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T15:58:29.648Z] af6eaf76a39c: Pulling fs layer [2023-03-15T15:58:29.648Z] 55522c791124: Pulling fs layer [2023-03-15T15:58:29.648Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T15:58:29.648Z] 169dfbe0d373: Pulling fs layer [2023-03-15T15:58:29.648Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T15:58:29.648Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T15:58:29.648Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T15:58:29.648Z] 169dfbe0d373: Waiting [2023-03-15T15:58:29.648Z] e1ff8fa3b103: Waiting [2023-03-15T15:58:29.648Z] 52ebb69f0ebf: Waiting [2023-03-15T15:58:29.648Z] 5abe8eddf0d5: Waiting [2023-03-15T15:58:29.648Z] 55522c791124: Verifying Checksum [2023-03-15T15:58:29.648Z] 55522c791124: Download complete [2023-03-15T15:58:29.648Z] 169dfbe0d373: Verifying Checksum [2023-03-15T15:58:29.648Z] 169dfbe0d373: Download complete [2023-03-15T15:58:29.648Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T15:58:29.648Z] e1ff8fa3b103: Download complete [2023-03-15T15:58:29.648Z] af6eaf76a39c: Download complete [2023-03-15T15:58:30.643Z] af6eaf76a39c: Pull complete [2023-03-15T15:58:31.253Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T15:58:31.253Z] 5abe8eddf0d5: Download complete [2023-03-15T15:58:31.253Z] 55522c791124: Pull complete [2023-03-15T15:58:32.690Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T15:58:32.690Z] ce5c4a1c91eb: Download complete [2023-03-15T15:58:32.690Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T15:58:32.690Z] 52ebb69f0ebf: Download complete [2023-03-15T15:58:45.048Z] ce5c4a1c91eb: Pull complete [2023-03-15T15:58:45.048Z] 169dfbe0d373: Pull complete [2023-03-15T15:58:45.048Z] e1ff8fa3b103: Pull complete [2023-03-15T15:58:50.525Z] 52ebb69f0ebf: Pull complete [2023-03-15T15:58:52.539Z] 5abe8eddf0d5: Pull complete [2023-03-15T15:58:52.539Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T15:58:52.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T15:58:52.539Z] ---> 6cb57ee374ae [2023-03-15T15:58:52.539Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T15:58:56.805Z] ---> Running in 274e9c0f2107 [2023-03-15T15:58:57.075Z] Removing intermediate container 274e9c0f2107 [2023-03-15T15:58:57.075Z] ---> 16d6bb040475 [2023-03-15T15:58:57.075Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T15:58:57.346Z] ---> Running in eb02649ffcb0 [2023-03-15T15:58:57.616Z] Removing intermediate container eb02649ffcb0 [2023-03-15T15:58:57.616Z] ---> 7a2c088d2986 [2023-03-15T15:58:57.616Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T15:58:57.616Z] ---> Running in 1fc8db006bb5 [2023-03-15T15:58:58.205Z] Removing intermediate container 1fc8db006bb5 [2023-03-15T15:58:58.205Z] ---> f0f8ae5f4686 [2023-03-15T15:58:58.205Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T15:58:58.205Z] ---> Running in 3717a49521c6 [2023-03-15T15:58:58.476Z] Removing intermediate container 3717a49521c6 [2023-03-15T15:58:58.476Z] ---> 43f2c1056cff [2023-03-15T15:58:58.476Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T15:58:58.476Z] ---> Running in 984de8b690e9 [2023-03-15T15:58:59.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T15:59:00.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T15:59:01.469Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T15:59:01.469Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T15:59:01.744Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T15:59:01.744Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T15:59:01.744Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T15:59:01.744Z] OK: 268 MiB in 57 packages [2023-03-15T15:59:03.183Z] Removing intermediate container 984de8b690e9 [2023-03-15T15:59:03.183Z] ---> fabc2f62e85d [2023-03-15T15:59:03.183Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T15:59:03.183Z] ---> Running in 6f21cea9372c [2023-03-15T15:59:03.455Z] Removing intermediate container 6f21cea9372c [2023-03-15T15:59:03.455Z] ---> 888c38ee6902 [2023-03-15T15:59:03.455Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T15:59:04.050Z] ---> 93d6a49014b1 [2023-03-15T15:59:04.050Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T15:59:04.322Z] ---> Running in 23230f0940b9 [2023-03-15T16:00:26.068Z] Removing intermediate container 23230f0940b9 [2023-03-15T16:00:26.068Z] ---> baa4ca317374 [2023-03-15T16:00:26.068Z] Step 11/12 : COPY . . [2023-03-15T16:00:26.068Z] ---> 94c2b3e81574 [2023-03-15T16:00:26.068Z] Step 12/12 : RUN $MAKE [2023-03-15T16:00:26.068Z] ---> Running in 54c1482dd75d [2023-03-15T16:00:26.068Z] noop [2023-03-15T16:00:26.068Z] Removing intermediate container 54c1482dd75d [2023-03-15T16:00:26.068Z] ---> a1115608337e [2023-03-15T16:00:26.068Z] Successfully built a1115608337e [2023-03-15T16:00:26.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:00:26.552Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:00:26.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:00:26.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container [2023-03-15T16:00:26.977Z] $ 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-15T16:00:28.447Z] $ docker top 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:00:29.398Z] + go version [2023-03-15T16:00:29.398Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:00:29.433Z] $ docker stop --time=1 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f [2023-03-15T16:00:31.224Z] $ docker rm -f --volumes 38618d839363efe9d343c5744f7955ad5a85aac5be940ca8cb646c3dbe99760f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:00:32.179Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:00:32.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:00:32.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container [2023-03-15T16:00:32.604Z] $ 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-15T16:00:34.052Z] $ docker top bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:00:35.011Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:00:35.733Z] + make test [2023-03-15T16:00:35.733Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:01:14.629Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:03:51.458Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:03:51.458Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.1% of statements [2023-03-15T16:03:51.458Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:03:51.458Z] go vet ./... [2023-03-15T16:04:23.750Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:04:23.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:04:23.750Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:04:23.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:04:23.812Z] $ docker stop --time=1 bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 [2023-03-15T16:04:25.904Z] $ docker rm -f --volumes bf4cbdcfb19b76dddd2038508e30a97a7c2fb1b3c87cc24b6773502dfdf822b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:04:27.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:04:27.312Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:04:27.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:04:28.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:04:28.838Z] + ls -al . [2023-03-15T16:04:28.838Z] total 180 [2023-03-15T16:04:28.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:00 . [2023-03-15T16:04:28.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:57 .. [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 15:58 .dockerignore [2023-03-15T16:04:28.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 15:58 .git [2023-03-15T16:04:28.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 .github [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 15:58 .gitignore [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 15:58 .golangci.yml [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 15:58 Attribution.txt [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 15:58 CHANGELOG.md [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 15:58 Dockerfile [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 15:58 GOVERNANCE.md [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 15:58 Jenkinsfile [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 15:58 LICENSE [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 15:58 Makefile [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 15:58 OWNERS.md [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 15:58 README.md [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 15:49 VERSION [2023-03-15T16:04:28.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:58 bin [2023-03-15T16:04:28.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 15:58 cmd [2023-03-15T16:04:28.838Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:03 coverage.out [2023-03-15T16:04:28.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 15:58 driver [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 15:58 go.mod [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 15:58 go.sum [2023-03-15T16:04:28.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 15:58 snap [2023-03-15T16:04:28.838Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:04:29.270Z] + 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=1247785a1fc51975b6dbde80b0a9dd4e28977c7a --label arch=arm64 --label version=0.0.0 . [2023-03-15T16:04:29.270Z] Sending build context to Docker daemon 154.1kB [2023-03-15T16:04:29.540Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:04:29.540Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:04:29.540Z] ---> a1115608337e [2023-03-15T16:04:29.540Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:04:29.813Z] ---> Running in 1e7cfd843a9f [2023-03-15T16:04:30.083Z] Removing intermediate container 1e7cfd843a9f [2023-03-15T16:04:30.083Z] ---> e2b36f12fd1b [2023-03-15T16:04:30.083Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:04:30.083Z] ---> Running in 98e0454c7647 [2023-03-15T16:04:30.352Z] Removing intermediate container 98e0454c7647 [2023-03-15T16:04:30.352Z] ---> 0fd76405e8d9 [2023-03-15T16:04:30.352Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:04:30.623Z] ---> Running in 01cba8927e98 [2023-03-15T16:04:30.892Z] Removing intermediate container 01cba8927e98 [2023-03-15T16:04:30.892Z] ---> 2aa7c2e6cdef [2023-03-15T16:04:30.892Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:04:31.161Z] ---> Running in f53958b14011 [2023-03-15T16:04:31.430Z] Removing intermediate container f53958b14011 [2023-03-15T16:04:31.430Z] ---> daf78cd2f614 [2023-03-15T16:04:31.430Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:04:31.430Z] ---> Running in cee014830cb2 [2023-03-15T16:04:32.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:04:33.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:04:34.541Z] OK: 268 MiB in 57 packages [2023-03-15T16:04:35.533Z] Removing intermediate container cee014830cb2 [2023-03-15T16:04:35.533Z] ---> e31a6faf1e07 [2023-03-15T16:04:35.533Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:04:35.803Z] ---> Running in b534dc8023b3 [2023-03-15T16:04:36.073Z] Removing intermediate container b534dc8023b3 [2023-03-15T16:04:36.073Z] ---> 274ae92b7b0e [2023-03-15T16:04:36.073Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:04:36.671Z] ---> babaed1c5930 [2023-03-15T16:04:36.671Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:04:36.671Z] ---> Running in 01ef10c0a519 [2023-03-15T16:04:40.032Z] Removing intermediate container 01ef10c0a519 [2023-03-15T16:04:40.032Z] ---> 8a7d45d77744 [2023-03-15T16:04:40.032Z] Step 11/25 : COPY . . [2023-03-15T16:04:40.304Z] ---> 1ebe33299466 [2023-03-15T16:04:40.304Z] Step 12/25 : RUN $MAKE [2023-03-15T16:04:40.304Z] ---> Running in 3db28588218b [2023-03-15T16:04:41.737Z] 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-15T16:07:18.569Z] Removing intermediate container 3db28588218b [2023-03-15T16:07:18.569Z] ---> b1539a800e7b [2023-03-15T16:07:18.569Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:07:18.569Z] 3.17: Pulling from library/alpine [2023-03-15T16:07:18.569Z] af6eaf76a39c: Already exists [2023-03-15T16:07:18.569Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:07:18.569Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:07:18.569Z] ---> d74e625d9115 [2023-03-15T16:07:18.569Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:07:18.569Z] ---> Running in 4194e16a0e84 [2023-03-15T16:07:18.569Z] Removing intermediate container 4194e16a0e84 [2023-03-15T16:07:18.569Z] ---> 16ddb3f1c6d6 [2023-03-15T16:07:18.569Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:07:18.569Z] ---> Running in 0e0593b9e3e6 [2023-03-15T16:07:18.569Z] Removing intermediate container 0e0593b9e3e6 [2023-03-15T16:07:18.569Z] ---> eb8e827a1c38 [2023-03-15T16:07:18.569Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:07:18.569Z] ---> Running in b2bf2e07bbe0 [2023-03-15T16:07:18.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:07:18.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:07:18.569Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:07:18.569Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:07:18.569Z] OK: 8 MiB in 16 packages [2023-03-15T16:07:19.160Z] Removing intermediate container b2bf2e07bbe0 [2023-03-15T16:07:19.160Z] ---> 808ad887e964 [2023-03-15T16:07:19.160Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:07:20.592Z] ---> ccb00cb303a1 [2023-03-15T16:07:20.592Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:07:21.190Z] ---> 44ee1689642e [2023-03-15T16:07:21.190Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:07:22.171Z] ---> 637fa875f0d5 [2023-03-15T16:07:22.171Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:07:22.171Z] ---> Running in 7d18a75cf1d0 [2023-03-15T16:07:22.443Z] Removing intermediate container 7d18a75cf1d0 [2023-03-15T16:07:22.443Z] ---> e89574cea331 [2023-03-15T16:07:22.443Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:07:22.443Z] ---> Running in 6f6576d7c795 [2023-03-15T16:07:22.711Z] Removing intermediate container 6f6576d7c795 [2023-03-15T16:07:22.711Z] ---> 02bbc56fa5e7 [2023-03-15T16:07:22.711Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:07:22.979Z] ---> Running in 1bc850687bba [2023-03-15T16:07:23.247Z] Removing intermediate container 1bc850687bba [2023-03-15T16:07:23.247Z] ---> 277f286ff865 [2023-03-15T16:07:23.247Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:07:23.247Z] ---> Running in fd47955bb82e [2023-03-15T16:07:23.515Z] Removing intermediate container fd47955bb82e [2023-03-15T16:07:23.515Z] ---> e1a18ec520fb [2023-03-15T16:07:23.515Z] Step 24/25 : LABEL git_sha=1247785a1fc51975b6dbde80b0a9dd4e28977c7a [2023-03-15T16:07:23.784Z] ---> Running in 1fd2721c61f5 [2023-03-15T16:07:24.055Z] Removing intermediate container 1fd2721c61f5 [2023-03-15T16:07:24.055Z] ---> 7968d3185729 [2023-03-15T16:07:24.055Z] Step 25/25 : LABEL version=0.0.0 [2023-03-15T16:07:24.055Z] ---> Running in 52365e04c376 [2023-03-15T16:07:24.650Z] Removing intermediate container 52365e04c376 [2023-03-15T16:07:24.650Z] ---> 97704c144cb3 [2023-03-15T16:07:24.650Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:07:24.650Z] Successfully built 97704c144cb3 [2023-03-15T16:07:24.650Z] 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-15T16:07:25.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:07:25.515Z] [2023-03-15T16:07:25.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:07:25.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:07:25.939Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:07:25.939Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:07:25.939Z] 04944245beec: Pulling fs layer [2023-03-15T16:07:25.939Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:07:25.939Z] 765212b225bb: Pulling fs layer [2023-03-15T16:07:25.939Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:07:25.939Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:07:25.939Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:07:25.939Z] f23df028b6ca: Waiting [2023-03-15T16:07:25.939Z] d65c8cfc05b1: Waiting [2023-03-15T16:07:25.939Z] 765212b225bb: Waiting [2023-03-15T16:07:25.939Z] 2437ff75d9bd: Waiting [2023-03-15T16:07:26.225Z] 04944245beec: Verifying Checksum [2023-03-15T16:07:26.225Z] 04944245beec: Download complete [2023-03-15T16:07:26.225Z] 765212b225bb: Verifying Checksum [2023-03-15T16:07:26.225Z] 765212b225bb: Download complete [2023-03-15T16:07:26.225Z] f23df028b6ca: Download complete [2023-03-15T16:07:26.507Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:07:26.507Z] d65c8cfc05b1: Download complete [2023-03-15T16:07:26.507Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:07:26.507Z] 699f458cf7ca: Download complete [2023-03-15T16:07:26.795Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:07:26.795Z] 8998bd30e6a1: Download complete [2023-03-15T16:07:29.430Z] 2437ff75d9bd: Download complete [2023-03-15T16:07:30.843Z] 8998bd30e6a1: Pull complete [2023-03-15T16:07:31.425Z] 04944245beec: Pull complete [2023-03-15T16:07:32.831Z] 699f458cf7ca: Pull complete [2023-03-15T16:07:32.831Z] 765212b225bb: Pull complete [2023-03-15T16:07:33.416Z] f23df028b6ca: Pull complete [2023-03-15T16:07:33.684Z] d65c8cfc05b1: Pull complete [2023-03-15T16:07:45.992Z] 2437ff75d9bd: Pull complete [2023-03-15T16:07:47.402Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:07:47.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:07:47.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:07:47.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-754 does not seem to be running inside a container [2023-03-15T16:07:47.789Z] $ 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-15T16:07:50.586Z] $ docker top dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:07:51.498Z] ---> job-cost.sh [2023-03-15T16:07:51.498Z] lf-activate-venv: SKIPPING [2023-03-15T16:07:51.498Z] INFO: No Stack... [2023-03-15T16:07:52.080Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:07:52.662Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:07:53.335Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-15T16:07:53.335Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:07:53.419Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [2023-03-15T16:07:53.423Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] did not exist. Created. [2023-03-15T16:07:53.423Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:07:54.148Z] /w/workspace/device-rest-go/1@tmp/durable-aaab54a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:07:54.827Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:07:54.866Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:07:54.922Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:07:54.936Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:07:55.008Z] $ docker stop --time=1 dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 [2023-03-15T16:07:56.541Z] $ docker rm -f --volumes dbe4d08cd045152adf0082d5ee4932144f66768d6d6c6b78cd74966a16bf42f1 [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-15T16:07:57.474Z] provisioning config files... [2023-03-15T16:07:57.481Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config14671997006224936100tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:07:57.817Z] + set +x [2023-03-15T16:07:57.817Z] + curl -s https://codecov.io/bash [2023-03-15T16:07:57.817Z] + bash -s -- [2023-03-15T16:07:57.817Z] [2023-03-15T16:07:57.817Z] _____ _ [2023-03-15T16:07:57.817Z] / ____| | | [2023-03-15T16:07:57.817Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:07:57.817Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:07:57.817Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:07:57.817Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:07:57.817Z] Bash-1.0.6 [2023-03-15T16:07:57.817Z] [2023-03-15T16:07:57.817Z] [2023-03-15T16:07:57.817Z] ==> git version 2.25.1 found [2023-03-15T16:07:57.817Z] ==> 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-15T16:07:57.817Z] Release-Date: 2020-01-08 [2023-03-15T16:07:57.817Z] 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-15T16:07:57.817Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:07:57.817Z] ==> Jenkins CI detected. [2023-03-15T16:07:57.817Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-267 [2023-03-15T16:07:57.817Z] project root: . [2023-03-15T16:07:57.817Z] --> token set from env [2023-03-15T16:07:57.817Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:07:57.817Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:07:57.817Z] ==> Python coveragepy not found [2023-03-15T16:07:57.817Z] ==> Searching for coverage reports in: [2023-03-15T16:07:57.817Z] + . [2023-03-15T16:07:57.817Z] -> Found 1 reports [2023-03-15T16:07:57.817Z] ==> Detecting git/mercurial file structure [2023-03-15T16:07:57.817Z] ==> Reading reports [2023-03-15T16:07:57.817Z] + ./coverage.out bytes=14200 [2023-03-15T16:07:57.817Z] ==> Appending adjustments [2023-03-15T16:07:57.817Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:07:58.076Z] + Found adjustments [2023-03-15T16:07:58.076Z] ==> Gzipping contents [2023-03-15T16:07:58.076Z] 4.0K /tmp/codecov.lMfwlL.gz [2023-03-15T16:07:58.076Z] ==> Uploading reports [2023-03-15T16:07:58.076Z] url: https://codecov.io [2023-03-15T16:07:58.076Z] query: branch=PR-267&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=267&job=&cmd_args= [2023-03-15T16:07:58.076Z] -> Pinging Codecov [2023-03-15T16:07:58.076Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-267&commit=1247785a1fc51975b6dbde80b0a9dd4e28977c7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=267&job=&cmd_args= [2023-03-15T16:07:58.076Z] -> Uploading to [2023-03-15T16:07:58.076Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/1247785a1fc51975b6dbde80b0a9dd4e28977c7a/5b29f18b-ee2d-4386-968a-a8b71b385e4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T160757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29033fa77db323c436335c132c77c887c7b37f333577b3b45079586b37f8b05f [2023-03-15T16:07:58.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:07:58.076Z] Dload Upload Total Spent Left Speed [2023-03-15T16:07:58.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 9408 --:--:-- --:--:-- --:--:-- 9372 [2023-03-15T16:07:58.336Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1247785a1fc51975b6dbde80b0a9dd4e28977c7a [Pipeline] } [2023-03-15T16:07:58.359Z] 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-15T16:08:00.011Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-267/archives ] [2023-03-15T16:08:00.011Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-267/archives [2023-03-15T16:08:00.011Z] total 16 [2023-03-15T16:08:00.011Z] drwxr-xr-x 3 root root 4096 Mar 15 15:50 . [2023-03-15T16:08:00.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. [2023-03-15T16:08:00.011Z] drwxr-xr-x 2 root root 4096 Mar 15 15:50 cost [2023-03-15T16:08:00.011Z] -rw-r--r-- 1 root root 86 Mar 15 15:50 cost.csv [2023-03-15T16:08:00.011Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-267/archives [2023-03-15T16:08:00.011Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-267/archives [2023-03-15T16:08:00.011Z] total 16 [2023-03-15T16:08:00.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 15:50 . [2023-03-15T16:08:00.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 15:50 .. [2023-03-15T16:08:00.011Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 15:50 cost [2023-03-15T16:08:00.011Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 15:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:00.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:01.225Z] ---> package-listing.sh [2023-03-15T16:08:01.225Z] ++ facter osfamily [2023-03-15T16:08:01.225Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:08:01.484Z] + OS_FAMILY=debian [2023-03-15T16:08:01.484Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-267 [2023-03-15T16:08:01.484Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:08:01.484Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:08:01.484Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:08:01.484Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:08:01.484Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-267 ']' [2023-03-15T16:08:01.484Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:08:01.484Z] + case "${OS_FAMILY}" in [2023-03-15T16:08:01.484Z] + dpkg -l [2023-03-15T16:08:01.484Z] + grep '^ii' [2023-03-15T16:08:01.484Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:08:01.484Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:08:01.484Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:08:01.484Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-267 ']' [2023-03-15T16:08:01.484Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-267/archives/ [2023-03-15T16:08:01.484Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-267/archives/ [Pipeline] echo [2023-03-15T16:08:01.519Z] 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-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:08:01.808Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:08:02.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:08:02.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:08:02.584Z] prd-ubuntu20.04-docker-8c-8g-630 does not seem to be running inside a container [2023-03-15T16:08:02.617Z] $ 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-267/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-267 -v /w/workspace/gexfoundry_device-rest-go_PR-267:/w/workspace/gexfoundry_device-rest-go_PR-267:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-267@tmp:/w/workspace/gexfoundry_device-rest-go_PR-267@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-15T16:08:02.873Z] $ docker top 21be5443f938b6ea73dbd845d206d51ae522f63e1ef40f7da151900da4fd9e56 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:08:03.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:08:03.573Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:08:03.886Z] + ls /var/log/sa-host [2023-03-15T16:08:03.886Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:08:04.096Z] provisioning config files... [2023-03-15T16:08:04.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-267@tmp/config10899150636101827389tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:08:04.158Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:04.469Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:08:04.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:04.947Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:08:04.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:05.289Z] ---> sudo-logs.sh [2023-03-15T16:08:05.289Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:08:05.384Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:05.694Z] ---> job-cost.sh [2023-03-15T16:08:05.694Z] lf-activate-venv: SKIPPING [2023-03-15T16:08:05.694Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:08:05.694Z] INFO: Retrieving Stack Cost... [2023-03-15T16:08:06.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:08:06.521Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:08:06.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:08:06.886Z] ---> logs-deploy.sh [2023-03-15T16:08:06.886Z] lf-activate-venv: SKIPPING [2023-03-15T16:08:06.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-267/1 [2023-03-15T16:08:06.886Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:08:07.824Z] Archives upload complete. [2023-03-15T16:08:07.824Z] INFO: archiving logs to Nexus