MightyNerdEric commented: recheck 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 hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 73143a36111513d6c8c6c63e03c3b52992ea2f11+280325e4612ce8aecdce91e221aa23a95129edcb (248fa27780a25ac8075b2f301252b97a2db5daf7) 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-ssh18134701834468316500.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6879669348500403384.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-223/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-223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3192245598594574477.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3852440048039659429.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-223/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-223/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11436183616442275291.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-116835 in /w/workspace/gexfoundry_device-rest-go_PR-223 [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-223 # 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/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 280325e4612ce8aecdce91e221aa23a95129edcb into PR head commit 73143a36111513d6c8c6c63e03c3b52992ea2f11 Merge succeeded, producing 7e30031deb7a9794e2086a484ec2f597982a89ac Checking out Revision 7e30031deb7a9794e2086a484ec2f597982a89ac (PR-223) > git config core.sparsecheckout # timeout=10 > git checkout -f 73143a36111513d6c8c6c63e03c3b52992ea2f11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e30031deb7a9794e2086a484ec2f597982a89ac # timeout=10 Commit message: "Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:01 ========================================================= 10:10:01 EdgeX Global Pipelines Version Info 10:10:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0d43708587b36b8540078d7785646ad9ef1cb500 # timeout=10 10:10:02 ------------------- 10:10:02 stable info: 10:10:02 ------------------- 10:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:02 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:10:02 Message: update stable to v1.0.243 10:10:03 ------------------- 10:10:03 experimental info: 10:10:03 ------------------- 10:10:03 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:10:03 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-223 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-223 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-223 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e30031 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:03 provisioning config files... 10:10:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config9660653282040690054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:04 ---> docker-login.sh 10:10:04 nexus3.edgexfoundry.org:10001 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:04 Configure a credential helper to remove this warning. See 10:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:04 10:10:04 Login Succeeded 10:10:04 nexus3.edgexfoundry.org:10002 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:04 Configure a credential helper to remove this warning. See 10:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:04 10:10:04 Login Succeeded 10:10:04 nexus3.edgexfoundry.org:10003 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:04 Configure a credential helper to remove this warning. See 10:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:04 10:10:04 Login Succeeded 10:10:04 nexus3.edgexfoundry.org:10004 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:04 Configure a credential helper to remove this warning. See 10:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:04 10:10:04 Login Succeeded 10:10:04 docker.io 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:05 Configure a credential helper to remove this warning. See 10:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:05 10:10:05 Login Succeeded 10:10:05 ---> docker-login.sh ends [Pipeline] } 10:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:05 + git rev-list -1 --merges 7e30031deb7a9794e2086a484ec2f597982a89ac~1..7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo 10:10:05 -----------> git rev-list -1 --merges 7e30031deb7a9794e2086a484ec2f597982a89ac~1..7e30031deb7a9794e2086a484ec2f597982a89ac 7e30031deb7a9794e2086a484ec2f597982a89ac 10:10:05 7e30031deb7a9794e2086a484ec2f597982a89ac [false] [Pipeline] sh 10:10:05 + git log --format=format:%s -1 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo 10:10:05 ========================================================= 10:10:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:06 + git log --format=format:%s -1 7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] echo 10:10:06 [semverPrep] GIT_COMMIT: 7e30031deb7a9794e2086a484ec2f597982a89ac, Commit Message: Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD [Pipeline] echo 10:10:06 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:06 + grep -v github /etc/ssh/ssh_known_hosts 10:10:06 + [ -e /tmp/ssh_known_hosts ] 10:10:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:06 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:06 10:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:07 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:07 b85a868b505f: Pulling fs layer 10:10:07 e2be974225ed: Pulling fs layer 10:10:07 339a4e72a1f5: Pulling fs layer 10:10:07 988bab9f4d93: Pulling fs layer 10:10:07 1469e6f7b9e6: Pulling fs layer 10:10:07 eaf3925da568: Pulling fs layer 10:10:07 bab4dde63d76: Pulling fs layer 10:10:07 bde34c3a00c8: Pulling fs layer 10:10:07 b352a97aabf1: Pulling fs layer 10:10:07 4872d77fe225: Pulling fs layer 10:10:07 5851b861e8e6: Pulling fs layer 10:10:07 eaf3925da568: Waiting 10:10:07 5851b861e8e6: Waiting 10:10:07 bab4dde63d76: Waiting 10:10:07 b352a97aabf1: Waiting 10:10:07 4872d77fe225: Waiting 10:10:07 bde34c3a00c8: Waiting 10:10:07 1469e6f7b9e6: Waiting 10:10:07 988bab9f4d93: Waiting 10:10:07 e2be974225ed: Download complete 10:10:07 988bab9f4d93: Verifying Checksum 10:10:07 988bab9f4d93: Download complete 10:10:07 1469e6f7b9e6: Verifying Checksum 10:10:07 1469e6f7b9e6: Download complete 10:10:07 eaf3925da568: Verifying Checksum 10:10:07 eaf3925da568: Download complete 10:10:07 339a4e72a1f5: Verifying Checksum 10:10:07 339a4e72a1f5: Download complete 10:10:07 bde34c3a00c8: Download complete 10:10:07 b352a97aabf1: Download complete 10:10:07 4872d77fe225: Download complete 10:10:07 5851b861e8e6: Verifying Checksum 10:10:07 5851b861e8e6: Download complete 10:10:07 b85a868b505f: Verifying Checksum 10:10:07 b85a868b505f: Download complete 10:10:07 bab4dde63d76: Verifying Checksum 10:10:08 b85a868b505f: Pull complete 10:10:08 e2be974225ed: Pull complete 10:10:09 339a4e72a1f5: Pull complete 10:10:09 988bab9f4d93: Pull complete 10:10:09 1469e6f7b9e6: Pull complete 10:10:09 eaf3925da568: Pull complete 10:10:11 bab4dde63d76: Pull complete 10:10:11 bde34c3a00c8: Pull complete 10:10:12 b352a97aabf1: Pull complete 10:10:12 4872d77fe225: Pull complete 10:10:12 5851b861e8e6: Pull complete 10:10:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:12 prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container 10:10:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@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 10:10:14 $ docker top 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 -eo pid,comm 10:10:14 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). 10:10:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:14 [ssh-agent] Looking for ssh-agent implementation... 10:10:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:14 $ docker exec 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent 10:10:14 SSH_AUTH_SOCK=/tmp/ssh-ZS4uOBPhYsrW/agent.32 10:10:14 SSH_AGENT_PID=38 10:10:14 Running ssh-add (command line suppressed) 10:10:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_11311018863047987982.key (/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_11311018863047987982.key) 10:10:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:14 + git tag --points-at HEAD [Pipeline] } 10:10:14 $ docker exec --env ******** --env ******** 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent -k 10:10:14 unset SSH_AUTH_SOCK; 10:10:14 unset SSH_AGENT_PID; 10:10:14 echo Agent pid 38 killed; 10:10:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:14 [ssh-agent] Looking for ssh-agent implementation... 10:10:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:15 $ docker exec 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent 10:10:15 SSH_AUTH_SOCK=/tmp/ssh-tNdvGRu3Fx54/agent.70 10:10:15 SSH_AGENT_PID=76 10:10:15 Running ssh-add (command line suppressed) 10:10:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_8098186002033673071.key (/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/private_key_8098186002033673071.key) 10:10:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:15 + git semver init 10:10:15 2022-10-25 10:10:15,771 [run_init] DEBUG init version:0.0.0 force:False 10:10:15 2022-10-25 10:10:15,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver 10:10:15 2022-10-25 10:10:15,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-223/.semver 10:10:15 2022-10-25 10:10:15,773 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-223/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223, universal_newlines=False, shell=None, istream=None) 10:10:17 2022-10-25 10:10:16,958 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-223/.git/info/exclude 10:10:17 2022-10-25 10:10:16,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 with force:False 10:10:17 2022-10-25 10:10:16,959 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 10:10:17 2022-10-25 10:10:16,963 [execute] INFO git cat-file --batch-check 10:10:17 2022-10-25 10:10:16,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) 10:10:17 2022-10-25 10:10:16,970 [execute] INFO git cat-file --batch 10:10:17 2022-10-25 10:10:16,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-223/.semver, universal_newlines=False, shell=None, istream=) 10:10:17 2022-10-25 10:10:16,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-223/.semver/PR-223 10:10:17 0.0.0 [Pipeline] } 10:10:17 $ docker exec --env ******** --env ******** 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 ssh-agent -k 10:10:17 unset SSH_AUTH_SOCK; 10:10:17 unset SSH_AGENT_PID; 10:10:17 echo Agent pid 76 killed; 10:10:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:17 + git semver [Pipeline] } 10:10:17 $ docker stop --time=1 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 10:10:19 $ docker rm -f 1a5b62a3ad812d4ed5c688f9f603894f63979d6b29ca3e6461ddc723c6611e79 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:19 Stashed 1 file(s) [Pipeline] echo 10:10:19 [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 10:10:19 provisioning config files... 10:10:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config5181873991797648791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:20 ---> docker-login.sh 10:10:20 nexus3.edgexfoundry.org:10001 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10002 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10003 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10004 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116832 in /w/workspace/gexfoundry_device-rest-go_PR-223 [Pipeline] { [Pipeline] ws 10:10:20 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 10:10:20 The recommended git tool is: git 10:10:20 docker.io 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:21 Configure a credential helper to remove this warning. See 10:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:21 10:10:21 Login Succeeded 10:10:21 ---> docker-login.sh ends [Pipeline] } 10:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:21 ========================================================= 10:10:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:10:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:21 + 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 . 10:10:21 Sending build context to Docker daemon 10.74MB 10:10:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:10:21 Step 2/13 : FROM ${BASE} AS builder 10:10:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:21 213ec9aee27d: Pulling fs layer 10:10:21 4583459ba037: Pulling fs layer 10:10:21 93c1e223e6f2: Pulling fs layer 10:10:21 53926ce57604: Pulling fs layer 10:10:21 21b2b0c7a3f4: Pulling fs layer 10:10:21 30f14e443154: Pulling fs layer 10:10:21 801331c1e519: Pulling fs layer 10:10:21 99cc6dd402b0: Pulling fs layer 10:10:21 7d9ed39f4882: Pulling fs layer 10:10:21 801331c1e519: Waiting 10:10:21 21b2b0c7a3f4: Waiting 10:10:21 30f14e443154: Waiting 10:10:21 99cc6dd402b0: Waiting 10:10:21 7d9ed39f4882: Waiting 10:10:21 93c1e223e6f2: Verifying Checksum 10:10:21 93c1e223e6f2: Download complete 10:10:21 4583459ba037: Download complete 10:10:21 21b2b0c7a3f4: Verifying Checksum 10:10:21 21b2b0c7a3f4: Download complete 10:10:21 30f14e443154: Verifying Checksum 10:10:21 30f14e443154: Download complete 10:10:21 213ec9aee27d: Download complete 10:10:21 801331c1e519: Download complete 10:10:21 213ec9aee27d: Pull complete 10:10:21 4583459ba037: Pull complete 10:10:21 93c1e223e6f2: Pull complete 10:10:22 7d9ed39f4882: Verifying Checksum 10:10:22 7d9ed39f4882: Download complete 10:10:22 99cc6dd402b0: Verifying Checksum 10:10:22 99cc6dd402b0: Download complete 10:10:22 53926ce57604: Verifying Checksum 10:10:22 53926ce57604: Download complete 10:10:25 53926ce57604: Pull complete 10:10:25 21b2b0c7a3f4: Pull complete 10:10:26 30f14e443154: Pull complete 10:10:26 801331c1e519: Pull complete 10:10:26 using credential edgex-jenkins-ssh 10:10:26 Cloning the remote Git repository 10:10:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:10:26 > git init /w/workspace/device-rest-go/2 # timeout=10 10:10:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:10:26 > git --version # timeout=10 10:10:26 > git --version # 'git version 2.25.1' 10:10:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:26 Verifying host key using known hosts file 10:10:26 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. 10:10:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:28 99cc6dd402b0: Pull complete 10:10:29 7d9ed39f4882: Pull complete 10:10:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 10:10:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:10:29 ---> 1dedd983c030 10:10:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:10:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:30 Merging remotes/origin/main commit 280325e4612ce8aecdce91e221aa23a95129edcb into PR head commit 73143a36111513d6c8c6c63e03c3b52992ea2f11 10:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:10:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:10:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:29 Verifying host key using known hosts file 10:10:29 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. 10:10:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/223/head:refs/remotes/origin/PR-223 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:10:30 > git config core.sparsecheckout # timeout=10 10:10:30 > git checkout -f 73143a36111513d6c8c6c63e03c3b52992ea2f11 # timeout=10 10:10:30 > git remote # timeout=10 10:10:30 > git config --get remote.origin.url # timeout=10 10:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:30 Verifying host key using known hosts file 10:10:30 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. 10:10:30 > git merge 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 10:10:30 > git rev-parse HEAD^{commit} # timeout=10 10:10:30 Merge succeeded, producing dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 10:10:30 Checking out Revision dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 (PR-223) 10:10:30 > git config core.sparsecheckout # timeout=10 10:10:30 > git checkout -f dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 # timeout=10 10:10:34 Commit message: "Merge commit '280325e4612ce8aecdce91e221aa23a95129edcb' into HEAD" 10:10:34 First time build. Skipping changelog. 10:10:34 ---> Running in 6de96379c368 10:10:34 Removing intermediate container 6de96379c368 10:10:34 ---> 93c28accd19f 10:10:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:10:34 ---> Running in 3c4fc59d25b2 10:10:34 Removing intermediate container 3c4fc59d25b2 10:10:34 ---> cc38bcacbf61 10:10:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:35 ---> Running in 4e55a4556175 10:10:35 Removing intermediate container 4e55a4556175 10:10:35 ---> 9dcaf074ffae 10:10:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:10:35 ---> Running in babfab2455db 10:10:35 Removing intermediate container babfab2455db 10:10:35 ---> 3a54b3e3cfd1 10:10:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:35 ---> Running in 3d6c034ed20e 10:10:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:10:35 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:35 Dload Upload Total Spent Left Speed 10:10:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k 10:10:34 > git rev-list --no-walk 0d43708587b36b8540078d7785646ad9ef1cb500 # timeout=10 [Pipeline] sh 10:10:35 Removing intermediate container 3d6c034ed20e 10:10:35 ---> a0bbc1563ced 10:10:35 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:35 ---> Running in eace1ae7c781 10:10:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:10:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:36 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 10:10:36 /etc/docker/daemon.json 10:10:36 { 10:10:36 "registry-mirrors": [ 10:10:36 "https://nexus3.edgexfoundry.org:10001" 10:10:36 ], 10:10:36 "bip": "10.250.0.254/24", 10:10:36 "hosts": [ 10:10:36 "tcp://0.0.0.0:5555", 10:10:36 "unix:///var/run/docker.sock" 10:10:36 ], 10:10:36 "mtu": 1458, 10:10:36 "selinux-enabled": true, 10:10:36 "seccomp-profile": "/etc/docker/seccomp.json" 10:10:36 } [Pipeline] sh 10:10:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:10:37 + sudo service docker restart 10:10:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:10:37 (2/4) Installing libedit (20210910.3.1-r0) 10:10:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:10:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:10:37 Executing busybox-1.35.0-r17.trigger 10:10:37 OK: 216 MiB in 55 packages 10:10:38 Removing intermediate container eace1ae7c781 10:10:38 ---> 8a51bf65eb91 10:10:38 Step 9/13 : WORKDIR /device-rest-go 10:10:38 ---> Running in 24a7bc44e50d 10:10:38 Removing intermediate container 24a7bc44e50d 10:10:38 ---> 65c4ed4c2c57 10:10:38 Step 10/13 : COPY go.mod vendor* ./ 10:10:38 ---> 2a73245b9edc 10:10:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:38 ---> Running in 9e9b7308f251 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:55 provisioning config files... 10:10:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3482164124624778896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:55 ---> docker-login.sh 10:10:55 nexus3.edgexfoundry.org:10001 10:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:56 Configure a credential helper to remove this warning. See 10:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:56 10:10:56 Login Succeeded 10:10:56 nexus3.edgexfoundry.org:10002 10:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:57 Configure a credential helper to remove this warning. See 10:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:57 10:10:57 Login Succeeded 10:10:57 nexus3.edgexfoundry.org:10003 10:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:57 Configure a credential helper to remove this warning. See 10:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:57 10:10:57 Login Succeeded 10:10:57 nexus3.edgexfoundry.org:10004 10:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:58 Configure a credential helper to remove this warning. See 10:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:58 10:10:58 Login Succeeded 10:10:58 docker.io 10:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:58 Configure a credential helper to remove this warning. See 10:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:58 10:10:58 Login Succeeded 10:10:58 ---> docker-login.sh ends [Pipeline] } 10:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:58 ========================================================= 10:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:59 + 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 . 10:10:59 Sending build context to Docker daemon 127.5kB 10:10:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:10:59 Step 2/13 : FROM ${BASE} AS builder 10:10:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:59 9b18e9b68314: Pulling fs layer 10:10:59 d32db5db7311: Pulling fs layer 10:10:59 d0c4b47475fc: Pulling fs layer 10:10:59 5831b945b038: Pulling fs layer 10:10:59 86bbec2aaacd: Pulling fs layer 10:10:59 e10730c5d714: Pulling fs layer 10:10:59 5dd5c2283517: Pulling fs layer 10:10:59 d5ac0230b979: Pulling fs layer 10:10:59 e10730c5d714: Waiting 10:10:59 5831b945b038: Waiting 10:10:59 5dd5c2283517: Waiting 10:10:59 d5ac0230b979: Waiting 10:10:59 86bbec2aaacd: Waiting 10:10:59 d0c4b47475fc: Verifying Checksum 10:10:59 d0c4b47475fc: Download complete 10:10:59 d32db5db7311: Verifying Checksum 10:10:59 d32db5db7311: Download complete 10:10:59 86bbec2aaacd: Verifying Checksum 10:10:59 86bbec2aaacd: Download complete 10:10:59 e10730c5d714: Verifying Checksum 10:10:59 e10730c5d714: Download complete 10:10:59 9b18e9b68314: Download complete 10:11:00 9b18e9b68314: Pull complete 10:11:01 d5ac0230b979: Verifying Checksum 10:11:01 d5ac0230b979: Download complete 10:11:01 d32db5db7311: Pull complete 10:11:02 d0c4b47475fc: Pull complete 10:11:02 5dd5c2283517: Verifying Checksum 10:11:02 5dd5c2283517: Download complete 10:11:03 5831b945b038: Verifying Checksum 10:11:03 5831b945b038: Download complete 10:11:04 Removing intermediate container 9e9b7308f251 10:11:04 ---> ba35d1c012c6 10:11:04 Step 12/13 : COPY . . 10:11:04 ---> 09d4a9f62f23 10:11:04 Step 13/13 : RUN $MAKE 10:11:04 ---> Running in 231f3892fcaa 10:11:04 noop 10:11:04 Removing intermediate container 231f3892fcaa 10:11:04 ---> 41590d83e38d 10:11:04 Successfully built 41590d83e38d 10:11:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:05 + docker inspect -f . ci-base-image-x86_64 10:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:05 prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container 10:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@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 10:11:06 $ docker top faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:06 + go version 10:11:06 go version go1.18.7 linux/amd64 [Pipeline] } 10:11:06 $ docker stop --time=1 faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 10:11:07 $ docker rm -f faf3b230caeef3b76942817d7b1e45b837c66630ccf51708a61e87940afd7ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:08 + docker inspect -f . ci-base-image-x86_64 10:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:08 prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container 10:11:08 $ 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-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@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 10:11:08 $ docker top 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-223 [Pipeline] fileExists [Pipeline] sh 10:11:09 + make test 10:11:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:09 ? github.com/edgexfoundry/device-rest-go [no test files] 10:11:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:11:18 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 10:11:19 5831b945b038: Pull complete 10:11:19 86bbec2aaacd: Pull complete 10:11:19 e10730c5d714: Pull complete 10:11:23 5dd5c2283517: Pull complete 10:11:25 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." 10:11:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:11:25 d5ac0230b979: Pull complete 10:11:25 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 10:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:11:25 ---> 59b3b1a385d4 10:11:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:11:27 ---> Running in 2d5f6e7ad382 10:11:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:11:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:11:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:11:27 $ docker stop --time=1 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb 10:11:27 Removing intermediate container 2d5f6e7ad382 10:11:27 ---> 29285ec01c4e 10:11:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:27 ---> Running in 5dfcde6cca84 10:11:28 Removing intermediate container 5dfcde6cca84 10:11:28 ---> 716e038fa006 10:11:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:11:28 ---> Running in 7a189286fef4 10:11:28 Removing intermediate container 7a189286fef4 10:11:28 ---> 42e0ea60a23d 10:11:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:11:28 ---> Running in 6ac6758016c2 10:11:28 Removing intermediate container 6ac6758016c2 10:11:28 ---> b2a933dbf4c1 10:11:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:28 ---> Running in 626b6a607447 10:11:30 $ docker rm -f 6f7df240e64483aaa150ed7c974ab99b9c84935bcba8e1a6ad6ff3e1fb1a36fb [Pipeline] // withDockerContainer [Pipeline] sh 10:11:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:30 Removing intermediate container 626b6a607447 10:11:30 ---> 48a073d168a0 10:11:30 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:30 ---> Running in b551ebc2496b 10:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:31 + ls -al . 10:11:31 total 184 10:11:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 10:11 . 10:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 .. 10:11:31 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 10:09 .dockerignore 10:11:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:11 .git 10:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 .github 10:11:31 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 10:09 .gitignore 10:11:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:09 .golangci.yml 10:11:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:10 .semver 10:11:31 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 10:09 Attribution.txt 10:11:31 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 10:09 CHANGELOG.md 10:11:31 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 10:09 Dockerfile 10:11:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:09 GOVERNANCE.md 10:11:31 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:09 Jenkinsfile 10:11:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:09 LICENSE 10:11:31 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 10:09 Makefile 10:11:31 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 10:09 OWNERS.md 10:11:31 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 10:09 README.md 10:11:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION 10:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 bin 10:11:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:09 cmd 10:11:31 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 10:11 coverage.out 10:11:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:09 driver 10:11:31 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 10:09 go.mod 10:11:31 -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 10:09 go.sum 10:11:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:09 snap 10:11:31 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:31 + 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=7e30031deb7a9794e2086a484ec2f597982a89ac --label arch=amd64 --label version=0.0.0 . 10:11:31 Sending build context to Docker daemon 10.76MB 10:11:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:11:31 Step 2/26 : FROM ${BASE} AS builder 10:11:31 ---> 41590d83e38d 10:11:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:11:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:11:31 ---> Running in 4c034ddd25c8 10:11:31 Removing intermediate container 4c034ddd25c8 10:11:31 ---> d4b64412ea40 10:11:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:31 ---> Running in 7f571a4d4a4e 10:11:31 Removing intermediate container 7f571a4d4a4e 10:11:31 ---> d2c762a9cb4c 10:11:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:11:32 ---> Running in 4a9534e4f90e 10:11:32 Removing intermediate container 4a9534e4f90e 10:11:32 ---> ae44b2798251 10:11:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:11:32 ---> Running in bc9b8378d8dd 10:11:32 Removing intermediate container bc9b8378d8dd 10:11:32 ---> fbf45f1a7c4d 10:11:32 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:32 ---> Running in 1367df7ec2a0 10:11:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:11:33 Removing intermediate container 1367df7ec2a0 10:11:33 ---> 1dc49c66ec25 10:11:33 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:33 ---> Running in c91730347f17 10:11:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:11:34 (2/4) Installing libedit (20210910.3.1-r0) 10:11:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:11:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:34 OK: 216 MiB in 55 packages 10:11:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:11:34 Executing busybox-1.35.0-r17.trigger 10:11:34 OK: 226 MiB in 55 packages 10:11:34 Removing intermediate container c91730347f17 10:11:34 ---> 0bbbf1e0d088 10:11:34 Step 9/26 : WORKDIR /device-rest-go 10:11:34 ---> Running in fc54ce74d323 10:11:34 Removing intermediate container fc54ce74d323 10:11:34 ---> 6276531a06ec 10:11:34 Step 10/26 : COPY go.mod vendor* ./ 10:11:34 ---> 66fcf678465d 10:11:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:34 ---> Running in a0a9496ca865 10:11:35 Removing intermediate container a0a9496ca865 10:11:35 ---> a86fc8d41300 10:11:35 Step 12/26 : COPY . . 10:11:35 Removing intermediate container b551ebc2496b 10:11:35 ---> d5a6062e647b 10:11:35 Step 9/13 : WORKDIR /device-rest-go 10:11:35 ---> Running in 8c92d4b6056e 10:11:35 Removing intermediate container 8c92d4b6056e 10:11:35 ---> 678638631ece 10:11:35 Step 10/13 : COPY go.mod vendor* ./ 10:11:35 ---> 0f134e18bb81 10:11:35 Step 13/26 : RUN $MAKE 10:11:35 ---> Running in 08c04b0cd415 10:11:36 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 10:11:36 ---> 7b3b7bfa3eaf 10:11:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:36 ---> Running in bce29fb08107 10:11:58 Removing intermediate container 08c04b0cd415 10:11:58 ---> 0f84f231e7a2 10:11:58 Step 14/26 : FROM alpine:3.16 10:11:58 3.16: Pulling from library/alpine 10:11:58 213ec9aee27d: Already exists 10:11:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:11:58 Status: Downloaded newer image for alpine:3.16 10:11:58 ---> 9c6f07244728 10:11:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:11:58 ---> Running in adcc36cff37b 10:11:58 Removing intermediate container adcc36cff37b 10:11:58 ---> 0b88efb9cbaf 10:11:58 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 10:11:58 ---> Running in 5bf73dcc62d6 10:11:58 Removing intermediate container 5bf73dcc62d6 10:11:58 ---> af2fc2505d3a 10:11:58 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 10:11:58 ---> Running in 85528c173694 10:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:58 (1/6) Installing dumb-init (1.2.5-r1) 10:11:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:11:58 (3/6) Installing libsodium (1.0.18-r0) 10:11:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:11:58 (5/6) Installing libzmq (4.3.4-r0) 10:11:58 (6/6) Installing zeromq (4.3.4-r0) 10:11:58 Executing busybox-1.35.0-r17.trigger 10:11:58 OK: 8 MiB in 20 packages 10:11:58 Removing intermediate container 85528c173694 10:11:58 ---> b51b596e331f 10:11:58 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 10:11:58 ---> b2a1dd71f0ce 10:11:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 10:11:58 ---> e2eaec0fc0e5 10:11:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 10:11:58 ---> 7e0a796c2356 10:11:58 Step 21/26 : EXPOSE 59986 10:11:58 ---> Running in 5a7e0611e3a3 10:11:58 Removing intermediate container 5a7e0611e3a3 10:11:58 ---> 9b02d1c775d2 10:11:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 10:11:58 ---> Running in d33c01438ad5 10:11:58 Removing intermediate container d33c01438ad5 10:11:58 ---> 893fb6e7497b 10:11:58 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:11:58 ---> Running in 41d13b201137 10:11:58 Removing intermediate container 41d13b201137 10:11:58 ---> 5b2655468946 10:11:58 Step 24/26 : LABEL arch=amd64 10:11:58 ---> Running in 1c13fec52277 10:11:59 Removing intermediate container 1c13fec52277 10:11:59 ---> 28634823f324 10:11:59 Step 25/26 : LABEL git_sha=7e30031deb7a9794e2086a484ec2f597982a89ac 10:11:59 ---> Running in 04e14bc98117 10:11:59 Removing intermediate container 04e14bc98117 10:11:59 ---> bf3309f7d765 10:11:59 Step 26/26 : LABEL version=0.0.0 10:11:59 ---> Running in 53c9d891fcf0 10:11:59 Removing intermediate container 53c9d891fcf0 10:11:59 ---> 765522b14069 10:11:59 [Warning] One or more build-args [ARCH] were not consumed 10:11:59 Successfully built 765522b14069 10:11:59 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 10:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:59 10:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:00 latest: Pulling from edgex-lftools-log-publisher 10:12:00 5eb5b503b376: Pulling fs layer 10:12:00 5c69ac0246d0: Pulling fs layer 10:12:00 ec43610c2a17: Pulling fs layer 10:12:00 3a2ae6a8a46f: Pulling fs layer 10:12:00 33b1e0a273af: Pulling fs layer 10:12:00 5d3b04190fa2: Pulling fs layer 10:12:00 2f39f015ded8: Pulling fs layer 10:12:00 33b1e0a273af: Waiting 10:12:00 5d3b04190fa2: Waiting 10:12:00 3a2ae6a8a46f: Waiting 10:12:00 2f39f015ded8: Waiting 10:12:00 5c69ac0246d0: Download complete 10:12:00 3a2ae6a8a46f: Verifying Checksum 10:12:00 3a2ae6a8a46f: Download complete 10:12:00 33b1e0a273af: Verifying Checksum 10:12:00 33b1e0a273af: Download complete 10:12:00 5d3b04190fa2: Download complete 10:12:00 ec43610c2a17: Verifying Checksum 10:12:00 ec43610c2a17: Download complete 10:12:00 5eb5b503b376: Download complete 10:12:01 2f39f015ded8: Verifying Checksum 10:12:01 2f39f015ded8: Download complete 10:12:01 5eb5b503b376: Pull complete 10:12:01 5c69ac0246d0: Pull complete 10:12:02 ec43610c2a17: Pull complete 10:12:02 3a2ae6a8a46f: Pull complete 10:12:02 33b1e0a273af: Pull complete 10:12:02 5d3b04190fa2: Pull complete 10:12:06 2f39f015ded8: Pull complete 10:12:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:06 prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container 10:12:06 $ 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-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@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 10:12:11 $ docker top 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:11 ---> job-cost.sh 10:12:11 lf-activate-venv: SKIPPING 10:12:11 INFO: No Stack... 10:12:11 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:11 INFO: Archiving Costs [Pipeline] sh 10:12:12 + cat /w/workspace/gexfoundry_device-rest-go_PR-223/archives/cost.csv 10:12:12 + cut -d, -f6 [Pipeline] lock 10:12:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] 10:12:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] did not exist. Created. 10:12:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:12 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:12 Stashed 1 file(s) [Pipeline] } 10:12:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:12 $ docker stop --time=1 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc 10:12:13 $ docker rm -f 0705b71fadf6a321942fa62f36603062b7e46c675b9640f54e0d75e7a10363cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:32 Removing intermediate container bce29fb08107 10:12:32 ---> a9e7e9635e36 10:12:32 Step 12/13 : COPY . . 10:12:32 ---> 5f3eb40ef094 10:12:32 Step 13/13 : RUN $MAKE 10:12:32 ---> Running in 77b2228bc8ab 10:12:32 noop 10:12:32 Removing intermediate container 77b2228bc8ab 10:12:32 ---> 0287cd08a73f 10:12:33 Successfully built 0287cd08a73f 10:12:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:33 + docker inspect -f . ci-base-image-arm64 10:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:33 prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container 10:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:35 $ docker top 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:35 + go version 10:12:35 go version go1.18.7 linux/arm64 [Pipeline] } 10:12:35 $ docker stop --time=1 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 10:12:37 $ docker rm -f 1581600c162be434166a29a7c6be0252dbad3e48c5663eaa11b78ff6fb731858 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:38 + docker inspect -f . ci-base-image-arm64 10:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:38 prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container 10:12:38 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:39 $ docker top 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:40 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 10:12:41 + make test 10:12:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:12:43 ? github.com/edgexfoundry/device-rest-go [no test files] 10:14:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:14:19 ok github.com/edgexfoundry/device-rest-go/driver 0.077s coverage: 55.2% of statements 10:14:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:14:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:14:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:41 ./bin/test-attribution-txt.sh [Pipeline] echo 10:14:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:14:41 $ docker stop --time=1 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 10:14:43 $ docker rm -f 97c93f846823b6800ec9656ce18c0978742d40d75761c32daffdf01e5d777941 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:44 Warning: overwriting stash ‘coverage-report’ 10:14:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:45 + ls -al . 10:14:45 total 180 10:14:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:12 . 10:14:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 .. 10:14:45 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 10:10 .dockerignore 10:14:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 10:10 .git 10:14:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 .github 10:14:45 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 10:10 .gitignore 10:14:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 10:10 .golangci.yml 10:14:45 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 10:10 Attribution.txt 10:14:45 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 10:10 CHANGELOG.md 10:14:45 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 10:10 Dockerfile 10:14:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 10:10 GOVERNANCE.md 10:14:45 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 10:10 Jenkinsfile 10:14:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 10:10 LICENSE 10:14:45 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 10:10 Makefile 10:14:45 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 10:10 OWNERS.md 10:14:45 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 10:10 README.md 10:14:45 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 10:10 VERSION 10:14:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 bin 10:14:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 10:10 cmd 10:14:45 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 10:14 coverage.out 10:14:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 10:10 driver 10:14:45 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 10:10 go.mod 10:14:45 -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 10:10 go.sum 10:14:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 10:10 snap 10:14:45 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:46 + 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=dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 --label arch=arm64 --label version=0.0.0 . 10:14:46 Sending build context to Docker daemon 137.7kB 10:14:46 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:14:46 Step 2/26 : FROM ${BASE} AS builder 10:14:46 ---> 0287cd08a73f 10:14:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:14:46 ---> Running in 4463808ded1b 10:14:46 Removing intermediate container 4463808ded1b 10:14:46 ---> c5a556f91da2 10:14:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:46 ---> Running in c8cc337ae40e 10:14:47 Removing intermediate container c8cc337ae40e 10:14:47 ---> 48f4f55624b8 10:14:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:14:47 ---> Running in 7b6e32b271db 10:14:47 Removing intermediate container 7b6e32b271db 10:14:47 ---> d2a7f49d190e 10:14:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:14:47 ---> Running in 96f6b6e5dfba 10:14:47 Removing intermediate container 96f6b6e5dfba 10:14:47 ---> 9470809265f5 10:14:47 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:47 ---> Running in 704141f37773 10:14:49 Removing intermediate container 704141f37773 10:14:49 ---> c67b1fc17859 10:14:49 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:49 ---> Running in 03dd5f1cb727 10:14:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:14:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:14:52 OK: 226 MiB in 55 packages 10:14:53 Removing intermediate container 03dd5f1cb727 10:14:53 ---> 4827bffa0c20 10:14:53 Step 9/26 : WORKDIR /device-rest-go 10:14:53 ---> Running in ed8328fbe6ba 10:14:53 Removing intermediate container ed8328fbe6ba 10:14:53 ---> cd028015570f 10:14:53 Step 10/26 : COPY go.mod vendor* ./ 10:14:55 ---> 07f9939a475a 10:14:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:55 ---> Running in aa2974169e49 10:14:56 Removing intermediate container aa2974169e49 10:14:56 ---> 9376e986370c 10:14:56 Step 12/26 : COPY . . 10:14:57 ---> 991e71054b69 10:14:57 Step 13/26 : RUN $MAKE 10:14:57 ---> Running in e20c2cfe43f4 10:14:58 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 10:17:35 Removing intermediate container e20c2cfe43f4 10:17:35 ---> 03f2e6772307 10:17:35 Step 14/26 : FROM alpine:3.16 10:17:35 3.16: Pulling from library/alpine 10:17:35 9b18e9b68314: Already exists 10:17:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:17:35 Status: Downloaded newer image for alpine:3.16 10:17:35 ---> a6215f271958 10:17:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:17:35 ---> Running in 60011a1a422a 10:17:35 Removing intermediate container 60011a1a422a 10:17:35 ---> 2a8948756be2 10:17:35 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 10:17:35 ---> Running in f832f96bfb29 10:17:35 Removing intermediate container f832f96bfb29 10:17:35 ---> bb48caa8885d 10:17:35 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 10:17:35 ---> Running in 682e29439784 10:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:17:35 (1/6) Installing dumb-init (1.2.5-r1) 10:17:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:17:35 (3/6) Installing libsodium (1.0.18-r0) 10:17:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:17:35 (5/6) Installing libzmq (4.3.4-r0) 10:17:35 (6/6) Installing zeromq (4.3.4-r0) 10:17:35 Executing busybox-1.35.0-r17.trigger 10:17:35 OK: 8 MiB in 20 packages 10:17:35 Removing intermediate container 682e29439784 10:17:35 ---> 0e40c82b952c 10:17:35 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 10:17:35 ---> 4d87c7fae4e9 10:17:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 10:17:35 ---> 877c0dda1ba4 10:17:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 10:17:35 ---> a9eb2495dedb 10:17:35 Step 21/26 : EXPOSE 59986 10:17:35 ---> Running in ac874ed30682 10:17:35 Removing intermediate container ac874ed30682 10:17:35 ---> 8db4ba03c55f 10:17:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 10:17:35 ---> Running in 300a750054c6 10:17:35 Removing intermediate container 300a750054c6 10:17:35 ---> 926a6e351e97 10:17:35 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:17:35 ---> Running in 9e05e435d77c 10:17:35 Removing intermediate container 9e05e435d77c 10:17:35 ---> a40d8d3b5ad8 10:17:35 Step 24/26 : LABEL arch=arm64 10:17:35 ---> Running in de5dd82de8a5 10:17:35 Removing intermediate container de5dd82de8a5 10:17:35 ---> a717b6e8454f 10:17:35 Step 25/26 : LABEL git_sha=dd6150f0e0358f5c9fb27a4b61a9bcaf982ea814 10:17:35 ---> Running in f1e4578695b0 10:17:35 Removing intermediate container f1e4578695b0 10:17:35 ---> dc8501aa6305 10:17:35 Step 26/26 : LABEL version=0.0.0 10:17:35 ---> Running in 4d290e8f54ed 10:17:35 Removing intermediate container 4d290e8f54ed 10:17:35 ---> 82f180fa8059 10:17:35 [Warning] One or more build-args [ARCH] were not consumed 10:17:35 Successfully built 82f180fa8059 10:17:35 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 10:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:35 10:17:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:36 arm64: Pulling from edgex-lftools-log-publisher 10:17:36 8998bd30e6a1: Pulling fs layer 10:17:36 04944245beec: Pulling fs layer 10:17:36 699f458cf7ca: Pulling fs layer 10:17:36 765212b225bb: Pulling fs layer 10:17:36 f23df028b6ca: Pulling fs layer 10:17:36 d65c8cfc05b1: Pulling fs layer 10:17:36 765212b225bb: Waiting 10:17:36 f23df028b6ca: Waiting 10:17:36 2437ff75d9bd: Pulling fs layer 10:17:36 d65c8cfc05b1: Waiting 10:17:36 2437ff75d9bd: Waiting 10:17:36 04944245beec: Verifying Checksum 10:17:36 04944245beec: Download complete 10:17:36 765212b225bb: Verifying Checksum 10:17:36 765212b225bb: Download complete 10:17:36 f23df028b6ca: Verifying Checksum 10:17:36 f23df028b6ca: Download complete 10:17:36 d65c8cfc05b1: Verifying Checksum 10:17:36 d65c8cfc05b1: Download complete 10:17:36 699f458cf7ca: Verifying Checksum 10:17:36 699f458cf7ca: Download complete 10:17:37 8998bd30e6a1: Verifying Checksum 10:17:37 8998bd30e6a1: Download complete 10:17:39 2437ff75d9bd: Verifying Checksum 10:17:39 2437ff75d9bd: Download complete 10:17:41 8998bd30e6a1: Pull complete 10:17:41 04944245beec: Pull complete 10:17:43 699f458cf7ca: Pull complete 10:17:43 765212b225bb: Pull complete 10:17:44 f23df028b6ca: Pull complete 10:17:44 d65c8cfc05b1: Pull complete 10:17:59 2437ff75d9bd: Pull complete 10:17:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:59 prd-ubuntu20.04-docker-arm64-4c-16g-116832 does not seem to be running inside a container 10:17:59 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:18:02 $ docker top aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:03 ---> job-cost.sh 10:18:03 lf-activate-venv: SKIPPING 10:18:03 INFO: No Stack... 10:18:03 INFO: Retrieving Pricing Info for: v3-standard-4 10:18:04 INFO: Archiving Costs [Pipeline] sh 10:18:05 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 10:18:05 cut -d, -f6 [Pipeline] lock 10:18:05 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] 10:18:05 Resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] did not exist. Created. 10:18:05 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:05 /w/workspace/device-rest-go/2@tmp/durable-ee233e90/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:18:06 + echo total: 0.10999999940395355 [Pipeline] stash 10:18:06 Warning: overwriting stash ‘stack-cost’ 10:18:06 Stashed 1 file(s) [Pipeline] } 10:18:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-223-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:18:06 $ docker stop --time=1 aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 10:18:07 $ docker rm -f aa7414b7fc671e850676c707ac42ec71126571d6baa224019f9a1d88246c4345 [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 10:18:08 provisioning config files... 10:18:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config3259539085625878212tmp [Pipeline] { [Pipeline] sh 10:18:08 + set +x 10:18:08 + curl -s https://codecov.io/bash 10:18:08 + bash -s -- 10:18:08 10:18:08 _____ _ 10:18:08 / ____| | | 10:18:08 | | ___ __| | ___ ___ _____ __ 10:18:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:18:08 | |___| (_) | (_| | __/ (_| (_) \ V / 10:18:08 \_____\___/ \__,_|\___|\___\___/ \_/ 10:18:08 Bash-1.0.6 10:18:08 10:18:08 10:18:08 ==> git version 2.25.1 found 10:18:08 ==> 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 10:18:08 Release-Date: 2020-01-08 10:18:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:18:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:18:08 ==> Jenkins CI detected. 10:18:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-223 10:18:08 project root: . 10:18:08 --> token set from env 10:18:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:18:08 ==> Running gcov in . (disable via -X gcov) 10:18:08 ==> Python coveragepy not found 10:18:08 ==> Searching for coverage reports in: 10:18:08 + . 10:18:08 -> Found 1 reports 10:18:08 ==> Detecting git/mercurial file structure 10:18:08 ==> Reading reports 10:18:08 + ./coverage.out bytes=9355 10:18:08 ==> Appending adjustments 10:18:08 https://docs.codecov.io/docs/fixing-reports 10:18:08 + Found adjustments 10:18:08 ==> Gzipping contents 10:18:08 4.0K /tmp/codecov.BK2Rrg.gz 10:18:08 ==> Uploading reports 10:18:08 url: https://codecov.io 10:18:08 query: branch=PR-223&commit=7e30031deb7a9794e2086a484ec2f597982a89ac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=223&job=&cmd_args= 10:18:08 -> Pinging Codecov 10:18:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-223&commit=7e30031deb7a9794e2086a484ec2f597982a89ac&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-223%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=223&job=&cmd_args= 10:18:09 -> Uploading to 10:18:09 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/7e30031deb7a9794e2086a484ec2f597982a89ac/0edc51e3-aee4-48c5-aa93-3afdd3df1844.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T101808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=486a1c2655a44adbcd2c9a4fae4f262d2a9b5a67b7452b90c3eb6d9fb4268bda 10:18:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:09 Dload Upload Total Spent Left Speed 10:18:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 8236 --:--:-- --:--:-- --:--:-- 8276 10:18:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7e30031deb7a9794e2086a484ec2f597982a89ac [Pipeline] } 10:18:09 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 10:18:10 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-223/archives ] 10:18:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-223/archives 10:18:10 total 16 10:18:10 drwxr-xr-x 3 root root 4096 Oct 25 10:12 . 10:18:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:12 .. 10:18:10 drwxr-xr-x 2 root root 4096 Oct 25 10:12 cost 10:18:10 -rw-r--r-- 1 root root 86 Oct 25 10:12 cost.csv 10:18:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-223/archives 10:18:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-223/archives 10:18:10 total 16 10:18:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 10:12 . 10:18:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 10:12 .. 10:18:10 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 10:12 cost 10:18:10 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:18:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:18:11 ---> package-listing.sh 10:18:11 ++ facter osfamily 10:18:11 ++ tr '[:upper:]' '[:lower:]' 10:18:11 + OS_FAMILY=debian 10:18:11 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-223 10:18:11 + START_PACKAGES=/tmp/packages_start.txt 10:18:11 + END_PACKAGES=/tmp/packages_end.txt 10:18:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:18:11 + PACKAGES=/tmp/packages_start.txt 10:18:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-223 ']' 10:18:11 + PACKAGES=/tmp/packages_end.txt 10:18:11 + case "${OS_FAMILY}" in 10:18:11 + dpkg -l 10:18:11 + grep '^ii' 10:18:11 + '[' -f /tmp/packages_start.txt ']' 10:18:11 + '[' -f /tmp/packages_end.txt ']' 10:18:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:18:11 + '[' /w/workspace/gexfoundry_device-rest-go_PR-223 ']' 10:18:11 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-223/archives/ 10:18:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-223/archives/ [Pipeline] echo 10:18:11 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-223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:18:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:18:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:12 prd-ubuntu20.04-docker-8c-8g-116835 does not seem to be running inside a container 10:18:12 $ 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-223/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-223 -v /w/workspace/gexfoundry_device-rest-go_PR-223:/w/workspace/gexfoundry_device-rest-go_PR-223:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-223@tmp:/w/workspace/gexfoundry_device-rest-go_PR-223@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 10:18:12 $ docker top 45404afa2d192c0b76f4dd1777a4953d9454fa4f62134ca3b52a9c5e76e0f650 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:12 + touch /tmp/pre-build-complete [Pipeline] sh 10:18:13 + mkdir -p /var/log/sysstat [Pipeline] sh 10:18:13 + ls /var/log/sa-host 10:18:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:13 provisioning config files... 10:18:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-223@tmp/config17368720235232981704tmp [Pipeline] { [Pipeline] echo 10:18:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:18:13 ---> create-netrc.sh [Pipeline] } 10:18:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:18:14 ---> python-tools-install.sh [Pipeline] echo 10:18:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:18:14 ---> sudo-logs.sh 10:18:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:18:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:18:14 ---> job-cost.sh 10:18:14 lf-activate-venv: SKIPPING 10:18:14 DEBUG: total: 0.2199999988079071 10:18:14 INFO: Retrieving Stack Cost... 10:18:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:18:15 INFO: Archiving Costs [Pipeline] echo 10:18:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:18:15 ---> logs-deploy.sh 10:18:15 lf-activate-venv: SKIPPING 10:18:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-223/2 10:18:15 INFO: archiving workspace using pattern(s): 10:18:16 Archives upload complete. 10:18:16 INFO: archiving logs to Nexus