Pull request #213 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0620b8de6097426a9ccc0f6041add98431d45914+dba35d3ba46b7861587cc7246b39f98fa3ba425a (f6e36d055dea1c951008e55a996de13401720546) 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-ssh3491948903822404398.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6281901737021076713.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-213/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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11800808100993564281.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 > 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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3379715629830598549.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh18423870305971051127.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 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-213/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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11769602387139336885.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 > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Running on prd-ubuntu20.04-docker-8c-8g-666 in /w/workspace/gexfoundry_device-rest-go_PR-213 [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-213 # 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 > 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/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 0620b8de6097426a9ccc0f6041add98431d45914 Merge succeeded, producing 0620b8de6097426a9ccc0f6041add98431d45914 Checking out Revision 0620b8de6097426a9ccc0f6041add98431d45914 (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # 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 dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T22:33:02.481Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T22:33:02.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T22:33:02.737Z] ========================================================= [2022-09-22T22:33:02.737Z] EdgeX Global Pipelines Version Info [2022-09-22T22:33:02.737Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:33:03.463Z] ------------------- [2022-09-22T22:33:03.463Z] stable info: [2022-09-22T22:33:03.463Z] ------------------- [2022-09-22T22:33:03.463Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T22:33:03.463Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:33:03.463Z] Message: update stable to v1.0.239 [2022-09-22T22:33:04.034Z] ------------------- [2022-09-22T22:33:04.034Z] experimental info: [2022-09-22T22:33:04.034Z] ------------------- [2022-09-22T22:33:04.034Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T22:33:04.034Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:33:04.034Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T22:33:04.319Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-09-22T22:33:04.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-09-22T22:33:04.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T22:33:04.445Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T22:33:04.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T22:33:04.524Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T22:33:04.572Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T22:33:04.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T22:33:04.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T22:33:04.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T22:33:04.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T22:33:04.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-09-22T22:33:04.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T22:33:04.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T22:33:04.901Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:33:04.943Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:33:04.983Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:33:05.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:33:05.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T22:33:05.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T22:33:05.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T22:33:05.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T22:33:05.214Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T22:33:05.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T22:33:05.295Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T22:33:05.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T22:33:05.387Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T22:33:05.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2022-09-22T22:33:05.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2022-09-22T22:33:05.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2022-09-22T22:33:05.547Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo [2022-09-22T22:33:05.589Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0620b8d [Pipeline] echo [2022-09-22T22:33:05.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:33:05.745Z] provisioning config files... [2022-09-22T22:33:05.759Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config4071514435100023188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:33:06.097Z] ---> docker-login.sh [2022-09-22T22:33:06.097Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:33:06.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:06.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:06.618Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:06.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:06.618Z] [2022-09-22T22:33:06.618Z] Login Succeeded [2022-09-22T22:33:06.618Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:33:06.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:06.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:06.618Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:06.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:06.618Z] [2022-09-22T22:33:06.618Z] Login Succeeded [2022-09-22T22:33:06.618Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:33:06.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:06.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:06.879Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:06.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:06.879Z] [2022-09-22T22:33:06.879Z] Login Succeeded [2022-09-22T22:33:06.879Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:33:06.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:06.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:06.879Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:06.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:06.879Z] [2022-09-22T22:33:06.879Z] Login Succeeded [2022-09-22T22:33:06.879Z] docker.io [2022-09-22T22:33:06.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:07.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:07.138Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:07.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:07.138Z] [2022-09-22T22:33:07.138Z] Login Succeeded [2022-09-22T22:33:07.138Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:33:07.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T22:33:07.800Z] + git rev-list -1 --merges 0620b8de6097426a9ccc0f6041add98431d45914~1..0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo [2022-09-22T22:33:07.846Z] -----------> git rev-list -1 --merges 0620b8de6097426a9ccc0f6041add98431d45914~1..0620b8de6097426a9ccc0f6041add98431d45914 0620b8de6097426a9ccc0f6041add98431d45914 [false] [Pipeline] sh [2022-09-22T22:33:08.157Z] + git log --format=format:%s -1 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo [2022-09-22T22:33:08.192Z] ========================================================= [2022-09-22T22:33:08.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T22:33:08.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:33:08.603Z] + git log --format=format:%s -1 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo [2022-09-22T22:33:08.636Z] [semverPrep] GIT_COMMIT: 0620b8de6097426a9ccc0f6041add98431d45914, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T22:33:08.664Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T22:33:09.049Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T22:33:09.049Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T22:33:09.049Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T22:33:09.049Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T22:33:09.049Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T22:33:09.049Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T22:33:09.049Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:33:09.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:33:09.480Z] [2022-09-22T22:33:09.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:33:09.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:33:09.852Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T22:33:09.852Z] b85a868b505f: Pulling fs layer [2022-09-22T22:33:09.852Z] e2be974225ed: Pulling fs layer [2022-09-22T22:33:09.852Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T22:33:09.852Z] 988bab9f4d93: Pulling fs layer [2022-09-22T22:33:09.852Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T22:33:09.852Z] eaf3925da568: Pulling fs layer [2022-09-22T22:33:09.852Z] bab4dde63d76: Pulling fs layer [2022-09-22T22:33:09.852Z] bde34c3a00c8: Pulling fs layer [2022-09-22T22:33:09.852Z] b352a97aabf1: Pulling fs layer [2022-09-22T22:33:09.852Z] 4872d77fe225: Pulling fs layer [2022-09-22T22:33:09.852Z] 5851b861e8e6: Pulling fs layer [2022-09-22T22:33:09.852Z] 988bab9f4d93: Waiting [2022-09-22T22:33:09.852Z] 1469e6f7b9e6: Waiting [2022-09-22T22:33:09.852Z] eaf3925da568: Waiting [2022-09-22T22:33:09.852Z] bab4dde63d76: Waiting [2022-09-22T22:33:09.852Z] 5851b861e8e6: Waiting [2022-09-22T22:33:09.852Z] bde34c3a00c8: Waiting [2022-09-22T22:33:09.852Z] b352a97aabf1: Waiting [2022-09-22T22:33:09.852Z] 4872d77fe225: Waiting [2022-09-22T22:33:09.852Z] e2be974225ed: Verifying Checksum [2022-09-22T22:33:09.852Z] e2be974225ed: Download complete [2022-09-22T22:33:09.852Z] 988bab9f4d93: Download complete [2022-09-22T22:33:10.117Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T22:33:10.117Z] 1469e6f7b9e6: Download complete [2022-09-22T22:33:10.117Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T22:33:10.117Z] 339a4e72a1f5: Download complete [2022-09-22T22:33:10.117Z] eaf3925da568: Verifying Checksum [2022-09-22T22:33:10.117Z] eaf3925da568: Download complete [2022-09-22T22:33:10.117Z] bde34c3a00c8: Download complete [2022-09-22T22:33:10.117Z] b352a97aabf1: Download complete [2022-09-22T22:33:10.117Z] 4872d77fe225: Verifying Checksum [2022-09-22T22:33:10.117Z] 4872d77fe225: Download complete [2022-09-22T22:33:10.117Z] 5851b861e8e6: Download complete [2022-09-22T22:33:10.117Z] b85a868b505f: Verifying Checksum [2022-09-22T22:33:10.117Z] b85a868b505f: Download complete [2022-09-22T22:33:10.377Z] bab4dde63d76: Verifying Checksum [2022-09-22T22:33:10.377Z] bab4dde63d76: Download complete [2022-09-22T22:33:11.312Z] b85a868b505f: Pull complete [2022-09-22T22:33:11.312Z] e2be974225ed: Pull complete [2022-09-22T22:33:11.878Z] 339a4e72a1f5: Pull complete [2022-09-22T22:33:11.878Z] 988bab9f4d93: Pull complete [2022-09-22T22:33:12.147Z] 1469e6f7b9e6: Pull complete [2022-09-22T22:33:12.147Z] eaf3925da568: Pull complete [2022-09-22T22:33:14.064Z] bab4dde63d76: Pull complete [2022-09-22T22:33:14.064Z] bde34c3a00c8: Pull complete [2022-09-22T22:33:14.064Z] b352a97aabf1: Pull complete [2022-09-22T22:33:14.064Z] 4872d77fe225: Pull complete [2022-09-22T22:33:14.064Z] 5851b861e8e6: Pull complete [2022-09-22T22:33:14.323Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T22:33:14.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:33:14.323Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:33:14.546Z] prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container [2022-09-22T22:33:14.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 [2022-09-22T22:33:15.773Z] $ docker top d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c -eo pid,comm [2022-09-22T22:33:15.821Z] 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-09-22T22:33:15.821Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T22:33:15.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:33:15.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:33:16.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:33:16.045Z] $ docker exec d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent [2022-09-22T22:33:16.133Z] SSH_AUTH_SOCK=/tmp/ssh-pg9Fdu3zQAJh/agent.32 [2022-09-22T22:33:16.133Z] SSH_AGENT_PID=38 [2022-09-22T22:33:16.139Z] Running ssh-add (command line suppressed) [2022-09-22T22:33:16.238Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_4171043566137027101.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_4171043566137027101.key) [2022-09-22T22:33:16.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:33:16.578Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T22:33:16.607Z] $ docker exec --env ******** --env ******** d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent -k [2022-09-22T22:33:16.698Z] unset SSH_AUTH_SOCK; [2022-09-22T22:33:16.698Z] unset SSH_AGENT_PID; [2022-09-22T22:33:16.699Z] echo Agent pid 38 killed; [2022-09-22T22:33:16.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T22:33:16.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:33:16.783Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:33:16.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:33:16.896Z] $ docker exec d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent [2022-09-22T22:33:17.000Z] SSH_AUTH_SOCK=/tmp/ssh-ZaNG35GvrpxQ/agent.70 [2022-09-22T22:33:17.000Z] SSH_AGENT_PID=76 [2022-09-22T22:33:17.004Z] Running ssh-add (command line suppressed) [2022-09-22T22:33:17.094Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_14130944506495256515.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_14130944506495256515.key) [2022-09-22T22:33:17.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:33:17.430Z] + git semver init [2022-09-22T22:33:17.690Z] 2022-09-22 22:33:17,591 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T22:33:17.690Z] 2022-09-22 22:33:17,591 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-22T22:33:17.690Z] 2022-09-22 22:33:17,592 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-22T22:33:17.690Z] 2022-09-22 22:33:17,592 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,578 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,579 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,583 [execute] INFO git cat-file --batch-check [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,589 [execute] INFO git cat-file --batch [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:33:18.626Z] 2022-09-22 22:33:18,594 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-22T22:33:18.626Z] 0.0.0 [Pipeline] } [2022-09-22T22:33:18.656Z] $ docker exec --env ******** --env ******** d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent -k [2022-09-22T22:33:18.751Z] unset SSH_AUTH_SOCK; [2022-09-22T22:33:18.752Z] unset SSH_AGENT_PID; [2022-09-22T22:33:18.752Z] echo Agent pid 76 killed; [2022-09-22T22:33:18.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T22:33:19.190Z] + git semver [Pipeline] } [2022-09-22T22:33:19.477Z] $ docker stop --time=1 d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c [2022-09-22T22:33:20.774Z] $ docker rm -f d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:33:21.222Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T22:33:21.461Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T22:33:21.479Z] [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-09-22T22:33:22.076Z] provisioning config files... [2022-09-22T22:33:22.086Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12006604145934511792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:33:22.435Z] ---> docker-login.sh [2022-09-22T22:33:22.435Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:33:22.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:22.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:22.435Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:22.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:22.435Z] [2022-09-22T22:33:22.435Z] Login Succeeded [2022-09-22T22:33:22.435Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:33:22.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:22.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:22.435Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:22.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:22.435Z] [2022-09-22T22:33:22.435Z] Login Succeeded [2022-09-22T22:33:22.435Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:33:22.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:22.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:22.694Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:22.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:22.694Z] [2022-09-22T22:33:22.694Z] Login Succeeded [2022-09-22T22:33:22.694Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:33:22.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:22.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:22.694Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:22.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:22.694Z] [2022-09-22T22:33:22.694Z] Login Succeeded [2022-09-22T22:33:22.694Z] docker.io [2022-09-22T22:33:22.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:33:23.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:33:23.262Z] Configure a credential helper to remove this warning. See [2022-09-22T22:33:23.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:33:23.262Z] [2022-09-22T22:33:23.262Z] Login Succeeded [2022-09-22T22:33:23.262Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:33:23.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:33:23.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:33:23.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:33:23.549Z] ========================================================= [2022-09-22T22:33:23.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T22:33:23.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:33:24.013Z] + 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-09-22T22:33:24.013Z] Sending build context to Docker daemon 10.71MB [2022-09-22T22:33:24.013Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:33:24.013Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:33:24.013Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T22:33:24.013Z] 2408cc74d12b: Pulling fs layer [2022-09-22T22:33:24.013Z] ea60b727a1ce: Pulling fs layer [2022-09-22T22:33:24.013Z] 30c4a7721957: Pulling fs layer [2022-09-22T22:33:24.013Z] 370296b7ddb6: Pulling fs layer [2022-09-22T22:33:24.013Z] 7c6cee850709: Pulling fs layer [2022-09-22T22:33:24.013Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T22:33:24.013Z] d94ebbe4e438: Pulling fs layer [2022-09-22T22:33:24.013Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T22:33:24.013Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T22:33:24.013Z] 39a5fcdaea64: Waiting [2022-09-22T22:33:24.013Z] d94ebbe4e438: Waiting [2022-09-22T22:33:24.013Z] bcfd1f05c69d: Waiting [2022-09-22T22:33:24.013Z] 7c6cee850709: Waiting [2022-09-22T22:33:24.013Z] 30c4a7721957: Download complete [2022-09-22T22:33:24.013Z] ea60b727a1ce: Download complete [2022-09-22T22:33:24.013Z] 7c6cee850709: Download complete [2022-09-22T22:33:24.013Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T22:33:24.013Z] 39a5fcdaea64: Download complete [2022-09-22T22:33:24.275Z] 2408cc74d12b: Verifying Checksum [2022-09-22T22:33:24.275Z] 2408cc74d12b: Download complete [2022-09-22T22:33:24.275Z] d94ebbe4e438: Verifying Checksum [2022-09-22T22:33:24.275Z] d94ebbe4e438: Download complete [2022-09-22T22:33:24.275Z] 2408cc74d12b: Pull complete [2022-09-22T22:33:24.535Z] ea60b727a1ce: Pull complete [2022-09-22T22:33:24.535Z] 30c4a7721957: Pull complete [2022-09-22T22:33:25.106Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T22:33:25.106Z] 59ccb84bbe0f: Download complete [2022-09-22T22:33:25.106Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T22:33:25.106Z] bcfd1f05c69d: Download complete [2022-09-22T22:33:25.364Z] 370296b7ddb6: Verifying Checksum [2022-09-22T22:33:25.364Z] 370296b7ddb6: Download complete [2022-09-22T22:33:28.646Z] 370296b7ddb6: Pull complete [2022-09-22T22:33:28.646Z] 7c6cee850709: Pull complete [2022-09-22T22:33:28.904Z] 39a5fcdaea64: Pull complete [2022-09-22T22:33:28.904Z] d94ebbe4e438: Pull complete [2022-09-22T22:33:30.805Z] bcfd1f05c69d: Pull complete [2022-09-22T22:33:31.372Z] 59ccb84bbe0f: Pull complete [2022-09-22T22:33:31.372Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T22:33:31.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T22:33:31.372Z] ---> a4fb48ad2a94 [2022-09-22T22:33:31.372Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:33:32.749Z] ---> Running in 50540f942455 [2022-09-22T22:33:33.007Z] Removing intermediate container 50540f942455 [2022-09-22T22:33:33.007Z] ---> 39a59176e736 [2022-09-22T22:33:33.007Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:33:33.007Z] ---> Running in eb0f36a518e8 [2022-09-22T22:33:33.007Z] Removing intermediate container eb0f36a518e8 [2022-09-22T22:33:33.007Z] ---> 84f527f4c7f0 [2022-09-22T22:33:33.007Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:33:33.007Z] ---> Running in 1e650d597e3d [2022-09-22T22:33:33.265Z] Removing intermediate container 1e650d597e3d [2022-09-22T22:33:33.265Z] ---> 7c52e972165e [2022-09-22T22:33:33.265Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:33:33.265Z] ---> Running in c9e525d34bd5 [2022-09-22T22:33:33.265Z] Removing intermediate container c9e525d34bd5 [2022-09-22T22:33:33.265Z] ---> 024b85bdb94b [2022-09-22T22:33:33.265Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:33:33.265Z] ---> Running in 1709e0cf6411 [2022-09-22T22:33:33.833Z] Removing intermediate container 1709e0cf6411 [2022-09-22T22:33:33.833Z] ---> e9370e500a22 [2022-09-22T22:33:33.833Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:33:33.833Z] ---> Running in 8607542148d3 [2022-09-22T22:33:34.092Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:33:35.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:33:35.287Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:33:35.287Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:33:35.546Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:33:35.546Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:33:35.546Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:33:35.546Z] OK: 216 MiB in 55 packages [2022-09-22T22:33:36.116Z] Removing intermediate container 8607542148d3 [2022-09-22T22:33:36.116Z] ---> 86a0c833451d [2022-09-22T22:33:36.116Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-22T22:33:36.116Z] ---> Running in 072d11f4c889 [2022-09-22T22:33:36.116Z] Removing intermediate container 072d11f4c889 [2022-09-22T22:33:36.116Z] ---> f6807144cca6 [2022-09-22T22:33:36.116Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T22:33:36.378Z] ---> b9d5719e80d1 [2022-09-22T22:33:36.378Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:33:36.378Z] ---> Running in b55f46c2b830 [2022-09-22T22:33:36.890Z] Still waiting to schedule task [2022-09-22T22:33:36.891Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-668’ [2022-09-22T22:33:51.258Z] Removing intermediate container b55f46c2b830 [2022-09-22T22:33:51.258Z] ---> c727208e60cf [2022-09-22T22:33:51.258Z] Step 12/13 : COPY . . [2022-09-22T22:33:51.258Z] ---> 164179821e64 [2022-09-22T22:33:51.258Z] Step 13/13 : RUN $MAKE [2022-09-22T22:33:51.258Z] ---> Running in bacb5520e0f6 [2022-09-22T22:33:51.258Z] noop [2022-09-22T22:33:51.258Z] Removing intermediate container bacb5520e0f6 [2022-09-22T22:33:51.258Z] ---> 0da7592c2a58 [2022-09-22T22:33:51.258Z] Successfully built 0da7592c2a58 [2022-09-22T22:33:51.258Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:33:51.698Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:33:51.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:33:51.838Z] prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container [2022-09-22T22:33:51.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 [2022-09-22T22:33:52.229Z] $ docker top df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:33:52.612Z] + go version [2022-09-22T22:33:52.612Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T22:33:52.642Z] $ docker stop --time=1 df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 [2022-09-22T22:33:53.951Z] $ docker rm -f df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:33:54.656Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:33:54.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:33:54.807Z] prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container [2022-09-22T22:33:54.833Z] $ 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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 [2022-09-22T22:33:55.151Z] $ docker top a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:33:55.535Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:33:55.885Z] + make test [2022-09-22T22:33:55.885Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T22:33:56.143Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-22T22:34:06.112Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-22T22:34:06.112Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-09-22T22:34:12.680Z] 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-09-22T22:34:12.680Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:34:15.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:34:15.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:34:15.469Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:34:15.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:34:15.538Z] $ docker stop --time=1 a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd [2022-09-22T22:34:17.210Z] $ docker rm -f a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:34:17.719Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:34:17.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T22:34:18.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:34:18.758Z] + ls -al . [2022-09-22T22:34:18.758Z] total 180 [2022-09-22T22:34:18.758Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:33 . [2022-09-22T22:34:18.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:32 .. [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:32 .dockerignore [2022-09-22T22:34:18.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:34 .git [2022-09-22T22:34:18.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:32 .github [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:32 .gitignore [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:32 .golangci.yml [2022-09-22T22:34:18.758Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:33 .semver [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:32 Attribution.txt [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:32 CHANGELOG.md [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:32 Dockerfile [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:32 GOVERNANCE.md [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:32 Jenkinsfile [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:32 LICENSE [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:32 Makefile [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:32 OWNERS.md [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:32 README.md [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:33 VERSION [2022-09-22T22:34:18.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:32 bin [2022-09-22T22:34:18.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:32 cmd [2022-09-22T22:34:18.758Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:34 coverage.out [2022-09-22T22:34:18.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:32 driver [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:32 go.mod [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:32 go.sum [2022-09-22T22:34:18.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:32 snap [2022-09-22T22:34:18.758Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:34:19.131Z] + 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=0620b8de6097426a9ccc0f6041add98431d45914 --label arch=amd64 --label version=0.0.0 . [2022-09-22T22:34:19.132Z] Sending build context to Docker daemon 10.72MB [2022-09-22T22:34:19.132Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:34:19.132Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-22T22:34:19.132Z] ---> 0da7592c2a58 [2022-09-22T22:34:19.132Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:34:19.132Z] ---> Running in 66d628b4dd00 [2022-09-22T22:34:19.390Z] Removing intermediate container 66d628b4dd00 [2022-09-22T22:34:19.390Z] ---> 8b1ab3940dc3 [2022-09-22T22:34:19.390Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:34:19.390Z] ---> Running in 48c7e7b743fe [2022-09-22T22:34:19.390Z] Removing intermediate container 48c7e7b743fe [2022-09-22T22:34:19.390Z] ---> 1ceb2d2999be [2022-09-22T22:34:19.390Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:34:19.390Z] ---> Running in 5e9f4144e697 [2022-09-22T22:34:19.390Z] Removing intermediate container 5e9f4144e697 [2022-09-22T22:34:19.390Z] ---> 0de766adcd4c [2022-09-22T22:34:19.390Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:34:19.650Z] ---> Running in 72558fdb0e63 [2022-09-22T22:34:19.650Z] Removing intermediate container 72558fdb0e63 [2022-09-22T22:34:19.650Z] ---> 0f4f0d52554b [2022-09-22T22:34:19.650Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:34:19.650Z] ---> Running in 1e2e158eb41c [2022-09-22T22:34:20.217Z] Removing intermediate container 1e2e158eb41c [2022-09-22T22:34:20.217Z] ---> 34278d1669db [2022-09-22T22:34:20.217Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:34:20.217Z] ---> Running in 3d7e16339c61 [2022-09-22T22:34:20.476Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:34:21.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:34:21.682Z] OK: 216 MiB in 55 packages [2022-09-22T22:34:21.944Z] Removing intermediate container 3d7e16339c61 [2022-09-22T22:34:21.944Z] ---> 4b8f4432c431 [2022-09-22T22:34:21.944Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-22T22:34:21.944Z] ---> Running in e96d57fcc834 [2022-09-22T22:34:21.944Z] Removing intermediate container e96d57fcc834 [2022-09-22T22:34:21.944Z] ---> 2b10d4f923c2 [2022-09-22T22:34:21.944Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-22T22:34:22.203Z] ---> 8aa26807c873 [2022-09-22T22:34:22.203Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:34:22.203Z] ---> Running in e7bc8388ee31 [2022-09-22T22:34:22.772Z] Removing intermediate container e7bc8388ee31 [2022-09-22T22:34:22.772Z] ---> 42076bd97350 [2022-09-22T22:34:22.772Z] Step 12/26 : COPY . . [2022-09-22T22:34:23.030Z] ---> e8ec91dfc9a9 [2022-09-22T22:34:23.030Z] Step 13/26 : RUN $MAKE [2022-09-22T22:34:23.030Z] ---> Running in 84d92e6ec615 [2022-09-22T22:34:23.289Z] 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-09-22T22:34:45.212Z] Removing intermediate container 84d92e6ec615 [2022-09-22T22:34:45.212Z] ---> d685b8ad46c5 [2022-09-22T22:34:45.212Z] Step 14/26 : FROM alpine:3.16 [2022-09-22T22:34:45.212Z] 3.16: Pulling from library/alpine [2022-09-22T22:34:45.212Z] 213ec9aee27d: Pulling fs layer [2022-09-22T22:34:45.212Z] 213ec9aee27d: Download complete [2022-09-22T22:34:45.212Z] 213ec9aee27d: Pull complete [2022-09-22T22:34:45.212Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T22:34:45.212Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T22:34:45.212Z] ---> 9c6f07244728 [2022-09-22T22:34:45.212Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T22:34:45.212Z] ---> Running in fb6476fd8820 [2022-09-22T22:34:45.212Z] Removing intermediate container fb6476fd8820 [2022-09-22T22:34:45.212Z] ---> d41e9e3a74fa [2022-09-22T22:34:45.212Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-22T22:34:45.212Z] ---> Running in 98627326a2c2 [2022-09-22T22:34:45.212Z] Removing intermediate container 98627326a2c2 [2022-09-22T22:34:45.212Z] ---> 0069b433c5e2 [2022-09-22T22:34:45.212Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T22:34:45.212Z] ---> Running in 54d4cbb84453 [2022-09-22T22:34:45.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:34:45.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:34:45.212Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T22:34:45.212Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T22:34:45.212Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T22:34:45.212Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T22:34:45.212Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T22:34:45.212Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T22:34:45.212Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T22:34:45.212Z] OK: 8 MiB in 20 packages [2022-09-22T22:34:45.212Z] Removing intermediate container 54d4cbb84453 [2022-09-22T22:34:45.212Z] ---> aab4632957fc [2022-09-22T22:34:45.212Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-22T22:34:45.470Z] ---> ab00c47e5ae6 [2022-09-22T22:34:45.470Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-22T22:34:45.728Z] ---> da4fbdb74f56 [2022-09-22T22:34:45.728Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-22T22:34:45.728Z] ---> 8e05444b50f0 [2022-09-22T22:34:45.728Z] Step 21/26 : EXPOSE 59986 [2022-09-22T22:34:45.986Z] ---> Running in a723d47889f6 [2022-09-22T22:34:45.986Z] Removing intermediate container a723d47889f6 [2022-09-22T22:34:45.986Z] ---> 9c92bb245cc9 [2022-09-22T22:34:45.986Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-22T22:34:45.986Z] ---> Running in 40e5ea65a1fd [2022-09-22T22:34:45.986Z] Removing intermediate container 40e5ea65a1fd [2022-09-22T22:34:45.986Z] ---> b88213e13daf [2022-09-22T22:34:45.986Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T22:34:45.986Z] ---> Running in 00349a83598f [2022-09-22T22:34:46.246Z] Removing intermediate container 00349a83598f [2022-09-22T22:34:46.246Z] ---> 47c43992eab9 [2022-09-22T22:34:46.246Z] Step 24/26 : LABEL arch=amd64 [2022-09-22T22:34:46.246Z] ---> Running in 00e7d8b85a0c [2022-09-22T22:34:46.246Z] Removing intermediate container 00e7d8b85a0c [2022-09-22T22:34:46.246Z] ---> cb8f33cab41a [2022-09-22T22:34:46.246Z] Step 25/26 : LABEL git_sha=0620b8de6097426a9ccc0f6041add98431d45914 [2022-09-22T22:34:46.246Z] ---> Running in 18df833ceecf [2022-09-22T22:34:46.504Z] Removing intermediate container 18df833ceecf [2022-09-22T22:34:46.504Z] ---> f944a757d89b [2022-09-22T22:34:46.504Z] Step 26/26 : LABEL version=0.0.0 [2022-09-22T22:34:46.504Z] ---> Running in c605d644cd03 [2022-09-22T22:34:46.504Z] Removing intermediate container c605d644cd03 [2022-09-22T22:34:46.504Z] ---> dbd69fbad21b [2022-09-22T22:34:46.504Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T22:34:46.504Z] Successfully built dbd69fbad21b [2022-09-22T22:34:46.504Z] 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-09-22T22:34:47.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:34:47.324Z] [2022-09-22T22:34:47.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:34:47.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:34:47.696Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T22:34:47.696Z] 5eb5b503b376: Pulling fs layer [2022-09-22T22:34:47.696Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T22:34:47.696Z] ec43610c2a17: Pulling fs layer [2022-09-22T22:34:47.696Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T22:34:47.696Z] 33b1e0a273af: Pulling fs layer [2022-09-22T22:34:47.696Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T22:34:47.696Z] 2f39f015ded8: Pulling fs layer [2022-09-22T22:34:47.696Z] 3a2ae6a8a46f: Waiting [2022-09-22T22:34:47.696Z] 33b1e0a273af: Waiting [2022-09-22T22:34:47.696Z] 5d3b04190fa2: Waiting [2022-09-22T22:34:47.696Z] 2f39f015ded8: Waiting [2022-09-22T22:34:47.696Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T22:34:47.696Z] 5c69ac0246d0: Download complete [2022-09-22T22:34:47.696Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T22:34:47.696Z] 3a2ae6a8a46f: Download complete [2022-09-22T22:34:47.696Z] 33b1e0a273af: Verifying Checksum [2022-09-22T22:34:47.696Z] 33b1e0a273af: Download complete [2022-09-22T22:34:47.957Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T22:34:47.957Z] 5d3b04190fa2: Download complete [2022-09-22T22:34:47.957Z] ec43610c2a17: Download complete [2022-09-22T22:34:47.957Z] 5eb5b503b376: Verifying Checksum [2022-09-22T22:34:47.957Z] 5eb5b503b376: Download complete [2022-09-22T22:34:48.535Z] 2f39f015ded8: Download complete [2022-09-22T22:34:49.100Z] 5eb5b503b376: Pull complete [2022-09-22T22:34:49.357Z] 5c69ac0246d0: Pull complete [2022-09-22T22:34:49.615Z] ec43610c2a17: Pull complete [2022-09-22T22:34:49.615Z] 3a2ae6a8a46f: Pull complete [2022-09-22T22:34:49.873Z] 33b1e0a273af: Pull complete [2022-09-22T22:34:49.873Z] 5d3b04190fa2: Pull complete [2022-09-22T22:34:54.054Z] 2f39f015ded8: Pull complete [2022-09-22T22:34:54.054Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T22:34:54.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:34:54.054Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:34:54.250Z] prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container [2022-09-22T22:34:54.289Z] $ 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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 [2022-09-22T22:34:55.666Z] $ docker top c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:34:56.107Z] ---> job-cost.sh [2022-09-22T22:34:56.107Z] lf-activate-venv: SKIPPING [2022-09-22T22:34:56.107Z] INFO: No Stack... [2022-09-22T22:34:56.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:34:56.932Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T22:34:57.240Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv [2022-09-22T22:34:57.240Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T22:34:57.281Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [2022-09-22T22:34:57.286Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] did not exist. Created. [2022-09-22T22:34:57.286Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T22:34:57.665Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T22:34:57.717Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T22:34:57.744Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T22:34:57.821Z] $ docker stop --time=1 c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 [2022-09-22T22:34:59.003Z] $ docker rm -f c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T22:36:51.091Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-670 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws [2022-09-22T22:36:51.133Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T22:36:51.208Z] The recommended git tool is: git [2022-09-22T22:36:56.123Z] using credential edgex-jenkins-ssh [2022-09-22T22:36:56.143Z] Cloning the remote Git repository [2022-09-22T22:36:56.180Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:36:56.246Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-09-22T22:36:56.395Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:36:56.395Z] > git --version # timeout=10 [2022-09-22T22:36:56.411Z] > git --version # 'git version 2.25.1' [2022-09-22T22:36:56.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:36:56.456Z] Verifying host key using known hosts file [2022-09-22T22:36:56.639Z] 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. [2022-09-22T22:36:56.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:36:58.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-22T22:36:58.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:36:59.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-22T22:36:59.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-22T22:36:59.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:36:59.293Z] Verifying host key using known hosts file [2022-09-22T22:36:59.300Z] 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. [2022-09-22T22:36:59.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T22:36:59.935Z] Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 0620b8de6097426a9ccc0f6041add98431d45914 [2022-09-22T22:37:00.194Z] Merge succeeded, producing 0620b8de6097426a9ccc0f6041add98431d45914 [2022-09-22T22:37:00.194Z] Checking out Revision 0620b8de6097426a9ccc0f6041add98431d45914 (PR-213) [2022-09-22T22:36:59.956Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:36:59.975Z] > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 [2022-09-22T22:37:00.082Z] > git remote # timeout=10 [2022-09-22T22:37:00.102Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T22:37:00.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:37:00.128Z] Verifying host key using known hosts file [2022-09-22T22:37:00.132Z] 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. [2022-09-22T22:37:00.141Z] > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 [2022-09-22T22:37:00.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T22:37:00.199Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:37:00.213Z] > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 [2022-09-22T22:37:03.676Z] Commit message: "build: Add option to build Service with NATS Capability" [2022-09-22T22:37:03.727Z] > git --version # timeout=10 [2022-09-22T22:37:03.738Z] > git --version # 'git version 2.25.1' [2022-09-22T22:37:03.754Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:37:04.940Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T22:37:04.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T22:37:04.940Z] Dload Upload Total Spent Left Speed [2022-09-22T22:37:04.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-09-22T22:37:05.622Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T22:37:05.963Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T22:37:05.963Z] + sudo tee /etc/docker/daemon.new [2022-09-22T22:37:05.963Z] { [2022-09-22T22:37:05.963Z] "registry-mirrors": [ [2022-09-22T22:37:05.963Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T22:37:05.963Z] ], [2022-09-22T22:37:05.963Z] "bip": "10.250.0.254/24", [2022-09-22T22:37:05.963Z] "hosts": [ [2022-09-22T22:37:05.963Z] "tcp://0.0.0.0:5555", [2022-09-22T22:37:05.963Z] "unix:///var/run/docker.sock" [2022-09-22T22:37:05.963Z] ], [2022-09-22T22:37:05.963Z] "mtu": 1458, [2022-09-22T22:37:05.963Z] "selinux-enabled": true, [2022-09-22T22:37:05.963Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T22:37:05.963Z] } [Pipeline] sh [2022-09-22T22:37:06.305Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T22:37:06.658Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:37:24.954Z] provisioning config files... [2022-09-22T22:37:24.981Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config138316422382056518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:37:25.360Z] ---> docker-login.sh [2022-09-22T22:37:25.360Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:37:25.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:37:25.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:37:25.896Z] Configure a credential helper to remove this warning. See [2022-09-22T22:37:25.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:37:25.896Z] [2022-09-22T22:37:25.896Z] Login Succeeded [2022-09-22T22:37:25.896Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:37:26.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:37:26.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:37:26.164Z] Configure a credential helper to remove this warning. See [2022-09-22T22:37:26.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:37:26.164Z] [2022-09-22T22:37:26.164Z] Login Succeeded [2022-09-22T22:37:26.164Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:37:26.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:37:26.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:37:26.700Z] Configure a credential helper to remove this warning. See [2022-09-22T22:37:26.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:37:26.700Z] [2022-09-22T22:37:26.700Z] Login Succeeded [2022-09-22T22:37:26.700Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:37:26.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:37:26.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:37:26.969Z] Configure a credential helper to remove this warning. See [2022-09-22T22:37:26.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:37:26.969Z] [2022-09-22T22:37:26.969Z] Login Succeeded [2022-09-22T22:37:26.969Z] docker.io [2022-09-22T22:37:27.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:37:27.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:37:27.502Z] Configure a credential helper to remove this warning. See [2022-09-22T22:37:27.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:37:27.502Z] [2022-09-22T22:37:27.502Z] Login Succeeded [2022-09-22T22:37:27.502Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:37:27.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:37:27.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:37:27.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:37:27.868Z] ========================================================= [2022-09-22T22:37:27.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T22:37:27.868Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:37:28.374Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T22:37:28.374Z] Sending build context to Docker daemon 127.5kB [2022-09-22T22:37:28.957Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:37:28.957Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:37:28.957Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T22:37:28.957Z] b3c136eddcbf: Pulling fs layer [2022-09-22T22:37:28.957Z] c0a3192eca97: Pulling fs layer [2022-09-22T22:37:28.957Z] a050256f5b6f: Pulling fs layer [2022-09-22T22:37:28.957Z] 656be50a0ddc: Pulling fs layer [2022-09-22T22:37:28.957Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T22:37:28.957Z] 46d945488cbd: Pulling fs layer [2022-09-22T22:37:28.957Z] 8a5474983e97: Pulling fs layer [2022-09-22T22:37:28.957Z] 329c88fbcd65: Pulling fs layer [2022-09-22T22:37:28.957Z] 656be50a0ddc: Waiting [2022-09-22T22:37:28.957Z] 2bbca73fdf42: Waiting [2022-09-22T22:37:28.957Z] 46d945488cbd: Waiting [2022-09-22T22:37:28.957Z] 8a5474983e97: Waiting [2022-09-22T22:37:28.957Z] 329c88fbcd65: Waiting [2022-09-22T22:37:28.957Z] a050256f5b6f: Verifying Checksum [2022-09-22T22:37:28.957Z] a050256f5b6f: Download complete [2022-09-22T22:37:28.957Z] c0a3192eca97: Verifying Checksum [2022-09-22T22:37:28.957Z] c0a3192eca97: Download complete [2022-09-22T22:37:29.225Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T22:37:29.225Z] 2bbca73fdf42: Download complete [2022-09-22T22:37:29.225Z] 46d945488cbd: Verifying Checksum [2022-09-22T22:37:29.225Z] 46d945488cbd: Download complete [2022-09-22T22:37:29.225Z] b3c136eddcbf: Verifying Checksum [2022-09-22T22:37:29.225Z] b3c136eddcbf: Download complete [2022-09-22T22:37:29.829Z] b3c136eddcbf: Pull complete [2022-09-22T22:37:30.097Z] 329c88fbcd65: Verifying Checksum [2022-09-22T22:37:30.097Z] 329c88fbcd65: Download complete [2022-09-22T22:37:30.368Z] c0a3192eca97: Pull complete [2022-09-22T22:37:30.635Z] a050256f5b6f: Pull complete [2022-09-22T22:37:31.230Z] 8a5474983e97: Download complete [2022-09-22T22:37:31.815Z] 656be50a0ddc: Verifying Checksum [2022-09-22T22:37:31.815Z] 656be50a0ddc: Download complete [2022-09-22T22:37:44.156Z] 656be50a0ddc: Pull complete [2022-09-22T22:37:44.156Z] 2bbca73fdf42: Pull complete [2022-09-22T22:37:44.156Z] 46d945488cbd: Pull complete [2022-09-22T22:37:50.817Z] 8a5474983e97: Pull complete [2022-09-22T22:37:52.234Z] 329c88fbcd65: Pull complete [2022-09-22T22:37:52.234Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T22:37:52.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T22:37:52.234Z] ---> ff4287adb874 [2022-09-22T22:37:52.234Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:37:54.191Z] ---> Running in 983bfb95c305 [2022-09-22T22:37:54.458Z] Removing intermediate container 983bfb95c305 [2022-09-22T22:37:54.458Z] ---> 5942623d5fc2 [2022-09-22T22:37:54.458Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:37:54.458Z] ---> Running in dd064e43fe75 [2022-09-22T22:37:54.725Z] Removing intermediate container dd064e43fe75 [2022-09-22T22:37:54.725Z] ---> ffff0b4c94a0 [2022-09-22T22:37:54.725Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:37:54.725Z] ---> Running in 211e49a6e106 [2022-09-22T22:37:54.992Z] Removing intermediate container 211e49a6e106 [2022-09-22T22:37:54.992Z] ---> 1ec2700d46b0 [2022-09-22T22:37:54.992Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:37:55.262Z] ---> Running in a1e4ff57384f [2022-09-22T22:37:55.528Z] Removing intermediate container a1e4ff57384f [2022-09-22T22:37:55.528Z] ---> 93967d3878ff [2022-09-22T22:37:55.528Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:37:55.528Z] ---> Running in f1f35be9b8be [2022-09-22T22:37:57.474Z] Removing intermediate container f1f35be9b8be [2022-09-22T22:37:57.474Z] ---> cb1f768a416b [2022-09-22T22:37:57.474Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:37:57.474Z] ---> Running in 986bcb5641d1 [2022-09-22T22:37:58.058Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:37:59.021Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:37:59.981Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:37:59.981Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:38:00.247Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:38:00.247Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:38:00.512Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:38:00.512Z] OK: 226 MiB in 55 packages [2022-09-22T22:38:01.473Z] Removing intermediate container 986bcb5641d1 [2022-09-22T22:38:01.473Z] ---> 45948f6aebdc [2022-09-22T22:38:01.473Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-22T22:38:01.473Z] ---> Running in f13c438e28ff [2022-09-22T22:38:01.739Z] Removing intermediate container f13c438e28ff [2022-09-22T22:38:01.739Z] ---> 970074f34982 [2022-09-22T22:38:01.739Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T22:38:02.328Z] ---> 63aff40b2928 [2022-09-22T22:38:02.328Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:38:02.328Z] ---> Running in a16e4e6c4b96 [2022-09-22T22:38:49.181Z] Removing intermediate container a16e4e6c4b96 [2022-09-22T22:38:49.181Z] ---> 9928575ee286 [2022-09-22T22:38:49.181Z] Step 12/13 : COPY . . [2022-09-22T22:38:49.181Z] ---> 69c12b3c2333 [2022-09-22T22:38:49.181Z] Step 13/13 : RUN $MAKE [2022-09-22T22:38:49.181Z] ---> Running in 8866e9934b2a [2022-09-22T22:38:49.446Z] noop [2022-09-22T22:38:50.408Z] Removing intermediate container 8866e9934b2a [2022-09-22T22:38:50.408Z] ---> 65c7955afc24 [2022-09-22T22:38:50.408Z] Successfully built 65c7955afc24 [2022-09-22T22:38:50.408Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:38:50.884Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:38:50.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:38:51.148Z] prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container [2022-09-22T22:38:51.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:38:52.414Z] $ docker top 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:38:53.302Z] + go version [2022-09-22T22:38:53.302Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T22:38:53.336Z] $ docker stop --time=1 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd [2022-09-22T22:38:54.976Z] $ docker rm -f 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:38:55.840Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:38:55.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:38:56.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container [2022-09-22T22:38:56.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:38:57.372Z] $ docker top c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:38:58.250Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:38:58.951Z] + make test [2022-09-22T22:38:58.951Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T22:39:00.358Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-22T22:40:21.996Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-22T22:40:21.996Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-09-22T22:40:22.263Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T22:40:22.263Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:40:44.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:40:44.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:40:44.328Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:40:44.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:40:44.399Z] $ docker stop --time=1 c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 [2022-09-22T22:40:46.148Z] $ docker rm -f c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:40:47.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:40:47.132Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T22:40:47.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:40:48.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:40:48.480Z] + ls -al . [2022-09-22T22:40:48.480Z] total 176 [2022-09-22T22:40:48.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:38 . [2022-09-22T22:40:48.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:36 .. [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:37 .dockerignore [2022-09-22T22:40:48.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:37 .git [2022-09-22T22:40:48.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:37 .github [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:37 .gitignore [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:37 .golangci.yml [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:37 Attribution.txt [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:37 CHANGELOG.md [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:37 Dockerfile [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:37 GOVERNANCE.md [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:37 Jenkinsfile [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:37 LICENSE [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:37 Makefile [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:37 OWNERS.md [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:37 README.md [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:33 VERSION [2022-09-22T22:40:48.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:37 bin [2022-09-22T22:40:48.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:37 cmd [2022-09-22T22:40:48.480Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:40 coverage.out [2022-09-22T22:40:48.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:37 driver [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:37 go.mod [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:37 go.sum [2022-09-22T22:40:48.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:37 snap [2022-09-22T22:40:48.480Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:40:48.905Z] + 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=0620b8de6097426a9ccc0f6041add98431d45914 --label arch=arm64 --label version=0.0.0 . [2022-09-22T22:40:48.905Z] Sending build context to Docker daemon 137.7kB [2022-09-22T22:40:49.182Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:40:49.182Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-22T22:40:49.182Z] ---> 65c7955afc24 [2022-09-22T22:40:49.182Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:40:49.182Z] ---> Running in fa4be498ee1c [2022-09-22T22:40:49.459Z] Removing intermediate container fa4be498ee1c [2022-09-22T22:40:49.459Z] ---> d5904f4f9b64 [2022-09-22T22:40:49.459Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:40:49.459Z] ---> Running in 8bdd881a6e24 [2022-09-22T22:40:49.735Z] Removing intermediate container 8bdd881a6e24 [2022-09-22T22:40:49.735Z] ---> 79b4e6ca7b68 [2022-09-22T22:40:49.735Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:40:50.017Z] ---> Running in 7c46310d2e19 [2022-09-22T22:40:50.299Z] Removing intermediate container 7c46310d2e19 [2022-09-22T22:40:50.299Z] ---> 56204ce2c8e9 [2022-09-22T22:40:50.299Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:40:50.299Z] ---> Running in f7b4a5335fec [2022-09-22T22:40:50.570Z] Removing intermediate container f7b4a5335fec [2022-09-22T22:40:50.570Z] ---> f6287c3b59b3 [2022-09-22T22:40:50.570Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:40:50.570Z] ---> Running in d20fa61a7980 [2022-09-22T22:40:52.528Z] Removing intermediate container d20fa61a7980 [2022-09-22T22:40:52.528Z] ---> 9e7d7407006d [2022-09-22T22:40:52.528Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:40:52.528Z] ---> Running in b278d5c0af74 [2022-09-22T22:40:53.120Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:40:54.079Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:40:55.036Z] OK: 226 MiB in 55 packages [2022-09-22T22:40:55.621Z] Removing intermediate container b278d5c0af74 [2022-09-22T22:40:55.621Z] ---> 46bfde6cdf82 [2022-09-22T22:40:55.621Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-22T22:40:55.621Z] ---> Running in efe6d86bc8de [2022-09-22T22:40:55.888Z] Removing intermediate container efe6d86bc8de [2022-09-22T22:40:55.888Z] ---> e500bb40eab3 [2022-09-22T22:40:55.888Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-22T22:40:56.475Z] ---> a9e3bddd46ef [2022-09-22T22:40:56.475Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:40:56.475Z] ---> Running in 7186117b6a2e [2022-09-22T22:40:58.421Z] Removing intermediate container 7186117b6a2e [2022-09-22T22:40:58.421Z] ---> 99f4b0062332 [2022-09-22T22:40:58.421Z] Step 12/26 : COPY . . [2022-09-22T22:40:59.005Z] ---> 8def621c2a14 [2022-09-22T22:40:59.005Z] Step 13/26 : RUN $MAKE [2022-09-22T22:40:59.005Z] ---> Running in 46c30ae97e4d [2022-09-22T22:40:59.968Z] 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-09-22T22:43:36.655Z] Removing intermediate container 46c30ae97e4d [2022-09-22T22:43:36.655Z] ---> 910dc398e0f9 [2022-09-22T22:43:36.655Z] Step 14/26 : FROM alpine:3.16 [2022-09-22T22:43:36.655Z] 3.16: Pulling from library/alpine [2022-09-22T22:43:36.655Z] 9b18e9b68314: Pulling fs layer [2022-09-22T22:43:36.655Z] 9b18e9b68314: Download complete [2022-09-22T22:43:36.655Z] 9b18e9b68314: Pull complete [2022-09-22T22:43:36.655Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T22:43:36.655Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T22:43:36.655Z] ---> a6215f271958 [2022-09-22T22:43:36.655Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T22:43:36.655Z] ---> Running in de06df095ff9 [2022-09-22T22:43:36.655Z] Removing intermediate container de06df095ff9 [2022-09-22T22:43:36.655Z] ---> 93923df6482d [2022-09-22T22:43:36.655Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-22T22:43:36.655Z] ---> Running in 9070b2a42dec [2022-09-22T22:43:36.655Z] Removing intermediate container 9070b2a42dec [2022-09-22T22:43:36.655Z] ---> b02d18305ff8 [2022-09-22T22:43:36.655Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T22:43:36.655Z] ---> Running in d3a406f3e48b [2022-09-22T22:43:36.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:43:36.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:43:36.655Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T22:43:36.655Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T22:43:36.655Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T22:43:36.655Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T22:43:36.655Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T22:43:36.655Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T22:43:36.655Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T22:43:36.655Z] OK: 8 MiB in 20 packages [2022-09-22T22:43:36.655Z] Removing intermediate container d3a406f3e48b [2022-09-22T22:43:36.655Z] ---> 034599289b68 [2022-09-22T22:43:36.655Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-22T22:43:36.655Z] ---> 8bed1d847cfe [2022-09-22T22:43:36.655Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-22T22:43:36.655Z] ---> 7a23adc43b0f [2022-09-22T22:43:36.655Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-22T22:43:36.655Z] ---> 8c507fc9be90 [2022-09-22T22:43:36.655Z] Step 21/26 : EXPOSE 59986 [2022-09-22T22:43:36.655Z] ---> Running in 12bb4a202f1a [2022-09-22T22:43:36.655Z] Removing intermediate container 12bb4a202f1a [2022-09-22T22:43:36.655Z] ---> 35abe4dcc8ac [2022-09-22T22:43:36.655Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-22T22:43:36.655Z] ---> Running in 063ea1b4ffaf [2022-09-22T22:43:36.655Z] Removing intermediate container 063ea1b4ffaf [2022-09-22T22:43:36.655Z] ---> 9836e6814d1f [2022-09-22T22:43:36.655Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-22T22:43:36.655Z] ---> Running in 15ce7ba70de8 [2022-09-22T22:43:36.655Z] Removing intermediate container 15ce7ba70de8 [2022-09-22T22:43:36.655Z] ---> cebd50ec8ae4 [2022-09-22T22:43:36.655Z] Step 24/26 : LABEL arch=arm64 [2022-09-22T22:43:36.655Z] ---> Running in 917e230208cc [2022-09-22T22:43:36.655Z] Removing intermediate container 917e230208cc [2022-09-22T22:43:36.655Z] ---> a7ad80d55de8 [2022-09-22T22:43:36.655Z] Step 25/26 : LABEL git_sha=0620b8de6097426a9ccc0f6041add98431d45914 [2022-09-22T22:43:36.655Z] ---> Running in c46623cd59d6 [2022-09-22T22:43:36.655Z] Removing intermediate container c46623cd59d6 [2022-09-22T22:43:36.655Z] ---> fc9523d1f713 [2022-09-22T22:43:36.655Z] Step 26/26 : LABEL version=0.0.0 [2022-09-22T22:43:36.655Z] ---> Running in dd58d333e872 [2022-09-22T22:43:36.655Z] Removing intermediate container dd58d333e872 [2022-09-22T22:43:36.655Z] ---> faf76ae4fd94 [2022-09-22T22:43:36.655Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T22:43:36.655Z] Successfully built faf76ae4fd94 [2022-09-22T22:43:36.655Z] 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 [2022-09-22T22:43:37.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T22:43:37.461Z] [2022-09-22T22:43:37.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:43:37.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T22:43:37.865Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T22:43:37.865Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T22:43:37.865Z] 04944245beec: Pulling fs layer [2022-09-22T22:43:37.865Z] 699f458cf7ca: Pulling fs layer [2022-09-22T22:43:37.865Z] 765212b225bb: Pulling fs layer [2022-09-22T22:43:37.865Z] f23df028b6ca: Pulling fs layer [2022-09-22T22:43:37.865Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T22:43:37.865Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T22:43:37.865Z] f23df028b6ca: Waiting [2022-09-22T22:43:37.865Z] 765212b225bb: Waiting [2022-09-22T22:43:37.865Z] 2437ff75d9bd: Waiting [2022-09-22T22:43:37.865Z] d65c8cfc05b1: Waiting [2022-09-22T22:43:38.142Z] 04944245beec: Verifying Checksum [2022-09-22T22:43:38.142Z] 04944245beec: Download complete [2022-09-22T22:43:38.142Z] 765212b225bb: Verifying Checksum [2022-09-22T22:43:38.142Z] 765212b225bb: Download complete [2022-09-22T22:43:38.142Z] f23df028b6ca: Verifying Checksum [2022-09-22T22:43:38.142Z] f23df028b6ca: Download complete [2022-09-22T22:43:38.142Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T22:43:38.142Z] d65c8cfc05b1: Download complete [2022-09-22T22:43:38.142Z] 699f458cf7ca: Verifying Checksum [2022-09-22T22:43:38.410Z] 699f458cf7ca: Download complete [2022-09-22T22:43:38.676Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T22:43:38.676Z] 8998bd30e6a1: Download complete [2022-09-22T22:43:41.258Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T22:43:41.258Z] 2437ff75d9bd: Download complete [2022-09-22T22:43:42.669Z] 8998bd30e6a1: Pull complete [2022-09-22T22:43:43.249Z] 04944245beec: Pull complete [2022-09-22T22:43:44.658Z] 699f458cf7ca: Pull complete [2022-09-22T22:43:44.658Z] 765212b225bb: Pull complete [2022-09-22T22:43:45.241Z] f23df028b6ca: Pull complete [2022-09-22T22:43:45.508Z] d65c8cfc05b1: Pull complete [2022-09-22T22:44:00.501Z] 2437ff75d9bd: Pull complete [2022-09-22T22:44:00.501Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T22:44:00.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T22:44:00.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:44:00.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container [2022-09-22T22:44:00.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T22:44:03.588Z] $ docker top 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:04.483Z] ---> job-cost.sh [2022-09-22T22:44:04.484Z] lf-activate-venv: SKIPPING [2022-09-22T22:44:04.484Z] INFO: No Stack... [2022-09-22T22:44:04.750Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T22:44:05.707Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T22:44:06.049Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-09-22T22:44:06.050Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T22:44:06.129Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [2022-09-22T22:44:06.134Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] did not exist. Created. [2022-09-22T22:44:06.134Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T22:44:06.544Z] /w/workspace/device-rest-go/1@tmp/durable-0d1b78ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T22:44:06.893Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T22:44:06.930Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T22:44:06.966Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T22:44:06.980Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T22:44:07.063Z] $ docker stop --time=1 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b [2022-09-22T22:44:08.526Z] $ docker rm -f 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b [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 [2022-09-22T22:44:09.451Z] provisioning config files... [2022-09-22T22:44:09.457Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config17134291784406876775tmp [Pipeline] { [Pipeline] sh [2022-09-22T22:44:09.794Z] + set +x [2022-09-22T22:44:09.794Z] + curl -s https://codecov.io/bash [2022-09-22T22:44:09.794Z] + bash -s -- [2022-09-22T22:44:09.794Z] [2022-09-22T22:44:09.794Z] _____ _ [2022-09-22T22:44:09.794Z] / ____| | | [2022-09-22T22:44:09.794Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T22:44:09.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T22:44:09.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T22:44:09.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T22:44:09.794Z] Bash-1.0.6 [2022-09-22T22:44:09.794Z] [2022-09-22T22:44:09.794Z] [2022-09-22T22:44:09.794Z] ==> git version 2.25.1 found [2022-09-22T22:44:09.794Z] ==> 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 [2022-09-22T22:44:09.794Z] Release-Date: 2020-01-08 [2022-09-22T22:44:09.794Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T22:44:09.794Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T22:44:09.794Z] ==> Jenkins CI detected. [2022-09-22T22:44:09.794Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-22T22:44:09.794Z] project root: . [2022-09-22T22:44:09.794Z] --> token set from env [2022-09-22T22:44:09.794Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T22:44:09.794Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T22:44:09.794Z] ==> Python coveragepy not found [2022-09-22T22:44:09.794Z] ==> Searching for coverage reports in: [2022-09-22T22:44:09.794Z] + . [2022-09-22T22:44:09.794Z] -> Found 1 reports [2022-09-22T22:44:09.794Z] ==> Detecting git/mercurial file structure [2022-09-22T22:44:09.794Z] ==> Reading reports [2022-09-22T22:44:09.794Z] + ./coverage.out bytes=9355 [2022-09-22T22:44:09.794Z] ==> Appending adjustments [2022-09-22T22:44:09.794Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T22:44:10.053Z] + Found adjustments [2022-09-22T22:44:10.053Z] ==> Gzipping contents [2022-09-22T22:44:10.053Z] 4.0K /tmp/codecov.qnrlyL.gz [2022-09-22T22:44:10.053Z] ==> Uploading reports [2022-09-22T22:44:10.053Z] url: https://codecov.io [2022-09-22T22:44:10.053Z] query: branch=PR-213&commit=0620b8de6097426a9ccc0f6041add98431d45914&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-22T22:44:10.053Z] -> Pinging Codecov [2022-09-22T22:44:10.053Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-213&commit=0620b8de6097426a9ccc0f6041add98431d45914&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-22T22:44:10.312Z] -> Uploading to [2022-09-22T22:44:10.312Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/4E5D53B4F1F92C436F7061BF334D961C/0620b8de6097426a9ccc0f6041add98431d45914/e26ba2d3-21a1-47f8-8ee3-f912a126c9fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T224410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f4e68a85e0715234189ae09801a6734d828013468db8372ebdbb77934c42a30 [2022-09-22T22:44:10.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T22:44:10.312Z] Dload Upload Total Spent Left Speed [2022-09-22T22:44:10.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7211 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7211 [2022-09-22T22:44:10.570Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] } [2022-09-22T22:44:10.602Z] 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 [2022-09-22T22:44:12.295Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] [2022-09-22T22:44:12.295Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T22:44:12.295Z] total 16 [2022-09-22T22:44:12.295Z] drwxr-xr-x 3 root root 4096 Sep 22 22:34 . [2022-09-22T22:44:12.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:34 .. [2022-09-22T22:44:12.295Z] drwxr-xr-x 2 root root 4096 Sep 22 22:34 cost [2022-09-22T22:44:12.295Z] -rw-r--r-- 1 root root 87 Sep 22 22:34 cost.csv [2022-09-22T22:44:12.295Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T22:44:12.295Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-22T22:44:12.295Z] total 16 [2022-09-22T22:44:12.295Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:34 . [2022-09-22T22:44:12.295Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:34 .. [2022-09-22T22:44:12.295Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:34 cost [2022-09-22T22:44:12.295Z] -rw-r--r-- 1 jenkins jenkins 87 Sep 22 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:12.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:13.497Z] ---> package-listing.sh [2022-09-22T22:44:13.497Z] ++ facter osfamily [2022-09-22T22:44:13.497Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T22:44:13.755Z] + OS_FAMILY=debian [2022-09-22T22:44:13.755Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-22T22:44:13.755Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T22:44:13.755Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T22:44:13.755Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T22:44:13.755Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T22:44:13.755Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-22T22:44:13.755Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T22:44:13.755Z] + case "${OS_FAMILY}" in [2022-09-22T22:44:13.755Z] + dpkg -l [2022-09-22T22:44:13.755Z] + grep '^ii' [2022-09-22T22:44:13.755Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T22:44:13.755Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T22:44:13.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T22:44:13.755Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-22T22:44:13.755Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [2022-09-22T22:44:13.755Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [Pipeline] echo [2022-09-22T22:44:13.786Z] 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T22:44:14.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:14.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:44:14.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:44:14.852Z] prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container [2022-09-22T22:44:14.876Z] $ 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-213/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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 [2022-09-22T22:44:15.068Z] $ docker top 4cdecba52b960b8b4f97a3d44b525e0a42ffd6c075eec4dc27e801361f3cdabe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:44:15.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T22:44:15.772Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T22:44:16.088Z] + ls /var/log/sa-host [2022-09-22T22:44:16.088Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:44:16.209Z] provisioning config files... [2022-09-22T22:44:16.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config10312608474080465543tmp [Pipeline] { [Pipeline] echo [2022-09-22T22:44:16.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:16.584Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T22:44:16.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:17.012Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T22:44:17.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:17.354Z] ---> sudo-logs.sh [2022-09-22T22:44:17.354Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T22:44:17.432Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:17.744Z] ---> job-cost.sh [2022-09-22T22:44:17.744Z] lf-activate-venv: SKIPPING [2022-09-22T22:44:17.744Z] DEBUG: total: 0.2199999988079071 [2022-09-22T22:44:17.744Z] INFO: Retrieving Stack Cost... [2022-09-22T22:44:18.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:44:18.574Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T22:44:18.607Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:18.911Z] ---> logs-deploy.sh [2022-09-22T22:44:18.911Z] lf-activate-venv: SKIPPING [2022-09-22T22:44:18.911Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/1 [2022-09-22T22:44:18.911Z] INFO: archiving workspace using pattern(s): [2022-09-22T22:44:19.844Z] Archives upload complete. [2022-09-22T22:44:20.104Z] INFO: archiving logs to Nexus [2022-09-22T22:44:20.673Z] ---> uname -a: [2022-09-22T22:44:20.673Z] Linux prd-ubuntu20-04-docker-8c-8g-666 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-22T22:44:20.673Z] [2022-09-22T22:44:20.673Z]