Pull request #166 updated 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 jpwhitemn for edgexfoundry/device-rest-go Loading trusted files from base branch main at ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 rather than 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 Obtained Jenkinsfile from ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 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-ssh7394930175226806894.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh18445746992125719630.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5628484917291406762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh15620797579593636410.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3516201750501440316.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10355 in /w/workspace/gexfoundry_device-rest-go_PR-166 [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-166 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 Merge succeeded, producing 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 Checking out Revision 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 (PR-166) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 # timeout=10 Commit message: "feat: per review, remove commented line" > git rev-list --no-walk 747ebf972dbf71458de27d5ea00d8ae2a2c98e33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-01T00:15:50.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-01T00:15:50.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-01T00:15:50.560Z] ========================================================= [2022-04-01T00:15:50.560Z] EdgeX Global Pipelines Version Info [2022-04-01T00:15:50.560Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:15:51.311Z] ------------------- [2022-04-01T00:15:51.311Z] stable info: [2022-04-01T00:15:51.311Z] ------------------- [2022-04-01T00:15:51.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-01T00:15:51.311Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T00:15:51.311Z] Message: update stable to v1.0.221 [2022-04-01T00:15:51.885Z] ------------------- [2022-04-01T00:15:51.885Z] experimental info: [2022-04-01T00:15:51.885Z] ------------------- [2022-04-01T00:15:51.885Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-01T00:15:51.885Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T00:15:51.885Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-01T00:15:52.020Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-01T00:15:52.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-01T00:15:52.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-01T00:15:52.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-01T00:15:52.092Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-01T00:15:52.107Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-01T00:15:52.118Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-01T00:15:52.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-01T00:15:52.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-01T00:15:52.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-01T00:15:52.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-01T00:15:52.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-01T00:15:52.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-01T00:15:52.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-01T00:15:52.260Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T00:15:52.276Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T00:15:52.293Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T00:15:52.306Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T00:15:52.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-01T00:15:52.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-01T00:15:52.344Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-01T00:15:52.363Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-01T00:15:52.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-01T00:15:52.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-01T00:15:52.411Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-01T00:15:52.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-01T00:15:52.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo [2022-04-01T00:15:52.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo [2022-04-01T00:15:52.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo [2022-04-01T00:15:52.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [Pipeline] echo [2022-04-01T00:15:52.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ecef4a [Pipeline] echo [2022-04-01T00:15:52.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T00:15:52.543Z] provisioning config files... [2022-04-01T00:15:52.557Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config7173431339759415133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:15:52.890Z] ---> docker-login.sh [2022-04-01T00:15:52.890Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:15:53.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:15:53.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:15:53.152Z] Configure a credential helper to remove this warning. See [2022-04-01T00:15:53.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:15:53.152Z] [2022-04-01T00:15:53.152Z] Login Succeeded [2022-04-01T00:15:53.152Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:15:53.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:15:53.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:15:53.413Z] Configure a credential helper to remove this warning. See [2022-04-01T00:15:53.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:15:53.413Z] [2022-04-01T00:15:53.413Z] Login Succeeded [2022-04-01T00:15:53.413Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:15:53.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:15:53.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:15:53.676Z] Configure a credential helper to remove this warning. See [2022-04-01T00:15:53.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:15:53.676Z] [2022-04-01T00:15:53.676Z] Login Succeeded [2022-04-01T00:15:53.676Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:15:53.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:15:53.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:15:53.676Z] Configure a credential helper to remove this warning. See [2022-04-01T00:15:53.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:15:53.676Z] [2022-04-01T00:15:53.676Z] Login Succeeded [2022-04-01T00:15:53.676Z] docker.io [2022-04-01T00:15:53.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:15:54.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:15:54.204Z] Configure a credential helper to remove this warning. See [2022-04-01T00:15:54.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:15:54.204Z] [2022-04-01T00:15:54.204Z] Login Succeeded [2022-04-01T00:15:54.204Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:15:54.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-01T00:15:54.607Z] + git rev-list -1 --merges 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3~1..5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [Pipeline] echo [2022-04-01T00:15:54.732Z] -----------> git rev-list -1 --merges 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3~1..5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [false] [Pipeline] sh [2022-04-01T00:15:55.025Z] + git log --format=format:%s -1 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [Pipeline] echo [2022-04-01T00:15:55.045Z] ========================================================= [2022-04-01T00:15:55.045Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-01T00:15:55.045Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T00:15:55.391Z] + git log --format=format:%s -1 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [Pipeline] echo [2022-04-01T00:15:55.404Z] [semverPrep] GIT_COMMIT: 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3, Commit Message: feat: per review, remove commented line [Pipeline] echo [2022-04-01T00:15:55.416Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-01T00:15:55.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T00:15:55.851Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-01T00:15:55.851Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-01T00:15:55.851Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-01T00:15:55.851Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-01T00:15:55.851Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-01T00:15:55.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:15:56.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:15:56.287Z] [2022-04-01T00:15:56.287Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:15:56.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:15:56.599Z] latest: Pulling from edgex-devops/git-semver [2022-04-01T00:15:56.599Z] a0d0a0d46f8b: Pulling fs layer [2022-04-01T00:15:56.599Z] 3e5f54012d9b: Pulling fs layer [2022-04-01T00:15:56.599Z] 4c7163046ea9: Pulling fs layer [2022-04-01T00:15:56.599Z] 0c2d73faf560: Pulling fs layer [2022-04-01T00:15:56.599Z] 0c2d73faf560: Waiting [2022-04-01T00:15:56.599Z] 3e5f54012d9b: Verifying Checksum [2022-04-01T00:15:56.599Z] 3e5f54012d9b: Download complete [2022-04-01T00:15:56.599Z] a0d0a0d46f8b: Download complete [2022-04-01T00:15:56.599Z] 0c2d73faf560: Verifying Checksum [2022-04-01T00:15:56.599Z] 0c2d73faf560: Download complete [2022-04-01T00:15:56.599Z] 4c7163046ea9: Verifying Checksum [2022-04-01T00:15:56.599Z] 4c7163046ea9: Download complete [2022-04-01T00:15:56.859Z] a0d0a0d46f8b: Pull complete [2022-04-01T00:15:56.859Z] 3e5f54012d9b: Pull complete [2022-04-01T00:15:57.120Z] 4c7163046ea9: Pull complete [2022-04-01T00:15:57.381Z] 0c2d73faf560: Pull complete [2022-04-01T00:15:57.381Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-01T00:15:57.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:15:57.381Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-01T00:15:57.456Z] prd-ubuntu20.04-docker-8c-8g-10355 does not seem to be running inside a container [2022-04-01T00:15:57.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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:10004/edgex-devops/git-semver:latest cat [2022-04-01T00:15:58.254Z] $ docker top 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T00:15:58.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T00:15:58.364Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T00:15:58.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T00:15:58.498Z] $ docker exec 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 ssh-agent [2022-04-01T00:15:58.645Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAhEjm/agent.13 [2022-04-01T00:15:58.645Z] SSH_AGENT_PID=20 [2022-04-01T00:15:58.654Z] Running ssh-add (command line suppressed) [2022-04-01T00:15:58.775Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_1426055754029757831.key (/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_1426055754029757831.key) [2022-04-01T00:15:58.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T00:15:59.091Z] + git tag --points-at HEAD [Pipeline] } [2022-04-01T00:15:59.101Z] $ docker exec --env ******** --env ******** 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 ssh-agent -k [2022-04-01T00:15:59.223Z] unset SSH_AUTH_SOCK; [2022-04-01T00:15:59.223Z] unset SSH_AGENT_PID; [2022-04-01T00:15:59.223Z] echo Agent pid 20 killed; [2022-04-01T00:15:59.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-01T00:15:59.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T00:15:59.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T00:15:59.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T00:15:59.398Z] $ docker exec 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 ssh-agent [2022-04-01T00:15:59.535Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXappbfI/agent.53 [2022-04-01T00:15:59.535Z] SSH_AGENT_PID=60 [2022-04-01T00:15:59.541Z] Running ssh-add (command line suppressed) [2022-04-01T00:15:59.647Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_2048021188718794998.key (/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/private_key_2048021188718794998.key) [2022-04-01T00:15:59.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T00:15:59.959Z] + git semver init [2022-04-01T00:15:59.959Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T00:15:59.959Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.git [2022-04-01T00:15:59.959Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-166 [2022-04-01T00:15:59.959Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T00:15:59.959Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T00:15:59.959Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T00:15:59.959Z] # $SEMVER_BRANCH = PR-166 [2022-04-01T00:15:59.959Z] # $SEMVER_TEMP = /tmp/semver-205381240 [2022-04-01T00:15:59.959Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-01T00:16:01.346Z] # '/tmp/semver-205381240' -> '/w/workspace/gexfoundry_device-rest-go_PR-166/.semver' [2022-04-01T00:16:01.346Z] # -> Force: false [2022-04-01T00:16:01.346Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-166/.semver [Pipeline] } [2022-04-01T00:16:01.354Z] $ docker exec --env ******** --env ******** 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 ssh-agent -k [2022-04-01T00:16:01.475Z] unset SSH_AUTH_SOCK; [2022-04-01T00:16:01.475Z] unset SSH_AGENT_PID; [2022-04-01T00:16:01.475Z] echo Agent pid 60 killed; [2022-04-01T00:16:01.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T00:16:01.807Z] + git semver [Pipeline] } [2022-04-01T00:16:01.817Z] $ docker stop --time=1 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 [2022-04-01T00:16:03.222Z] $ docker rm -f 347a85201a4d111f45c5391438f51fafc94766a7fcdc3e061f963b60197d03f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T00:16:03.589Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-01T00:16:03.855Z] Stashed 1 file(s) [Pipeline] echo [2022-04-01T00:16:03.860Z] [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-04-01T00:16:04.006Z] provisioning config files... [2022-04-01T00:16:04.017Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config3419470765577289397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:16:04.331Z] ---> docker-login.sh [2022-04-01T00:16:04.331Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:16:04.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:16:04.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:16:04.331Z] Configure a credential helper to remove this warning. See [2022-04-01T00:16:04.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:16:04.331Z] [2022-04-01T00:16:04.331Z] Login Succeeded [2022-04-01T00:16:04.331Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:16:04.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:16:04.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:16:04.595Z] Configure a credential helper to remove this warning. See [2022-04-01T00:16:04.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:16:04.595Z] [2022-04-01T00:16:04.595Z] Login Succeeded [2022-04-01T00:16:04.595Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:16:04.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:16:04.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:16:04.595Z] Configure a credential helper to remove this warning. See [2022-04-01T00:16:04.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:16:04.595Z] [2022-04-01T00:16:04.595Z] Login Succeeded [2022-04-01T00:16:04.595Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:16:04.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:16:04.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:16:04.856Z] Configure a credential helper to remove this warning. See [2022-04-01T00:16:04.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:16:04.856Z] [2022-04-01T00:16:04.856Z] Login Succeeded [2022-04-01T00:16:04.856Z] docker.io [2022-04-01T00:16:04.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:16:05.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:16:05.117Z] Configure a credential helper to remove this warning. See [2022-04-01T00:16:05.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:16:05.117Z] [2022-04-01T00:16:05.117Z] Login Succeeded [2022-04-01T00:16:05.117Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:16:05.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T00:16:05.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T00:16:05.210Z] ========================================================= [2022-04-01T00:16:05.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-01T00:16:05.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:16:05.516Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T00:16:05.516Z] Sending build context to Docker daemon 10.55MB [2022-04-01T00:16:05.516Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:16:05.516Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T00:16:05.516Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-01T00:16:05.516Z] 59bf1c3509f3: Pulling fs layer [2022-04-01T00:16:05.516Z] 666ba61612fd: Pulling fs layer [2022-04-01T00:16:05.516Z] 8ed8ca486205: Pulling fs layer [2022-04-01T00:16:05.516Z] 4fe6c5a15a65: Pulling fs layer [2022-04-01T00:16:05.516Z] 22a0e8bec74d: Pulling fs layer [2022-04-01T00:16:05.516Z] 640e595b4fbd: Pulling fs layer [2022-04-01T00:16:05.516Z] 763cafe07f6e: Pulling fs layer [2022-04-01T00:16:05.516Z] 0c0b528cf693: Pulling fs layer [2022-04-01T00:16:05.516Z] 10935f4eaf8b: Pulling fs layer [2022-04-01T00:16:05.516Z] 0c0b528cf693: Waiting [2022-04-01T00:16:05.516Z] 4fe6c5a15a65: Waiting [2022-04-01T00:16:05.516Z] 640e595b4fbd: Waiting [2022-04-01T00:16:05.516Z] 10935f4eaf8b: Waiting [2022-04-01T00:16:05.516Z] 22a0e8bec74d: Waiting [2022-04-01T00:16:05.516Z] 763cafe07f6e: Waiting [2022-04-01T00:16:05.516Z] 8ed8ca486205: Verifying Checksum [2022-04-01T00:16:05.516Z] 8ed8ca486205: Download complete [2022-04-01T00:16:05.780Z] 666ba61612fd: Download complete [2022-04-01T00:16:05.780Z] 22a0e8bec74d: Verifying Checksum [2022-04-01T00:16:05.780Z] 22a0e8bec74d: Download complete [2022-04-01T00:16:05.780Z] 640e595b4fbd: Verifying Checksum [2022-04-01T00:16:05.780Z] 640e595b4fbd: Download complete [2022-04-01T00:16:05.780Z] 59bf1c3509f3: Verifying Checksum [2022-04-01T00:16:05.780Z] 763cafe07f6e: Verifying Checksum [2022-04-01T00:16:05.780Z] 763cafe07f6e: Download complete [2022-04-01T00:16:05.780Z] 0c0b528cf693: Verifying Checksum [2022-04-01T00:16:05.780Z] 0c0b528cf693: Download complete [2022-04-01T00:16:05.780Z] 59bf1c3509f3: Pull complete [2022-04-01T00:16:06.044Z] 666ba61612fd: Pull complete [2022-04-01T00:16:06.304Z] 8ed8ca486205: Pull complete [2022-04-01T00:16:06.304Z] 10935f4eaf8b: Verifying Checksum [2022-04-01T00:16:06.304Z] 10935f4eaf8b: Download complete [2022-04-01T00:16:06.566Z] 4fe6c5a15a65: Verifying Checksum [2022-04-01T00:16:06.567Z] 4fe6c5a15a65: Download complete [2022-04-01T00:16:10.782Z] 4fe6c5a15a65: Pull complete [2022-04-01T00:16:10.782Z] 22a0e8bec74d: Pull complete [2022-04-01T00:16:10.782Z] 640e595b4fbd: Pull complete [2022-04-01T00:16:11.042Z] 763cafe07f6e: Pull complete [2022-04-01T00:16:11.043Z] 0c0b528cf693: Pull complete [2022-04-01T00:16:13.588Z] 10935f4eaf8b: Pull complete [2022-04-01T00:16:13.588Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-01T00:16:13.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-01T00:16:13.588Z] ---> 99d49a6021b9 [2022-04-01T00:16:13.588Z] Step 3/12 : ARG MAKE='make build' [2022-04-01T00:16:14.976Z] ---> Running in e6db16d8b275 [2022-04-01T00:16:14.976Z] Removing intermediate container e6db16d8b275 [2022-04-01T00:16:14.976Z] ---> c3c1336f5306 [2022-04-01T00:16:14.976Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:16:15.238Z] ---> Running in df8328db21e2 [2022-04-01T00:16:15.238Z] Removing intermediate container df8328db21e2 [2022-04-01T00:16:15.238Z] ---> 2b4c4aacc9fd [2022-04-01T00:16:15.238Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:16:15.238Z] ---> Running in 8acb0bbc61d8 [2022-04-01T00:16:15.499Z] Removing intermediate container 8acb0bbc61d8 [2022-04-01T00:16:15.499Z] ---> 0ebf14c3b0ea [2022-04-01T00:16:15.499Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:16:15.499Z] ---> Running in 5962bd4be08f [2022-04-01T00:16:16.087Z] Removing intermediate container 5962bd4be08f [2022-04-01T00:16:16.087Z] ---> e2901fbc88b7 [2022-04-01T00:16:16.087Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:16:16.087Z] ---> Running in 70f159c600c6 [2022-04-01T00:16:16.349Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:16:17.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:16:17.570Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T00:16:17.832Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T00:16:17.832Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T00:16:17.832Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T00:16:18.111Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T00:16:18.111Z] OK: 224 MiB in 56 packages [2022-04-01T00:16:18.371Z] Removing intermediate container 70f159c600c6 [2022-04-01T00:16:18.371Z] ---> 2e3b9aa32d96 [2022-04-01T00:16:18.371Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-01T00:16:18.371Z] ---> Running in 74390adf4891 [2022-04-01T00:16:18.636Z] Removing intermediate container 74390adf4891 [2022-04-01T00:16:18.636Z] ---> 273215924eb5 [2022-04-01T00:16:18.636Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-01T00:16:18.636Z] ---> 020e8c9c8ab7 [2022-04-01T00:16:18.636Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:16:18.636Z] ---> Running in caaf9ed091a7 [2022-04-01T00:16:18.974Z] Still waiting to schedule task [2022-04-01T00:16:18.974Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-01T00:16:45.280Z] Removing intermediate container caaf9ed091a7 [2022-04-01T00:16:45.281Z] ---> a2ca50e7aba5 [2022-04-01T00:16:45.281Z] Step 11/12 : COPY . . [2022-04-01T00:16:45.544Z] ---> 528c37904785 [2022-04-01T00:16:45.544Z] Step 12/12 : RUN $MAKE [2022-04-01T00:16:45.544Z] ---> Running in ce0d8c3a9c81 [2022-04-01T00:16:45.806Z] noop [2022-04-01T00:16:46.067Z] Removing intermediate container ce0d8c3a9c81 [2022-04-01T00:16:46.067Z] ---> f75dd588369f [2022-04-01T00:16:46.067Z] Successfully built f75dd588369f [2022-04-01T00:16:46.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:16:46.367Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T00:16:46.367Z] . [Pipeline] withDockerContainer [2022-04-01T00:16:46.446Z] prd-ubuntu20.04-docker-8c-8g-10355 does not seem to be running inside a container [2022-04-01T00:16:46.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T00:16:46.910Z] $ docker top 339229a49ac5c3e6c8f6652eae18fee5fda71f6de351dffba3e30153865998be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T00:16:47.270Z] + go version [2022-04-01T00:16:47.270Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-01T00:16:47.293Z] $ docker stop --time=1 339229a49ac5c3e6c8f6652eae18fee5fda71f6de351dffba3e30153865998be [2022-04-01T00:16:48.590Z] $ docker rm -f 339229a49ac5c3e6c8f6652eae18fee5fda71f6de351dffba3e30153865998be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:16:49.013Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T00:16:49.013Z] . [Pipeline] withDockerContainer [2022-04-01T00:16:49.091Z] prd-ubuntu20.04-docker-8c-8g-10355 does not seem to be running inside a container [2022-04-01T00:16:49.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T00:16:49.555Z] $ docker top 529f21c211cfc5bd84086d35c22b95b5f38ee70172dd89fb5febeff86d044cc1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T00:16:49.926Z] + make test [2022-04-01T00:16:49.926Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-01T00:16:50.186Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-01T00:16:58.412Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-01T00:16:58.412Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-04-01T00:17:03.696Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T00:17:07.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T00:17:07.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T00:17:07.903Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T00:17:07.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T00:17:07.947Z] $ docker stop --time=1 529f21c211cfc5bd84086d35c22b95b5f38ee70172dd89fb5febeff86d044cc1 [2022-04-01T00:17:09.739Z] $ docker rm -f 529f21c211cfc5bd84086d35c22b95b5f38ee70172dd89fb5febeff86d044cc1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T00:17:10.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T00:17:10.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-01T00:17:11.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T00:17:11.533Z] + ls -al . [2022-04-01T00:17:11.533Z] total 184 [2022-04-01T00:17:11.533Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 00:17 . [2022-04-01T00:17:11.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:15 .. [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 1 00:15 .dockerignore [2022-04-01T00:17:11.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:15 .git [2022-04-01T00:17:11.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:15 .github [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 00:15 .gitignore [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 00:15 .golangci.yml [2022-04-01T00:17:11.533Z] drwx------ 3 jenkins jenkins 4096 Apr 1 00:16 .semver [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 1 00:15 Attribution.txt [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 1 00:15 CHANGELOG.md [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 1 00:15 Dockerfile [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:15 GOVERNANCE.md [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 1 00:15 Jenkinsfile [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:15 LICENSE [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 1 00:15 Makefile [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 00:15 OWNERS.md [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 1 00:15 README.md [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:16 VERSION [2022-04-01T00:17:11.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:15 bin [2022-04-01T00:17:11.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:15 cmd [2022-04-01T00:17:11.533Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 1 00:16 coverage.out [2022-04-01T00:17:11.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:15 driver [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 1 00:15 go.mod [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 00:15 go.sum [2022-04-01T00:17:11.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:15 snap [2022-04-01T00:17:11.533Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 1 00:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:17:11.835Z] + 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=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 --label arch=amd64 --label version=0.0.0 . [2022-04-01T00:17:11.835Z] Sending build context to Docker daemon 10.56MB [2022-04-01T00:17:11.835Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:17:11.835Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-01T00:17:11.835Z] ---> f75dd588369f [2022-04-01T00:17:11.835Z] Step 3/25 : ARG MAKE='make build' [2022-04-01T00:17:12.097Z] ---> Running in ee88c5995d00 [2022-04-01T00:17:12.097Z] Removing intermediate container ee88c5995d00 [2022-04-01T00:17:12.097Z] ---> f62e955ded2e [2022-04-01T00:17:12.097Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:17:12.097Z] ---> Running in 3bdf9e2ec9e4 [2022-04-01T00:17:12.360Z] Removing intermediate container 3bdf9e2ec9e4 [2022-04-01T00:17:12.360Z] ---> ad2b66b17256 [2022-04-01T00:17:12.360Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:17:12.360Z] ---> Running in 7808dd30f76e [2022-04-01T00:17:12.360Z] Removing intermediate container 7808dd30f76e [2022-04-01T00:17:12.360Z] ---> ee81b504a843 [2022-04-01T00:17:12.360Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:17:12.622Z] ---> Running in 440d1b428f19 [2022-04-01T00:17:13.194Z] Removing intermediate container 440d1b428f19 [2022-04-01T00:17:13.194Z] ---> 3ae176dbd944 [2022-04-01T00:17:13.194Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:17:13.194Z] ---> Running in 605f8ba83460 [2022-04-01T00:17:13.454Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:17:14.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:17:14.668Z] OK: 224 MiB in 56 packages [2022-04-01T00:17:14.930Z] Removing intermediate container 605f8ba83460 [2022-04-01T00:17:14.930Z] ---> 99ce032b401d [2022-04-01T00:17:14.930Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-01T00:17:14.930Z] ---> Running in 7e04153d3f13 [2022-04-01T00:17:15.199Z] Removing intermediate container 7e04153d3f13 [2022-04-01T00:17:15.199Z] ---> 6342a3c84555 [2022-04-01T00:17:15.199Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-01T00:17:15.199Z] ---> 1fe57acf41f7 [2022-04-01T00:17:15.199Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:17:15.461Z] ---> Running in 581ae7ebf3f0 [2022-04-01T00:17:16.037Z] Removing intermediate container 581ae7ebf3f0 [2022-04-01T00:17:16.037Z] ---> 3d5cc4471b0f [2022-04-01T00:17:16.037Z] Step 11/25 : COPY . . [2022-04-01T00:17:16.299Z] ---> e3059e4643bb [2022-04-01T00:17:16.299Z] Step 12/25 : RUN $MAKE [2022-04-01T00:17:16.564Z] ---> Running in 4fca9dfe5cb7 [2022-04-01T00:17:16.824Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-04-01T00:17:24.953Z] Removing intermediate container 4fca9dfe5cb7 [2022-04-01T00:17:24.953Z] ---> 1f38cf04f46a [2022-04-01T00:17:24.953Z] Step 13/25 : FROM alpine:3.14 [2022-04-01T00:17:25.216Z] 3.14: Pulling from library/alpine [2022-04-01T00:17:25.478Z] cfab2db72209: Pulling fs layer [2022-04-01T00:17:25.741Z] cfab2db72209: Verifying Checksum [2022-04-01T00:17:25.741Z] cfab2db72209: Download complete [2022-04-01T00:17:25.741Z] cfab2db72209: Pull complete [2022-04-01T00:17:25.741Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T00:17:25.741Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T00:17:25.741Z] ---> 84b07dd2d1fd [2022-04-01T00:17:25.741Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-01T00:17:26.001Z] ---> Running in e0fda0b9199e [2022-04-01T00:17:26.001Z] Removing intermediate container e0fda0b9199e [2022-04-01T00:17:26.001Z] ---> f7b40e01bf88 [2022-04-01T00:17:26.001Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-01T00:17:26.001Z] ---> Running in d59b89ed0e28 [2022-04-01T00:17:26.262Z] Removing intermediate container d59b89ed0e28 [2022-04-01T00:17:26.262Z] ---> dbb8bf8fa055 [2022-04-01T00:17:26.262Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T00:17:26.262Z] ---> Running in c69bc939e969 [2022-04-01T00:17:26.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:17:26.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:17:26.782Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T00:17:26.782Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T00:17:26.782Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T00:17:26.782Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T00:17:26.782Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T00:17:26.782Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T00:17:26.782Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T00:17:26.782Z] OK: 8 MiB in 20 packages [2022-04-01T00:17:27.353Z] Removing intermediate container c69bc939e969 [2022-04-01T00:17:27.353Z] ---> d91f33ee5709 [2022-04-01T00:17:27.353Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-01T00:17:27.613Z] ---> 0d0a58cc3132 [2022-04-01T00:17:27.613Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-01T00:17:27.874Z] ---> 7c8401a24dab [2022-04-01T00:17:27.874Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-01T00:17:28.134Z] ---> 7afdf9af6782 [2022-04-01T00:17:28.134Z] Step 20/25 : EXPOSE 59986 [2022-04-01T00:17:28.134Z] ---> Running in df8946fa8959 [2022-04-01T00:17:28.134Z] Removing intermediate container df8946fa8959 [2022-04-01T00:17:28.134Z] ---> 9afc727491f3 [2022-04-01T00:17:28.134Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-01T00:17:28.403Z] ---> Running in 802f54abd94a [2022-04-01T00:17:28.403Z] Removing intermediate container 802f54abd94a [2022-04-01T00:17:28.403Z] ---> 8c98b83a662e [2022-04-01T00:17:28.403Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-01T00:17:28.403Z] ---> Running in 312a6f13c275 [2022-04-01T00:17:28.403Z] Removing intermediate container 312a6f13c275 [2022-04-01T00:17:28.403Z] ---> 660b37a7720e [2022-04-01T00:17:28.403Z] Step 23/25 : LABEL arch=amd64 [2022-04-01T00:17:28.665Z] ---> Running in 49aa37b866fd [2022-04-01T00:17:28.665Z] Removing intermediate container 49aa37b866fd [2022-04-01T00:17:28.665Z] ---> 3e2e4dd73d2a [2022-04-01T00:17:28.665Z] Step 24/25 : LABEL git_sha=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [2022-04-01T00:17:28.665Z] ---> Running in ab18f72f0c5e [2022-04-01T00:17:28.665Z] Removing intermediate container ab18f72f0c5e [2022-04-01T00:17:28.665Z] ---> 55c76dd4c725 [2022-04-01T00:17:28.665Z] Step 25/25 : LABEL version=0.0.0 [2022-04-01T00:17:28.926Z] ---> Running in 57a3536a99b5 [2022-04-01T00:17:28.927Z] Removing intermediate container 57a3536a99b5 [2022-04-01T00:17:28.927Z] ---> 612ec62158b8 [2022-04-01T00:17:28.927Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T00:17:28.927Z] Successfully built 612ec62158b8 [2022-04-01T00:17:28.927Z] Successfully tagged device-rest:latest [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] sh [2022-04-01T00:17:29.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:17:29.364Z] [2022-04-01T00:17:29.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:17:29.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:17:29.681Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-01T00:17:29.681Z] 5eb5b503b376: Pulling fs layer [2022-04-01T00:17:29.681Z] 5c69ac0246d0: Pulling fs layer [2022-04-01T00:17:29.681Z] ec43610c2a17: Pulling fs layer [2022-04-01T00:17:29.681Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-01T00:17:29.681Z] 33b1e0a273af: Pulling fs layer [2022-04-01T00:17:29.681Z] 5d3b04190fa2: Pulling fs layer [2022-04-01T00:17:29.681Z] 2f39f015ded8: Pulling fs layer [2022-04-01T00:17:29.681Z] 3a2ae6a8a46f: Waiting [2022-04-01T00:17:29.681Z] 33b1e0a273af: Waiting [2022-04-01T00:17:29.681Z] 5d3b04190fa2: Waiting [2022-04-01T00:17:29.681Z] 2f39f015ded8: Waiting [2022-04-01T00:17:29.681Z] 5c69ac0246d0: Download complete [2022-04-01T00:17:29.681Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-01T00:17:29.681Z] 3a2ae6a8a46f: Download complete [2022-04-01T00:17:29.681Z] 33b1e0a273af: Verifying Checksum [2022-04-01T00:17:29.681Z] 33b1e0a273af: Download complete [2022-04-01T00:17:29.681Z] ec43610c2a17: Verifying Checksum [2022-04-01T00:17:29.681Z] ec43610c2a17: Download complete [2022-04-01T00:17:29.681Z] 5d3b04190fa2: Verifying Checksum [2022-04-01T00:17:29.681Z] 5d3b04190fa2: Download complete [2022-04-01T00:17:29.943Z] 5eb5b503b376: Verifying Checksum [2022-04-01T00:17:29.943Z] 5eb5b503b376: Download complete [2022-04-01T00:17:30.515Z] 2f39f015ded8: Verifying Checksum [2022-04-01T00:17:31.454Z] 5eb5b503b376: Pull complete [2022-04-01T00:17:31.454Z] 5c69ac0246d0: Pull complete [2022-04-01T00:17:32.024Z] ec43610c2a17: Pull complete [2022-04-01T00:17:32.024Z] 3a2ae6a8a46f: Pull complete [2022-04-01T00:17:32.285Z] 33b1e0a273af: Pull complete [2022-04-01T00:17:32.285Z] 5d3b04190fa2: Pull complete [2022-04-01T00:17:37.568Z] 2f39f015ded8: Pull complete [2022-04-01T00:17:37.568Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-01T00:17:37.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:17:37.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-01T00:17:37.646Z] prd-ubuntu20.04-docker-8c-8g-10355 does not seem to be running inside a container [2022-04-01T00:17:37.690Z] $ 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-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T00:17:39.710Z] $ docker top 2eeddb0fb43052070d9f43e9688756f1f6eb7ad6acde2fa8530a7f3090d4da69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:17:40.148Z] ---> job-cost.sh [2022-04-01T00:17:40.148Z] lf-activate-venv: SKIPPING [2022-04-01T00:17:40.148Z] INFO: No Stack... [2022-04-01T00:17:40.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T00:17:40.983Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T00:17:41.280Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-166/archives/cost.csv [2022-04-01T00:17:41.280Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T00:17:41.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [2022-04-01T00:17:41.305Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] did not exist. Created. [2022-04-01T00:17:41.305Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T00:17:41.623Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-01T00:17:41.650Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T00:17:41.656Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T00:17:41.683Z] $ docker stop --time=1 2eeddb0fb43052070d9f43e9688756f1f6eb7ad6acde2fa8530a7f3090d4da69 [2022-04-01T00:17:42.866Z] $ docker rm -f 2eeddb0fb43052070d9f43e9688756f1f6eb7ad6acde2fa8530a7f3090d4da69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-01T00:17:59.325Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10356 in /w/workspace/gexfoundry_device-rest-go_PR-166 [Pipeline] { [Pipeline] ws [2022-04-01T00:17:59.338Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2022-04-01T00:17:59.665Z] The recommended git tool is: git [2022-04-01T00:18:07.063Z] using credential edgex-jenkins-ssh [2022-04-01T00:18:07.090Z] Cloning the remote Git repository [2022-04-01T00:18:07.201Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-01T00:18:07.299Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2022-04-01T00:18:07.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-01T00:18:07.551Z] > git --version # timeout=10 [2022-04-01T00:18:07.593Z] > git --version # 'git version 2.25.1' [2022-04-01T00:18:07.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:18:07.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T00:18:10.991Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [2022-04-01T00:18:10.135Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-01T00:18:10.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T00:18:10.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-01T00:18:10.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-01T00:18:10.341Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:18:10.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-01T00:18:11.016Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T00:18:11.037Z] > git checkout -f 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 # timeout=10 [2022-04-01T00:18:11.139Z] > git remote # timeout=10 [2022-04-01T00:18:11.167Z] > git config --get remote.origin.url # timeout=10 [2022-04-01T00:18:11.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:18:11.228Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-04-01T00:18:11.296Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-01T00:18:11.325Z] Merge succeeded, producing 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [2022-04-01T00:18:11.326Z] Checking out Revision 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 (PR-166) [2022-04-01T00:18:11.338Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T00:18:11.348Z] > git checkout -f 5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 # timeout=10 [2022-04-01T00:18:15.792Z] Commit message: "feat: per review, remove commented line" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T00:18:16.627Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-01T00:18:16.627Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T00:18:16.627Z] Dload Upload Total Spent Left Speed [2022-04-01T00:18:16.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45903 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh [2022-04-01T00:18:17.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-01T00:18:17.533Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-01T00:18:17.533Z] + sudo tee /etc/docker/daemon.new [2022-04-01T00:18:17.533Z] { [2022-04-01T00:18:17.533Z] "registry-mirrors": [ [2022-04-01T00:18:17.533Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-01T00:18:17.533Z] ], [2022-04-01T00:18:17.533Z] "bip": "10.250.0.254/24", [2022-04-01T00:18:17.533Z] "hosts": [ [2022-04-01T00:18:17.533Z] "tcp://0.0.0.0:5555", [2022-04-01T00:18:17.533Z] "unix:///var/run/docker.sock" [2022-04-01T00:18:17.533Z] ], [2022-04-01T00:18:17.533Z] "mtu": 1458, [2022-04-01T00:18:17.533Z] "selinux-enabled": true, [2022-04-01T00:18:17.533Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-01T00:18:17.533Z] } [Pipeline] sh [2022-04-01T00:18:17.884Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-01T00:18:18.227Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T00:18:36.575Z] provisioning config files... [2022-04-01T00:18:36.598Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config5731891378262420134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:18:37.034Z] ---> docker-login.sh [2022-04-01T00:18:37.034Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:18:37.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:18:37.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:18:37.910Z] Configure a credential helper to remove this warning. See [2022-04-01T00:18:37.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:18:37.910Z] [2022-04-01T00:18:37.910Z] Login Succeeded [2022-04-01T00:18:37.910Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:18:38.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:18:38.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:18:38.182Z] Configure a credential helper to remove this warning. See [2022-04-01T00:18:38.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:18:38.182Z] [2022-04-01T00:18:38.182Z] Login Succeeded [2022-04-01T00:18:38.182Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:18:38.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:18:38.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:18:38.778Z] Configure a credential helper to remove this warning. See [2022-04-01T00:18:38.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:18:38.778Z] [2022-04-01T00:18:38.778Z] Login Succeeded [2022-04-01T00:18:38.778Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:18:39.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:18:39.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:18:39.057Z] Configure a credential helper to remove this warning. See [2022-04-01T00:18:39.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:18:39.057Z] [2022-04-01T00:18:39.057Z] Login Succeeded [2022-04-01T00:18:39.057Z] docker.io [2022-04-01T00:18:39.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:18:39.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:18:39.921Z] Configure a credential helper to remove this warning. See [2022-04-01T00:18:39.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:18:39.921Z] [2022-04-01T00:18:39.921Z] Login Succeeded [2022-04-01T00:18:39.921Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:18:39.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T00:18:40.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T00:18:40.355Z] ========================================================= [2022-04-01T00:18:40.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-01T00:18:40.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:18:40.734Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T00:18:40.734Z] Sending build context to Docker daemon 126kB [2022-04-01T00:18:41.020Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:18:41.020Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T00:18:41.020Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-01T00:18:41.020Z] 9b3977197b4f: Pulling fs layer [2022-04-01T00:18:41.020Z] 1a89e8eeedd5: Pulling fs layer [2022-04-01T00:18:41.020Z] 94645a83ff95: Pulling fs layer [2022-04-01T00:18:41.020Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-01T00:18:41.020Z] 0c92f367c5e7: Pulling fs layer [2022-04-01T00:18:41.020Z] f7c0051592d6: Pulling fs layer [2022-04-01T00:18:41.297Z] a227ed2f7395: Pulling fs layer [2022-04-01T00:18:41.297Z] 7b1c46037f91: Pulling fs layer [2022-04-01T00:18:41.297Z] f7c0051592d6: Waiting [2022-04-01T00:18:41.297Z] a227ed2f7395: Waiting [2022-04-01T00:18:41.297Z] 3f3a8bcf1eab: Waiting [2022-04-01T00:18:41.297Z] 7b1c46037f91: Waiting [2022-04-01T00:18:41.297Z] 0c92f367c5e7: Waiting [2022-04-01T00:18:41.297Z] 94645a83ff95: Verifying Checksum [2022-04-01T00:18:41.297Z] 94645a83ff95: Download complete [2022-04-01T00:18:41.297Z] 1a89e8eeedd5: Download complete [2022-04-01T00:18:41.297Z] 0c92f367c5e7: Verifying Checksum [2022-04-01T00:18:41.297Z] 0c92f367c5e7: Download complete [2022-04-01T00:18:41.297Z] f7c0051592d6: Verifying Checksum [2022-04-01T00:18:41.297Z] f7c0051592d6: Download complete [2022-04-01T00:18:41.297Z] 9b3977197b4f: Download complete [2022-04-01T00:18:41.297Z] a227ed2f7395: Verifying Checksum [2022-04-01T00:18:41.297Z] a227ed2f7395: Download complete [2022-04-01T00:18:41.901Z] 9b3977197b4f: Pull complete [2022-04-01T00:18:42.505Z] 1a89e8eeedd5: Pull complete [2022-04-01T00:18:42.781Z] 94645a83ff95: Pull complete [2022-04-01T00:18:43.058Z] 7b1c46037f91: Verifying Checksum [2022-04-01T00:18:43.058Z] 7b1c46037f91: Download complete [2022-04-01T00:18:43.656Z] 3f3a8bcf1eab: Download complete [2022-04-01T00:18:56.074Z] 3f3a8bcf1eab: Pull complete [2022-04-01T00:18:56.074Z] 0c92f367c5e7: Pull complete [2022-04-01T00:18:56.349Z] f7c0051592d6: Pull complete [2022-04-01T00:18:56.349Z] a227ed2f7395: Pull complete [2022-04-01T00:19:03.078Z] 7b1c46037f91: Pull complete [2022-04-01T00:19:03.078Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-01T00:19:03.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-01T00:19:03.078Z] ---> f79e39bc4007 [2022-04-01T00:19:03.078Z] Step 3/12 : ARG MAKE='make build' [2022-04-01T00:19:03.359Z] ---> Running in 3f99baa3e6be [2022-04-01T00:19:03.642Z] Removing intermediate container 3f99baa3e6be [2022-04-01T00:19:03.642Z] ---> 664bad642c40 [2022-04-01T00:19:03.642Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:19:03.917Z] ---> Running in 27bcc742cdd4 [2022-04-01T00:19:04.194Z] Removing intermediate container 27bcc742cdd4 [2022-04-01T00:19:04.194Z] ---> 28fdc074e37e [2022-04-01T00:19:04.194Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:19:04.194Z] ---> Running in 41458a087125 [2022-04-01T00:19:04.467Z] Removing intermediate container 41458a087125 [2022-04-01T00:19:04.467Z] ---> d6838a67c8a4 [2022-04-01T00:19:04.467Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:19:04.467Z] ---> Running in e2cce12ca34c [2022-04-01T00:19:06.450Z] Removing intermediate container e2cce12ca34c [2022-04-01T00:19:06.450Z] ---> cf3ea9062de8 [2022-04-01T00:19:06.450Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:19:06.450Z] ---> Running in 016805838c9a [2022-04-01T00:19:07.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T00:19:08.037Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T00:19:09.020Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T00:19:09.020Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T00:19:09.020Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T00:19:09.296Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T00:19:09.296Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T00:19:09.296Z] OK: 224 MiB in 56 packages [2022-04-01T00:19:10.284Z] Removing intermediate container 016805838c9a [2022-04-01T00:19:10.284Z] ---> 4ced4bf43e90 [2022-04-01T00:19:10.284Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-01T00:19:10.284Z] ---> Running in fb1e3d38ab22 [2022-04-01T00:19:10.564Z] Removing intermediate container fb1e3d38ab22 [2022-04-01T00:19:10.564Z] ---> caf817f43a77 [2022-04-01T00:19:10.564Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-01T00:19:11.161Z] ---> ca0acbed6f3e [2022-04-01T00:19:11.161Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:19:11.161Z] ---> Running in 542fbc187d9f [2022-04-01T00:20:33.004Z] Removing intermediate container 542fbc187d9f [2022-04-01T00:20:33.004Z] ---> 94ead46c4a8f [2022-04-01T00:20:33.004Z] Step 11/12 : COPY . . [2022-04-01T00:20:33.004Z] ---> 9b781ca58864 [2022-04-01T00:20:33.004Z] Step 12/12 : RUN $MAKE [2022-04-01T00:20:33.004Z] ---> Running in 42ea3207b6ef [2022-04-01T00:20:33.004Z] noop [2022-04-01T00:20:33.004Z] Removing intermediate container 42ea3207b6ef [2022-04-01T00:20:33.004Z] ---> e774af33796a [2022-04-01T00:20:33.004Z] Successfully built e774af33796a [2022-04-01T00:20:33.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:20:33.355Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T00:20:33.355Z] . [Pipeline] withDockerContainer [2022-04-01T00:20:33.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-10356 does not seem to be running inside a container [2022-04-01T00:20:33.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T00:20:35.000Z] $ docker top fb2fb60430e9d2d0fcf40976351230f40d902ff798954f65a2a78677d34aa7b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T00:20:35.936Z] + go version [2022-04-01T00:20:35.936Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-01T00:20:35.970Z] $ docker stop --time=1 fb2fb60430e9d2d0fcf40976351230f40d902ff798954f65a2a78677d34aa7b1 [2022-04-01T00:20:37.591Z] $ docker rm -f fb2fb60430e9d2d0fcf40976351230f40d902ff798954f65a2a78677d34aa7b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:20:38.184Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T00:20:38.184Z] . [Pipeline] withDockerContainer [2022-04-01T00:20:38.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-10356 does not seem to be running inside a container [2022-04-01T00:20:38.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T00:20:39.773Z] $ docker top 6134c80c5823ce760a8676aefb922d47a6069f77aeaf372af60fd995a8357cd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T00:20:40.667Z] + make test [2022-04-01T00:20:40.667Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-01T00:20:42.128Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-01T00:21:29.211Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-01T00:21:31.203Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2022-04-01T00:21:31.203Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-01T00:21:31.203Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T00:21:49.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T00:21:49.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T00:21:49.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T00:21:51.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T00:21:51.569Z] $ docker stop --time=1 6134c80c5823ce760a8676aefb922d47a6069f77aeaf372af60fd995a8357cd5 [2022-04-01T00:21:53.337Z] $ docker rm -f 6134c80c5823ce760a8676aefb922d47a6069f77aeaf372af60fd995a8357cd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T00:21:54.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T00:21:54.179Z] Warning: overwriting stash ‘coverage-report’ [2022-04-01T00:21:54.662Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T00:21:55.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T00:21:55.403Z] + ls -al . [2022-04-01T00:21:55.403Z] total 180 [2022-04-01T00:21:55.403Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:21 . [2022-04-01T00:21:55.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:18 .. [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 1 00:18 .dockerignore [2022-04-01T00:21:55.403Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:18 .git [2022-04-01T00:21:55.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:18 .github [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 00:18 .gitignore [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 00:18 .golangci.yml [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 1 00:18 Attribution.txt [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 1 00:18 CHANGELOG.md [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 1 00:18 Dockerfile [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:18 GOVERNANCE.md [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 1 00:18 Jenkinsfile [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:18 LICENSE [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 1 00:18 Makefile [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 00:18 OWNERS.md [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 1 00:18 README.md [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:16 VERSION [2022-04-01T00:21:55.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:18 bin [2022-04-01T00:21:55.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:18 cmd [2022-04-01T00:21:55.403Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 1 00:21 coverage.out [2022-04-01T00:21:55.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:18 driver [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 1 00:18 go.mod [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 00:18 go.sum [2022-04-01T00:21:55.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:18 snap [2022-04-01T00:21:55.403Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 1 00:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:21:55.749Z] + 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=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 --label arch=arm64 --label version=0.0.0 . [2022-04-01T00:21:55.749Z] Sending build context to Docker daemon 136.2kB [2022-04-01T00:21:56.025Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:21:56.025Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-01T00:21:56.025Z] ---> e774af33796a [2022-04-01T00:21:56.025Z] Step 3/25 : ARG MAKE='make build' [2022-04-01T00:21:56.026Z] ---> Running in cbfe4336e270 [2022-04-01T00:21:56.638Z] Removing intermediate container cbfe4336e270 [2022-04-01T00:21:56.638Z] ---> df5adc78412e [2022-04-01T00:21:56.638Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:21:56.638Z] ---> Running in 96e69e242ad3 [2022-04-01T00:21:56.914Z] Removing intermediate container 96e69e242ad3 [2022-04-01T00:21:56.914Z] ---> 882303f5cecd [2022-04-01T00:21:56.914Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:21:56.914Z] ---> Running in 2d036480abbf [2022-04-01T00:21:57.193Z] Removing intermediate container 2d036480abbf [2022-04-01T00:21:57.193Z] ---> 5125a70e62c0 [2022-04-01T00:21:57.193Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:21:57.466Z] ---> Running in cc80ef0c9dd0 [2022-04-01T00:21:58.909Z] Removing intermediate container cc80ef0c9dd0 [2022-04-01T00:21:58.909Z] ---> 5d8ebaac3223 [2022-04-01T00:21:58.909Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:21:59.182Z] ---> Running in a665676ac925 [2022-04-01T00:22:00.174Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T00:22:01.155Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T00:22:02.140Z] OK: 224 MiB in 56 packages [2022-04-01T00:22:02.742Z] Removing intermediate container a665676ac925 [2022-04-01T00:22:02.742Z] ---> 2c487c6ec062 [2022-04-01T00:22:02.742Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-01T00:22:02.742Z] ---> Running in 9c4edb068f4e [2022-04-01T00:22:03.018Z] Removing intermediate container 9c4edb068f4e [2022-04-01T00:22:03.018Z] ---> 081c20612ec7 [2022-04-01T00:22:03.018Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-01T00:22:03.623Z] ---> 861d14808875 [2022-04-01T00:22:03.623Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:22:03.623Z] ---> Running in 5f4864bbd467 [2022-04-01T00:22:06.313Z] Removing intermediate container 5f4864bbd467 [2022-04-01T00:22:06.313Z] ---> d7d94d83d221 [2022-04-01T00:22:06.313Z] Step 11/25 : COPY . . [2022-04-01T00:22:06.919Z] ---> 402fe31a05c7 [2022-04-01T00:22:06.919Z] Step 12/25 : RUN $MAKE [2022-04-01T00:22:06.919Z] ---> Running in baaea9ea756a [2022-04-01T00:22:07.903Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-04-01T00:22:54.910Z] Removing intermediate container baaea9ea756a [2022-04-01T00:22:54.910Z] ---> 20096159df66 [2022-04-01T00:22:54.910Z] Step 13/25 : FROM alpine:3.14 [2022-04-01T00:22:54.910Z] 3.14: Pulling from library/alpine [2022-04-01T00:22:54.910Z] 810d54c7e01b: Pulling fs layer [2022-04-01T00:22:54.910Z] 810d54c7e01b: Download complete [2022-04-01T00:22:54.910Z] 810d54c7e01b: Pull complete [2022-04-01T00:22:54.910Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T00:22:54.910Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T00:22:54.910Z] ---> cc3d11fa2d52 [2022-04-01T00:22:54.910Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-01T00:22:54.910Z] ---> Running in a99856bb93ee [2022-04-01T00:22:54.910Z] Removing intermediate container a99856bb93ee [2022-04-01T00:22:54.910Z] ---> 434190187d4a [2022-04-01T00:22:54.910Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-01T00:22:54.910Z] ---> Running in 359d91560551 [2022-04-01T00:22:54.910Z] Removing intermediate container 359d91560551 [2022-04-01T00:22:54.910Z] ---> 191810d6ba8c [2022-04-01T00:22:54.910Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T00:22:54.910Z] ---> Running in 862abf523c40 [2022-04-01T00:22:54.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-01T00:22:54.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-01T00:22:54.910Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T00:22:54.910Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T00:22:54.910Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T00:22:54.910Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T00:22:54.910Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T00:22:54.910Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T00:22:54.910Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T00:22:54.910Z] OK: 8 MiB in 20 packages [2022-04-01T00:22:54.910Z] Removing intermediate container 862abf523c40 [2022-04-01T00:22:54.910Z] ---> 2a6a2a4e0c49 [2022-04-01T00:22:54.910Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-01T00:22:55.889Z] ---> fa417a43dd70 [2022-04-01T00:22:55.889Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-01T00:22:56.493Z] ---> 5d859e213444 [2022-04-01T00:22:56.493Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-01T00:22:56.768Z] ---> 8fb8d957e1bb [2022-04-01T00:22:56.768Z] Step 20/25 : EXPOSE 59986 [2022-04-01T00:22:57.043Z] ---> Running in aae4051e6d9d [2022-04-01T00:22:57.316Z] Removing intermediate container aae4051e6d9d [2022-04-01T00:22:57.316Z] ---> 63c0964ee570 [2022-04-01T00:22:57.316Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-01T00:22:57.593Z] ---> Running in 2878e27f5250 [2022-04-01T00:22:57.882Z] Removing intermediate container 2878e27f5250 [2022-04-01T00:22:57.882Z] ---> c44235d1167f [2022-04-01T00:22:57.882Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-01T00:22:58.156Z] ---> Running in 03b679814d9e [2022-04-01T00:22:58.429Z] Removing intermediate container 03b679814d9e [2022-04-01T00:22:58.429Z] ---> d978d4b36787 [2022-04-01T00:22:58.429Z] Step 23/25 : LABEL arch=arm64 [2022-04-01T00:22:58.429Z] ---> Running in 4dc02a312cd6 [2022-04-01T00:22:59.029Z] Removing intermediate container 4dc02a312cd6 [2022-04-01T00:22:59.029Z] ---> d9064c2097a5 [2022-04-01T00:22:59.029Z] Step 24/25 : LABEL git_sha=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [2022-04-01T00:22:59.029Z] ---> Running in 8593f56b5dc9 [2022-04-01T00:22:59.304Z] Removing intermediate container 8593f56b5dc9 [2022-04-01T00:22:59.304Z] ---> c1ece5c05c3d [2022-04-01T00:22:59.304Z] Step 25/25 : LABEL version=0.0.0 [2022-04-01T00:22:59.304Z] ---> Running in ed3edbc14d6c [2022-04-01T00:22:59.578Z] Removing intermediate container ed3edbc14d6c [2022-04-01T00:22:59.578Z] ---> 156fff70f94e [2022-04-01T00:22:59.578Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T00:22:59.578Z] Successfully built 156fff70f94e [2022-04-01T00:22:59.578Z] Successfully tagged device-rest-arm64:latest [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] sh [2022-04-01T00:23:00.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T00:23:00.033Z] [2022-04-01T00:23:00.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:23:00.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T00:23:00.658Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-01T00:23:00.658Z] 8998bd30e6a1: Pulling fs layer [2022-04-01T00:23:00.658Z] 04944245beec: Pulling fs layer [2022-04-01T00:23:00.658Z] 699f458cf7ca: Pulling fs layer [2022-04-01T00:23:00.658Z] 765212b225bb: Pulling fs layer [2022-04-01T00:23:00.658Z] f23df028b6ca: Pulling fs layer [2022-04-01T00:23:00.658Z] d65c8cfc05b1: Pulling fs layer [2022-04-01T00:23:00.658Z] 2437ff75d9bd: Pulling fs layer [2022-04-01T00:23:00.658Z] 2437ff75d9bd: Waiting [2022-04-01T00:23:00.658Z] d65c8cfc05b1: Waiting [2022-04-01T00:23:00.658Z] 765212b225bb: Waiting [2022-04-01T00:23:00.658Z] f23df028b6ca: Waiting [2022-04-01T00:23:00.658Z] 04944245beec: Download complete [2022-04-01T00:23:00.658Z] 765212b225bb: Verifying Checksum [2022-04-01T00:23:00.658Z] 765212b225bb: Download complete [2022-04-01T00:23:00.658Z] f23df028b6ca: Verifying Checksum [2022-04-01T00:23:00.658Z] f23df028b6ca: Download complete [2022-04-01T00:23:00.658Z] d65c8cfc05b1: Verifying Checksum [2022-04-01T00:23:00.658Z] d65c8cfc05b1: Download complete [2022-04-01T00:23:00.938Z] 699f458cf7ca: Verifying Checksum [2022-04-01T00:23:00.938Z] 699f458cf7ca: Download complete [2022-04-01T00:23:01.219Z] 8998bd30e6a1: Verifying Checksum [2022-04-01T00:23:01.219Z] 8998bd30e6a1: Download complete [2022-04-01T00:23:03.861Z] 2437ff75d9bd: Verifying Checksum [2022-04-01T00:23:03.861Z] 2437ff75d9bd: Download complete [2022-04-01T00:23:05.849Z] 8998bd30e6a1: Pull complete [2022-04-01T00:23:06.127Z] 04944245beec: Pull complete [2022-04-01T00:23:07.567Z] 699f458cf7ca: Pull complete [2022-04-01T00:23:07.842Z] 765212b225bb: Pull complete [2022-04-01T00:23:08.822Z] f23df028b6ca: Pull complete [2022-04-01T00:23:09.099Z] d65c8cfc05b1: Pull complete [2022-04-01T00:23:24.192Z] 2437ff75d9bd: Pull complete [2022-04-01T00:23:24.192Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-01T00:23:24.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T00:23:24.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-01T00:23:24.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-10356 does not seem to be running inside a container [2022-04-01T00:23:24.530Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-01T00:23:27.252Z] $ docker top d20924b018cb72019ac4105c0048d871ce25f60970f0fd73c3ed4755f4e3c04a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:28.192Z] ---> job-cost.sh [2022-04-01T00:23:28.192Z] lf-activate-venv: SKIPPING [2022-04-01T00:23:28.192Z] INFO: No Stack... [2022-04-01T00:23:28.790Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-01T00:23:29.387Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T00:23:30.053Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2022-04-01T00:23:30.053Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T00:23:30.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [2022-04-01T00:23:30.132Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] did not exist. Created. [2022-04-01T00:23:30.132Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T00:23:30.814Z] /w/workspace/device-rest-go/4@tmp/durable-b26e982f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-01T00:23:31.504Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-01T00:23:31.527Z] Warning: overwriting stash ‘stack-cost’ [2022-04-01T00:23:31.571Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T00:23:31.578Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-166-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T00:23:31.612Z] $ docker stop --time=1 d20924b018cb72019ac4105c0048d871ce25f60970f0fd73c3ed4755f4e3c04a [2022-04-01T00:23:33.191Z] $ docker rm -f d20924b018cb72019ac4105c0048d871ce25f60970f0fd73c3ed4755f4e3c04a [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-04-01T00:23:33.722Z] provisioning config files... [2022-04-01T00:23:33.799Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config617476919841967878tmp [Pipeline] { [Pipeline] sh [2022-04-01T00:23:34.093Z] + set +x [2022-04-01T00:23:34.093Z] + curl -s https://codecov.io/bash [2022-04-01T00:23:34.093Z] + bash -s -- [2022-04-01T00:23:34.093Z] [2022-04-01T00:23:34.093Z] _____ _ [2022-04-01T00:23:34.093Z] / ____| | | [2022-04-01T00:23:34.093Z] | | ___ __| | ___ ___ _____ __ [2022-04-01T00:23:34.093Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-01T00:23:34.093Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-01T00:23:34.093Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-01T00:23:34.093Z] Bash-1.0.6 [2022-04-01T00:23:34.093Z] [2022-04-01T00:23:34.093Z] [2022-04-01T00:23:34.093Z] ==> git version 2.25.1 found [2022-04-01T00:23:34.093Z] ==> 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-04-01T00:23:34.093Z] Release-Date: 2020-01-08 [2022-04-01T00:23:34.093Z] 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-04-01T00:23:34.093Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-01T00:23:34.093Z] ==> Jenkins CI detected. [2022-04-01T00:23:34.093Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-166 [2022-04-01T00:23:34.093Z] project root: . [2022-04-01T00:23:34.093Z] --> token set from env [2022-04-01T00:23:34.093Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-01T00:23:34.093Z] ==> Running gcov in . (disable via -X gcov) [2022-04-01T00:23:34.093Z] ==> Python coveragepy not found [2022-04-01T00:23:34.093Z] ==> Searching for coverage reports in: [2022-04-01T00:23:34.093Z] + . [2022-04-01T00:23:34.093Z] -> Found 1 reports [2022-04-01T00:23:34.093Z] ==> Detecting git/mercurial file structure [2022-04-01T00:23:34.353Z] ==> Reading reports [2022-04-01T00:23:34.353Z] + ./coverage.out bytes=9355 [2022-04-01T00:23:34.353Z] ==> Appending adjustments [2022-04-01T00:23:34.353Z] https://docs.codecov.io/docs/fixing-reports [2022-04-01T00:23:34.353Z] + Found adjustments [2022-04-01T00:23:34.353Z] ==> Gzipping contents [2022-04-01T00:23:34.353Z] 4.0K /tmp/codecov.Djd3Lv.gz [2022-04-01T00:23:34.353Z] ==> Uploading reports [2022-04-01T00:23:34.353Z] url: https://codecov.io [2022-04-01T00:23:34.353Z] query: branch=PR-166&commit=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-166%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=166&job=&cmd_args= [2022-04-01T00:23:34.353Z] -> Pinging Codecov [2022-04-01T00:23:34.353Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-166&commit=5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-166%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=166&job=&cmd_args= [2022-04-01T00:23:34.613Z] -> Uploading to [2022-04-01T00:23:34.613Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-01/4E5D53B4F1F92C436F7061BF334D961C/5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3/8815b0a6-ad8b-4139-bc7d-cb0236842777.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T002334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=902ed513b894d507b7348f50d7e36c51206a5b9e1c5808d68640a3513a69acf4 [2022-04-01T00:23:34.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T00:23:34.613Z] Dload Upload Total Spent Left Speed [2022-04-01T00:23:34.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 6792 --:--:-- --:--:-- --:--:-- 6792 [2022-04-01T00:23:34.873Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5ecef4ab336b606bc5c74f88ee05ddca0a9d95e3 [Pipeline] } [2022-04-01T00:23:34.881Z] 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-04-01T00:23:35.546Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-166/archives ] [2022-04-01T00:23:35.546Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-04-01T00:23:35.546Z] total 16 [2022-04-01T00:23:35.546Z] drwxr-xr-x 3 root root 4096 Apr 1 00:17 . [2022-04-01T00:23:35.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 00:17 .. [2022-04-01T00:23:35.546Z] drwxr-xr-x 2 root root 4096 Apr 1 00:17 cost [2022-04-01T00:23:35.546Z] -rw-r--r-- 1 root root 85 Apr 1 00:17 cost.csv [2022-04-01T00:23:35.546Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-04-01T00:23:35.546Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-166/archives [2022-04-01T00:23:35.546Z] total 16 [2022-04-01T00:23:35.546Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 00:17 . [2022-04-01T00:23:35.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 00:17 .. [2022-04-01T00:23:35.546Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 00:17 cost [2022-04-01T00:23:35.546Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 1 00:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:35.842Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:36.709Z] ---> package-listing.sh [2022-04-01T00:23:36.709Z] ++ facter osfamily [2022-04-01T00:23:36.709Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-01T00:23:36.969Z] + OS_FAMILY=debian [2022-04-01T00:23:36.969Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-166 [2022-04-01T00:23:36.969Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-01T00:23:36.969Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-01T00:23:36.969Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-01T00:23:36.969Z] + PACKAGES=/tmp/packages_start.txt [2022-04-01T00:23:36.969Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' [2022-04-01T00:23:36.969Z] + PACKAGES=/tmp/packages_end.txt [2022-04-01T00:23:36.969Z] + case "${OS_FAMILY}" in [2022-04-01T00:23:36.970Z] + dpkg -l [2022-04-01T00:23:36.970Z] + grep '^ii' [2022-04-01T00:23:36.970Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-01T00:23:36.970Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-01T00:23:36.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-01T00:23:36.970Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-166 ']' [2022-04-01T00:23:36.970Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-166/archives/ [2022-04-01T00:23:36.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-166/archives/ [Pipeline] echo [2022-04-01T00:23:36.982Z] 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-01T00:23:37.264Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:23:37.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:23:37.824Z] . [Pipeline] withDockerContainer [2022-04-01T00:23:37.893Z] prd-ubuntu20.04-docker-8c-8g-10355 does not seem to be running inside a container [2022-04-01T00:23:37.938Z] $ 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-166/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-166 -v /w/workspace/gexfoundry_device-rest-go_PR-166:/w/workspace/gexfoundry_device-rest-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-166@tmp:/w/workspace/gexfoundry_device-rest-go_PR-166@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:latest cat [2022-04-01T00:23:38.209Z] $ docker top 2e9fde0c8e3820a00a63989ee74c78f8b281921e08321eb92c84410329b79190 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T00:23:38.556Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-01T00:23:38.847Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-01T00:23:39.144Z] + ls /var/log/sa-host [2022-04-01T00:23:39.144Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T00:23:39.371Z] provisioning config files... [2022-04-01T00:23:39.381Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-166@tmp/config8110108689772329567tmp [Pipeline] { [Pipeline] echo [2022-04-01T00:23:39.398Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:39.682Z] ---> create-netrc.sh [Pipeline] } [2022-04-01T00:23:39.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:40.051Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-01T00:23:40.060Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:40.345Z] ---> sudo-logs.sh [2022-04-01T00:23:40.345Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-01T00:23:40.378Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:40.662Z] ---> job-cost.sh [2022-04-01T00:23:40.662Z] lf-activate-venv: SKIPPING [2022-04-01T00:23:40.662Z] DEBUG: total: 0.2199999988079071 [2022-04-01T00:23:40.662Z] INFO: Retrieving Stack Cost... [2022-04-01T00:23:41.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T00:23:41.493Z] INFO: Archiving Costs [Pipeline] echo [2022-04-01T00:23:41.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:23:41.790Z] ---> logs-deploy.sh [2022-04-01T00:23:41.791Z] lf-activate-venv: SKIPPING [2022-04-01T00:23:41.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-166/4 [2022-04-01T00:23:41.791Z] INFO: archiving workspace using pattern(s): [2022-04-01T00:23:42.728Z] Archives upload complete. [2022-04-01T00:23:42.728Z] INFO: archiving logs to Nexus