Pull request #222 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5034d95c24c283ca5c1cd8748801c0a382af0d0d+280325e4612ce8aecdce91e221aa23a95129edcb (c703bb6affd7e190f2d0bcb0727e73b5923cb9a7) 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-ssh10267434820299104595.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh4375871980523889739.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7867361310216087569.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh16564163909474574808.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9502594890028207144.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116225 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 280325e4612ce8aecdce91e221aa23a95129edcb into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d Merge succeeded, producing 5034d95c24c283ca5c1cd8748801c0a382af0d0d Checking out Revision 5034d95c24c283ca5c1cd8748801c0a382af0d0d (PR-222) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T08:09:53.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 > git rev-list --no-walk 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 [2022-10-25T08:09:53.662Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T08:09:53.684Z] ========================================================= [2022-10-25T08:09:53.684Z] EdgeX Global Pipelines Version Info [2022-10-25T08:09:53.684Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:09:54.397Z] ------------------- [2022-10-25T08:09:54.397Z] stable info: [2022-10-25T08:09:54.397Z] ------------------- [2022-10-25T08:09:54.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T08:09:54.397Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:09:54.397Z] Message: update stable to v1.0.243 [2022-10-25T08:09:54.966Z] ------------------- [2022-10-25T08:09:54.966Z] experimental info: [2022-10-25T08:09:54.966Z] ------------------- [2022-10-25T08:09:54.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T08:09:54.966Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T08:09:54.966Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T08:09:55.116Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T08:09:55.124Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T08:09:55.132Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T08:09:55.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T08:09:55.148Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T08:09:55.156Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T08:09:55.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T08:09:55.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T08:09:55.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T08:09:55.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T08:09:55.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T08:09:55.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T08:09:55.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T08:09:55.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T08:09:55.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:09:55.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T08:09:55.259Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:09:55.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T08:09:55.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T08:09:55.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T08:09:55.323Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T08:09:55.350Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T08:09:55.363Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T08:09:55.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T08:09:55.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T08:09:55.395Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T08:09:55.405Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T08:09:55.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-10-25T08:09:55.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-10-25T08:09:55.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-10-25T08:09:55.451Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5034d95c24c283ca5c1cd8748801c0a382af0d0d [Pipeline] echo [2022-10-25T08:09:55.465Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5034d95 [Pipeline] echo [2022-10-25T08:09:55.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:09:55.518Z] provisioning config files... [2022-10-25T08:09:55.533Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config14969111331037714076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:09:55.835Z] ---> docker-login.sh [2022-10-25T08:09:55.835Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:09:56.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:09:56.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:09:56.095Z] Configure a credential helper to remove this warning. See [2022-10-25T08:09:56.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:09:56.095Z] [2022-10-25T08:09:56.095Z] Login Succeeded [2022-10-25T08:09:56.095Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:09:56.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:09:56.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:09:56.358Z] Configure a credential helper to remove this warning. See [2022-10-25T08:09:56.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:09:56.358Z] [2022-10-25T08:09:56.358Z] Login Succeeded [2022-10-25T08:09:56.358Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:09:56.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:09:56.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:09:56.358Z] Configure a credential helper to remove this warning. See [2022-10-25T08:09:56.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:09:56.358Z] [2022-10-25T08:09:56.358Z] Login Succeeded [2022-10-25T08:09:56.358Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:09:56.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:09:56.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:09:56.620Z] Configure a credential helper to remove this warning. See [2022-10-25T08:09:56.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:09:56.620Z] [2022-10-25T08:09:56.620Z] Login Succeeded [2022-10-25T08:09:56.620Z] docker.io [2022-10-25T08:09:56.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:09:56.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:09:56.879Z] Configure a credential helper to remove this warning. See [2022-10-25T08:09:56.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:09:56.879Z] [2022-10-25T08:09:56.879Z] Login Succeeded [2022-10-25T08:09:56.879Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:09:56.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T08:09:57.233Z] + git rev-list -1 --merges 5034d95c24c283ca5c1cd8748801c0a382af0d0d~1..5034d95c24c283ca5c1cd8748801c0a382af0d0d [Pipeline] echo [2022-10-25T08:09:57.285Z] -----------> git rev-list -1 --merges 5034d95c24c283ca5c1cd8748801c0a382af0d0d~1..5034d95c24c283ca5c1cd8748801c0a382af0d0d 5034d95c24c283ca5c1cd8748801c0a382af0d0d [false] [Pipeline] sh [2022-10-25T08:09:57.578Z] + git log --format=format:%s -1 5034d95c24c283ca5c1cd8748801c0a382af0d0d [Pipeline] echo [2022-10-25T08:09:57.591Z] ========================================================= [2022-10-25T08:09:57.591Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T08:09:57.591Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:09:57.923Z] + git log --format=format:%s -1 5034d95c24c283ca5c1cd8748801c0a382af0d0d [Pipeline] echo [2022-10-25T08:09:57.933Z] [semverPrep] GIT_COMMIT: 5034d95c24c283ca5c1cd8748801c0a382af0d0d, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-25T08:09:57.941Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T08:09:58.273Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T08:09:58.273Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T08:09:58.273Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T08:09:58.273Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T08:09:58.273Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T08:09:58.273Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T08:09:58.273Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:09:58.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:09:58.609Z] [2022-10-25T08:09:58.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:09:58.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:09:58.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T08:09:58.906Z] b85a868b505f: Pulling fs layer [2022-10-25T08:09:58.906Z] e2be974225ed: Pulling fs layer [2022-10-25T08:09:58.906Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T08:09:58.906Z] 988bab9f4d93: Pulling fs layer [2022-10-25T08:09:58.906Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T08:09:58.906Z] eaf3925da568: Pulling fs layer [2022-10-25T08:09:58.906Z] bab4dde63d76: Pulling fs layer [2022-10-25T08:09:58.906Z] bde34c3a00c8: Pulling fs layer [2022-10-25T08:09:58.906Z] b352a97aabf1: Pulling fs layer [2022-10-25T08:09:58.906Z] 4872d77fe225: Pulling fs layer [2022-10-25T08:09:58.906Z] 5851b861e8e6: Pulling fs layer [2022-10-25T08:09:58.906Z] eaf3925da568: Waiting [2022-10-25T08:09:58.906Z] bab4dde63d76: Waiting [2022-10-25T08:09:58.906Z] bde34c3a00c8: Waiting [2022-10-25T08:09:58.906Z] b352a97aabf1: Waiting [2022-10-25T08:09:58.906Z] 4872d77fe225: Waiting [2022-10-25T08:09:58.906Z] 5851b861e8e6: Waiting [2022-10-25T08:09:58.906Z] 988bab9f4d93: Waiting [2022-10-25T08:09:58.906Z] 1469e6f7b9e6: Waiting [2022-10-25T08:09:58.906Z] e2be974225ed: Verifying Checksum [2022-10-25T08:09:58.906Z] e2be974225ed: Download complete [2022-10-25T08:09:58.906Z] 988bab9f4d93: Verifying Checksum [2022-10-25T08:09:58.906Z] 988bab9f4d93: Download complete [2022-10-25T08:09:59.165Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T08:09:59.165Z] 1469e6f7b9e6: Download complete [2022-10-25T08:09:59.165Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T08:09:59.165Z] 339a4e72a1f5: Download complete [2022-10-25T08:09:59.165Z] eaf3925da568: Download complete [2022-10-25T08:09:59.165Z] bde34c3a00c8: Verifying Checksum [2022-10-25T08:09:59.165Z] b352a97aabf1: Download complete [2022-10-25T08:09:59.165Z] 4872d77fe225: Download complete [2022-10-25T08:09:59.165Z] 5851b861e8e6: Download complete [2022-10-25T08:09:59.165Z] b85a868b505f: Verifying Checksum [2022-10-25T08:09:59.165Z] b85a868b505f: Download complete [2022-10-25T08:09:59.423Z] bab4dde63d76: Verifying Checksum [2022-10-25T08:09:59.423Z] bab4dde63d76: Download complete [2022-10-25T08:10:00.802Z] b85a868b505f: Pull complete [2022-10-25T08:10:00.802Z] e2be974225ed: Pull complete [2022-10-25T08:10:01.368Z] 339a4e72a1f5: Pull complete [2022-10-25T08:10:01.368Z] 988bab9f4d93: Pull complete [2022-10-25T08:10:01.628Z] 1469e6f7b9e6: Pull complete [2022-10-25T08:10:01.887Z] eaf3925da568: Pull complete [2022-10-25T08:10:03.791Z] bab4dde63d76: Pull complete [2022-10-25T08:10:03.791Z] bde34c3a00c8: Pull complete [2022-10-25T08:10:03.791Z] b352a97aabf1: Pull complete [2022-10-25T08:10:03.791Z] 4872d77fe225: Pull complete [2022-10-25T08:10:03.791Z] 5851b861e8e6: Pull complete [2022-10-25T08:10:03.791Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T08:10:03.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T08:10:03.791Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:10:03.871Z] prd-ubuntu20.04-docker-8c-8g-116225 does not seem to be running inside a container [2022-10-25T08:10:03.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T08:10:06.650Z] $ docker top c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 -eo pid,comm [2022-10-25T08:10:06.744Z] 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). [2022-10-25T08:10:06.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T08:10:06.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:10:06.773Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:10:06.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:10:06.908Z] $ docker exec c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 ssh-agent [2022-10-25T08:10:07.041Z] SSH_AUTH_SOCK=/tmp/ssh-7IYdqmZfHvTL/agent.15 [2022-10-25T08:10:07.041Z] SSH_AGENT_PID=21 [2022-10-25T08:10:07.047Z] Running ssh-add (command line suppressed) [2022-10-25T08:10:07.163Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_4091387351755179610.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_4091387351755179610.key) [2022-10-25T08:10:07.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:10:07.463Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T08:10:07.473Z] $ docker exec --env ******** --env ******** c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 ssh-agent -k [2022-10-25T08:10:07.574Z] unset SSH_AUTH_SOCK; [2022-10-25T08:10:07.574Z] unset SSH_AGENT_PID; [2022-10-25T08:10:07.574Z] echo Agent pid 21 killed; [2022-10-25T08:10:07.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T08:10:07.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T08:10:07.605Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T08:10:07.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T08:10:07.723Z] $ docker exec c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 ssh-agent [2022-10-25T08:10:07.826Z] SSH_AUTH_SOCK=/tmp/ssh-CKDXccg6erH2/agent.72 [2022-10-25T08:10:07.826Z] SSH_AGENT_PID=78 [2022-10-25T08:10:07.830Z] Running ssh-add (command line suppressed) [2022-10-25T08:10:07.936Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_12966661075044740457.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_12966661075044740457.key) [2022-10-25T08:10:07.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T08:10:08.243Z] + git semver init [2022-10-25T08:10:08.502Z] 2022-10-25 08:10:08,422 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T08:10:08.502Z] 2022-10-25 08:10:08,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T08:10:08.502Z] 2022-10-25 08:10:08,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T08:10:08.502Z] 2022-10-25 08:10:08,423 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,796 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,796 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,796 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,800 [execute] INFO git cat-file --batch-check [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,806 [execute] INFO git cat-file --batch [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T08:10:09.886Z] 2022-10-25 08:10:09,811 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T08:10:09.886Z] 0.0.0 [Pipeline] } [2022-10-25T08:10:09.897Z] $ docker exec --env ******** --env ******** c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 ssh-agent -k [2022-10-25T08:10:10.002Z] unset SSH_AUTH_SOCK; [2022-10-25T08:10:10.002Z] unset SSH_AGENT_PID; [2022-10-25T08:10:10.002Z] echo Agent pid 78 killed; [2022-10-25T08:10:10.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T08:10:10.312Z] + git semver [Pipeline] } [2022-10-25T08:10:10.585Z] $ docker stop --time=1 c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 [2022-10-25T08:10:11.908Z] $ docker rm -f c5e511c7f76a8a7843f5e59cc1ce2fbc01b5544c9d9f92c7db8a5b2c656566e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:10:12.251Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T08:10:12.437Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T08:10:12.439Z] [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 [2022-10-25T08:10:12.655Z] provisioning config files... [2022-10-25T08:10:12.674Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config9064896279636159302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:10:12.966Z] ---> docker-login.sh [2022-10-25T08:10:12.966Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:10:12.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:10:12.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:10:12.966Z] Configure a credential helper to remove this warning. See [2022-10-25T08:10:12.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:10:12.966Z] [2022-10-25T08:10:12.966Z] Login Succeeded [2022-10-25T08:10:12.966Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:10:12.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:10:12.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:10:12.966Z] Configure a credential helper to remove this warning. See [2022-10-25T08:10:12.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:10:12.966Z] [2022-10-25T08:10:12.966Z] Login Succeeded [2022-10-25T08:10:12.966Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:10:13.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:10:13.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:10:13.224Z] Configure a credential helper to remove this warning. See [2022-10-25T08:10:13.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:10:13.224Z] [2022-10-25T08:10:13.224Z] Login Succeeded [2022-10-25T08:10:13.224Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:10:13.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:10:13.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:10:13.224Z] Configure a credential helper to remove this warning. See [2022-10-25T08:10:13.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:10:13.224Z] [2022-10-25T08:10:13.224Z] Login Succeeded [2022-10-25T08:10:13.224Z] docker.io [2022-10-25T08:10:13.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:10:13.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:10:13.743Z] Configure a credential helper to remove this warning. See [2022-10-25T08:10:13.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:10:13.743Z] [2022-10-25T08:10:13.743Z] Login Succeeded [2022-10-25T08:10:13.743Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:10:13.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T08:10:13.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:10:13.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:10:13.821Z] ========================================================= [2022-10-25T08:10:13.821Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T08:10:13.821Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:14.123Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T08:10:14.124Z] Sending build context to Docker daemon 10.74MB [2022-10-25T08:10:14.124Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:10:14.124Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T08:10:14.124Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T08:10:14.124Z] 213ec9aee27d: Pulling fs layer [2022-10-25T08:10:14.124Z] 4583459ba037: Pulling fs layer [2022-10-25T08:10:14.124Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T08:10:14.124Z] 53926ce57604: Pulling fs layer [2022-10-25T08:10:14.124Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T08:10:14.124Z] 30f14e443154: Pulling fs layer [2022-10-25T08:10:14.124Z] 801331c1e519: Pulling fs layer [2022-10-25T08:10:14.124Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T08:10:14.124Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T08:10:14.124Z] 21b2b0c7a3f4: Waiting [2022-10-25T08:10:14.124Z] 7d9ed39f4882: Waiting [2022-10-25T08:10:14.124Z] 30f14e443154: Waiting [2022-10-25T08:10:14.124Z] 99cc6dd402b0: Waiting [2022-10-25T08:10:14.124Z] 801331c1e519: Waiting [2022-10-25T08:10:14.124Z] 53926ce57604: Waiting [2022-10-25T08:10:14.124Z] 93c1e223e6f2: Download complete [2022-10-25T08:10:14.124Z] 4583459ba037: Download complete [2022-10-25T08:10:14.388Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T08:10:14.388Z] 21b2b0c7a3f4: Download complete [2022-10-25T08:10:14.388Z] 30f14e443154: Download complete [2022-10-25T08:10:14.388Z] 213ec9aee27d: Verifying Checksum [2022-10-25T08:10:14.388Z] 213ec9aee27d: Download complete [2022-10-25T08:10:14.388Z] 801331c1e519: Download complete [2022-10-25T08:10:14.388Z] 213ec9aee27d: Pull complete [2022-10-25T08:10:14.676Z] 4583459ba037: Pull complete [2022-10-25T08:10:14.676Z] 93c1e223e6f2: Pull complete [2022-10-25T08:10:14.954Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T08:10:14.954Z] 7d9ed39f4882: Download complete [2022-10-25T08:10:15.216Z] 53926ce57604: Verifying Checksum [2022-10-25T08:10:15.216Z] 53926ce57604: Download complete [2022-10-25T08:10:15.475Z] 99cc6dd402b0: Download complete [2022-10-25T08:10:19.667Z] 53926ce57604: Pull complete [2022-10-25T08:10:19.667Z] 21b2b0c7a3f4: Pull complete [2022-10-25T08:10:19.667Z] 30f14e443154: Pull complete [2022-10-25T08:10:19.667Z] 801331c1e519: Pull complete [2022-10-25T08:10:21.569Z] 99cc6dd402b0: Pull complete [2022-10-25T08:10:22.135Z] 7d9ed39f4882: Pull complete [2022-10-25T08:10:22.135Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T08:10:22.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T08:10:22.135Z] ---> 1dedd983c030 [2022-10-25T08:10:22.135Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:10:26.384Z] ---> Running in c46147a5137a [2022-10-25T08:10:26.384Z] Removing intermediate container c46147a5137a [2022-10-25T08:10:26.384Z] ---> 5950a30d0178 [2022-10-25T08:10:26.384Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:10:26.384Z] ---> Running in f9c9ccc020b2 [2022-10-25T08:10:26.384Z] Removing intermediate container f9c9ccc020b2 [2022-10-25T08:10:26.384Z] ---> 8e2dbe7c0ec5 [2022-10-25T08:10:26.384Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:10:26.384Z] ---> Running in ef2a45c6108f [2022-10-25T08:10:26.384Z] Removing intermediate container ef2a45c6108f [2022-10-25T08:10:26.384Z] ---> e90ac7e12046 [2022-10-25T08:10:26.384Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:10:26.384Z] ---> Running in a4965a6f4f73 [2022-10-25T08:10:26.384Z] Removing intermediate container a4965a6f4f73 [2022-10-25T08:10:26.384Z] ---> 8a4936e545cb [2022-10-25T08:10:26.384Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:10:26.384Z] ---> Running in f1115d841de5 [2022-10-25T08:10:26.954Z] Removing intermediate container f1115d841de5 [2022-10-25T08:10:26.954Z] ---> cfe87b8a2086 [2022-10-25T08:10:26.954Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:10:26.954Z] ---> Running in 508748490f1b [2022-10-25T08:10:27.211Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:10:27.546Z] Still waiting to schedule task [2022-10-25T08:10:27.546Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T08:10:28.145Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:10:28.405Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T08:10:28.665Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T08:10:28.665Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T08:10:28.925Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T08:10:28.925Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:10:28.925Z] OK: 216 MiB in 55 packages [2022-10-25T08:10:29.493Z] Removing intermediate container 508748490f1b [2022-10-25T08:10:29.493Z] ---> 6786f7d849df [2022-10-25T08:10:29.493Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T08:10:29.493Z] ---> Running in 28d72634e5e4 [2022-10-25T08:10:29.493Z] Removing intermediate container 28d72634e5e4 [2022-10-25T08:10:29.493Z] ---> e8e132f5b780 [2022-10-25T08:10:29.493Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T08:10:29.752Z] ---> a6b8dcafbe98 [2022-10-25T08:10:29.752Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:10:29.752Z] ---> Running in 0e881cea1dce [2022-10-25T08:10:53.325Z] Removing intermediate container 0e881cea1dce [2022-10-25T08:10:53.325Z] ---> 2d02fd69239b [2022-10-25T08:10:53.325Z] Step 12/13 : COPY . . [2022-10-25T08:10:53.325Z] ---> 6dac7a0f86ca [2022-10-25T08:10:53.325Z] Step 13/13 : RUN $MAKE [2022-10-25T08:10:53.325Z] ---> Running in bc7bfe7d6029 [2022-10-25T08:10:53.325Z] noop [2022-10-25T08:10:53.325Z] Removing intermediate container bc7bfe7d6029 [2022-10-25T08:10:53.325Z] ---> 9309d69bd970 [2022-10-25T08:10:53.325Z] Successfully built 9309d69bd970 [2022-10-25T08:10:53.325Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:53.644Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:10:53.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:10:53.708Z] prd-ubuntu20.04-docker-8c-8g-116225 does not seem to be running inside a container [2022-10-25T08:10:53.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** ci-base-image-x86_64 cat [2022-10-25T08:10:54.182Z] $ docker top 70d3d2b60116e623d26c3c146984510eec04eb19b188bd0ceb7e7f79f8608058 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:10:54.528Z] + go version [2022-10-25T08:10:54.528Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T08:10:54.541Z] $ docker stop --time=1 70d3d2b60116e623d26c3c146984510eec04eb19b188bd0ceb7e7f79f8608058 [2022-10-25T08:10:55.798Z] $ docker rm -f 70d3d2b60116e623d26c3c146984510eec04eb19b188bd0ceb7e7f79f8608058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:10:56.206Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T08:10:56.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:10:56.278Z] prd-ubuntu20.04-docker-8c-8g-116225 does not seem to be running inside a container [2022-10-25T08:10:56.315Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** ci-base-image-x86_64 cat [2022-10-25T08:10:56.684Z] $ docker top e45e3680c7783932b3b788185f06e42e240b5b0f6a49d3e99f80833b0de6664c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:10:57.092Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-10-25T08:10:57.399Z] + make test [2022-10-25T08:10:57.399Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T08:10:57.658Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T08:11:07.677Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T08:11:08.253Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-10-25T08:11:16.385Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T08:11:16.385Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T08:11:18.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T08:11:18.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T08:11:18.918Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T08:11:19.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T08:11:19.209Z] $ docker stop --time=1 e45e3680c7783932b3b788185f06e42e240b5b0f6a49d3e99f80833b0de6664c [2022-10-25T08:11:21.480Z] $ docker rm -f e45e3680c7783932b3b788185f06e42e240b5b0f6a49d3e99f80833b0de6664c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:11:21.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T08:11:21.972Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T08:11:22.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T08:11:22.656Z] + ls -al . [2022-10-25T08:11:22.656Z] total 188 [2022-10-25T08:11:22.656Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:10 . [2022-10-25T08:11:22.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:09 .. [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 08:09 .dockerignore [2022-10-25T08:11:22.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:11 .git [2022-10-25T08:11:22.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:09 .github [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 08:09 .gitignore [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 08:09 .golangci.yml [2022-10-25T08:11:22.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 08:10 .semver [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 08:09 Attribution.txt [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 08:09 CHANGELOG.md [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 08:09 Dockerfile [2022-10-25T08:11:22.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:09 GOVERNANCE.md [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 08:09 Jenkinsfile [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 08:09 LICENSE [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 08:09 Makefile [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 08:09 OWNERS.md [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 08:09 README.md [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 08:10 VERSION [2022-10-25T08:11:22.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:09 bin [2022-10-25T08:11:22.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:09 cmd [2022-10-25T08:11:22.657Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 08:11 coverage.out [2022-10-25T08:11:22.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:09 driver [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 08:09 go.mod [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 08:09 go.sum [2022-10-25T08:11:22.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:09 snap [2022-10-25T08:11:22.657Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 08:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:11:22.961Z] + 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=5034d95c24c283ca5c1cd8748801c0a382af0d0d --label arch=amd64 --label version=0.0.0 . [2022-10-25T08:11:22.961Z] Sending build context to Docker daemon 10.75MB [2022-10-25T08:11:22.961Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:11:22.961Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T08:11:22.961Z] ---> 9309d69bd970 [2022-10-25T08:11:22.961Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T08:11:23.221Z] ---> Running in c18561ae1631 [2022-10-25T08:11:23.221Z] Removing intermediate container c18561ae1631 [2022-10-25T08:11:23.221Z] ---> d1d2112a4155 [2022-10-25T08:11:23.221Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T08:11:23.221Z] ---> Running in c1f3312d83dc [2022-10-25T08:11:23.221Z] Removing intermediate container c1f3312d83dc [2022-10-25T08:11:23.221Z] ---> dee0a78c483c [2022-10-25T08:11:23.221Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T08:11:23.221Z] ---> Running in 839778ed9c29 [2022-10-25T08:11:23.479Z] Removing intermediate container 839778ed9c29 [2022-10-25T08:11:23.479Z] ---> 5995a1785471 [2022-10-25T08:11:23.479Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T08:11:23.479Z] ---> Running in 7fc656e290c9 [2022-10-25T08:11:23.479Z] Removing intermediate container 7fc656e290c9 [2022-10-25T08:11:23.479Z] ---> 9647903ea597 [2022-10-25T08:11:23.479Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:11:23.479Z] ---> Running in 01fef9e0bcb0 [2022-10-25T08:11:24.048Z] Removing intermediate container 01fef9e0bcb0 [2022-10-25T08:11:24.048Z] ---> f24c60497a6a [2022-10-25T08:11:24.048Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T08:11:24.048Z] ---> Running in 24171736909f [2022-10-25T08:11:24.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:11:25.552Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:11:25.811Z] OK: 216 MiB in 55 packages [2022-10-25T08:11:26.070Z] Removing intermediate container 24171736909f [2022-10-25T08:11:26.070Z] ---> 50c77335cce7 [2022-10-25T08:11:26.070Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T08:11:26.070Z] ---> Running in c73825c9b313 [2022-10-25T08:11:26.070Z] Removing intermediate container c73825c9b313 [2022-10-25T08:11:26.070Z] ---> d5efeec1c3fb [2022-10-25T08:11:26.070Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T08:11:26.328Z] ---> 35fbd03754b6 [2022-10-25T08:11:26.328Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:11:26.328Z] ---> Running in 9bbe1105fa16 [2022-10-25T08:11:26.896Z] Removing intermediate container 9bbe1105fa16 [2022-10-25T08:11:26.896Z] ---> e97c8cec6914 [2022-10-25T08:11:26.896Z] Step 12/26 : COPY . . [2022-10-25T08:11:27.463Z] ---> 991243156d4c [2022-10-25T08:11:27.463Z] Step 13/26 : RUN $MAKE [2022-10-25T08:11:27.463Z] ---> Running in 9cb3bb849238 [2022-10-25T08:11:27.722Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T08:11:49.674Z] Removing intermediate container 9cb3bb849238 [2022-10-25T08:11:49.674Z] ---> 79d56b65a474 [2022-10-25T08:11:49.674Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T08:11:50.240Z] 3.16: Pulling from library/alpine [2022-10-25T08:11:50.500Z] 213ec9aee27d: Already exists [2022-10-25T08:11:50.500Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T08:11:50.500Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T08:11:50.758Z] ---> 9c6f07244728 [2022-10-25T08:11:50.758Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T08:11:50.758Z] ---> Running in 68f019093256 [2022-10-25T08:11:50.758Z] Removing intermediate container 68f019093256 [2022-10-25T08:11:50.758Z] ---> 16085b377db5 [2022-10-25T08:11:50.758Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T08:11:50.758Z] ---> Running in f5f07d87c58f [2022-10-25T08:11:51.017Z] Removing intermediate container f5f07d87c58f [2022-10-25T08:11:51.017Z] ---> e19e4f1bebfc [2022-10-25T08:11:51.017Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T08:11:51.017Z] ---> Running in 7273bbf6131b [2022-10-25T08:11:51.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T08:11:51.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T08:11:51.538Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T08:11:51.538Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T08:11:51.538Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T08:11:51.538Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T08:11:51.538Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T08:11:51.538Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T08:11:51.538Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:11:51.538Z] OK: 8 MiB in 20 packages [2022-10-25T08:11:52.107Z] Removing intermediate container 7273bbf6131b [2022-10-25T08:11:52.107Z] ---> c3557b386fb0 [2022-10-25T08:11:52.107Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T08:11:52.674Z] ---> 93cb1accf87b [2022-10-25T08:11:52.674Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T08:11:52.932Z] ---> 9be5608bdd95 [2022-10-25T08:11:52.932Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T08:11:52.932Z] ---> fee735fb2919 [2022-10-25T08:11:52.932Z] Step 21/26 : EXPOSE 59986 [2022-10-25T08:11:52.932Z] ---> Running in 5f66ee1ac0f7 [2022-10-25T08:11:53.190Z] Removing intermediate container 5f66ee1ac0f7 [2022-10-25T08:11:53.190Z] ---> 268e9762fbc4 [2022-10-25T08:11:53.190Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T08:11:53.190Z] ---> Running in 867c66ef4649 [2022-10-25T08:11:53.190Z] Removing intermediate container 867c66ef4649 [2022-10-25T08:11:53.190Z] ---> 097524a7a6ce [2022-10-25T08:11:53.190Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T08:11:53.190Z] ---> Running in 1647166202c8 [2022-10-25T08:11:53.190Z] Removing intermediate container 1647166202c8 [2022-10-25T08:11:53.190Z] ---> 3afb9d96c878 [2022-10-25T08:11:53.190Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T08:11:53.190Z] ---> Running in ed1f28b9bbab [2022-10-25T08:11:53.448Z] Removing intermediate container ed1f28b9bbab [2022-10-25T08:11:53.448Z] ---> c00f1b1c68b3 [2022-10-25T08:11:53.448Z] Step 25/26 : LABEL git_sha=5034d95c24c283ca5c1cd8748801c0a382af0d0d [2022-10-25T08:11:53.448Z] ---> Running in 582ae34508d4 [2022-10-25T08:11:53.449Z] Removing intermediate container 582ae34508d4 [2022-10-25T08:11:53.449Z] ---> 18f7ed2212fd [2022-10-25T08:11:53.449Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T08:11:53.449Z] ---> Running in ab9008b45057 [2022-10-25T08:11:53.449Z] Removing intermediate container ab9008b45057 [2022-10-25T08:11:53.449Z] ---> 1c5102809d38 [2022-10-25T08:11:53.449Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T08:11:53.708Z] Successfully built 1c5102809d38 [2022-10-25T08:11:53.708Z] 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 [2022-10-25T08:11:54.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:11:54.139Z] [2022-10-25T08:11:54.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:11:54.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:11:54.432Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T08:11:54.432Z] 5eb5b503b376: Pulling fs layer [2022-10-25T08:11:54.432Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T08:11:54.432Z] ec43610c2a17: Pulling fs layer [2022-10-25T08:11:54.432Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T08:11:54.432Z] 33b1e0a273af: Pulling fs layer [2022-10-25T08:11:54.432Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T08:11:54.432Z] 2f39f015ded8: Pulling fs layer [2022-10-25T08:11:54.432Z] 3a2ae6a8a46f: Waiting [2022-10-25T08:11:54.432Z] 33b1e0a273af: Waiting [2022-10-25T08:11:54.432Z] 2f39f015ded8: Waiting [2022-10-25T08:11:54.432Z] 5d3b04190fa2: Waiting [2022-10-25T08:11:54.432Z] 5c69ac0246d0: Download complete [2022-10-25T08:11:54.432Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T08:11:54.432Z] 3a2ae6a8a46f: Download complete [2022-10-25T08:11:54.691Z] 33b1e0a273af: Verifying Checksum [2022-10-25T08:11:54.691Z] 33b1e0a273af: Download complete [2022-10-25T08:11:54.691Z] ec43610c2a17: Verifying Checksum [2022-10-25T08:11:54.691Z] ec43610c2a17: Download complete [2022-10-25T08:11:54.691Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T08:11:54.691Z] 5d3b04190fa2: Download complete [2022-10-25T08:11:54.691Z] 5eb5b503b376: Verifying Checksum [2022-10-25T08:11:54.691Z] 5eb5b503b376: Download complete [2022-10-25T08:11:55.255Z] 2f39f015ded8: Verifying Checksum [2022-10-25T08:11:55.255Z] 2f39f015ded8: Download complete [2022-10-25T08:11:55.820Z] 5eb5b503b376: Pull complete [2022-10-25T08:11:56.077Z] 5c69ac0246d0: Pull complete [2022-10-25T08:11:56.336Z] ec43610c2a17: Pull complete [2022-10-25T08:11:56.336Z] 3a2ae6a8a46f: Pull complete [2022-10-25T08:11:56.594Z] 33b1e0a273af: Pull complete [2022-10-25T08:11:56.854Z] 5d3b04190fa2: Pull complete [2022-10-25T08:12:01.051Z] 2f39f015ded8: Pull complete [2022-10-25T08:12:01.051Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T08:12:01.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:12:01.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:12:01.122Z] prd-ubuntu20.04-docker-8c-8g-116225 does not seem to be running inside a container [2022-10-25T08:12:01.149Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 Aborted by Eric Ball [2022-10-25T08:12:05.100Z] $ docker top 2c7377ee802c2eda5bb9f15d9afa14b2f5a3b987d271e8c1738aa715a76d1ed8 -eo pid,comm [Pipeline] { [Pipeline] } [2022-10-25T08:12:05.166Z] $ docker stop --time=1 2c7377ee802c2eda5bb9f15d9afa14b2f5a3b987d271e8c1738aa715a76d1ed8 [2022-10-25T08:12:06.311Z] $ docker rm -f 2c7377ee802c2eda5bb9f15d9afa14b2f5a3b987d271e8c1738aa715a76d1ed8 [Pipeline] // node [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [2022-10-25T08:12:06.396Z] Failed in branch arm64 Error when executing always post condition: org.jenkinsci.plugins.workflow.steps.FlowInterruptedException at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.interrupt(CpsFlowExecution.java:1150) at org.jenkinsci.plugins.workflow.job.WorkflowRun$2.lambda$interrupt$0(WorkflowRun.java:397) at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:69) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T08:12:06.437Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-25T08:12:07.046Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:07.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:08.192Z] ---> package-listing.sh [2022-10-25T08:12:08.192Z] ++ facter osfamily [2022-10-25T08:12:08.192Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T08:12:08.452Z] + OS_FAMILY=debian [2022-10-25T08:12:08.452Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-25T08:12:08.452Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T08:12:08.452Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T08:12:08.452Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T08:12:08.452Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T08:12:08.452Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T08:12:08.452Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T08:12:08.452Z] + case "${OS_FAMILY}" in [2022-10-25T08:12:08.452Z] + dpkg -l [2022-10-25T08:12:08.452Z] + grep '^ii' [2022-10-25T08:12:08.452Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T08:12:08.452Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T08:12:08.452Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T08:12:08.452Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T08:12:08.452Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-10-25T08:12:08.452Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-10-25T08:12:08.462Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T08:12:08.738Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:12:09.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:12:09.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:12:09.351Z] prd-ubuntu20.04-docker-8c-8g-116225 does not seem to be running inside a container [2022-10-25T08:12:09.384Z] $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T08:12:09.616Z] $ docker top f6c98a8c48d623ba1beddfdf349263f398807fcf6b5469ebbfcb7a86c54d6bbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:12:09.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T08:12:10.238Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T08:12:10.522Z] + ls /var/log/sa-host [2022-10-25T08:12:10.522Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:12:10.583Z] provisioning config files... [2022-10-25T08:12:10.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config12793942156630331314tmp [Pipeline] { [Pipeline] echo [2022-10-25T08:12:10.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:10.880Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T08:12:10.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:11.202Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T08:12:11.209Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:11.490Z] ---> sudo-logs.sh [2022-10-25T08:12:11.490Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T08:12:11.506Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:11.786Z] ---> job-cost.sh [2022-10-25T08:12:11.786Z] lf-activate-venv: SKIPPING [2022-10-25T08:12:11.786Z] INFO: No Stack... [2022-10-25T08:12:12.046Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:12:12.305Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T08:12:12.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:12:12.598Z] ---> logs-deploy.sh [2022-10-25T08:12:12.598Z] lf-activate-venv: SKIPPING [2022-10-25T08:12:12.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/2 [2022-10-25T08:12:12.598Z] INFO: archiving workspace using pattern(s): [2022-10-25T08:12:13.534Z] Archives upload complete. [2022-10-25T08:12:13.534Z] INFO: archiving logs to Nexus