Pull request #213 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 74fc3e8542c31808ca5ce87043c5bbc954559f8c+4a40192a1b6bb0369d057e4fca0f08fde1edf441 (55dca57fb2d2e330910ad7124f462ef9d7450b6d) 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-ssh6923686638715786454.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2974385270705370778.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15112348764276725147.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6231033982629096347.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16136084881482202544.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1405 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a40192a1b6bb0369d057e4fca0f08fde1edf441 into PR head commit 74fc3e8542c31808ca5ce87043c5bbc954559f8c Merge succeeded, producing 74fc3e8542c31808ca5ce87043c5bbc954559f8c Checking out Revision 74fc3e8542c31808ca5ce87043c5bbc954559f8c (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4a40192a1b6bb0369d057e4fca0f08fde1edf441 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T20:58:12.895Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T20:58:12.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T20:58:12.946Z] ========================================================= [2022-09-27T20:58:12.947Z] EdgeX Global Pipelines Version Info [2022-09-27T20:58:12.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:13.665Z] ------------------- [2022-09-27T20:58:13.665Z] stable info: [2022-09-27T20:58:13.665Z] ------------------- [2022-09-27T20:58:13.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T20:58:13.665Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:58:13.665Z] Message: update stable to v1.0.239 > git rev-list --no-walk cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 [2022-09-27T20:58:14.236Z] ------------------- [2022-09-27T20:58:14.236Z] experimental info: [2022-09-27T20:58:14.236Z] ------------------- [2022-09-27T20:58:14.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T20:58:14.236Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:58:14.236Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T20:58:14.379Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-09-27T20:58:14.388Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-09-27T20:58:14.406Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T20:58:14.418Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T20:58:14.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T20:58:14.442Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T20:58:14.452Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T20:58:14.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T20:58:14.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T20:58:14.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T20:58:14.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T20:58:14.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-09-27T20:58:14.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T20:58:14.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T20:58:14.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:58:14.579Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:58:14.590Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:58:14.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:58:14.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T20:58:14.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T20:58:14.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T20:58:14.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T20:58:14.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T20:58:14.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T20:58:14.697Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T20:58:14.713Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T20:58:14.729Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T20:58:14.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2022-09-27T20:58:14.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2022-09-27T20:58:14.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2022-09-27T20:58:14.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo [2022-09-27T20:58:14.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74fc3e8 [Pipeline] echo [2022-09-27T20:58:14.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:58:14.846Z] provisioning config files... [2022-09-27T20:58:14.858Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config6082230371038031405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:15.153Z] ---> docker-login.sh [2022-09-27T20:58:15.153Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:58:15.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:15.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:15.416Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:15.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:15.416Z] [2022-09-27T20:58:15.416Z] Login Succeeded [2022-09-27T20:58:15.416Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:58:15.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:15.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:15.416Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:15.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:15.416Z] [2022-09-27T20:58:15.416Z] Login Succeeded [2022-09-27T20:58:15.416Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:58:15.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:15.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:15.675Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:15.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:15.675Z] [2022-09-27T20:58:15.675Z] Login Succeeded [2022-09-27T20:58:15.675Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:58:15.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:15.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:15.675Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:15.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:15.675Z] [2022-09-27T20:58:15.675Z] Login Succeeded [2022-09-27T20:58:15.675Z] docker.io [2022-09-27T20:58:15.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:16.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:16.194Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:16.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:16.194Z] [2022-09-27T20:58:16.194Z] Login Succeeded [2022-09-27T20:58:16.194Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:58:16.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T20:58:16.567Z] + git rev-list -1 --merges 74fc3e8542c31808ca5ce87043c5bbc954559f8c~1..74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo [2022-09-27T20:58:16.596Z] -----------> git rev-list -1 --merges 74fc3e8542c31808ca5ce87043c5bbc954559f8c~1..74fc3e8542c31808ca5ce87043c5bbc954559f8c 74fc3e8542c31808ca5ce87043c5bbc954559f8c [false] [Pipeline] sh [2022-09-27T20:58:16.885Z] + git log --format=format:%s -1 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo [2022-09-27T20:58:16.901Z] ========================================================= [2022-09-27T20:58:16.901Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T20:58:16.901Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T20:58:17.226Z] + git log --format=format:%s -1 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo [2022-09-27T20:58:17.237Z] [semverPrep] GIT_COMMIT: 74fc3e8542c31808ca5ce87043c5bbc954559f8c, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-27T20:58:17.244Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T20:58:17.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T20:58:17.572Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T20:58:17.572Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T20:58:17.572Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T20:58:17.572Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T20:58:17.572Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T20:58:17.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:17.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:58:17.993Z] [2022-09-27T20:58:17.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:18.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:58:18.305Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T20:58:18.305Z] b85a868b505f: Pulling fs layer [2022-09-27T20:58:18.305Z] e2be974225ed: Pulling fs layer [2022-09-27T20:58:18.305Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T20:58:18.305Z] 988bab9f4d93: Pulling fs layer [2022-09-27T20:58:18.305Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T20:58:18.305Z] eaf3925da568: Pulling fs layer [2022-09-27T20:58:18.305Z] bab4dde63d76: Pulling fs layer [2022-09-27T20:58:18.305Z] bde34c3a00c8: Pulling fs layer [2022-09-27T20:58:18.305Z] b352a97aabf1: Pulling fs layer [2022-09-27T20:58:18.305Z] 4872d77fe225: Pulling fs layer [2022-09-27T20:58:18.305Z] 5851b861e8e6: Pulling fs layer [2022-09-27T20:58:18.305Z] 1469e6f7b9e6: Waiting [2022-09-27T20:58:18.305Z] bab4dde63d76: Waiting [2022-09-27T20:58:18.305Z] bde34c3a00c8: Waiting [2022-09-27T20:58:18.305Z] b352a97aabf1: Waiting [2022-09-27T20:58:18.305Z] 4872d77fe225: Waiting [2022-09-27T20:58:18.305Z] 5851b861e8e6: Waiting [2022-09-27T20:58:18.305Z] eaf3925da568: Waiting [2022-09-27T20:58:18.305Z] 988bab9f4d93: Waiting [2022-09-27T20:58:18.305Z] e2be974225ed: Download complete [2022-09-27T20:58:18.305Z] 988bab9f4d93: Verifying Checksum [2022-09-27T20:58:18.305Z] 988bab9f4d93: Download complete [2022-09-27T20:58:18.566Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T20:58:18.566Z] 1469e6f7b9e6: Download complete [2022-09-27T20:58:18.566Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T20:58:18.566Z] 339a4e72a1f5: Download complete [2022-09-27T20:58:18.566Z] eaf3925da568: Verifying Checksum [2022-09-27T20:58:18.566Z] eaf3925da568: Download complete [2022-09-27T20:58:18.566Z] bde34c3a00c8: Verifying Checksum [2022-09-27T20:58:18.566Z] bde34c3a00c8: Download complete [2022-09-27T20:58:18.566Z] b352a97aabf1: Download complete [2022-09-27T20:58:18.566Z] 4872d77fe225: Verifying Checksum [2022-09-27T20:58:18.566Z] 4872d77fe225: Download complete [2022-09-27T20:58:18.566Z] b85a868b505f: Verifying Checksum [2022-09-27T20:58:18.566Z] b85a868b505f: Download complete [2022-09-27T20:58:18.566Z] 5851b861e8e6: Verifying Checksum [2022-09-27T20:58:18.566Z] 5851b861e8e6: Download complete [2022-09-27T20:58:19.133Z] bab4dde63d76: Verifying Checksum [2022-09-27T20:58:19.133Z] bab4dde63d76: Download complete [2022-09-27T20:58:20.069Z] b85a868b505f: Pull complete [2022-09-27T20:58:20.069Z] e2be974225ed: Pull complete [2022-09-27T20:58:20.635Z] 339a4e72a1f5: Pull complete [2022-09-27T20:58:20.635Z] 988bab9f4d93: Pull complete [2022-09-27T20:58:20.895Z] 1469e6f7b9e6: Pull complete [2022-09-27T20:58:20.895Z] eaf3925da568: Pull complete [2022-09-27T20:58:22.800Z] bab4dde63d76: Pull complete [2022-09-27T20:58:22.800Z] bde34c3a00c8: Pull complete [2022-09-27T20:58:22.800Z] b352a97aabf1: Pull complete [2022-09-27T20:58:22.800Z] 4872d77fe225: Pull complete [2022-09-27T20:58:23.059Z] 5851b861e8e6: Pull complete [2022-09-27T20:58:23.059Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T20:58:23.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:58:23.059Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:58:23.149Z] prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container [2022-09-27T20:58:23.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T20:58:24.358Z] $ docker top 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 -eo pid,comm [2022-09-27T20:58:24.426Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T20:58:24.426Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T20:58:24.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:58:24.457Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:58:24.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:58:24.561Z] $ docker exec 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent [2022-09-27T20:58:24.672Z] SSH_AUTH_SOCK=/tmp/ssh-58dhYl9FJYme/agent.33 [2022-09-27T20:58:24.672Z] SSH_AGENT_PID=39 [2022-09-27T20:58:24.678Z] Running ssh-add (command line suppressed) [2022-09-27T20:58:24.766Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_12716701883048781976.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_12716701883048781976.key) [2022-09-27T20:58:24.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:58:25.076Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T20:58:25.075Z] $ docker exec --env ******** --env ******** 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent -k [2022-09-27T20:58:25.189Z] unset SSH_AUTH_SOCK; [2022-09-27T20:58:25.190Z] unset SSH_AGENT_PID; [2022-09-27T20:58:25.190Z] echo Agent pid 39 killed; [2022-09-27T20:58:25.212Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T20:58:25.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:58:25.237Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:58:25.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:58:25.343Z] $ docker exec 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent [2022-09-27T20:58:25.470Z] SSH_AUTH_SOCK=/tmp/ssh-ITCogkFRoQfF/agent.71 [2022-09-27T20:58:25.470Z] SSH_AGENT_PID=77 [2022-09-27T20:58:25.475Z] Running ssh-add (command line suppressed) [2022-09-27T20:58:25.573Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_11361155667291254720.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_11361155667291254720.key) [2022-09-27T20:58:25.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:58:25.884Z] + git semver init [2022-09-27T20:58:26.145Z] 2022-09-27 20:58:26,065 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T20:58:26.145Z] 2022-09-27 20:58:26,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-27T20:58:26.145Z] 2022-09-27 20:58:26,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver [2022-09-27T20:58:26.145Z] 2022-09-27 20:58:26,066 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,114 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,114 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,115 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,119 [execute] INFO git cat-file --batch-check [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,126 [execute] INFO git cat-file --batch [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:58:27.525Z] 2022-09-27 20:58:27,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 [2022-09-27T20:58:27.525Z] 0.0.0 [Pipeline] } [2022-09-27T20:58:27.524Z] $ docker exec --env ******** --env ******** 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent -k [2022-09-27T20:58:27.630Z] unset SSH_AUTH_SOCK; [2022-09-27T20:58:27.630Z] unset SSH_AGENT_PID; [2022-09-27T20:58:27.630Z] echo Agent pid 77 killed; [2022-09-27T20:58:27.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T20:58:27.956Z] + git semver [Pipeline] } [2022-09-27T20:58:28.219Z] $ docker stop --time=1 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 [2022-09-27T20:58:29.513Z] $ docker rm -f 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T20:58:29.867Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T20:58:30.054Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T20:58:30.057Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:58:30.168Z] provisioning config files... [2022-09-27T20:58:30.177Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12474270140622745120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:30.475Z] ---> docker-login.sh [2022-09-27T20:58:30.475Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:58:30.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:30.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:30.475Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:30.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:30.475Z] [2022-09-27T20:58:30.475Z] Login Succeeded [2022-09-27T20:58:30.475Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:58:30.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:30.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:30.475Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:30.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:30.475Z] [2022-09-27T20:58:30.475Z] Login Succeeded [2022-09-27T20:58:30.475Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:58:30.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:30.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:30.736Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:30.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:30.736Z] [2022-09-27T20:58:30.736Z] Login Succeeded [2022-09-27T20:58:30.736Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:58:30.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:30.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:30.736Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:30.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:30.736Z] [2022-09-27T20:58:30.736Z] Login Succeeded [2022-09-27T20:58:30.736Z] docker.io [2022-09-27T20:58:30.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:31.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:31.256Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:31.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:31.256Z] [2022-09-27T20:58:31.256Z] Login Succeeded [2022-09-27T20:58:31.256Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:58:31.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T20:58:31.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:58:31.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:58:31.339Z] ========================================================= [2022-09-27T20:58:31.339Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T20:58:31.339Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:31.651Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T20:58:31.651Z] Sending build context to Docker daemon 10.72MB [2022-09-27T20:58:31.651Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:58:31.651Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T20:58:31.651Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T20:58:31.651Z] 2408cc74d12b: Pulling fs layer [2022-09-27T20:58:31.651Z] ea60b727a1ce: Pulling fs layer [2022-09-27T20:58:31.651Z] 30c4a7721957: Pulling fs layer [2022-09-27T20:58:31.651Z] 370296b7ddb6: Pulling fs layer [2022-09-27T20:58:31.651Z] 7c6cee850709: Pulling fs layer [2022-09-27T20:58:31.651Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T20:58:31.651Z] d94ebbe4e438: Pulling fs layer [2022-09-27T20:58:31.651Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T20:58:31.651Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T20:58:31.651Z] 7c6cee850709: Waiting [2022-09-27T20:58:31.651Z] 370296b7ddb6: Waiting [2022-09-27T20:58:31.651Z] 39a5fcdaea64: Waiting [2022-09-27T20:58:31.651Z] d94ebbe4e438: Waiting [2022-09-27T20:58:31.651Z] bcfd1f05c69d: Waiting [2022-09-27T20:58:31.651Z] 59ccb84bbe0f: Waiting [2022-09-27T20:58:31.651Z] 30c4a7721957: Verifying Checksum [2022-09-27T20:58:31.651Z] 30c4a7721957: Download complete [2022-09-27T20:58:31.651Z] ea60b727a1ce: Verifying Checksum [2022-09-27T20:58:31.651Z] ea60b727a1ce: Download complete [2022-09-27T20:58:31.651Z] 7c6cee850709: Download complete [2022-09-27T20:58:31.651Z] 39a5fcdaea64: Download complete [2022-09-27T20:58:31.912Z] 2408cc74d12b: Verifying Checksum [2022-09-27T20:58:31.912Z] d94ebbe4e438: Download complete [2022-09-27T20:58:31.912Z] 2408cc74d12b: Pull complete [2022-09-27T20:58:32.171Z] ea60b727a1ce: Pull complete [2022-09-27T20:58:32.171Z] 30c4a7721957: Pull complete [2022-09-27T20:58:32.171Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T20:58:32.171Z] 59ccb84bbe0f: Download complete [2022-09-27T20:58:32.736Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T20:58:32.736Z] bcfd1f05c69d: Download complete [2022-09-27T20:58:32.736Z] 370296b7ddb6: Verifying Checksum [2022-09-27T20:58:32.736Z] 370296b7ddb6: Download complete [2022-09-27T20:58:36.017Z] 370296b7ddb6: Pull complete [2022-09-27T20:58:36.275Z] 7c6cee850709: Pull complete [2022-09-27T20:58:36.275Z] 39a5fcdaea64: Pull complete [2022-09-27T20:58:36.275Z] d94ebbe4e438: Pull complete [2022-09-27T20:58:38.807Z] bcfd1f05c69d: Pull complete [2022-09-27T20:58:39.373Z] 59ccb84bbe0f: Pull complete [2022-09-27T20:58:39.373Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T20:58:39.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T20:58:39.373Z] ---> a4fb48ad2a94 [2022-09-27T20:58:39.373Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:58:40.827Z] ---> Running in 256c9a082203 [2022-09-27T20:58:40.827Z] Removing intermediate container 256c9a082203 [2022-09-27T20:58:40.827Z] ---> d5fd8a95caf1 [2022-09-27T20:58:40.827Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:58:40.827Z] ---> Running in 14220612393b [2022-09-27T20:58:40.827Z] Removing intermediate container 14220612393b [2022-09-27T20:58:40.827Z] ---> 7291e0841ea1 [2022-09-27T20:58:40.827Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T20:58:40.827Z] ---> Running in 0ecbe48988ea [2022-09-27T20:58:41.086Z] Removing intermediate container 0ecbe48988ea [2022-09-27T20:58:41.086Z] ---> 54f8390474e8 [2022-09-27T20:58:41.086Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T20:58:41.086Z] ---> Running in 8df9cd5103bf [2022-09-27T20:58:41.086Z] Removing intermediate container 8df9cd5103bf [2022-09-27T20:58:41.086Z] ---> fa096a7060ab [2022-09-27T20:58:41.086Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:58:41.086Z] ---> Running in 48aba84c6597 [2022-09-27T20:58:41.655Z] Removing intermediate container 48aba84c6597 [2022-09-27T20:58:41.655Z] ---> a12403b71e74 [2022-09-27T20:58:41.655Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T20:58:41.655Z] ---> Running in 5b1109e4ecb2 [2022-09-27T20:58:42.222Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:58:42.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:58:43.357Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T20:58:43.357Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T20:58:43.357Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T20:58:43.617Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T20:58:43.617Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T20:58:43.617Z] OK: 216 MiB in 55 packages [2022-09-27T20:58:44.185Z] Removing intermediate container 5b1109e4ecb2 [2022-09-27T20:58:44.185Z] ---> ca697a3013a7 [2022-09-27T20:58:44.185Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-27T20:58:44.185Z] ---> Running in 4727bed8cd3c [2022-09-27T20:58:44.185Z] Removing intermediate container 4727bed8cd3c [2022-09-27T20:58:44.185Z] ---> 854101adc803 [2022-09-27T20:58:44.185Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T20:58:44.444Z] ---> 64f40d818198 [2022-09-27T20:58:44.444Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:58:44.444Z] ---> Running in ed43ea8fde89 [2022-09-27T20:58:45.138Z] Still waiting to schedule task [2022-09-27T20:58:45.139Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T20:59:02.529Z] Removing intermediate container ed43ea8fde89 [2022-09-27T20:59:02.529Z] ---> a9c8ac1a6bc8 [2022-09-27T20:59:02.529Z] Step 12/13 : COPY . . [2022-09-27T20:59:02.529Z] ---> c5259d83383f [2022-09-27T20:59:02.529Z] Step 13/13 : RUN $MAKE [2022-09-27T20:59:02.529Z] ---> Running in 0303d16fa16c [2022-09-27T20:59:02.529Z] noop [2022-09-27T20:59:02.529Z] Removing intermediate container 0303d16fa16c [2022-09-27T20:59:02.529Z] ---> a34e8f1c2ca0 [2022-09-27T20:59:02.529Z] Successfully built a34e8f1c2ca0 [2022-09-27T20:59:02.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:02.837Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:59:02.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:02.901Z] prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container [2022-09-27T20:59:02.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T20:59:03.307Z] $ docker top 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:03.640Z] + go version [2022-09-27T20:59:03.640Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T20:59:03.653Z] $ docker stop --time=1 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 [2022-09-27T20:59:04.962Z] $ docker rm -f 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:05.346Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:59:05.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:05.408Z] prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container [2022-09-27T20:59:05.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T20:59:05.833Z] $ docker top 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:06.174Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh [2022-09-27T20:59:06.465Z] + make test [2022-09-27T20:59:06.465Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T20:59:06.723Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-27T20:59:16.696Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-27T20:59:16.696Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-09-27T20:59:23.255Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T20:59:23.255Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T20:59:25.157Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T20:59:25.157Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T20:59:25.157Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T20:59:25.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T20:59:25.446Z] $ docker stop --time=1 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 [2022-09-27T20:59:27.092Z] $ docker rm -f 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T20:59:27.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T20:59:27.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T20:59:27.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T20:59:28.243Z] + ls -al . [2022-09-27T20:59:28.243Z] total 180 [2022-09-27T20:59:28.243Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:59 . [2022-09-27T20:59:28.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 .. [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 20:58 .dockerignore [2022-09-27T20:59:28.243Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:59 .git [2022-09-27T20:59:28.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 .github [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:58 .gitignore [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:58 .golangci.yml [2022-09-27T20:59:28.243Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:58 .semver [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 20:58 Attribution.txt [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 20:58 CHANGELOG.md [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 20:58 Dockerfile [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:58 GOVERNANCE.md [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:58 Jenkinsfile [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:58 LICENSE [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 20:58 Makefile [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:58 OWNERS.md [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 20:58 README.md [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:58 VERSION [2022-09-27T20:59:28.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 bin [2022-09-27T20:59:28.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 cmd [2022-09-27T20:59:28.243Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 20:59 coverage.out [2022-09-27T20:59:28.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 driver [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 20:58 go.mod [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 20:58 go.sum [2022-09-27T20:59:28.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 snap [2022-09-27T20:59:28.243Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:28.553Z] + 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=74fc3e8542c31808ca5ce87043c5bbc954559f8c --label arch=amd64 --label version=0.0.0 . [2022-09-27T20:59:28.553Z] Sending build context to Docker daemon 10.73MB [2022-09-27T20:59:28.553Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:59:28.553Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T20:59:28.553Z] ---> a34e8f1c2ca0 [2022-09-27T20:59:28.553Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:59:28.553Z] ---> Running in 313a065889ad [2022-09-27T20:59:28.812Z] Removing intermediate container 313a065889ad [2022-09-27T20:59:28.812Z] ---> addbf6b1896c [2022-09-27T20:59:28.812Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:59:28.812Z] ---> Running in f1e78b38b5fb [2022-09-27T20:59:28.812Z] Removing intermediate container f1e78b38b5fb [2022-09-27T20:59:28.812Z] ---> 7e84f8d98ba7 [2022-09-27T20:59:28.812Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T20:59:28.812Z] ---> Running in aec25fefcc0b [2022-09-27T20:59:28.812Z] Removing intermediate container aec25fefcc0b [2022-09-27T20:59:28.812Z] ---> fb542cf90c3e [2022-09-27T20:59:28.812Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T20:59:29.070Z] ---> Running in 825da2b6ca74 [2022-09-27T20:59:29.070Z] Removing intermediate container 825da2b6ca74 [2022-09-27T20:59:29.070Z] ---> dfce2c6516b0 [2022-09-27T20:59:29.070Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:59:29.070Z] ---> Running in 60e3a321c485 [2022-09-27T20:59:29.637Z] Removing intermediate container 60e3a321c485 [2022-09-27T20:59:29.637Z] ---> cbf7d6a6949c [2022-09-27T20:59:29.637Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T20:59:29.637Z] ---> Running in dd0b12e2754b [2022-09-27T20:59:29.895Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:30.834Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:31.093Z] OK: 216 MiB in 55 packages [2022-09-27T20:59:31.351Z] Removing intermediate container dd0b12e2754b [2022-09-27T20:59:31.351Z] ---> b134f657f91a [2022-09-27T20:59:31.351Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-27T20:59:31.351Z] ---> Running in d09285b02101 [2022-09-27T20:59:31.610Z] Removing intermediate container d09285b02101 [2022-09-27T20:59:31.610Z] ---> 98458b094819 [2022-09-27T20:59:31.610Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T20:59:31.610Z] ---> 1a679b9b6a65 [2022-09-27T20:59:31.610Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:59:31.610Z] ---> Running in b1ee45de637d [2022-09-27T20:59:32.556Z] Removing intermediate container b1ee45de637d [2022-09-27T20:59:32.556Z] ---> 1c4726b7b147 [2022-09-27T20:59:32.556Z] Step 12/26 : COPY . . [2022-09-27T20:59:32.556Z] ---> f686f9fdc065 [2022-09-27T20:59:32.556Z] Step 13/26 : RUN $MAKE [2022-09-27T20:59:32.556Z] ---> Running in 7316b1811689 [2022-09-27T20:59:32.816Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-27T20:59:50.895Z] Removing intermediate container 7316b1811689 [2022-09-27T20:59:50.895Z] ---> 7d8cd79fab85 [2022-09-27T20:59:50.895Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T20:59:51.463Z] 3.16: Pulling from library/alpine [2022-09-27T20:59:51.724Z] 213ec9aee27d: Pulling fs layer [2022-09-27T20:59:51.724Z] 213ec9aee27d: Download complete [2022-09-27T20:59:51.984Z] 213ec9aee27d: Pull complete [2022-09-27T20:59:51.984Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T20:59:51.984Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T20:59:51.984Z] ---> 9c6f07244728 [2022-09-27T20:59:51.984Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T20:59:51.984Z] ---> Running in 45e39e3df17a [2022-09-27T20:59:51.984Z] Removing intermediate container 45e39e3df17a [2022-09-27T20:59:51.984Z] ---> 14becd725a98 [2022-09-27T20:59:51.984Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-27T20:59:52.247Z] ---> Running in 0931f5f4ce7e [2022-09-27T20:59:52.247Z] Removing intermediate container 0931f5f4ce7e [2022-09-27T20:59:52.247Z] ---> d3cf72619ee9 [2022-09-27T20:59:52.247Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T20:59:52.247Z] ---> Running in a72c55546114 [2022-09-27T20:59:52.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:52.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:52.764Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T20:59:52.764Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T20:59:52.764Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T20:59:52.764Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T20:59:53.022Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T20:59:53.022Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T20:59:53.022Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T20:59:53.022Z] OK: 8 MiB in 20 packages [2022-09-27T20:59:53.282Z] Removing intermediate container a72c55546114 [2022-09-27T20:59:53.282Z] ---> 596066a19eb7 [2022-09-27T20:59:53.282Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-27T20:59:53.849Z] ---> ab790aaa38fd [2022-09-27T20:59:53.849Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-27T20:59:53.849Z] ---> 688d102ba547 [2022-09-27T20:59:53.849Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-27T20:59:54.110Z] ---> 0efad0d73f58 [2022-09-27T20:59:54.110Z] Step 21/26 : EXPOSE 59986 [2022-09-27T20:59:54.110Z] ---> Running in dec290b95750 [2022-09-27T20:59:54.110Z] Removing intermediate container dec290b95750 [2022-09-27T20:59:54.110Z] ---> 045038c342f5 [2022-09-27T20:59:54.110Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-27T20:59:54.110Z] ---> Running in ee36773942b4 [2022-09-27T20:59:54.370Z] Removing intermediate container ee36773942b4 [2022-09-27T20:59:54.370Z] ---> bab646dfc519 [2022-09-27T20:59:54.370Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T20:59:54.370Z] ---> Running in 058547ac5b7b [2022-09-27T20:59:54.370Z] Removing intermediate container 058547ac5b7b [2022-09-27T20:59:54.370Z] ---> a2f57668123f [2022-09-27T20:59:54.370Z] Step 24/26 : LABEL arch=amd64 [2022-09-27T20:59:54.370Z] ---> Running in 93a271933533 [2022-09-27T20:59:54.370Z] Removing intermediate container 93a271933533 [2022-09-27T20:59:54.370Z] ---> 8f2c9ad74054 [2022-09-27T20:59:54.370Z] Step 25/26 : LABEL git_sha=74fc3e8542c31808ca5ce87043c5bbc954559f8c [2022-09-27T20:59:54.370Z] ---> Running in 02379b6b1c89 [2022-09-27T20:59:54.629Z] Removing intermediate container 02379b6b1c89 [2022-09-27T20:59:54.629Z] ---> 8a5dc8f11c75 [2022-09-27T20:59:54.629Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T20:59:54.629Z] ---> Running in 9ec5fb249d90 [2022-09-27T20:59:54.629Z] Removing intermediate container 9ec5fb249d90 [2022-09-27T20:59:54.629Z] ---> ccf422e8d1c2 [2022-09-27T20:59:54.629Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T20:59:54.629Z] Successfully built ccf422e8d1c2 [2022-09-27T20:59:54.629Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:55.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T20:59:55.047Z] [2022-09-27T20:59:55.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:55.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T20:59:55.338Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T20:59:55.338Z] 5eb5b503b376: Pulling fs layer [2022-09-27T20:59:55.338Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T20:59:55.338Z] ec43610c2a17: Pulling fs layer [2022-09-27T20:59:55.338Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T20:59:55.338Z] 33b1e0a273af: Pulling fs layer [2022-09-27T20:59:55.338Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T20:59:55.338Z] 2f39f015ded8: Pulling fs layer [2022-09-27T20:59:55.338Z] 2f39f015ded8: Waiting [2022-09-27T20:59:55.338Z] 33b1e0a273af: Waiting [2022-09-27T20:59:55.338Z] 5d3b04190fa2: Waiting [2022-09-27T20:59:55.338Z] 3a2ae6a8a46f: Waiting [2022-09-27T20:59:55.338Z] 5c69ac0246d0: Download complete [2022-09-27T20:59:55.338Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T20:59:55.338Z] 3a2ae6a8a46f: Download complete [2022-09-27T20:59:55.338Z] 33b1e0a273af: Verifying Checksum [2022-09-27T20:59:55.338Z] 33b1e0a273af: Download complete [2022-09-27T20:59:55.338Z] ec43610c2a17: Verifying Checksum [2022-09-27T20:59:55.338Z] ec43610c2a17: Download complete [2022-09-27T20:59:55.596Z] 5d3b04190fa2: Download complete [2022-09-27T20:59:55.596Z] 5eb5b503b376: Verifying Checksum [2022-09-27T20:59:55.596Z] 5eb5b503b376: Download complete [2022-09-27T20:59:56.160Z] 2f39f015ded8: Download complete [2022-09-27T20:59:56.727Z] 5eb5b503b376: Pull complete [2022-09-27T20:59:56.986Z] 5c69ac0246d0: Pull complete [2022-09-27T20:59:57.245Z] ec43610c2a17: Pull complete [2022-09-27T20:59:57.245Z] 3a2ae6a8a46f: Pull complete [2022-09-27T20:59:57.503Z] 33b1e0a273af: Pull complete [2022-09-27T20:59:57.503Z] 5d3b04190fa2: Pull complete [2022-09-27T21:00:01.690Z] 2f39f015ded8: Pull complete [2022-09-27T21:00:01.690Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T21:00:01.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:00:01.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:00:01.755Z] prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container [2022-09-27T21:00:01.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:00:03.095Z] $ docker top 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:00:03.450Z] ---> job-cost.sh [2022-09-27T21:00:03.450Z] lf-activate-venv: SKIPPING [2022-09-27T21:00:03.450Z] INFO: No Stack... [2022-09-27T21:00:03.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:00:04.277Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:00:04.564Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv [2022-09-27T21:00:04.564Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:00:04.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [2022-09-27T21:00:04.587Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] did not exist. Created. [2022-09-27T21:00:04.587Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:00:04.895Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T21:00:04.928Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:00:04.938Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:00:04.959Z] $ docker stop --time=1 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 [2022-09-27T21:00:06.112Z] $ docker rm -f 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T21:01:12.502Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1408 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws [2022-09-27T21:01:12.516Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-09-27T21:01:12.553Z] The recommended git tool is: git [2022-09-27T21:01:18.214Z] using credential edgex-jenkins-ssh [2022-09-27T21:01:18.233Z] Cloning the remote Git repository [2022-09-27T21:01:18.293Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T21:01:18.393Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-09-27T21:01:18.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T21:01:18.569Z] > git --version # timeout=10 [2022-09-27T21:01:18.596Z] > git --version # 'git version 2.25.1' [2022-09-27T21:01:18.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:01:18.660Z] Verifying host key using known hosts file [2022-09-27T21:01:18.891Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:01:18.905Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:01:20.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-27T21:01:20.973Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:01:22.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-09-27T21:01:22.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-09-27T21:01:22.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:01:22.078Z] Verifying host key using known hosts file [2022-09-27T21:01:22.086Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:01:22.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T21:01:22.725Z] Merging remotes/origin/main commit 4a40192a1b6bb0369d057e4fca0f08fde1edf441 into PR head commit 74fc3e8542c31808ca5ce87043c5bbc954559f8c [2022-09-27T21:01:22.953Z] Merge succeeded, producing 74fc3e8542c31808ca5ce87043c5bbc954559f8c [2022-09-27T21:01:22.954Z] Checking out Revision 74fc3e8542c31808ca5ce87043c5bbc954559f8c (PR-213) [2022-09-27T21:01:22.745Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:01:22.765Z] > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 [2022-09-27T21:01:22.850Z] > git remote # timeout=10 [2022-09-27T21:01:22.875Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T21:01:22.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:01:22.894Z] Verifying host key using known hosts file [2022-09-27T21:01:22.898Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:01:22.907Z] > git merge 4a40192a1b6bb0369d057e4fca0f08fde1edf441 # timeout=10 [2022-09-27T21:01:22.933Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T21:01:22.962Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:01:22.976Z] > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 [2022-09-27T21:01:26.509Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:01:27.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T21:01:27.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:01:27.312Z] Dload Upload Total Spent Left Speed [2022-09-27T21:01:27.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 50814 0 --:--:-- --:--:-- --:--:-- 50814 [Pipeline] sh [2022-09-27T21:01:28.340Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T21:01:28.677Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T21:01:28.677Z] + sudo tee /etc/docker/daemon.new [2022-09-27T21:01:28.677Z] { [2022-09-27T21:01:28.677Z] "registry-mirrors": [ [2022-09-27T21:01:28.677Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T21:01:28.677Z] ], [2022-09-27T21:01:28.677Z] "bip": "10.250.0.254/24", [2022-09-27T21:01:28.677Z] "hosts": [ [2022-09-27T21:01:28.677Z] "tcp://0.0.0.0:5555", [2022-09-27T21:01:28.677Z] "unix:///var/run/docker.sock" [2022-09-27T21:01:28.677Z] ], [2022-09-27T21:01:28.677Z] "mtu": 1458, [2022-09-27T21:01:28.677Z] "selinux-enabled": true, [2022-09-27T21:01:28.677Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T21:01:28.677Z] } [Pipeline] sh [2022-09-27T21:01:29.007Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T21:01:29.343Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:01:47.613Z] provisioning config files... [2022-09-27T21:01:47.639Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config12206549241087402970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:01:47.995Z] ---> docker-login.sh [2022-09-27T21:01:47.995Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:01:48.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:01:48.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:01:48.538Z] Configure a credential helper to remove this warning. See [2022-09-27T21:01:48.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:01:48.538Z] [2022-09-27T21:01:48.538Z] Login Succeeded [2022-09-27T21:01:48.538Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:01:48.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:01:49.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:01:49.083Z] Configure a credential helper to remove this warning. See [2022-09-27T21:01:49.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:01:49.083Z] [2022-09-27T21:01:49.083Z] Login Succeeded [2022-09-27T21:01:49.083Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:01:49.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:01:49.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:01:49.352Z] Configure a credential helper to remove this warning. See [2022-09-27T21:01:49.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:01:49.352Z] [2022-09-27T21:01:49.352Z] Login Succeeded [2022-09-27T21:01:49.353Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:01:49.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:01:49.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:01:49.626Z] Configure a credential helper to remove this warning. See [2022-09-27T21:01:49.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:01:49.626Z] [2022-09-27T21:01:49.626Z] Login Succeeded [2022-09-27T21:01:49.626Z] docker.io [2022-09-27T21:01:49.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:01:50.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:01:50.159Z] Configure a credential helper to remove this warning. See [2022-09-27T21:01:50.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:01:50.159Z] [2022-09-27T21:01:50.159Z] Login Succeeded [2022-09-27T21:01:50.429Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:01:50.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:01:50.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:01:50.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:01:50.605Z] ========================================================= [2022-09-27T21:01:50.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T21:01:50.605Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:01:50.943Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T21:01:50.943Z] Sending build context to Docker daemon 127kB [2022-09-27T21:01:51.221Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:01:51.221Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T21:01:51.221Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T21:01:51.221Z] b3c136eddcbf: Pulling fs layer [2022-09-27T21:01:51.221Z] c0a3192eca97: Pulling fs layer [2022-09-27T21:01:51.221Z] a050256f5b6f: Pulling fs layer [2022-09-27T21:01:51.221Z] 656be50a0ddc: Pulling fs layer [2022-09-27T21:01:51.221Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T21:01:51.221Z] 46d945488cbd: Pulling fs layer [2022-09-27T21:01:51.221Z] 8a5474983e97: Pulling fs layer [2022-09-27T21:01:51.221Z] 329c88fbcd65: Pulling fs layer [2022-09-27T21:01:51.221Z] 656be50a0ddc: Waiting [2022-09-27T21:01:51.221Z] 2bbca73fdf42: Waiting [2022-09-27T21:01:51.221Z] 46d945488cbd: Waiting [2022-09-27T21:01:51.221Z] 8a5474983e97: Waiting [2022-09-27T21:01:51.221Z] 329c88fbcd65: Waiting [2022-09-27T21:01:51.221Z] a050256f5b6f: Verifying Checksum [2022-09-27T21:01:51.221Z] a050256f5b6f: Download complete [2022-09-27T21:01:51.221Z] c0a3192eca97: Verifying Checksum [2022-09-27T21:01:51.221Z] c0a3192eca97: Download complete [2022-09-27T21:01:51.499Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T21:01:51.499Z] 2bbca73fdf42: Download complete [2022-09-27T21:01:51.499Z] 46d945488cbd: Download complete [2022-09-27T21:01:51.499Z] b3c136eddcbf: Download complete [2022-09-27T21:01:52.476Z] b3c136eddcbf: Pull complete [2022-09-27T21:01:52.476Z] 329c88fbcd65: Verifying Checksum [2022-09-27T21:01:52.476Z] 329c88fbcd65: Download complete [2022-09-27T21:01:53.068Z] c0a3192eca97: Pull complete [2022-09-27T21:01:53.337Z] a050256f5b6f: Pull complete [2022-09-27T21:01:53.606Z] 8a5474983e97: Verifying Checksum [2022-09-27T21:01:53.606Z] 8a5474983e97: Download complete [2022-09-27T21:01:54.193Z] 656be50a0ddc: Verifying Checksum [2022-09-27T21:01:54.193Z] 656be50a0ddc: Download complete [2022-09-27T21:02:06.522Z] 656be50a0ddc: Pull complete [2022-09-27T21:02:06.522Z] 2bbca73fdf42: Pull complete [2022-09-27T21:02:06.522Z] 46d945488cbd: Pull complete [2022-09-27T21:02:11.865Z] 8a5474983e97: Pull complete [2022-09-27T21:02:13.811Z] 329c88fbcd65: Pull complete [2022-09-27T21:02:13.811Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T21:02:13.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T21:02:13.811Z] ---> ff4287adb874 [2022-09-27T21:02:13.811Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:02:14.778Z] ---> Running in 6df652ea5f7e [2022-09-27T21:02:15.364Z] Removing intermediate container 6df652ea5f7e [2022-09-27T21:02:15.364Z] ---> e5663944b691 [2022-09-27T21:02:15.364Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:02:15.364Z] ---> Running in 371d0237563d [2022-09-27T21:02:15.636Z] Removing intermediate container 371d0237563d [2022-09-27T21:02:15.636Z] ---> 968d66840eb3 [2022-09-27T21:02:15.636Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:02:15.906Z] ---> Running in b1440c94eb93 [2022-09-27T21:02:16.175Z] Removing intermediate container b1440c94eb93 [2022-09-27T21:02:16.175Z] ---> 41740ff54979 [2022-09-27T21:02:16.175Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:02:16.175Z] ---> Running in ab49daf9cd27 [2022-09-27T21:02:16.445Z] Removing intermediate container ab49daf9cd27 [2022-09-27T21:02:16.445Z] ---> b61bc1d129e7 [2022-09-27T21:02:16.445Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:02:16.714Z] ---> Running in be9be2b31cdd [2022-09-27T21:02:18.668Z] Removing intermediate container be9be2b31cdd [2022-09-27T21:02:18.668Z] ---> cdb52d1a2a95 [2022-09-27T21:02:18.668Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:02:18.668Z] ---> Running in a20b3c45035e [2022-09-27T21:02:19.633Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:02:20.594Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:02:21.560Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T21:02:21.560Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T21:02:21.560Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T21:02:21.829Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T21:02:21.829Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T21:02:22.097Z] OK: 226 MiB in 55 packages [2022-09-27T21:02:23.064Z] Removing intermediate container a20b3c45035e [2022-09-27T21:02:23.064Z] ---> 7e94638fecd3 [2022-09-27T21:02:23.064Z] Step 9/13 : WORKDIR /device-rest-go [2022-09-27T21:02:23.064Z] ---> Running in d67bd3e01cdb [2022-09-27T21:02:23.333Z] Removing intermediate container d67bd3e01cdb [2022-09-27T21:02:23.333Z] ---> e671bf0b078a [2022-09-27T21:02:23.333Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T21:02:23.920Z] ---> 5605769a71cc [2022-09-27T21:02:23.920Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:02:23.920Z] ---> Running in fef9876ae714 [2022-09-27T21:03:20.375Z] Removing intermediate container fef9876ae714 [2022-09-27T21:03:20.375Z] ---> bb9be5f974e4 [2022-09-27T21:03:20.375Z] Step 12/13 : COPY . . [2022-09-27T21:03:20.375Z] ---> 9e80dede188b [2022-09-27T21:03:20.375Z] Step 13/13 : RUN $MAKE [2022-09-27T21:03:20.375Z] ---> Running in e648c0da2dc1 [2022-09-27T21:03:20.375Z] noop [2022-09-27T21:03:20.375Z] Removing intermediate container e648c0da2dc1 [2022-09-27T21:03:20.375Z] ---> d325a10aa4f8 [2022-09-27T21:03:20.375Z] Successfully built d325a10aa4f8 [2022-09-27T21:03:20.375Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:03:20.730Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:03:20.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:03:20.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container [2022-09-27T21:03:21.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:03:22.264Z] $ docker top 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:03:23.105Z] + go version [2022-09-27T21:03:23.105Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T21:03:23.128Z] $ docker stop --time=1 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 [2022-09-27T21:03:24.765Z] $ docker rm -f 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:03:25.275Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:03:25.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:03:25.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container [2022-09-27T21:03:25.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:03:26.703Z] $ docker top 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:03:27.530Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:03:28.179Z] + make test [2022-09-27T21:03:28.180Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T21:03:29.610Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-09-27T21:05:06.286Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-09-27T21:05:06.286Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-09-27T21:05:06.286Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T21:05:06.286Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:05:21.318Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:05:21.318Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:05:21.318Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:05:21.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:05:21.354Z] $ docker stop --time=1 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c [2022-09-27T21:05:23.128Z] $ docker rm -f 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:05:24.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:05:24.080Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T21:05:24.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:05:24.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:05:25.240Z] + ls -al . [2022-09-27T21:05:25.240Z] total 176 [2022-09-27T21:05:25.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:03 . [2022-09-27T21:05:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:01 .. [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:01 .dockerignore [2022-09-27T21:05:25.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:01 .git [2022-09-27T21:05:25.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:01 .github [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:01 .gitignore [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:01 .golangci.yml [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 21:01 Attribution.txt [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 21:01 CHANGELOG.md [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 21:01 Dockerfile [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:01 GOVERNANCE.md [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:01 Jenkinsfile [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:01 LICENSE [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 21:01 Makefile [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:01 OWNERS.md [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 21:01 README.md [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:58 VERSION [2022-09-27T21:05:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:01 bin [2022-09-27T21:05:25.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:01 cmd [2022-09-27T21:05:25.240Z] -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 21:04 coverage.out [2022-09-27T21:05:25.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:01 driver [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 21:01 go.mod [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 21:01 go.sum [2022-09-27T21:05:25.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:01 snap [2022-09-27T21:05:25.240Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:05:25.578Z] + 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=74fc3e8542c31808ca5ce87043c5bbc954559f8c --label arch=arm64 --label version=0.0.0 . [2022-09-27T21:05:25.578Z] Sending build context to Docker daemon 137.2kB [2022-09-27T21:05:25.846Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:05:25.846Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T21:05:25.846Z] ---> d325a10aa4f8 [2022-09-27T21:05:25.846Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:05:26.809Z] ---> Running in 5b36f22e61c0 [2022-09-27T21:05:26.809Z] Removing intermediate container 5b36f22e61c0 [2022-09-27T21:05:26.809Z] ---> 5e1624bbb6f2 [2022-09-27T21:05:26.809Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:05:26.809Z] ---> Running in bda38c3cf822 [2022-09-27T21:05:27.394Z] Removing intermediate container bda38c3cf822 [2022-09-27T21:05:27.394Z] ---> 9868c79b7fc5 [2022-09-27T21:05:27.394Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:05:27.394Z] ---> Running in 404636936a06 [2022-09-27T21:05:27.663Z] Removing intermediate container 404636936a06 [2022-09-27T21:05:27.663Z] ---> 94f6d8573fb8 [2022-09-27T21:05:27.663Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:05:27.663Z] ---> Running in 1f9075f3bffb [2022-09-27T21:05:27.930Z] Removing intermediate container 1f9075f3bffb [2022-09-27T21:05:27.930Z] ---> 8773507c68c9 [2022-09-27T21:05:27.930Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:05:27.930Z] ---> Running in b424c2de57c9 [2022-09-27T21:05:29.886Z] Removing intermediate container b424c2de57c9 [2022-09-27T21:05:29.886Z] ---> b4db9f266468 [2022-09-27T21:05:29.886Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:05:29.886Z] ---> Running in 6afcd398e018 [2022-09-27T21:05:31.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:05:31.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:05:33.012Z] OK: 226 MiB in 55 packages [2022-09-27T21:05:34.055Z] Removing intermediate container 6afcd398e018 [2022-09-27T21:05:34.055Z] ---> 56802ff46439 [2022-09-27T21:05:34.055Z] Step 9/26 : WORKDIR /device-rest-go [2022-09-27T21:05:34.349Z] ---> Running in 8f793f699a14 [2022-09-27T21:05:34.625Z] Removing intermediate container 8f793f699a14 [2022-09-27T21:05:34.625Z] ---> d86d14edae96 [2022-09-27T21:05:34.625Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T21:05:35.283Z] ---> 15c9acbead9d [2022-09-27T21:05:35.283Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:05:35.283Z] ---> Running in c16ad545f15a [2022-09-27T21:05:37.241Z] Removing intermediate container c16ad545f15a [2022-09-27T21:05:37.241Z] ---> 9e0188f30595 [2022-09-27T21:05:37.241Z] Step 12/26 : COPY . . [2022-09-27T21:05:38.227Z] ---> 2e123dbc950e [2022-09-27T21:05:38.227Z] Step 13/26 : RUN $MAKE [2022-09-27T21:05:38.227Z] ---> Running in 14a40b2d60e9 [2022-09-27T21:05:39.192Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-09-27T21:08:15.964Z] Removing intermediate container 14a40b2d60e9 [2022-09-27T21:08:15.964Z] ---> ca55c49c3180 [2022-09-27T21:08:15.964Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T21:08:15.964Z] 3.16: Pulling from library/alpine [2022-09-27T21:08:15.964Z] 9b18e9b68314: Pulling fs layer [2022-09-27T21:08:15.964Z] 9b18e9b68314: Verifying Checksum [2022-09-27T21:08:15.964Z] 9b18e9b68314: Download complete [2022-09-27T21:08:15.964Z] 9b18e9b68314: Pull complete [2022-09-27T21:08:15.964Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T21:08:15.964Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T21:08:15.964Z] ---> a6215f271958 [2022-09-27T21:08:15.964Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T21:08:15.964Z] ---> Running in d3f949e244a3 [2022-09-27T21:08:15.964Z] Removing intermediate container d3f949e244a3 [2022-09-27T21:08:15.964Z] ---> e1b764164d8d [2022-09-27T21:08:15.964Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-09-27T21:08:15.964Z] ---> Running in a4f5ff7eaa96 [2022-09-27T21:08:15.964Z] Removing intermediate container a4f5ff7eaa96 [2022-09-27T21:08:15.964Z] ---> 48cf3aacb61e [2022-09-27T21:08:15.964Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:08:15.964Z] ---> Running in 98a5a08fe39b [2022-09-27T21:08:15.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:08:15.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:08:15.964Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:08:15.964Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T21:08:15.964Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:08:15.964Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T21:08:15.964Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:08:15.964Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:08:15.964Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T21:08:15.964Z] OK: 8 MiB in 20 packages [2022-09-27T21:08:16.935Z] Removing intermediate container 98a5a08fe39b [2022-09-27T21:08:16.935Z] ---> cf83793a99c8 [2022-09-27T21:08:16.935Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-09-27T21:08:18.364Z] ---> 0834767da212 [2022-09-27T21:08:18.364Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-09-27T21:08:18.951Z] ---> 8cbfbe2fb988 [2022-09-27T21:08:18.951Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-09-27T21:08:19.537Z] ---> 052839a1661c [2022-09-27T21:08:19.537Z] Step 21/26 : EXPOSE 59986 [2022-09-27T21:08:19.537Z] ---> Running in 3b4aed29bead [2022-09-27T21:08:19.806Z] Removing intermediate container 3b4aed29bead [2022-09-27T21:08:19.806Z] ---> 4d1a744e28d1 [2022-09-27T21:08:19.806Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-09-27T21:08:19.806Z] ---> Running in 701bcf01446b [2022-09-27T21:08:20.075Z] Removing intermediate container 701bcf01446b [2022-09-27T21:08:20.075Z] ---> 5ee084dd9825 [2022-09-27T21:08:20.075Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-27T21:08:20.075Z] ---> Running in a64530a45690 [2022-09-27T21:08:20.344Z] Removing intermediate container a64530a45690 [2022-09-27T21:08:20.344Z] ---> 57776deca9f8 [2022-09-27T21:08:20.344Z] Step 24/26 : LABEL arch=arm64 [2022-09-27T21:08:20.616Z] ---> Running in 24917646e098 [2022-09-27T21:08:20.885Z] Removing intermediate container 24917646e098 [2022-09-27T21:08:20.885Z] ---> b4cc4857a442 [2022-09-27T21:08:20.885Z] Step 25/26 : LABEL git_sha=74fc3e8542c31808ca5ce87043c5bbc954559f8c [2022-09-27T21:08:20.885Z] ---> Running in bda0c6076380 [2022-09-27T21:08:21.154Z] Removing intermediate container bda0c6076380 [2022-09-27T21:08:21.154Z] ---> fa14ee10719c [2022-09-27T21:08:21.154Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T21:08:21.748Z] ---> Running in 0a52e0129eb2 [2022-09-27T21:08:22.016Z] Removing intermediate container 0a52e0129eb2 [2022-09-27T21:08:22.016Z] ---> a1ca05dc7344 [2022-09-27T21:08:22.016Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:08:22.016Z] Successfully built a1ca05dc7344 [2022-09-27T21:08:22.016Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:08:22.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:08:22.457Z] [2022-09-27T21:08:22.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:08:22.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:08:22.786Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T21:08:22.786Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T21:08:22.786Z] 04944245beec: Pulling fs layer [2022-09-27T21:08:22.786Z] 699f458cf7ca: Pulling fs layer [2022-09-27T21:08:22.786Z] 765212b225bb: Pulling fs layer [2022-09-27T21:08:22.786Z] f23df028b6ca: Pulling fs layer [2022-09-27T21:08:22.786Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T21:08:22.786Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T21:08:22.786Z] 2437ff75d9bd: Waiting [2022-09-27T21:08:22.786Z] f23df028b6ca: Waiting [2022-09-27T21:08:22.786Z] d65c8cfc05b1: Waiting [2022-09-27T21:08:22.786Z] 765212b225bb: Waiting [2022-09-27T21:08:23.055Z] 04944245beec: Verifying Checksum [2022-09-27T21:08:23.055Z] 04944245beec: Download complete [2022-09-27T21:08:23.055Z] 765212b225bb: Verifying Checksum [2022-09-27T21:08:23.055Z] 765212b225bb: Download complete [2022-09-27T21:08:23.055Z] f23df028b6ca: Verifying Checksum [2022-09-27T21:08:23.055Z] f23df028b6ca: Download complete [2022-09-27T21:08:23.055Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T21:08:23.055Z] d65c8cfc05b1: Download complete [2022-09-27T21:08:23.323Z] 699f458cf7ca: Verifying Checksum [2022-09-27T21:08:23.323Z] 699f458cf7ca: Download complete [2022-09-27T21:08:23.594Z] 8998bd30e6a1: Download complete [2022-09-27T21:08:26.179Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T21:08:26.179Z] 2437ff75d9bd: Download complete [2022-09-27T21:08:27.586Z] 8998bd30e6a1: Pull complete [2022-09-27T21:08:28.170Z] 04944245beec: Pull complete [2022-09-27T21:08:29.580Z] 699f458cf7ca: Pull complete [2022-09-27T21:08:29.580Z] 765212b225bb: Pull complete [2022-09-27T21:08:30.542Z] f23df028b6ca: Pull complete [2022-09-27T21:08:30.542Z] d65c8cfc05b1: Pull complete [2022-09-27T21:08:45.538Z] 2437ff75d9bd: Pull complete [2022-09-27T21:08:45.538Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T21:08:45.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:08:45.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:08:45.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container [2022-09-27T21:08:45.796Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T21:08:48.394Z] $ docker top 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:48.920Z] ---> job-cost.sh [2022-09-27T21:08:49.185Z] lf-activate-venv: SKIPPING [2022-09-27T21:08:49.185Z] INFO: No Stack... [2022-09-27T21:08:49.451Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T21:08:50.407Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:08:50.725Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2022-09-27T21:08:50.725Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:08:50.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [2022-09-27T21:08:50.801Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] did not exist. Created. [2022-09-27T21:08:50.801Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:08:51.138Z] /w/workspace/device-rest-go/3@tmp/durable-5416f76f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T21:08:51.742Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T21:08:51.765Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T21:08:51.806Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:08:51.813Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:08:51.832Z] $ docker stop --time=1 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 [2022-09-27T21:08:53.323Z] $ docker rm -f 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T21:08:53.693Z] provisioning config files... [2022-09-27T21:08:53.700Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12852815574154648751tmp [Pipeline] { [Pipeline] sh [2022-09-27T21:08:53.985Z] + set +x [2022-09-27T21:08:53.985Z] + curl -s+ https://codecov.io/bash [2022-09-27T21:08:53.985Z] bash -s -- [2022-09-27T21:08:53.985Z] [2022-09-27T21:08:53.985Z] _____ _ [2022-09-27T21:08:53.985Z] / ____| | | [2022-09-27T21:08:53.985Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T21:08:53.985Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T21:08:53.985Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T21:08:53.985Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T21:08:53.985Z] Bash-1.0.6 [2022-09-27T21:08:53.985Z] [2022-09-27T21:08:53.985Z] [2022-09-27T21:08:53.985Z] ==> git version 2.25.1 found [2022-09-27T21:08:53.985Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T21:08:53.985Z] Release-Date: 2020-01-08 [2022-09-27T21:08:53.985Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T21:08:53.985Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T21:08:53.985Z] ==> Jenkins CI detected. [2022-09-27T21:08:53.985Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-27T21:08:53.985Z] project root: . [2022-09-27T21:08:53.985Z] --> token set from env [2022-09-27T21:08:53.985Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T21:08:53.985Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T21:08:53.985Z] ==> Python coveragepy not found [2022-09-27T21:08:53.985Z] ==> Searching for coverage reports in: [2022-09-27T21:08:53.985Z] + . [2022-09-27T21:08:53.985Z] -> Found 1 reports [2022-09-27T21:08:53.985Z] ==> Detecting git/mercurial file structure [2022-09-27T21:08:53.985Z] ==> Reading reports [2022-09-27T21:08:53.985Z] + ./coverage.out bytes=9355 [2022-09-27T21:08:53.985Z] ==> Appending adjustments [2022-09-27T21:08:53.985Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T21:08:53.985Z] + Found adjustments [2022-09-27T21:08:53.985Z] ==> Gzipping contents [2022-09-27T21:08:53.985Z] 4.0K /tmp/codecov.WzsNdP.gz [2022-09-27T21:08:53.985Z] ==> Uploading reports [2022-09-27T21:08:53.985Z] url: https://codecov.io [2022-09-27T21:08:53.985Z] query: branch=PR-213&commit=74fc3e8542c31808ca5ce87043c5bbc954559f8c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-27T21:08:54.243Z] -> Pinging Codecov [2022-09-27T21:08:54.243Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-213&commit=74fc3e8542c31808ca5ce87043c5bbc954559f8c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= [2022-09-27T21:08:54.502Z] -> Uploading to [2022-09-27T21:08:54.502Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/74fc3e8542c31808ca5ce87043c5bbc954559f8c/f5291171-e29a-462e-bf2e-d5db55640fb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10eac20f1fe276f52d2250c88eb7456c07578059597b7e6a345d2cb0b0774d97 [2022-09-27T21:08:54.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:08:54.502Z] Dload Upload Total Spent Left Speed [2022-09-27T21:08:54.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 8605 --:--:-- --:--:-- --:--:-- 8563 100 1747 0 0 100 1747 0 7662 --:--:-- --:--:-- --:--:-- 7628 [2022-09-27T21:08:54.761Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] } [2022-09-27T21:08:54.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T21:08:55.439Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] [2022-09-27T21:08:55.439Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-27T21:08:55.439Z] total 16 [2022-09-27T21:08:55.439Z] drwxr-xr-x 3 root root 4096 Sep 27 21:00 . [2022-09-27T21:08:55.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:00 .. [2022-09-27T21:08:55.439Z] drwxr-xr-x 2 root root 4096 Sep 27 21:00 cost [2022-09-27T21:08:55.439Z] -rw-r--r-- 1 root root 86 Sep 27 21:00 cost.csv [2022-09-27T21:08:55.439Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-27T21:08:55.439Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives [2022-09-27T21:08:55.439Z] total 16 [2022-09-27T21:08:55.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:00 . [2022-09-27T21:08:55.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:00 .. [2022-09-27T21:08:55.439Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:00 cost [2022-09-27T21:08:55.439Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:55.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:56.584Z] ---> package-listing.sh [2022-09-27T21:08:56.584Z] ++ facter osfamily [2022-09-27T21:08:56.584Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T21:08:56.842Z] + OS_FAMILY=debian [2022-09-27T21:08:56.842Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 [2022-09-27T21:08:56.842Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T21:08:56.842Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T21:08:56.842Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T21:08:56.842Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T21:08:56.842Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-27T21:08:56.842Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T21:08:56.842Z] + case "${OS_FAMILY}" in [2022-09-27T21:08:56.842Z] + dpkg -l [2022-09-27T21:08:56.842Z] + grep '^ii' [2022-09-27T21:08:56.842Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T21:08:56.842Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T21:08:56.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T21:08:56.842Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' [2022-09-27T21:08:56.842Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [2022-09-27T21:08:56.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [Pipeline] echo [2022-09-27T21:08:56.852Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T21:08:57.127Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:08:57.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:08:57.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:08:57.739Z] prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container [2022-09-27T21:08:57.777Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:08:57.978Z] $ docker top 035c8c29278d39321be7653c60af9584ba3f605ca064117b721096d743f3e29e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:08:58.304Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T21:08:58.586Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T21:08:58.864Z] + ls /var/log/sa-host [2022-09-27T21:08:58.865Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:08:58.924Z] provisioning config files... [2022-09-27T21:08:58.932Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config3590484327991281534tmp [Pipeline] { [Pipeline] echo [2022-09-27T21:08:58.947Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:59.232Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T21:08:59.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:59.569Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T21:08:59.576Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:08:59.859Z] ---> sudo-logs.sh [2022-09-27T21:08:59.859Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T21:08:59.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:00.169Z] ---> job-cost.sh [2022-09-27T21:09:00.169Z] lf-activate-venv: SKIPPING [2022-09-27T21:09:00.169Z] DEBUG: total: 0.2199999988079071 [2022-09-27T21:09:00.169Z] INFO: Retrieving Stack Cost... [2022-09-27T21:09:00.427Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:09:00.996Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T21:09:01.007Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:01.299Z] ---> logs-deploy.sh [2022-09-27T21:09:01.299Z] lf-activate-venv: SKIPPING [2022-09-27T21:09:01.299Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/3 [2022-09-27T21:09:01.299Z] INFO: archiving workspace using pattern(s): [2022-09-27T21:09:02.245Z] Archives upload complete. [2022-09-27T21:09:02.245Z] INFO: archiving logs to Nexus