Pull request #334 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0605e1b199b8aa92f85f955bcb801461337e9dd7+7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab (d38422af4cec756154bf159ed67f0b097d86ae53) 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-ssh2563642616373406607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh4800595064848494752.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-334/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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh91027084378482310.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-334/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11181740335722712527.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh164768275983887745.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-334/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-334/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15959453051080764446.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4724 in /w/workspace/gexfoundry_device-rest-go_PR-334 [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-334 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab into PR head commit 0605e1b199b8aa92f85f955bcb801461337e9dd7 Merge succeeded, producing 0605e1b199b8aa92f85f955bcb801461337e9dd7 Checking out Revision 0605e1b199b8aa92f85f955bcb801461337e9dd7 (PR-334) > 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/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0605e1b199b8aa92f85f955bcb801461337e9dd7 # 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 7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0605e1b199b8aa92f85f955bcb801461337e9dd7 # timeout=10 Commit message: "feat: replace gorilla/mux with labstack/echo" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-28T08:39:46.045Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-28T08:39:46.233Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-28T08:39:46.319Z] ========================================================= [2023-08-28T08:39:46.319Z] EdgeX Global Pipelines Version Info [2023-08-28T08:39:46.319Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:39:47.452Z] ------------------- [2023-08-28T08:39:47.452Z] stable info: [2023-08-28T08:39:47.452Z] ------------------- [2023-08-28T08:39:47.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-28T08:39:47.452Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T08:39:47.452Z] Message: update stable to v1.0.253 [2023-08-28T08:39:47.712Z] ------------------- [2023-08-28T08:39:47.712Z] experimental info: [2023-08-28T08:39:47.712Z] ------------------- [2023-08-28T08:39:47.712Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-28T08:39:47.712Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T08:39:47.712Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-28T08:39:48.009Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-28T08:39:48.052Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-28T08:39:48.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-28T08:39:48.136Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-28T08:39:48.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-28T08:39:48.219Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-28T08:39:48.260Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-28T08:39:48.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-28T08:39:48.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-28T08:39:48.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-28T08:39:48.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-28T08:39:48.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-28T08:39:48.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-28T08:39:48.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-28T08:39:48.587Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T08:39:48.626Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T08:39:48.671Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T08:39:48.715Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T08:39:48.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-28T08:39:48.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-28T08:39:48.843Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-28T08:39:48.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-28T08:39:48.938Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-28T08:39:48.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-28T08:39:49.024Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-28T08:39:49.071Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-28T08:39:49.119Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-28T08:39:49.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-334 [Pipeline] echo [2023-08-28T08:39:49.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-334 [Pipeline] echo [2023-08-28T08:39:49.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-334 [Pipeline] echo [2023-08-28T08:39:49.291Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0605e1b199b8aa92f85f955bcb801461337e9dd7 [Pipeline] echo [2023-08-28T08:39:49.345Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0605e1b [Pipeline] echo [2023-08-28T08:39:49.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T08:39:49.511Z] provisioning config files... [2023-08-28T08:39:49.528Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/config5335165656162090960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:39:49.912Z] ---> docker-login.sh [2023-08-28T08:39:49.912Z] nexus3.edgexfoundry.org:10001 [2023-08-28T08:39:49.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:39:50.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:39:50.483Z] Configure a credential helper to remove this warning. See [2023-08-28T08:39:50.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:39:50.483Z] [2023-08-28T08:39:50.483Z] Login Succeeded [2023-08-28T08:39:50.483Z] nexus3.edgexfoundry.org:10002 [2023-08-28T08:39:50.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:39:50.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:39:50.483Z] Configure a credential helper to remove this warning. See [2023-08-28T08:39:50.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:39:50.483Z] [2023-08-28T08:39:50.483Z] Login Succeeded [2023-08-28T08:39:50.483Z] nexus3.edgexfoundry.org:10003 [2023-08-28T08:39:50.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:39:50.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:39:50.742Z] Configure a credential helper to remove this warning. See [2023-08-28T08:39:50.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:39:50.742Z] [2023-08-28T08:39:50.742Z] Login Succeeded [2023-08-28T08:39:50.742Z] nexus3.edgexfoundry.org:10004 [2023-08-28T08:39:50.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:39:50.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:39:50.743Z] Configure a credential helper to remove this warning. See [2023-08-28T08:39:50.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:39:50.743Z] [2023-08-28T08:39:50.743Z] Login Succeeded [2023-08-28T08:39:50.743Z] docker.io [2023-08-28T08:39:51.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:39:51.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:39:51.002Z] Configure a credential helper to remove this warning. See [2023-08-28T08:39:51.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:39:51.002Z] [2023-08-28T08:39:51.002Z] Login Succeeded [2023-08-28T08:39:51.002Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T08:39:51.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-28T08:39:51.704Z] + git rev-list -1 --merges 0605e1b199b8aa92f85f955bcb801461337e9dd7~1..0605e1b199b8aa92f85f955bcb801461337e9dd7 [Pipeline] echo [2023-08-28T08:39:51.807Z] -----------> git rev-list -1 --merges 0605e1b199b8aa92f85f955bcb801461337e9dd7~1..0605e1b199b8aa92f85f955bcb801461337e9dd7 0605e1b199b8aa92f85f955bcb801461337e9dd7 [false] [Pipeline] sh [2023-08-28T08:39:52.114Z] + git log --format=format:%s -1 0605e1b199b8aa92f85f955bcb801461337e9dd7 [Pipeline] echo [2023-08-28T08:39:52.150Z] ========================================================= [2023-08-28T08:39:52.150Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-28T08:39:52.150Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T08:39:52.571Z] + git log --format=format:%s -1 0605e1b199b8aa92f85f955bcb801461337e9dd7 [Pipeline] echo [2023-08-28T08:39:52.603Z] [semverPrep] GIT_COMMIT: 0605e1b199b8aa92f85f955bcb801461337e9dd7, Commit Message: feat: replace gorilla/mux with labstack/echo [Pipeline] echo [2023-08-28T08:39:52.634Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-28T08:39:53.036Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T08:39:53.036Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-28T08:39:53.036Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-28T08:39:53.036Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-28T08:39:53.036Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-28T08:39:53.036Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-28T08:39:53.036Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:39:53.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T08:39:53.525Z] [2023-08-28T08:39:53.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:39:53.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T08:39:53.901Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-28T08:39:53.901Z] b85a868b505f: Pulling fs layer [2023-08-28T08:39:53.901Z] e2be974225ed: Pulling fs layer [2023-08-28T08:39:53.901Z] 339a4e72a1f5: Pulling fs layer [2023-08-28T08:39:53.901Z] 988bab9f4d93: Pulling fs layer [2023-08-28T08:39:53.901Z] 1469e6f7b9e6: Pulling fs layer [2023-08-28T08:39:53.901Z] eaf3925da568: Pulling fs layer [2023-08-28T08:39:53.901Z] bab4dde63d76: Pulling fs layer [2023-08-28T08:39:53.901Z] 988bab9f4d93: Waiting [2023-08-28T08:39:53.901Z] bde34c3a00c8: Pulling fs layer [2023-08-28T08:39:53.901Z] b352a97aabf1: Pulling fs layer [2023-08-28T08:39:53.901Z] 4872d77fe225: Pulling fs layer [2023-08-28T08:39:53.901Z] 5851b861e8e6: Pulling fs layer [2023-08-28T08:39:53.901Z] eaf3925da568: Waiting [2023-08-28T08:39:53.901Z] bde34c3a00c8: Waiting [2023-08-28T08:39:53.901Z] 1469e6f7b9e6: Waiting [2023-08-28T08:39:53.901Z] b352a97aabf1: Waiting [2023-08-28T08:39:53.901Z] 4872d77fe225: Waiting [2023-08-28T08:39:53.901Z] 5851b861e8e6: Waiting [2023-08-28T08:39:53.901Z] bab4dde63d76: Waiting [2023-08-28T08:39:53.901Z] e2be974225ed: Verifying Checksum [2023-08-28T08:39:53.901Z] e2be974225ed: Download complete [2023-08-28T08:39:53.901Z] 988bab9f4d93: Verifying Checksum [2023-08-28T08:39:53.901Z] 988bab9f4d93: Download complete [2023-08-28T08:39:54.164Z] 1469e6f7b9e6: Verifying Checksum [2023-08-28T08:39:54.164Z] 1469e6f7b9e6: Download complete [2023-08-28T08:39:54.164Z] eaf3925da568: Verifying Checksum [2023-08-28T08:39:54.164Z] eaf3925da568: Download complete [2023-08-28T08:39:54.164Z] 339a4e72a1f5: Verifying Checksum [2023-08-28T08:39:54.164Z] 339a4e72a1f5: Download complete [2023-08-28T08:39:54.164Z] bde34c3a00c8: Verifying Checksum [2023-08-28T08:39:54.164Z] bde34c3a00c8: Download complete [2023-08-28T08:39:54.164Z] b352a97aabf1: Verifying Checksum [2023-08-28T08:39:54.164Z] b352a97aabf1: Download complete [2023-08-28T08:39:54.164Z] 4872d77fe225: Verifying Checksum [2023-08-28T08:39:54.164Z] 4872d77fe225: Download complete [2023-08-28T08:39:54.164Z] 5851b861e8e6: Download complete [2023-08-28T08:39:54.164Z] b85a868b505f: Verifying Checksum [2023-08-28T08:39:54.164Z] b85a868b505f: Download complete [2023-08-28T08:39:54.422Z] bab4dde63d76: Verifying Checksum [2023-08-28T08:39:54.422Z] bab4dde63d76: Download complete [2023-08-28T08:39:55.800Z] b85a868b505f: Pull complete [2023-08-28T08:39:55.800Z] e2be974225ed: Pull complete [2023-08-28T08:39:56.373Z] 339a4e72a1f5: Pull complete [2023-08-28T08:39:56.373Z] 988bab9f4d93: Pull complete [2023-08-28T08:39:56.633Z] 1469e6f7b9e6: Pull complete [2023-08-28T08:39:56.633Z] eaf3925da568: Pull complete [2023-08-28T08:39:58.540Z] bab4dde63d76: Pull complete [2023-08-28T08:39:58.540Z] bde34c3a00c8: Pull complete [2023-08-28T08:39:58.799Z] b352a97aabf1: Pull complete [2023-08-28T08:39:58.800Z] 4872d77fe225: Pull complete [2023-08-28T08:39:59.063Z] 5851b861e8e6: Pull complete [2023-08-28T08:39:59.063Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-28T08:39:59.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T08:39:59.063Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:39:59.308Z] prd-ubuntu20.04-docker-8c-8g-4724 does not seem to be running inside a container [2023-08-28T08:39:59.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-334 -v /w/workspace/gexfoundry_device-rest-go_PR-334:/w/workspace/gexfoundry_device-rest-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-334@tmp:/w/workspace/gexfoundry_device-rest-go_PR-334@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-08-28T08:40:01.861Z] $ docker top d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 -eo pid,comm [2023-08-28T08:40:01.917Z] 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-08-28T08:40:01.917Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T08:40:02.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T08:40:02.045Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T08:40:02.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T08:40:02.180Z] $ docker exec d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 ssh-agent [2023-08-28T08:40:02.288Z] SSH_AUTH_SOCK=/tmp/ssh-OhCfb4Sk7pX8/agent.31 [2023-08-28T08:40:02.288Z] SSH_AGENT_PID=37 [2023-08-28T08:40:02.294Z] Running ssh-add (command line suppressed) [2023-08-28T08:40:02.400Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-334@tmp/private_key_18072604030663101946.key (/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/private_key_18072604030663101946.key) [2023-08-28T08:40:02.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T08:40:02.745Z] + git tag --points-at HEAD [Pipeline] } [2023-08-28T08:40:02.784Z] $ docker exec --env ******** --env ******** d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 ssh-agent -k [2023-08-28T08:40:02.877Z] unset SSH_AUTH_SOCK; [2023-08-28T08:40:02.878Z] unset SSH_AGENT_PID; [2023-08-28T08:40:02.878Z] echo Agent pid 37 killed; [2023-08-28T08:40:02.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-28T08:40:02.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T08:40:02.987Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T08:40:03.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T08:40:03.108Z] $ docker exec d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 ssh-agent [2023-08-28T08:40:03.220Z] SSH_AUTH_SOCK=/tmp/ssh-5lmFCC7xIErl/agent.69 [2023-08-28T08:40:03.220Z] SSH_AGENT_PID=75 [2023-08-28T08:40:03.225Z] Running ssh-add (command line suppressed) [2023-08-28T08:40:03.333Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-334@tmp/private_key_1148833431375978390.key (/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/private_key_1148833431375978390.key) [2023-08-28T08:40:03.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T08:40:03.669Z] + git semver init [2023-08-28T08:40:03.934Z] 2023-08-28 08:40:03,854 [run_init] DEBUG init version:0.0.0 force:False [2023-08-28T08:40:03.934Z] 2023-08-28 08:40:03,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-334/.semver [2023-08-28T08:40:03.934Z] 2023-08-28 08:40:03,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-334/.semver [2023-08-28T08:40:03.934Z] 2023-08-28 08:40:03,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-334/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-334, universal_newlines=False, shell=None, istream=None) [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,017 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-334/.git/info/exclude [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,018 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-334/.semver/PR-334 with force:False [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,018 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-334/.semver/PR-334 [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,022 [execute] INFO git cat-file --batch-check [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,030 [execute] INFO git cat-file --batch [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-334/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T08:40:05.312Z] 2023-08-28 08:40:05,036 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-334/.semver/PR-334 [2023-08-28T08:40:05.312Z] 0.0.0 [Pipeline] } [2023-08-28T08:40:05.342Z] $ docker exec --env ******** --env ******** d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 ssh-agent -k [2023-08-28T08:40:05.454Z] unset SSH_AUTH_SOCK; [2023-08-28T08:40:05.455Z] unset SSH_AGENT_PID; [2023-08-28T08:40:05.455Z] echo Agent pid 75 killed; [2023-08-28T08:40:05.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T08:40:05.878Z] + git semver [Pipeline] } [2023-08-28T08:40:06.163Z] $ docker stop --time=1 d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 [2023-08-28T08:40:07.443Z] $ docker rm -f --volumes d265b3dfa08bf39d3e1a26c11a3822634726fff864789f68090ecf42c1dc9382 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T08:40:07.830Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-28T08:40:08.116Z] Stashed 1 file(s) [Pipeline] echo [2023-08-28T08:40:08.134Z] [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-08-28T08:40:08.704Z] provisioning config files... [2023-08-28T08:40:08.713Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/config15391213927012007483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:40:09.056Z] ---> docker-login.sh [2023-08-28T08:40:09.056Z] nexus3.edgexfoundry.org:10001 [2023-08-28T08:40:09.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:40:09.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:40:09.056Z] Configure a credential helper to remove this warning. See [2023-08-28T08:40:09.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:40:09.056Z] [2023-08-28T08:40:09.056Z] Login Succeeded [2023-08-28T08:40:09.056Z] nexus3.edgexfoundry.org:10002 [2023-08-28T08:40:09.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:40:09.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:40:09.056Z] Configure a credential helper to remove this warning. See [2023-08-28T08:40:09.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:40:09.056Z] [2023-08-28T08:40:09.056Z] Login Succeeded [2023-08-28T08:40:09.056Z] nexus3.edgexfoundry.org:10003 [2023-08-28T08:40:09.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:40:09.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:40:09.316Z] Configure a credential helper to remove this warning. See [2023-08-28T08:40:09.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:40:09.316Z] [2023-08-28T08:40:09.316Z] Login Succeeded [2023-08-28T08:40:09.316Z] nexus3.edgexfoundry.org:10004 [2023-08-28T08:40:09.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:40:09.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:40:09.316Z] Configure a credential helper to remove this warning. See [2023-08-28T08:40:09.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:40:09.316Z] [2023-08-28T08:40:09.316Z] Login Succeeded [2023-08-28T08:40:09.316Z] docker.io [2023-08-28T08:40:09.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:40:09.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:40:09.575Z] Configure a credential helper to remove this warning. See [2023-08-28T08:40:09.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:40:09.575Z] [2023-08-28T08:40:09.575Z] Login Succeeded [2023-08-28T08:40:09.575Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T08:40:09.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T08:40:09.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T08:40:09.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T08:40:09.856Z] ========================================================= [2023-08-28T08:40:09.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-28T08:40:09.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:40:10.337Z] + 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-08-28T08:40:10.337Z] Sending build context to Docker daemon 10.92MB [2023-08-28T08:40:10.337Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T08:40:10.337Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-28T08:40:10.613Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-28T08:40:10.613Z] 4db1b89c0bd1: Pulling fs layer [2023-08-28T08:40:10.613Z] 6911f1a30b25: Pulling fs layer [2023-08-28T08:40:10.613Z] e194b8c5c2a9: Pulling fs layer [2023-08-28T08:40:10.613Z] 6863d3e3a2b1: Pulling fs layer [2023-08-28T08:40:10.613Z] ec0bb842ea78: Pulling fs layer [2023-08-28T08:40:10.613Z] 40a00589a448: Pulling fs layer [2023-08-28T08:40:10.613Z] 6c08303d61cc: Pulling fs layer [2023-08-28T08:40:10.613Z] 798269fcf238: Pulling fs layer [2023-08-28T08:40:10.613Z] 6863d3e3a2b1: Waiting [2023-08-28T08:40:10.613Z] ec0bb842ea78: Waiting [2023-08-28T08:40:10.613Z] 40a00589a448: Waiting [2023-08-28T08:40:10.613Z] 6c08303d61cc: Waiting [2023-08-28T08:40:10.613Z] 798269fcf238: Waiting [2023-08-28T08:40:10.613Z] 6911f1a30b25: Verifying Checksum [2023-08-28T08:40:10.613Z] 6911f1a30b25: Download complete [2023-08-28T08:40:10.613Z] 6863d3e3a2b1: Download complete [2023-08-28T08:40:10.613Z] ec0bb842ea78: Verifying Checksum [2023-08-28T08:40:10.613Z] ec0bb842ea78: Download complete [2023-08-28T08:40:10.613Z] 4db1b89c0bd1: Verifying Checksum [2023-08-28T08:40:10.613Z] 4db1b89c0bd1: Download complete [2023-08-28T08:40:10.613Z] 40a00589a448: Verifying Checksum [2023-08-28T08:40:10.613Z] 40a00589a448: Download complete [2023-08-28T08:40:10.878Z] 4db1b89c0bd1: Pull complete [2023-08-28T08:40:10.878Z] 6911f1a30b25: Pull complete [2023-08-28T08:40:11.139Z] 798269fcf238: Verifying Checksum [2023-08-28T08:40:11.139Z] 798269fcf238: Download complete [2023-08-28T08:40:11.139Z] e194b8c5c2a9: Verifying Checksum [2023-08-28T08:40:11.139Z] e194b8c5c2a9: Download complete [2023-08-28T08:40:11.397Z] 6c08303d61cc: Verifying Checksum [2023-08-28T08:40:11.397Z] 6c08303d61cc: Download complete [2023-08-28T08:40:14.696Z] e194b8c5c2a9: Pull complete [2023-08-28T08:40:14.696Z] 6863d3e3a2b1: Pull complete [2023-08-28T08:40:14.696Z] ec0bb842ea78: Pull complete [2023-08-28T08:40:14.696Z] 40a00589a448: Pull complete [2023-08-28T08:40:17.229Z] 6c08303d61cc: Pull complete [2023-08-28T08:40:18.163Z] 798269fcf238: Pull complete [2023-08-28T08:40:18.163Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-28T08:40:18.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-28T08:40:18.163Z] ---> ec979cd7f677 [2023-08-28T08:40:18.163Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-28T08:40:22.362Z] ---> Running in 9304af58f32f [2023-08-28T08:40:22.362Z] Removing intermediate container 9304af58f32f [2023-08-28T08:40:22.362Z] ---> a833c3a9d14c [2023-08-28T08:40:22.362Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T08:40:22.362Z] ---> Running in 0c88329c1390 [2023-08-28T08:40:22.362Z] Removing intermediate container 0c88329c1390 [2023-08-28T08:40:22.362Z] ---> d1978b2d9eaa [2023-08-28T08:40:22.362Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T08:40:22.623Z] ---> Running in e2f2d8f60d93 [2023-08-28T08:40:22.623Z] Removing intermediate container e2f2d8f60d93 [2023-08-28T08:40:22.623Z] ---> f9167c094742 [2023-08-28T08:40:22.623Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T08:40:22.623Z] ---> Running in f3808a6c9593 [2023-08-28T08:40:22.623Z] Removing intermediate container f3808a6c9593 [2023-08-28T08:40:22.623Z] ---> aa9ac53f4bd4 [2023-08-28T08:40:22.623Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T08:40:22.623Z] ---> Running in 1a811610f6cb [2023-08-28T08:40:23.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T08:40:23.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T08:40:23.449Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-28T08:40:23.449Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-28T08:40:23.449Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-28T08:40:23.449Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-28T08:40:23.449Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T08:40:23.449Z] OK: 269 MiB in 57 packages [2023-08-28T08:40:23.537Z] Still waiting to schedule task [2023-08-28T08:40:23.537Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-28T08:40:24.017Z] Removing intermediate container 1a811610f6cb [2023-08-28T08:40:24.017Z] ---> f03d415af482 [2023-08-28T08:40:24.017Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-28T08:40:24.017Z] ---> Running in ac40d57829af [2023-08-28T08:40:24.017Z] Removing intermediate container ac40d57829af [2023-08-28T08:40:24.017Z] ---> 08bc55d25475 [2023-08-28T08:40:24.017Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-28T08:40:24.276Z] ---> 3aedd1436dde [2023-08-28T08:40:24.276Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T08:40:24.276Z] ---> Running in aba828406487 [2023-08-28T08:41:11.056Z] Removing intermediate container aba828406487 [2023-08-28T08:41:11.056Z] ---> 1d47803f8e33 [2023-08-28T08:41:11.056Z] Step 11/12 : COPY . . [2023-08-28T08:41:11.056Z] ---> ba13de2bac5f [2023-08-28T08:41:11.056Z] Step 12/12 : RUN $MAKE [2023-08-28T08:41:11.056Z] ---> Running in c92d2d4e70ab [2023-08-28T08:41:11.056Z] noop [2023-08-28T08:41:11.056Z] Removing intermediate container c92d2d4e70ab [2023-08-28T08:41:11.056Z] ---> 1979cba04735 [2023-08-28T08:41:11.056Z] Successfully built 1979cba04735 [2023-08-28T08:41:11.056Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:41:11.536Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T08:41:11.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:41:11.686Z] prd-ubuntu20.04-docker-8c-8g-4724 does not seem to be running inside a container [2023-08-28T08:41:11.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-334 -v /w/workspace/gexfoundry_device-rest-go_PR-334:/w/workspace/gexfoundry_device-rest-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-334@tmp:/w/workspace/gexfoundry_device-rest-go_PR-334@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-08-28T08:41:12.155Z] $ docker top b3dd4f5e73acbc73256f11b4a345e4efb53e4580674019aac9b186d04b9495dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T08:41:12.547Z] + go version [2023-08-28T08:41:12.547Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-28T08:41:12.582Z] $ docker stop --time=1 b3dd4f5e73acbc73256f11b4a345e4efb53e4580674019aac9b186d04b9495dd [2023-08-28T08:41:13.846Z] $ docker rm -f --volumes b3dd4f5e73acbc73256f11b4a345e4efb53e4580674019aac9b186d04b9495dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:41:14.548Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T08:41:14.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:41:14.697Z] prd-ubuntu20.04-docker-8c-8g-4724 does not seem to be running inside a container [2023-08-28T08:41:14.735Z] $ 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-334 -v /w/workspace/gexfoundry_device-rest-go_PR-334:/w/workspace/gexfoundry_device-rest-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-334@tmp:/w/workspace/gexfoundry_device-rest-go_PR-334@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-08-28T08:41:15.059Z] $ docker top 39f2cc7065f98e852e7a68e66cd20f33103496db7399cd2a6216390cdedd2670 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T08:41:15.441Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-334 [Pipeline] fileExists [Pipeline] sh [2023-08-28T08:41:15.804Z] + make test [2023-08-28T08:41:15.804Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T08:41:21.074Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-28T08:41:31.052Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-28T08:41:31.311Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.2% of statements [2023-08-28T08:41:37.872Z] go vet ./... [2023-08-28T08:41:42.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T08:41:42.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T08:41:42.059Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T08:41:42.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T08:41:42.130Z] $ docker stop --time=1 39f2cc7065f98e852e7a68e66cd20f33103496db7399cd2a6216390cdedd2670 [2023-08-28T08:41:46.046Z] $ docker rm -f --volumes 39f2cc7065f98e852e7a68e66cd20f33103496db7399cd2a6216390cdedd2670 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T08:41:46.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T08:41:46.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-28T08:41:47.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-28T08:41:47.659Z] + ls -al . [2023-08-28T08:41:47.659Z] total 188 [2023-08-28T08:41:47.659Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 08:41 . [2023-08-28T08:41:47.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 08:39 .. [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 28 08:39 .dockerignore [2023-08-28T08:41:47.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 08:40 .git [2023-08-28T08:41:47.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 08:39 .github [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 28 08:39 .gitignore [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 08:39 .golangci.yml [2023-08-28T08:41:47.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 08:40 .semver [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 28 08:39 Attribution.txt [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 28 08:39 CHANGELOG.md [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 28 08:39 Dockerfile [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 08:39 GOVERNANCE.md [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 28 08:39 Jenkinsfile [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 08:39 LICENSE [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 28 08:39 Makefile [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 08:39 OWNERS.md [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 28 08:39 README.md [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 08:40 VERSION [2023-08-28T08:41:47.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 08:39 bin [2023-08-28T08:41:47.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 08:39 cmd [2023-08-28T08:41:47.659Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 28 08:41 coverage.out [2023-08-28T08:41:47.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 08:39 driver [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 28 08:39 go.mod [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 28 08:39 go.sum [2023-08-28T08:41:47.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 08:39 snap [2023-08-28T08:41:47.659Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 28 08:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:41:48.134Z] + 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=0605e1b199b8aa92f85f955bcb801461337e9dd7 --label arch=amd64 --label version=0.0.0 . [2023-08-28T08:41:48.134Z] Sending build context to Docker daemon 10.94MB [2023-08-28T08:41:48.134Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T08:41:48.134Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-28T08:41:48.134Z] ---> 1979cba04735 [2023-08-28T08:41:48.134Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-28T08:41:48.393Z] ---> Running in df7a9b530b75 [2023-08-28T08:41:48.393Z] Removing intermediate container df7a9b530b75 [2023-08-28T08:41:48.393Z] ---> fe01f9deeb96 [2023-08-28T08:41:48.393Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T08:41:48.393Z] ---> Running in a019ef91897e [2023-08-28T08:41:48.393Z] Removing intermediate container a019ef91897e [2023-08-28T08:41:48.393Z] ---> 7733f0e56a81 [2023-08-28T08:41:48.393Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T08:41:48.393Z] ---> Running in 294d2787b6b7 [2023-08-28T08:41:48.652Z] Removing intermediate container 294d2787b6b7 [2023-08-28T08:41:48.652Z] ---> 518272a40489 [2023-08-28T08:41:48.652Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T08:41:48.652Z] ---> Running in 5908f4707419 [2023-08-28T08:41:48.652Z] Removing intermediate container 5908f4707419 [2023-08-28T08:41:48.652Z] ---> 7c042f4c6012 [2023-08-28T08:41:48.652Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T08:41:48.652Z] ---> Running in edcdad2c10d4 [2023-08-28T08:41:48.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T08:41:49.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T08:41:49.430Z] OK: 269 MiB in 57 packages [2023-08-28T08:41:49.689Z] Removing intermediate container edcdad2c10d4 [2023-08-28T08:41:49.689Z] ---> b4076a0d25f6 [2023-08-28T08:41:49.689Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-28T08:41:49.689Z] ---> Running in 6d9caa7219d6 [2023-08-28T08:41:49.948Z] Removing intermediate container 6d9caa7219d6 [2023-08-28T08:41:49.948Z] ---> 8c410c264429 [2023-08-28T08:41:49.948Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-28T08:41:49.948Z] ---> 3fb51551cccc [2023-08-28T08:41:49.948Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T08:41:49.948Z] ---> Running in 8a540b48cf85 [2023-08-28T08:41:50.515Z] Removing intermediate container 8a540b48cf85 [2023-08-28T08:41:50.515Z] ---> 3f71a40496b9 [2023-08-28T08:41:50.515Z] Step 11/25 : COPY . . [2023-08-28T08:41:51.085Z] ---> 38144f6dd959 [2023-08-28T08:41:51.085Z] Step 12/25 : RUN $MAKE [2023-08-28T08:41:51.085Z] ---> Running in b308729219f5 [2023-08-28T08:41:51.344Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-28T08:41:54.582Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4725 in /w/workspace/gexfoundry_device-rest-go_PR-334 [Pipeline] { [Pipeline] ws [2023-08-28T08:41:54.642Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-08-28T08:41:54.718Z] The recommended git tool is: git [2023-08-28T08:41:59.282Z] using credential edgex-jenkins-ssh [2023-08-28T08:41:59.301Z] Cloning the remote Git repository [2023-08-28T08:41:59.345Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-28T08:41:59.431Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-08-28T08:41:59.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-28T08:41:59.571Z] > git --version # timeout=10 [2023-08-28T08:41:59.591Z] > git --version # 'git version 2.25.1' [2023-08-28T08:41:59.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T08:41:59.736Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T08:42:01.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-28T08:42:01.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T08:42:03.076Z] Merging remotes/origin/main commit 7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab into PR head commit 0605e1b199b8aa92f85f955bcb801461337e9dd7 [2023-08-28T08:42:03.334Z] Merge succeeded, producing 0605e1b199b8aa92f85f955bcb801461337e9dd7 [2023-08-28T08:42:03.334Z] Checking out Revision 0605e1b199b8aa92f85f955bcb801461337e9dd7 (PR-334) [2023-08-28T08:42:02.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-28T08:42:02.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-28T08:42:02.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T08:42:02.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/334/head:refs/remotes/origin/PR-334 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-28T08:42:03.097Z] > git config core.sparsecheckout # timeout=10 [2023-08-28T08:42:03.168Z] > git checkout -f 0605e1b199b8aa92f85f955bcb801461337e9dd7 # timeout=10 [2023-08-28T08:42:03.250Z] > git remote # timeout=10 [2023-08-28T08:42:03.267Z] > git config --get remote.origin.url # timeout=10 [2023-08-28T08:42:03.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T08:42:03.301Z] > git merge 7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab # timeout=10 [2023-08-28T08:42:03.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-28T08:42:03.345Z] > git config core.sparsecheckout # timeout=10 [2023-08-28T08:42:03.359Z] > git checkout -f 0605e1b199b8aa92f85f955bcb801461337e9dd7 # timeout=10 [2023-08-28T08:42:06.785Z] Commit message: "feat: replace gorilla/mux with labstack/echo" [2023-08-28T08:42:06.840Z] > git --version # timeout=10 [2023-08-28T08:42:06.853Z] > git --version # 'git version 2.25.1' [2023-08-28T08:42:06.865Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T08:42:07.982Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-28T08:42:07.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T08:42:07.983Z] Dload Upload Total Spent Left Speed [2023-08-28T08:42:07.983Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-08-28T08:42:08.680Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-28T08:42:09.018Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-28T08:42:09.018Z] sudo tee /etc/docker/daemon.new [2023-08-28T08:42:09.018Z] { [2023-08-28T08:42:09.018Z] "registry-mirrors": [ [2023-08-28T08:42:09.018Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-28T08:42:09.018Z] ], [2023-08-28T08:42:09.018Z] "bip": "10.250.0.254/24", [2023-08-28T08:42:09.018Z] "hosts": [ [2023-08-28T08:42:09.018Z] "tcp://0.0.0.0:5555", [2023-08-28T08:42:09.018Z] "unix:///var/run/docker.sock" [2023-08-28T08:42:09.018Z] ], [2023-08-28T08:42:09.018Z] "mtu": 1458, [2023-08-28T08:42:09.018Z] "selinux-enabled": true, [2023-08-28T08:42:09.018Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-28T08:42:09.018Z] } [Pipeline] sh [2023-08-28T08:42:09.358Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-28T08:42:09.712Z] + sudo service docker restart [2023-08-28T08:42:13.272Z] Removing intermediate container b308729219f5 [2023-08-28T08:42:13.272Z] ---> c189aa213109 [2023-08-28T08:42:13.272Z] Step 13/25 : FROM alpine:3.17 [2023-08-28T08:42:13.272Z] 3.17: Pulling from library/alpine [2023-08-28T08:42:13.272Z] 9398808236ff: Pulling fs layer [2023-08-28T08:42:13.272Z] 9398808236ff: Verifying Checksum [2023-08-28T08:42:13.272Z] 9398808236ff: Download complete [2023-08-28T08:42:13.272Z] 9398808236ff: Pull complete [2023-08-28T08:42:13.272Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T08:42:13.272Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T08:42:13.272Z] ---> 1e0b8b5322fc [2023-08-28T08:42:13.272Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-28T08:42:13.272Z] ---> Running in f6b20ba27fec [2023-08-28T08:42:13.532Z] Removing intermediate container f6b20ba27fec [2023-08-28T08:42:13.532Z] ---> 529d014010b4 [2023-08-28T08:42:13.532Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-28T08:42:13.532Z] ---> Running in 72a93c8a35d8 [2023-08-28T08:42:13.532Z] Removing intermediate container 72a93c8a35d8 [2023-08-28T08:42:13.532Z] ---> 0f9eba0cfbad [2023-08-28T08:42:13.532Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-28T08:42:13.532Z] ---> Running in c61ad974b716 [2023-08-28T08:42:13.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T08:42:14.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T08:42:14.313Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T08:42:14.313Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T08:42:14.313Z] OK: 7 MiB in 16 packages [2023-08-28T08:42:14.574Z] Removing intermediate container c61ad974b716 [2023-08-28T08:42:14.574Z] ---> 7a3a23a7c0b6 [2023-08-28T08:42:14.574Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-28T08:42:15.508Z] ---> 13b07e75dd0a [2023-08-28T08:42:15.508Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-28T08:42:15.768Z] ---> 4c4cc1edb990 [2023-08-28T08:42:15.768Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-28T08:42:15.768Z] ---> 61f956f0a759 [2023-08-28T08:42:15.768Z] Step 20/25 : EXPOSE 59986 [2023-08-28T08:42:15.768Z] ---> Running in a55e64061d3b [2023-08-28T08:42:16.027Z] Removing intermediate container a55e64061d3b [2023-08-28T08:42:16.027Z] ---> e4d5bb2b2a8d [2023-08-28T08:42:16.027Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-28T08:42:16.027Z] ---> Running in f2bcbc975542 [2023-08-28T08:42:16.027Z] Removing intermediate container f2bcbc975542 [2023-08-28T08:42:16.027Z] ---> b80604cde8ef [2023-08-28T08:42:16.027Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-28T08:42:16.027Z] ---> Running in 41f15cda3fb8 [2023-08-28T08:42:16.285Z] Removing intermediate container 41f15cda3fb8 [2023-08-28T08:42:16.285Z] ---> bff36551f401 [2023-08-28T08:42:16.285Z] Step 23/25 : LABEL arch=amd64 [2023-08-28T08:42:16.285Z] ---> Running in 9fec94dde013 [2023-08-28T08:42:16.285Z] Removing intermediate container 9fec94dde013 [2023-08-28T08:42:16.285Z] ---> b25f04bffd3d [2023-08-28T08:42:16.285Z] Step 24/25 : LABEL git_sha=0605e1b199b8aa92f85f955bcb801461337e9dd7 [2023-08-28T08:42:16.285Z] ---> Running in f38ff7c929d8 [2023-08-28T08:42:16.285Z] Removing intermediate container f38ff7c929d8 [2023-08-28T08:42:16.285Z] ---> 36ea9c97c641 [2023-08-28T08:42:16.285Z] Step 25/25 : LABEL version=0.0.0 [2023-08-28T08:42:16.285Z] ---> Running in e64d210f19fd [2023-08-28T08:42:16.544Z] Removing intermediate container e64d210f19fd [2023-08-28T08:42:16.544Z] ---> 8959598ade68 [2023-08-28T08:42:16.544Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T08:42:16.544Z] Successfully built 8959598ade68 [2023-08-28T08:42:16.544Z] 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-08-28T08:42:17.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T08:42:17.437Z] [2023-08-28T08:42:17.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:42:17.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T08:42:17.801Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-28T08:42:17.801Z] 5eb5b503b376: Pulling fs layer [2023-08-28T08:42:17.801Z] 5c69ac0246d0: Pulling fs layer [2023-08-28T08:42:17.801Z] ec43610c2a17: Pulling fs layer [2023-08-28T08:42:17.801Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-28T08:42:17.801Z] 33b1e0a273af: Pulling fs layer [2023-08-28T08:42:17.801Z] 5d3b04190fa2: Pulling fs layer [2023-08-28T08:42:17.801Z] 2f39f015ded8: Pulling fs layer [2023-08-28T08:42:17.801Z] 33b1e0a273af: Waiting [2023-08-28T08:42:17.801Z] 3a2ae6a8a46f: Waiting [2023-08-28T08:42:17.801Z] 2f39f015ded8: Waiting [2023-08-28T08:42:17.801Z] 5d3b04190fa2: Waiting [2023-08-28T08:42:17.801Z] 5c69ac0246d0: Download complete [2023-08-28T08:42:17.801Z] 3a2ae6a8a46f: Download complete [2023-08-28T08:42:17.801Z] 33b1e0a273af: Verifying Checksum [2023-08-28T08:42:17.801Z] 33b1e0a273af: Download complete [2023-08-28T08:42:17.801Z] ec43610c2a17: Verifying Checksum [2023-08-28T08:42:17.801Z] ec43610c2a17: Download complete [2023-08-28T08:42:17.801Z] 5d3b04190fa2: Verifying Checksum [2023-08-28T08:42:17.801Z] 5d3b04190fa2: Download complete [2023-08-28T08:42:18.060Z] 5eb5b503b376: Verifying Checksum [2023-08-28T08:42:18.060Z] 5eb5b503b376: Download complete [2023-08-28T08:42:18.626Z] 2f39f015ded8: Download complete [2023-08-28T08:42:19.192Z] 5eb5b503b376: Pull complete [2023-08-28T08:42:19.450Z] 5c69ac0246d0: Pull complete [2023-08-28T08:42:20.015Z] ec43610c2a17: Pull complete [2023-08-28T08:42:20.015Z] 3a2ae6a8a46f: Pull complete [2023-08-28T08:42:20.272Z] 33b1e0a273af: Pull complete [2023-08-28T08:42:20.273Z] 5d3b04190fa2: Pull complete [2023-08-28T08:42:24.477Z] 2f39f015ded8: Pull complete [2023-08-28T08:42:24.477Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-28T08:42:24.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T08:42:24.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:42:24.694Z] prd-ubuntu20.04-docker-8c-8g-4724 does not seem to be running inside a container [2023-08-28T08:42:24.729Z] $ 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-334 -v /w/workspace/gexfoundry_device-rest-go_PR-334:/w/workspace/gexfoundry_device-rest-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-334@tmp:/w/workspace/gexfoundry_device-rest-go_PR-334@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-08-28T08:42:29.549Z] $ docker top b4a7a937fabf4864b57c8496b9120fd15238d1e04374738f8fca2336555959ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-08-28T08:42:29.814Z] provisioning config files... [2023-08-28T08:42:29.842Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1875512156181307441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:42:30.053Z] ---> job-cost.sh [2023-08-28T08:42:30.053Z] lf-activate-venv: SKIPPING [2023-08-28T08:42:30.053Z] INFO: No Stack... [2023-08-28T08:42:30.235Z] ---> docker-login.sh [2023-08-28T08:42:30.235Z] nexus3.edgexfoundry.org:10001 [2023-08-28T08:42:30.311Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T08:42:30.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:42:30.570Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T08:42:30.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:42:30.779Z] Configure a credential helper to remove this warning. See [2023-08-28T08:42:30.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:42:30.779Z] [2023-08-28T08:42:30.779Z] Login Succeeded [2023-08-28T08:42:30.779Z] nexus3.edgexfoundry.org:10002 [2023-08-28T08:42:30.885Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-334/archives/cost.csv [2023-08-28T08:42:30.885Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T08:42:30.926Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [2023-08-28T08:42:30.931Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] did not exist. Created. [2023-08-28T08:42:30.931Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T08:42:31.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:42:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:42:31.049Z] Configure a credential helper to remove this warning. See [2023-08-28T08:42:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:42:31.049Z] [2023-08-28T08:42:31.049Z] Login Succeeded [2023-08-28T08:42:31.049Z] nexus3.edgexfoundry.org:10003 [2023-08-28T08:42:31.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:42:31.322Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-28T08:42:31.394Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T08:42:31.426Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T08:42:31.513Z] $ docker stop --time=1 b4a7a937fabf4864b57c8496b9120fd15238d1e04374738f8fca2336555959ed [2023-08-28T08:42:31.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:42:31.589Z] Configure a credential helper to remove this warning. See [2023-08-28T08:42:31.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:42:31.589Z] [2023-08-28T08:42:31.589Z] Login Succeeded [2023-08-28T08:42:31.589Z] nexus3.edgexfoundry.org:10004 [2023-08-28T08:42:31.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:42:31.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:42:31.867Z] Configure a credential helper to remove this warning. See [2023-08-28T08:42:31.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:42:31.867Z] [2023-08-28T08:42:31.867Z] Login Succeeded [2023-08-28T08:42:31.867Z] docker.io [2023-08-28T08:42:32.681Z] $ docker rm -f --volumes b4a7a937fabf4864b57c8496b9120fd15238d1e04374738f8fca2336555959ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-28T08:42:35.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T08:42:35.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T08:42:35.217Z] Configure a credential helper to remove this warning. See [2023-08-28T08:42:35.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T08:42:35.217Z] [2023-08-28T08:42:35.217Z] Login Succeeded [2023-08-28T08:42:35.217Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T08:42:35.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T08:42:35.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T08:42:35.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T08:42:35.684Z] ========================================================= [2023-08-28T08:42:35.684Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-28T08:42:35.684Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:42:36.203Z] + 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-08-28T08:42:36.203Z] Sending build context to Docker daemon 143.4kB [2023-08-28T08:42:36.469Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T08:42:36.469Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-28T08:42:36.469Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-28T08:42:36.469Z] edb6bdbacee9: Pulling fs layer [2023-08-28T08:42:36.469Z] 5f9638ab2659: Pulling fs layer [2023-08-28T08:42:36.469Z] 8d51d6327a98: Pulling fs layer [2023-08-28T08:42:36.469Z] 8b374f2dd631: Pulling fs layer [2023-08-28T08:42:36.469Z] ec14aa9079de: Pulling fs layer [2023-08-28T08:42:36.469Z] 2f466654f4bb: Pulling fs layer [2023-08-28T08:42:36.469Z] 554e91adad29: Pulling fs layer [2023-08-28T08:42:36.469Z] 8b374f2dd631: Waiting [2023-08-28T08:42:36.469Z] 2f466654f4bb: Waiting [2023-08-28T08:42:36.469Z] 554e91adad29: Waiting [2023-08-28T08:42:36.469Z] ec14aa9079de: Waiting [2023-08-28T08:42:36.469Z] 5f9638ab2659: Verifying Checksum [2023-08-28T08:42:36.469Z] 5f9638ab2659: Download complete [2023-08-28T08:42:36.469Z] 8b374f2dd631: Download complete [2023-08-28T08:42:36.469Z] ec14aa9079de: Verifying Checksum [2023-08-28T08:42:36.469Z] ec14aa9079de: Download complete [2023-08-28T08:42:36.736Z] edb6bdbacee9: Download complete [2023-08-28T08:42:37.718Z] edb6bdbacee9: Pull complete [2023-08-28T08:42:37.718Z] 554e91adad29: Verifying Checksum [2023-08-28T08:42:37.718Z] 554e91adad29: Download complete [2023-08-28T08:42:37.988Z] 5f9638ab2659: Pull complete [2023-08-28T08:42:38.956Z] 8d51d6327a98: Verifying Checksum [2023-08-28T08:42:38.956Z] 8d51d6327a98: Download complete [2023-08-28T08:42:38.956Z] 2f466654f4bb: Verifying Checksum [2023-08-28T08:42:38.956Z] 2f466654f4bb: Download complete [2023-08-28T08:42:51.271Z] 8d51d6327a98: Pull complete [2023-08-28T08:42:51.271Z] 8b374f2dd631: Pull complete [2023-08-28T08:42:51.271Z] ec14aa9079de: Pull complete [2023-08-28T08:42:56.621Z] 2f466654f4bb: Pull complete [2023-08-28T08:42:59.204Z] 554e91adad29: Pull complete [2023-08-28T08:42:59.204Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-28T08:42:59.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-28T08:42:59.204Z] ---> 1e15ea492957 [2023-08-28T08:42:59.204Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-28T08:43:00.627Z] ---> Running in 952ed38c27ae [2023-08-28T08:43:00.627Z] Removing intermediate container 952ed38c27ae [2023-08-28T08:43:00.627Z] ---> 68c5c053ad20 [2023-08-28T08:43:00.627Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T08:43:00.898Z] ---> Running in 00129683a224 [2023-08-28T08:43:01.164Z] Removing intermediate container 00129683a224 [2023-08-28T08:43:01.164Z] ---> d0fd95bd1181 [2023-08-28T08:43:01.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T08:43:01.164Z] ---> Running in 53d4391344a2 [2023-08-28T08:43:01.432Z] Removing intermediate container 53d4391344a2 [2023-08-28T08:43:01.432Z] ---> 50ea49dae73d [2023-08-28T08:43:01.432Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T08:43:01.700Z] ---> Running in db8603e45096 [2023-08-28T08:43:01.971Z] Removing intermediate container db8603e45096 [2023-08-28T08:43:01.972Z] ---> b66798067d42 [2023-08-28T08:43:01.972Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T08:43:01.972Z] ---> Running in e192f72ee202 [2023-08-28T08:43:02.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T08:43:03.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T08:43:04.475Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-28T08:43:04.475Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-28T08:43:04.475Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-28T08:43:04.741Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-28T08:43:04.741Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T08:43:04.741Z] OK: 268 MiB in 57 packages [2023-08-28T08:43:05.702Z] Removing intermediate container e192f72ee202 [2023-08-28T08:43:05.702Z] ---> b2fa7b757555 [2023-08-28T08:43:05.702Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-28T08:43:05.702Z] ---> Running in a13a83b46926 [2023-08-28T08:43:05.970Z] Removing intermediate container a13a83b46926 [2023-08-28T08:43:05.970Z] ---> 65f93c5f7dc3 [2023-08-28T08:43:05.970Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-28T08:43:06.555Z] ---> b6cb8a3c41af [2023-08-28T08:43:06.555Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T08:43:06.555Z] ---> Running in 1b0cc5cb67e1 [2023-08-28T08:44:14.420Z] Removing intermediate container 1b0cc5cb67e1 [2023-08-28T08:44:14.420Z] ---> a72ad0450db6 [2023-08-28T08:44:14.420Z] Step 11/12 : COPY . . [2023-08-28T08:44:14.420Z] ---> 23daf98bbf09 [2023-08-28T08:44:14.420Z] Step 12/12 : RUN $MAKE [2023-08-28T08:44:14.420Z] ---> Running in 7d0a04893494 [2023-08-28T08:44:14.420Z] noop [2023-08-28T08:44:14.420Z] Removing intermediate container 7d0a04893494 [2023-08-28T08:44:14.420Z] ---> cbd92ca616c5 [2023-08-28T08:44:14.420Z] Successfully built cbd92ca616c5 [2023-08-28T08:44:14.420Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:44:15.030Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T08:44:15.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:44:15.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-4725 does not seem to be running inside a container [2023-08-28T08:44:15.385Z] $ 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-08-28T08:44:16.573Z] $ docker top e86cc0a53d25da3469f0b8626ce8333d40b0e96905737df1d0f07f5b9e6352f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T08:44:17.439Z] + go version [2023-08-28T08:44:17.439Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-28T08:44:17.474Z] $ docker stop --time=1 e86cc0a53d25da3469f0b8626ce8333d40b0e96905737df1d0f07f5b9e6352f5 [2023-08-28T08:44:19.067Z] $ docker rm -f --volumes e86cc0a53d25da3469f0b8626ce8333d40b0e96905737df1d0f07f5b9e6352f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:44:19.986Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T08:44:19.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:44:20.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-4725 does not seem to be running inside a container [2023-08-28T08:44:20.309Z] $ 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-08-28T08:44:21.419Z] $ docker top a0d8dcf8033a5e9f0ca86124107ffa76b446ef9b6e59edfa6941da59eec1bf41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T08:44:21.968Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-28T08:44:22.354Z] + make test [2023-08-28T08:44:22.621Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T08:44:54.827Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-28T08:47:01.475Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-28T08:47:01.475Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements [2023-08-28T08:47:01.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-28T08:47:01.475Z] go vet ./... [2023-08-28T08:47:19.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T08:47:19.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T08:47:19.683Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T08:47:19.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T08:47:19.750Z] $ docker stop --time=1 a0d8dcf8033a5e9f0ca86124107ffa76b446ef9b6e59edfa6941da59eec1bf41 [2023-08-28T08:47:22.885Z] $ docker rm -f --volumes a0d8dcf8033a5e9f0ca86124107ffa76b446ef9b6e59edfa6941da59eec1bf41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T08:47:24.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T08:47:24.068Z] Warning: overwriting stash ‘coverage-report’ [2023-08-28T08:47:24.598Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T08:47:25.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-28T08:47:25.538Z] + ls -al . [2023-08-28T08:47:25.538Z] total 184 [2023-08-28T08:47:25.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 08:44 . [2023-08-28T08:47:25.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 08:41 .. [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 28 08:42 .dockerignore [2023-08-28T08:47:25.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 08:42 .git [2023-08-28T08:47:25.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 08:42 .github [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 28 08:42 .gitignore [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 08:42 .golangci.yml [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 28 08:42 Attribution.txt [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 28 08:42 CHANGELOG.md [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 28 08:42 Dockerfile [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 08:42 GOVERNANCE.md [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 28 08:42 Jenkinsfile [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 08:42 LICENSE [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 28 08:42 Makefile [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 08:42 OWNERS.md [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 28 08:42 README.md [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 08:40 VERSION [2023-08-28T08:47:25.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 08:42 bin [2023-08-28T08:47:25.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 08:42 cmd [2023-08-28T08:47:25.538Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 28 08:46 coverage.out [2023-08-28T08:47:25.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 08:42 driver [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 28 08:42 go.mod [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 28 08:42 go.sum [2023-08-28T08:47:25.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 08:42 snap [2023-08-28T08:47:25.538Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 28 08:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:47:25.957Z] + 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=0605e1b199b8aa92f85f955bcb801461337e9dd7 --label arch=arm64 --label version=0.0.0 . [2023-08-28T08:47:25.957Z] Sending build context to Docker daemon 158.7kB [2023-08-28T08:47:26.223Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T08:47:26.223Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-28T08:47:26.223Z] ---> cbd92ca616c5 [2023-08-28T08:47:26.223Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-28T08:47:26.223Z] ---> Running in 1ca3109eb0c2 [2023-08-28T08:47:26.491Z] Removing intermediate container 1ca3109eb0c2 [2023-08-28T08:47:26.491Z] ---> 16d67018648e [2023-08-28T08:47:26.491Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T08:47:26.491Z] ---> Running in f4e42746f8ea [2023-08-28T08:47:26.764Z] Removing intermediate container f4e42746f8ea [2023-08-28T08:47:26.764Z] ---> 83602e029317 [2023-08-28T08:47:26.764Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T08:47:27.035Z] ---> Running in dedfb7c5a5fe [2023-08-28T08:47:27.302Z] Removing intermediate container dedfb7c5a5fe [2023-08-28T08:47:27.302Z] ---> 6c80f2641bbe [2023-08-28T08:47:27.302Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T08:47:27.302Z] ---> Running in 18e94167bcdf [2023-08-28T08:47:27.570Z] Removing intermediate container 18e94167bcdf [2023-08-28T08:47:27.570Z] ---> 8474600b9d66 [2023-08-28T08:47:27.570Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T08:47:27.570Z] ---> Running in ce8ee2aa7ad6 [2023-08-28T08:47:28.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T08:47:29.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T08:47:30.071Z] OK: 268 MiB in 57 packages [2023-08-28T08:47:31.033Z] Removing intermediate container ce8ee2aa7ad6 [2023-08-28T08:47:31.033Z] ---> fbe33e9742d4 [2023-08-28T08:47:31.033Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-28T08:47:31.033Z] ---> Running in 3ca746635c04 [2023-08-28T08:47:31.303Z] Removing intermediate container 3ca746635c04 [2023-08-28T08:47:31.303Z] ---> 4eaa16ff6489 [2023-08-28T08:47:31.303Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-28T08:47:31.573Z] ---> 5bbad30f6b35 [2023-08-28T08:47:31.573Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T08:47:31.843Z] ---> Running in a86eeb00fe0f [2023-08-28T08:47:33.790Z] Removing intermediate container a86eeb00fe0f [2023-08-28T08:47:33.790Z] ---> 85c51ec04eb9 [2023-08-28T08:47:33.790Z] Step 11/25 : COPY . . [2023-08-28T08:47:35.728Z] ---> c2e2952dbed8 [2023-08-28T08:47:35.728Z] Step 12/25 : RUN $MAKE [2023-08-28T08:47:35.728Z] ---> Running in df9bc7bf1ae2 [2023-08-28T08:47:36.312Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-28T08:49:57.997Z] Removing intermediate container df9bc7bf1ae2 [2023-08-28T08:49:57.997Z] ---> 773151a33034 [2023-08-28T08:49:57.997Z] Step 13/25 : FROM alpine:3.17 [2023-08-28T08:49:57.997Z] 3.17: Pulling from library/alpine [2023-08-28T08:49:57.997Z] 4060ece20d7a: Pulling fs layer [2023-08-28T08:49:57.997Z] 4060ece20d7a: Verifying Checksum [2023-08-28T08:49:57.997Z] 4060ece20d7a: Download complete [2023-08-28T08:49:57.997Z] 4060ece20d7a: Pull complete [2023-08-28T08:49:57.997Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T08:49:57.997Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T08:49:57.997Z] ---> 8650cd65339b [2023-08-28T08:49:57.997Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-28T08:49:57.997Z] ---> Running in b4b3320bb696 [2023-08-28T08:49:57.997Z] Removing intermediate container b4b3320bb696 [2023-08-28T08:49:57.997Z] ---> 09642e4c8456 [2023-08-28T08:49:57.997Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-28T08:49:57.997Z] ---> Running in 7412da57d84b [2023-08-28T08:49:57.997Z] Removing intermediate container 7412da57d84b [2023-08-28T08:49:57.997Z] ---> b51e0894ddae [2023-08-28T08:49:57.997Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-28T08:49:57.997Z] ---> Running in 9302347e3e57 [2023-08-28T08:49:57.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T08:49:57.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T08:49:57.997Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T08:49:57.997Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T08:49:57.997Z] OK: 8 MiB in 16 packages [2023-08-28T08:49:57.997Z] Removing intermediate container 9302347e3e57 [2023-08-28T08:49:57.997Z] ---> 5354f92af34f [2023-08-28T08:49:57.997Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-28T08:49:57.997Z] ---> 8cae12613ac5 [2023-08-28T08:49:57.997Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-28T08:49:57.997Z] ---> d215fdda06be [2023-08-28T08:49:57.997Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-28T08:49:57.997Z] ---> 1cbe87a8746a [2023-08-28T08:49:57.997Z] Step 20/25 : EXPOSE 59986 [2023-08-28T08:49:57.997Z] ---> Running in c26444dbc758 [2023-08-28T08:49:57.997Z] Removing intermediate container c26444dbc758 [2023-08-28T08:49:57.997Z] ---> 8df18bee01aa [2023-08-28T08:49:57.997Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-28T08:49:57.997Z] ---> Running in a9ec6296052a [2023-08-28T08:49:57.997Z] Removing intermediate container a9ec6296052a [2023-08-28T08:49:57.997Z] ---> d6d4766b0ec9 [2023-08-28T08:49:57.997Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-28T08:49:57.997Z] ---> Running in 6d5e82ac9e68 [2023-08-28T08:49:57.997Z] Removing intermediate container 6d5e82ac9e68 [2023-08-28T08:49:57.997Z] ---> 7008af89bdbb [2023-08-28T08:49:57.997Z] Step 23/25 : LABEL arch=arm64 [2023-08-28T08:49:57.997Z] ---> Running in 10cbbdb77119 [2023-08-28T08:49:57.997Z] Removing intermediate container 10cbbdb77119 [2023-08-28T08:49:57.997Z] ---> 736dce056af6 [2023-08-28T08:49:57.997Z] Step 24/25 : LABEL git_sha=0605e1b199b8aa92f85f955bcb801461337e9dd7 [2023-08-28T08:49:57.997Z] ---> Running in 3e590d2b6686 [2023-08-28T08:49:57.997Z] Removing intermediate container 3e590d2b6686 [2023-08-28T08:49:57.997Z] ---> 54efe498b813 [2023-08-28T08:49:57.997Z] Step 25/25 : LABEL version=0.0.0 [2023-08-28T08:49:57.997Z] ---> Running in 43233a3cd8fc [2023-08-28T08:49:57.997Z] Removing intermediate container 43233a3cd8fc [2023-08-28T08:49:57.997Z] ---> 666a06d02b15 [2023-08-28T08:49:57.997Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T08:49:57.997Z] Successfully built 666a06d02b15 [2023-08-28T08:49:57.997Z] 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-08-28T08:49:58.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T08:49:58.803Z] [2023-08-28T08:49:58.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:49:59.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T08:49:59.210Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-28T08:49:59.210Z] 8998bd30e6a1: Pulling fs layer [2023-08-28T08:49:59.210Z] 04944245beec: Pulling fs layer [2023-08-28T08:49:59.210Z] 699f458cf7ca: Pulling fs layer [2023-08-28T08:49:59.210Z] 765212b225bb: Pulling fs layer [2023-08-28T08:49:59.210Z] f23df028b6ca: Pulling fs layer [2023-08-28T08:49:59.210Z] d65c8cfc05b1: Pulling fs layer [2023-08-28T08:49:59.210Z] 2437ff75d9bd: Pulling fs layer [2023-08-28T08:49:59.210Z] 765212b225bb: Waiting [2023-08-28T08:49:59.210Z] f23df028b6ca: Waiting [2023-08-28T08:49:59.210Z] 2437ff75d9bd: Waiting [2023-08-28T08:49:59.210Z] d65c8cfc05b1: Waiting [2023-08-28T08:49:59.479Z] 04944245beec: Verifying Checksum [2023-08-28T08:49:59.479Z] 04944245beec: Download complete [2023-08-28T08:49:59.479Z] 765212b225bb: Download complete [2023-08-28T08:49:59.479Z] f23df028b6ca: Verifying Checksum [2023-08-28T08:49:59.479Z] f23df028b6ca: Download complete [2023-08-28T08:49:59.479Z] d65c8cfc05b1: Verifying Checksum [2023-08-28T08:49:59.479Z] d65c8cfc05b1: Download complete [2023-08-28T08:49:59.479Z] 699f458cf7ca: Verifying Checksum [2023-08-28T08:49:59.479Z] 699f458cf7ca: Download complete [2023-08-28T08:50:00.063Z] 8998bd30e6a1: Verifying Checksum [2023-08-28T08:50:00.063Z] 8998bd30e6a1: Download complete [2023-08-28T08:50:02.020Z] 2437ff75d9bd: Verifying Checksum [2023-08-28T08:50:02.020Z] 2437ff75d9bd: Download complete [2023-08-28T08:50:03.962Z] 8998bd30e6a1: Pull complete [2023-08-28T08:50:04.227Z] 04944245beec: Pull complete [2023-08-28T08:50:05.634Z] 699f458cf7ca: Pull complete [2023-08-28T08:50:05.634Z] 765212b225bb: Pull complete [2023-08-28T08:50:06.217Z] f23df028b6ca: Pull complete [2023-08-28T08:50:06.484Z] d65c8cfc05b1: Pull complete [2023-08-28T08:50:21.742Z] 2437ff75d9bd: Pull complete [2023-08-28T08:50:21.742Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-28T08:50:21.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T08:50:21.742Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:50:22.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-4725 does not seem to be running inside a container [2023-08-28T08:50:22.115Z] $ 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-08-28T08:50:24.533Z] $ docker top 98f697b85eb79c9f1b9cb854cfd1eec12b82fb4a1eac69544cc35f7b277b5b04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:25.101Z] ---> job-cost.sh [2023-08-28T08:50:25.365Z] lf-activate-venv: SKIPPING [2023-08-28T08:50:25.365Z] INFO: No Stack... [2023-08-28T08:50:25.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-28T08:50:26.524Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T08:50:26.918Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-08-28T08:50:26.918Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T08:50:26.994Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [2023-08-28T08:50:26.999Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] did not exist. Created. [2023-08-28T08:50:26.999Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T08:50:27.420Z] /w/workspace/device-rest-go/1@tmp/durable-acaca4ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-28T08:50:28.087Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-28T08:50:28.123Z] Warning: overwriting stash ‘stack-cost’ [2023-08-28T08:50:28.169Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T08:50:28.183Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-334-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T08:50:28.258Z] $ docker stop --time=1 98f697b85eb79c9f1b9cb854cfd1eec12b82fb4a1eac69544cc35f7b277b5b04 [2023-08-28T08:50:31.992Z] $ docker rm -f --volumes 98f697b85eb79c9f1b9cb854cfd1eec12b82fb4a1eac69544cc35f7b277b5b04 [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-08-28T08:50:32.980Z] provisioning config files... [2023-08-28T08:50:32.989Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/config11846843224482431093tmp [Pipeline] { [Pipeline] sh [2023-08-28T08:50:33.342Z] + set +x [2023-08-28T08:50:33.342Z] + curl -s https://codecov.io/bash [2023-08-28T08:50:33.342Z] + bash -s -- [2023-08-28T08:50:33.342Z] [2023-08-28T08:50:33.342Z] _____ _ [2023-08-28T08:50:33.342Z] / ____| | | [2023-08-28T08:50:33.342Z] | | ___ __| | ___ ___ _____ __ [2023-08-28T08:50:33.342Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-28T08:50:33.342Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-28T08:50:33.342Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-28T08:50:33.342Z] Bash-1.0.6 [2023-08-28T08:50:33.342Z] [2023-08-28T08:50:33.342Z] [2023-08-28T08:50:33.342Z] ==> git version 2.25.1 found [2023-08-28T08:50:33.342Z] ==> 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-08-28T08:50:33.342Z] Release-Date: 2020-01-08 [2023-08-28T08:50:33.342Z] 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-08-28T08:50:33.342Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-28T08:50:33.342Z] ==> Jenkins CI detected. [2023-08-28T08:50:33.342Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-334 [2023-08-28T08:50:33.342Z] project root: . [2023-08-28T08:50:33.342Z] --> token set from env [2023-08-28T08:50:33.342Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-28T08:50:33.342Z] ==> Running gcov in . (disable via -X gcov) [2023-08-28T08:50:33.342Z] ==> Python coveragepy not found [2023-08-28T08:50:33.342Z] ==> Searching for coverage reports in: [2023-08-28T08:50:33.342Z] + . [2023-08-28T08:50:33.342Z] -> Found 1 reports [2023-08-28T08:50:35.934Z] ==> Detecting git/mercurial file structure [2023-08-28T08:50:35.934Z] ==> Reading reports [2023-08-28T08:50:35.934Z] + ./coverage.out bytes=14499 [2023-08-28T08:50:35.934Z] ==> Appending adjustments [2023-08-28T08:50:35.934Z] https://docs.codecov.io/docs/fixing-reports [2023-08-28T08:50:35.934Z] + Found adjustments [2023-08-28T08:50:35.934Z] ==> Gzipping contents [2023-08-28T08:50:35.934Z] 4.0K /tmp/codecov.al1Vie.gz [2023-08-28T08:50:35.934Z] ==> Uploading reports [2023-08-28T08:50:35.934Z] url: https://codecov.io [2023-08-28T08:50:35.934Z] query: branch=PR-334&commit=0605e1b199b8aa92f85f955bcb801461337e9dd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-334%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2023-08-28T08:50:35.934Z] -> Pinging Codecov [2023-08-28T08:50:35.934Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-334&commit=0605e1b199b8aa92f85f955bcb801461337e9dd7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-334%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=334&job=&cmd_args= [2023-08-28T08:50:39.580Z] -> Uploading to [2023-08-28T08:50:39.580Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-28/4E5D53B4F1F92C436F7061BF334D961C/0605e1b199b8aa92f85f955bcb801461337e9dd7/cf06593e-23b9-4ef9-8eea-89f262cd5e31.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230828%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230828T085039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b13920664cbe2ac02698381fe800bdea9983a8df7f134ee4eab4b16b29da5758 [2023-08-28T08:50:39.580Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T08:50:39.580Z] Dload Upload Total Spent Left Speed [2023-08-28T08:50:39.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13850 --:--:-- --:--:-- --:--:-- 13850 [2023-08-28T08:50:39.839Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0605e1b199b8aa92f85f955bcb801461337e9dd7 [Pipeline] } [2023-08-28T08:50:39.864Z] 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-08-28T08:50:41.652Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-334/archives ] [2023-08-28T08:50:41.652Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-334/archives [2023-08-28T08:50:41.652Z] total 16 [2023-08-28T08:50:41.652Z] drwxr-xr-x 3 root root 4096 Aug 28 08:42 . [2023-08-28T08:50:41.652Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 08:42 .. [2023-08-28T08:50:41.652Z] drwxr-xr-x 2 root root 4096 Aug 28 08:42 cost [2023-08-28T08:50:41.652Z] -rw-r--r-- 1 root root 86 Aug 28 08:42 cost.csv [2023-08-28T08:50:41.652Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-334/archives [2023-08-28T08:50:41.652Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-334/archives [2023-08-28T08:50:41.652Z] total 16 [2023-08-28T08:50:41.652Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 08:42 . [2023-08-28T08:50:41.652Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 08:42 .. [2023-08-28T08:50:41.652Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 08:42 cost [2023-08-28T08:50:41.652Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 28 08:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:41.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:42.862Z] ---> package-listing.sh [2023-08-28T08:50:42.862Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-28T08:50:42.862Z] ++ facter osfamily [2023-08-28T08:50:43.121Z] + OS_FAMILY=debian [2023-08-28T08:50:43.121Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-334 [2023-08-28T08:50:43.121Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-28T08:50:43.121Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-28T08:50:43.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-28T08:50:43.121Z] + PACKAGES=/tmp/packages_start.txt [2023-08-28T08:50:43.121Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-334 ']' [2023-08-28T08:50:43.121Z] + PACKAGES=/tmp/packages_end.txt [2023-08-28T08:50:43.121Z] + case "${OS_FAMILY}" in [2023-08-28T08:50:43.121Z] + dpkg -l [2023-08-28T08:50:43.121Z] + grep '^ii' [2023-08-28T08:50:43.121Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-28T08:50:43.121Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-28T08:50:43.121Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-28T08:50:43.121Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-334 ']' [2023-08-28T08:50:43.121Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-334/archives/ [2023-08-28T08:50:43.121Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-334/archives/ [Pipeline] echo [2023-08-28T08:50:43.158Z] 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-334/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-28T08:50:43.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T08:50:44.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T08:50:44.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T08:50:44.234Z] prd-ubuntu20.04-docker-8c-8g-4724 does not seem to be running inside a container [2023-08-28T08:50:44.267Z] $ 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-334/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-334 -v /w/workspace/gexfoundry_device-rest-go_PR-334:/w/workspace/gexfoundry_device-rest-go_PR-334:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-334@tmp:/w/workspace/gexfoundry_device-rest-go_PR-334@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-08-28T08:50:44.437Z] $ docker top a7f6522df5bdb5fa9c4454b0eb63f482de7e135d8ba94c250cf765739ab55fc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T08:50:44.825Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-28T08:50:45.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-28T08:50:45.442Z] + ls /var/log/sa-host [2023-08-28T08:50:45.442Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T08:50:45.665Z] provisioning config files... [2023-08-28T08:50:45.673Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-334@tmp/config244974838127903384tmp [Pipeline] { [Pipeline] echo [2023-08-28T08:50:45.723Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:46.040Z] ---> create-netrc.sh [Pipeline] } [2023-08-28T08:50:46.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:46.480Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-28T08:50:46.512Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:46.821Z] ---> sudo-logs.sh [2023-08-28T08:50:46.821Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-28T08:50:46.897Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:47.209Z] ---> job-cost.sh [2023-08-28T08:50:47.209Z] lf-activate-venv: SKIPPING [2023-08-28T08:50:47.209Z] DEBUG: total: 0.2199999988079071 [2023-08-28T08:50:47.209Z] INFO: Retrieving Stack Cost... [2023-08-28T08:50:47.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T08:50:48.034Z] INFO: Archiving Costs [Pipeline] echo [2023-08-28T08:50:48.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T08:50:48.375Z] ---> logs-deploy.sh [2023-08-28T08:50:48.375Z] lf-activate-venv: SKIPPING [2023-08-28T08:50:48.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-334/1 [2023-08-28T08:50:48.375Z] INFO: archiving workspace using pattern(s): [2023-08-28T08:50:49.311Z] Archives upload complete. [2023-08-28T08:50:49.311Z] INFO: archiving logs to Nexus