Started by upstream project "edgexfoundry/cd-management/release" build number 96 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99d2988c42a4468ca534e1bc92575890b1a7bdf5 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-ssh13047253450335820174.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11561289482531969322.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7436895168369516138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18413138821396732089.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10135513240124353628.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63288 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" > git rev-list --no-walk 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:49:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:49:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:49:46 ========================================================= 22:49:46 EdgeX Global Pipelines Version Info 22:49:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:49:46 ------------------- 22:49:46 stable info: 22:49:46 ------------------- 22:49:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:49:46 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:49:46 Message: update stable to v1.0.230 22:49:47 ------------------- 22:49:47 experimental info: 22:49:47 ------------------- 22:49:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:49:47 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:49:47 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99d2988 [Pipeline] echo 22:49:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:47 provisioning config files... 22:49:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3132868820124540172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:48 ---> docker-login.sh 22:49:48 nexus3.edgexfoundry.org:10001 22:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:48 Configure a credential helper to remove this warning. See 22:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:48 22:49:48 Login Succeeded 22:49:48 nexus3.edgexfoundry.org:10002 22:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:48 Configure a credential helper to remove this warning. See 22:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:48 22:49:48 Login Succeeded 22:49:48 nexus3.edgexfoundry.org:10003 22:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:49 Configure a credential helper to remove this warning. See 22:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:49 22:49:49 Login Succeeded 22:49:49 nexus3.edgexfoundry.org:10004 22:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:49 Configure a credential helper to remove this warning. See 22:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:49 22:49:49 Login Succeeded 22:49:49 docker.io 22:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:49 Configure a credential helper to remove this warning. See 22:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:49 22:49:49 Login Succeeded 22:49:49 ---> docker-login.sh ends [Pipeline] } 22:49:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:49:49 + git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo 22:49:50 -----------> git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:49:50 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [false] [Pipeline] sh 22:49:50 + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo 22:49:50 ========================================================= 22:49:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:49:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:50 + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo 22:49:50 [semverPrep] GIT_COMMIT: 99d2988c42a4468ca534e1bc92575890b1a7bdf5, Commit Message: Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] echo 22:49:50 [semverPrep] This is not a build commit. [Pipeline] sh 22:49:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:49:51 + grep -v github /etc/ssh/ssh_known_hosts 22:49:51 + [ -e /tmp/ssh_known_hosts ] 22:49:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:49:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:49:51 + sudo tee -a /etc/ssh/ssh_known_hosts 22:49:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:49:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:49:51 22:49:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:49:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:49:51 latest: Pulling from edgex-devops/py-git-semver 22:49:51 1fe172e4850f: Pulling fs layer 22:49:51 caf521ccaac6: Pulling fs layer 22:49:51 3ead6fa29328: Pulling fs layer 22:49:51 5c2a1cbceb83: Pulling fs layer 22:49:51 a8d5f1318db7: Pulling fs layer 22:49:51 c427282e49a2: Pulling fs layer 22:49:51 1827001aaf11: Pulling fs layer 22:49:51 0714d37db230: Pulling fs layer 22:49:51 ac28cf19c067: Pulling fs layer 22:49:51 ca983d60f3e2: Pulling fs layer 22:49:51 9f894cec8388: Pulling fs layer 22:49:51 c427282e49a2: Waiting 22:49:51 9f894cec8388: Waiting 22:49:51 ca983d60f3e2: Waiting 22:49:51 0714d37db230: Waiting 22:49:51 5c2a1cbceb83: Waiting 22:49:51 ac28cf19c067: Waiting 22:49:51 a8d5f1318db7: Waiting 22:49:51 caf521ccaac6: Download complete 22:49:52 5c2a1cbceb83: Verifying Checksum 22:49:52 5c2a1cbceb83: Download complete 22:49:52 a8d5f1318db7: Verifying Checksum 22:49:52 a8d5f1318db7: Download complete 22:49:52 3ead6fa29328: Verifying Checksum 22:49:52 3ead6fa29328: Download complete 22:49:52 c427282e49a2: Download complete 22:49:52 0714d37db230: Download complete 22:49:52 ac28cf19c067: Verifying Checksum 22:49:52 ac28cf19c067: Download complete 22:49:52 ca983d60f3e2: Verifying Checksum 22:49:52 ca983d60f3e2: Download complete 22:49:52 9f894cec8388: Verifying Checksum 22:49:52 9f894cec8388: Download complete 22:49:52 1fe172e4850f: Verifying Checksum 22:49:52 1fe172e4850f: Download complete 22:49:52 1827001aaf11: Verifying Checksum 22:49:52 1827001aaf11: Download complete 22:49:53 1fe172e4850f: Pull complete 22:49:53 caf521ccaac6: Pull complete 22:49:54 3ead6fa29328: Pull complete 22:49:54 5c2a1cbceb83: Pull complete 22:49:54 a8d5f1318db7: Pull complete 22:49:54 c427282e49a2: Pull complete 22:49:56 1827001aaf11: Pull complete 22:49:56 0714d37db230: Pull complete 22:49:56 ac28cf19c067: Pull complete 22:49:56 ca983d60f3e2: Pull complete 22:49:57 9f894cec8388: Pull complete 22:49:57 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:49:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:49:57 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 22:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:49:58 $ docker top ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 -eo pid,comm 22:49:58 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). 22:49:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:49:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:49:58 [ssh-agent] Looking for ssh-agent implementation... 22:49:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:49:58 $ docker exec ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent 22:49:58 SSH_AUTH_SOCK=/tmp/ssh-d2A49wiybpt4/agent.34 22:49:58 SSH_AGENT_PID=40 22:49:58 Running ssh-add (command line suppressed) 22:49:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8863437179069821401.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8863437179069821401.key) 22:49:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:49:59 + git tag --points-at 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] } 22:49:59 $ docker exec --env ******** --env ******** ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent -k 22:49:59 unset SSH_AUTH_SOCK; 22:49:59 unset SSH_AGENT_PID; 22:49:59 echo Agent pid 40 killed; 22:49:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:49:59 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.18' [Pipeline] sshagent 22:49:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:49:59 [ssh-agent] Looking for ssh-agent implementation... 22:49:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:49:59 $ docker exec ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent 22:49:59 SSH_AUTH_SOCK=/tmp/ssh-vww5BtR8hxmy/agent.75 22:49:59 SSH_AGENT_PID=82 22:49:59 Running ssh-add (command line suppressed) 22:50:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2254701421965171164.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2254701421965171164.key) 22:50:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:50:00 + git semver init 22:50:00 2022-05-11 22:50:00,536 [run_init] DEBUG init version:0.0.0 force:False 22:50:00 2022-05-11 22:50:00,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 22:50:00 2022-05-11 22:50:00,537 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 22:50:00 2022-05-11 22:50:00,537 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 22:50:01 2022-05-11 22:50:01,572 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 22:50:01 2022-05-11 22:50:01,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 22:50:01 2022-05-11 22:50:01,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:01 2022-05-11 22:50:01,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 22:50:01 2.2.0 [Pipeline] } 22:50:01 $ docker exec --env ******** --env ******** ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent -k 22:50:02 unset SSH_AUTH_SOCK; 22:50:02 unset SSH_AGENT_PID; 22:50:02 echo Agent pid 82 killed; 22:50:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:02 + git semver [Pipeline] } 22:50:02 $ docker stop --time=1 ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 22:50:04 $ docker rm -f ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 [Pipeline] // withDockerContainer [Pipeline] sh 22:50:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:50:05 Stashed 1 file(s) [Pipeline] echo 22:50:05 [edgeXSemver]: initialized semver on version 2.2.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] sh 22:50:05 + git checkout 99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:50:05 HEAD is now at 99d2988 Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:05 provisioning config files... 22:50:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6484930279517685214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:06 ---> docker-login.sh 22:50:06 nexus3.edgexfoundry.org:10001 22:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:06 Configure a credential helper to remove this warning. See 22:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:06 22:50:06 Login Succeeded 22:50:06 nexus3.edgexfoundry.org:10002 22:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:06 Configure a credential helper to remove this warning. See 22:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:06 22:50:06 Login Succeeded 22:50:06 nexus3.edgexfoundry.org:10003 22:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:06 Configure a credential helper to remove this warning. See 22:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:06 22:50:06 Login Succeeded 22:50:06 nexus3.edgexfoundry.org:10004 22:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:06 Configure a credential helper to remove this warning. See 22:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:06 22:50:06 Login Succeeded 22:50:06 docker.io 22:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:06 Configure a credential helper to remove this warning. See 22:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:06 22:50:06 Login Succeeded 22:50:06 ---> docker-login.sh ends [Pipeline] } 22:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:07 ========================================================= 22:50:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:50:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:50:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:50:07 Sending build context to Docker daemon 10.63MB 22:50:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:50:07 Step 2/12 : FROM ${BASE} AS builder 22:50:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:50:07 59bf1c3509f3: Pulling fs layer 22:50:07 666ba61612fd: Pulling fs layer 22:50:07 8ed8ca486205: Pulling fs layer 22:50:07 4fe6c5a15a65: Pulling fs layer 22:50:07 22a0e8bec74d: Pulling fs layer 22:50:07 ca2b28591e48: Pulling fs layer 22:50:07 a51346096db8: Pulling fs layer 22:50:07 daebc70d1ce1: Pulling fs layer 22:50:07 0e18a0eac166: Pulling fs layer 22:50:07 22a0e8bec74d: Waiting 22:50:07 0e18a0eac166: Waiting 22:50:07 daebc70d1ce1: Waiting 22:50:07 4fe6c5a15a65: Waiting 22:50:07 8ed8ca486205: Verifying Checksum 22:50:07 8ed8ca486205: Download complete 22:50:07 666ba61612fd: Verifying Checksum 22:50:07 666ba61612fd: Download complete 22:50:07 22a0e8bec74d: Verifying Checksum 22:50:07 22a0e8bec74d: Download complete 22:50:07 ca2b28591e48: Download complete 22:50:07 59bf1c3509f3: Verifying Checksum 22:50:07 59bf1c3509f3: Download complete 22:50:07 a51346096db8: Download complete 22:50:07 daebc70d1ce1: Verifying Checksum 22:50:07 daebc70d1ce1: Download complete 22:50:07 59bf1c3509f3: Pull complete 22:50:07 666ba61612fd: Pull complete 22:50:07 8ed8ca486205: Pull complete 22:50:08 0e18a0eac166: Verifying Checksum 22:50:08 0e18a0eac166: Download complete 22:50:08 4fe6c5a15a65: Verifying Checksum 22:50:08 4fe6c5a15a65: Download complete 22:50:12 4fe6c5a15a65: Pull complete 22:50:12 22a0e8bec74d: Pull complete 22:50:12 ca2b28591e48: Pull complete 22:50:12 a51346096db8: Pull complete 22:50:12 daebc70d1ce1: Pull complete 22:50:15 0e18a0eac166: Pull complete 22:50:15 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:50:15 ---> f018257e8ee9 22:50:15 Step 3/12 : ARG MAKE='make build' 22:50:16 ---> Running in e081dc2395a3 22:50:16 Removing intermediate container e081dc2395a3 22:50:16 ---> 81f769be3302 22:50:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:50:16 ---> Running in 34c7013be4df 22:50:16 Removing intermediate container 34c7013be4df 22:50:16 ---> 6985e5b45399 22:50:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:50:16 ---> Running in bd42041641f3 22:50:16 Removing intermediate container bd42041641f3 22:50:16 ---> f60d98e02a8c 22:50:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:16 ---> Running in 4cc54630f4d7 22:50:17 Removing intermediate container 4cc54630f4d7 22:50:17 ---> 18f8f18f589a 22:50:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:17 ---> Running in 308e1c347a89 22:50:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:50:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:50:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:50:18 (2/4) Installing libedit (20210910.3.1-r0) 22:50:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:50:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:50:19 Executing busybox-1.34.1-r3.trigger 22:50:19 OK: 224 MiB in 56 packages 22:50:19 Removing intermediate container 308e1c347a89 22:50:19 ---> d4679e47bea4 22:50:19 Step 8/12 : WORKDIR /device-rest-go 22:50:19 ---> Running in 5e7feb57b5be 22:50:19 Removing intermediate container 5e7feb57b5be 22:50:19 ---> 90b564f5ef00 22:50:19 Step 9/12 : COPY go.mod vendor* ./ 22:50:19 ---> 75c10695ec83 22:50:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:19 ---> Running in 5f2276a39c6c 22:50:20 Still waiting to schedule task 22:50:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63289’ is offline 22:50:37 Removing intermediate container 5f2276a39c6c 22:50:37 ---> e7a6aaa01654 22:50:37 Step 11/12 : COPY . . 22:50:37 ---> 2c5acc1ce7a7 22:50:37 Step 12/12 : RUN $MAKE 22:50:37 ---> Running in f4d4730cb77a 22:50:37 noop 22:50:37 Removing intermediate container f4d4730cb77a 22:50:37 ---> 433838674340 22:50:37 Successfully built 433838674340 22:50:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:50:38 + docker inspect -f . ci-base-image-x86_64 22:50:38 . [Pipeline] withDockerContainer 22:50:38 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 22:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 22:50:38 $ docker top b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:39 + go version 22:50:39 go version go1.17.6 linux/amd64 [Pipeline] } 22:50:39 $ docker stop --time=1 b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa 22:50:40 $ docker rm -f b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:40 + docker inspect -f . ci-base-image-x86_64 22:50:40 . [Pipeline] withDockerContainer 22:50:40 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 22:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 22:50:41 $ docker top 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:50:41 + make test 22:50:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:50:41 ? github.com/edgexfoundry/device-rest-go [no test files] 22:50:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:50:51 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 22:50:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:51:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:02 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:03 $ docker stop --time=1 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 22:51:04 $ docker rm -f 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:51:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:06 + ls -al . 22:51:06 total 172 22:51:06 drwxrwxr-x 9 jenkins jenkins 4096 May 11 22:51 . 22:51:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:49 .. 22:51:06 -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:49 .dockerignore 22:51:06 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:50 .git 22:51:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 .github 22:51:06 -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:49 .gitignore 22:51:06 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:49 .golangci.yml 22:51:06 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:50 .semver 22:51:06 -rw-rw-r-- 1 jenkins jenkins 8463 May 11 22:49 Attribution.txt 22:51:06 -rw-rw-r-- 1 jenkins jenkins 11736 May 11 22:49 CHANGELOG.md 22:51:06 -rw-rw-r-- 1 jenkins jenkins 1672 May 11 22:49 Dockerfile 22:51:06 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:49 GOVERNANCE.md 22:51:06 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:49 Jenkinsfile 22:51:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:49 LICENSE 22:51:06 -rw-rw-r-- 1 jenkins jenkins 1977 May 11 22:49 Makefile 22:51:06 -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:49 OWNERS.md 22:51:06 -rw-rw-r-- 1 jenkins jenkins 8003 May 11 22:49 README.md 22:51:06 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:50 VERSION 22:51:06 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:49 bin 22:51:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 cmd 22:51:06 -rw-r--r-- 1 jenkins jenkins 9355 May 11 22:50 coverage.out 22:51:06 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:49 driver 22:51:06 -rw-rw-r-- 1 jenkins jenkins 3287 May 11 22:49 go.mod 22:51:06 -rw-rw-r-- 1 jenkins jenkins 34802 May 11 22:49 go.sum 22:51:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 snap 22:51:06 -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:49 version.go [Pipeline] isUnix [Pipeline] sh 22:51:06 + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=amd64 --label version=2.2.0 . 22:51:06 Sending build context to Docker daemon 10.64MB 22:51:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:51:06 Step 2/25 : FROM ${BASE} AS builder 22:51:06 ---> 433838674340 22:51:06 Step 3/25 : ARG MAKE='make build' 22:51:06 ---> Running in 284b29da36a3 22:51:06 Removing intermediate container 284b29da36a3 22:51:06 ---> 0f5c58e9800b 22:51:06 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:51:06 ---> Running in e97a5606fd80 22:51:06 Removing intermediate container e97a5606fd80 22:51:06 ---> 1aead8831c8b 22:51:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:51:06 ---> Running in 69986439fbb8 22:51:06 Removing intermediate container 69986439fbb8 22:51:06 ---> 2200f2ceb9b7 22:51:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:06 ---> Running in 07020e281994 22:51:07 Removing intermediate container 07020e281994 22:51:07 ---> 86b4633dae49 22:51:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:07 ---> Running in 0fac225991b6 22:51:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:51:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:51:08 OK: 224 MiB in 56 packages 22:51:09 Removing intermediate container 0fac225991b6 22:51:09 ---> e1f86170e105 22:51:09 Step 8/25 : WORKDIR /device-rest-go 22:51:09 ---> Running in 72dfb3e33846 22:51:09 Removing intermediate container 72dfb3e33846 22:51:09 ---> d96bababaf7b 22:51:09 Step 9/25 : COPY go.mod vendor* ./ 22:51:09 ---> e826af2685cc 22:51:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:09 ---> Running in 0b5f7345dba0 22:51:10 Removing intermediate container 0b5f7345dba0 22:51:10 ---> a056776e5873 22:51:10 Step 11/25 : COPY . . 22:51:10 ---> 453bf75dfc20 22:51:10 Step 12/25 : RUN $MAKE 22:51:10 ---> Running in f50b1a9246a7 22:51:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:51:32 Removing intermediate container f50b1a9246a7 22:51:32 ---> 81ba754da296 22:51:32 Step 13/25 : FROM alpine:3.14 22:51:32 3.14: Pulling from library/alpine 22:51:32 8663204ce13b: Pulling fs layer 22:51:32 8663204ce13b: Verifying Checksum 22:51:32 8663204ce13b: Pull complete 22:51:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:51:32 Status: Downloaded newer image for alpine:3.14 22:51:32 ---> e04c818066af 22:51:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:51:32 ---> Running in 61e20695f474 22:51:32 Removing intermediate container 61e20695f474 22:51:32 ---> 111a26589ed5 22:51:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:51:32 ---> Running in 31b49bd03371 22:51:32 Removing intermediate container 31b49bd03371 22:51:32 ---> 7f044423caf7 22:51:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:51:32 ---> Running in b58ee6042a5f 22:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:51:32 (1/6) Installing dumb-init (1.2.5-r1) 22:51:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:51:32 (3/6) Installing libsodium (1.0.18-r0) 22:51:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:51:32 (5/6) Installing libzmq (4.3.4-r0) 22:51:32 (6/6) Installing zeromq (4.3.4-r0) 22:51:32 Executing busybox-1.33.1-r7.trigger 22:51:32 OK: 8 MiB in 20 packages 22:51:32 Removing intermediate container b58ee6042a5f 22:51:32 ---> 7f5d4c8a5ce9 22:51:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:51:33 ---> 0c778003590f 22:51:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:51:33 ---> 7dd38a9d4f5f 22:51:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:51:33 ---> 7be0f50cad4f 22:51:33 Step 20/25 : EXPOSE 59986 22:51:33 ---> Running in 14df608a00f9 22:51:33 Removing intermediate container 14df608a00f9 22:51:33 ---> 74c2267e82b8 22:51:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:51:33 ---> Running in d7f3f40820c6 22:51:33 Removing intermediate container d7f3f40820c6 22:51:33 ---> c20799a91747 22:51:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:51:33 ---> Running in 8f5a2d43d6b2 22:51:33 Removing intermediate container 8f5a2d43d6b2 22:51:33 ---> 48a65cf21574 22:51:33 Step 23/25 : LABEL arch=amd64 22:51:33 ---> Running in ec9443e6c87f 22:51:33 Removing intermediate container ec9443e6c87f 22:51:33 ---> 4a1188e2d165 22:51:33 Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:51:33 ---> Running in 4b371e98acce 22:51:34 Removing intermediate container 4b371e98acce 22:51:34 ---> e2d22f36c925 22:51:34 Step 25/25 : LABEL version=2.2.0 22:51:34 ---> Running in 9133efa9ccac 22:51:34 Removing intermediate container 9133efa9ccac 22:51:34 ---> f8a0a5dbca02 22:51:34 [Warning] One or more build-args [ARCH] were not consumed 22:51:34 Successfully built f8a0a5dbca02 22:51:34 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:34 provisioning config files... 22:51:34 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6620899165891529112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:34 ---> docker-login.sh 22:51:34 nexus3.edgexfoundry.org:10001 22:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:34 Configure a credential helper to remove this warning. See 22:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:34 22:51:34 Login Succeeded 22:51:34 nexus3.edgexfoundry.org:10002 22:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:34 Configure a credential helper to remove this warning. See 22:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:34 22:51:34 Login Succeeded 22:51:34 nexus3.edgexfoundry.org:10003 22:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:34 Configure a credential helper to remove this warning. See 22:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:34 22:51:34 Login Succeeded 22:51:34 nexus3.edgexfoundry.org:10004 22:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:35 Configure a credential helper to remove this warning. See 22:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:35 22:51:35 Login Succeeded 22:51:35 docker.io 22:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:51:35 Configure a credential helper to remove this warning. See 22:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:51:35 22:51:35 Login Succeeded 22:51:35 ---> docker-login.sh ends [Pipeline] } 22:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:51:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:51:35 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 22:51:35 99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:51:35 latest 22:51:35 2.2.0 22:51:35 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 22:51:35 main 22:51:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:51:35 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh 22:51:35 + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:51:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:35 89ee1ea5c481: Preparing 22:51:35 81d361c0265b: Preparing 22:51:35 4c3900a67163: Preparing 22:51:35 abe9a1b63830: Preparing 22:51:35 b541d28bf3b4: Preparing 22:51:35 b541d28bf3b4: Layer already exists 22:51:35 81d361c0265b: Pushed 22:51:35 89ee1ea5c481: Pushed 22:51:36 abe9a1b63830: Pushed 22:51:38 4c3900a67163: Pushed 22:51:38 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh 22:51:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 22:51:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 22:51:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:39 89ee1ea5c481: Preparing 22:51:39 81d361c0265b: Preparing 22:51:39 4c3900a67163: Preparing 22:51:39 abe9a1b63830: Preparing 22:51:39 b541d28bf3b4: Preparing 22:51:39 4c3900a67163: Layer already exists 22:51:39 b541d28bf3b4: Layer already exists 22:51:39 abe9a1b63830: Layer already exists 22:51:39 89ee1ea5c481: Layer already exists 22:51:39 81d361c0265b: Layer already exists 22:51:39 latest: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh 22:51:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0 [Pipeline] isUnix [Pipeline] sh 22:51:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0 22:51:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:39 89ee1ea5c481: Preparing 22:51:39 81d361c0265b: Preparing 22:51:39 4c3900a67163: Preparing 22:51:39 abe9a1b63830: Preparing 22:51:39 b541d28bf3b4: Preparing 22:51:39 b541d28bf3b4: Layer already exists 22:51:39 81d361c0265b: Layer already exists 22:51:39 abe9a1b63830: Layer already exists 22:51:39 89ee1ea5c481: Layer already exists 22:51:39 4c3900a67163: Layer already exists 22:51:39 2.2.0: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh 22:51:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [Pipeline] isUnix [Pipeline] sh 22:51:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 22:51:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:40 89ee1ea5c481: Preparing 22:51:40 81d361c0265b: Preparing 22:51:40 4c3900a67163: Preparing 22:51:40 abe9a1b63830: Preparing 22:51:40 b541d28bf3b4: Preparing 22:51:40 abe9a1b63830: Layer already exists 22:51:40 89ee1ea5c481: Layer already exists 22:51:40 b541d28bf3b4: Layer already exists 22:51:40 81d361c0265b: Layer already exists 22:51:40 4c3900a67163: Layer already exists 22:51:40 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh 22:51:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 22:51:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 22:51:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 22:51:41 89ee1ea5c481: Preparing 22:51:41 81d361c0265b: Preparing 22:51:41 4c3900a67163: Preparing 22:51:41 abe9a1b63830: Preparing 22:51:41 b541d28bf3b4: Preparing 22:51:41 81d361c0265b: Layer already exists 22:51:41 b541d28bf3b4: Layer already exists 22:51:41 4c3900a67163: Layer already exists 22:51:41 abe9a1b63830: Layer already exists 22:51:41 89ee1ea5c481: Layer already exists 22:51:41 main: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:51:41 ===================================================== [Pipeline] echo 22:51:41 taggedImages: 22:51:41 - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:51:41 - nexus3.edgexfoundry.org:10004/device-rest:latest 22:51:41 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0 22:51:41 - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 22:51:41 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:41 22:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:41 latest: Pulling from edgex-lftools-log-publisher 22:51:41 5eb5b503b376: Pulling fs layer 22:51:41 5c69ac0246d0: Pulling fs layer 22:51:41 ec43610c2a17: Pulling fs layer 22:51:41 3a2ae6a8a46f: Pulling fs layer 22:51:41 33b1e0a273af: Pulling fs layer 22:51:41 5d3b04190fa2: Pulling fs layer 22:51:41 2f39f015ded8: Pulling fs layer 22:51:41 5d3b04190fa2: Waiting 22:51:41 3a2ae6a8a46f: Waiting 22:51:41 2f39f015ded8: Waiting 22:51:41 33b1e0a273af: Waiting 22:51:41 5c69ac0246d0: Download complete 22:51:41 3a2ae6a8a46f: Download complete 22:51:41 33b1e0a273af: Verifying Checksum 22:51:41 33b1e0a273af: Download complete 22:51:41 5d3b04190fa2: Download complete 22:51:41 ec43610c2a17: Verifying Checksum 22:51:41 ec43610c2a17: Download complete 22:51:42 5eb5b503b376: Verifying Checksum 22:51:42 5eb5b503b376: Download complete 22:51:42 2f39f015ded8: Download complete 22:51:43 5eb5b503b376: Pull complete 22:51:43 5c69ac0246d0: Pull complete 22:51:44 ec43610c2a17: Pull complete 22:51:44 3a2ae6a8a46f: Pull complete 22:51:44 33b1e0a273af: Pull complete 22:51:44 5d3b04190fa2: Pull complete 22:51:48 2f39f015ded8: Pull complete 22:51:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:51:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:51:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:51:48 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 22:51:48 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:51:50 $ docker top 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:51:50 ---> job-cost.sh 22:51:50 lf-activate-venv: SKIPPING 22:51:50 INFO: No Stack... 22:51:50 INFO: Retrieving Pricing Info for: v3-standard-8 22:51:51 INFO: Archiving Costs [Pipeline] sh 22:51:51 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 22:51:51 + cut -d, -f6 [Pipeline] lock 22:51:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] 22:51:51 Resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] did not exist. Created. 22:51:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:52 + echo total: 0.2199999988079071 [Pipeline] stash 22:51:52 Stashed 1 file(s) [Pipeline] } 22:51:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 22:51:52 $ docker stop --time=1 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 22:51:53 $ docker rm -f 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:52:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63293 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 22:52:51 Running in /w/workspace/device-rest-go/41 [Pipeline] { [Pipeline] checkout 22:52:51 The recommended git tool is: git 22:52:58 using credential edgex-jenkins-ssh 22:52:59 Cloning the remote Git repository 22:52:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:52:59 > git init /w/workspace/device-rest-go/41 # timeout=10 22:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:52:59 > git --version # timeout=10 22:52:59 > git --version # 'git version 2.25.1' 22:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:52:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:53:01 Avoid second fetch 22:53:01 Checking out Revision 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (main) 22:53:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:53:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:53:01 > git config core.sparsecheckout # timeout=10 22:53:01 > git checkout -f 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 22:53:05 Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:53:06 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:06 Dload Upload Total Spent Left Speed 22:53:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 22:53:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:53:07 + sudo tee /etc/docker/daemon.new 22:53:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:53:07 { 22:53:07 "registry-mirrors": [ 22:53:07 "https://nexus3.edgexfoundry.org:10001" 22:53:07 ], 22:53:07 "bip": "10.250.0.254/24", 22:53:07 "hosts": [ 22:53:07 "tcp://0.0.0.0:5555", 22:53:07 "unix:///var/run/docker.sock" 22:53:07 ], 22:53:07 "mtu": 1458, 22:53:07 "selinux-enabled": true, 22:53:07 "seccomp-profile": "/etc/docker/seccomp.json" 22:53:07 } [Pipeline] sh 22:53:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:53:08 + sudo service docker restart [Pipeline] sh 22:53:27 + git checkout 99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:53:27 HEAD is now at 99d2988 Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:27 provisioning config files... 22:53:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/41@tmp/config4346901347553044096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:27 ---> docker-login.sh 22:53:27 nexus3.edgexfoundry.org:10001 22:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:28 Configure a credential helper to remove this warning. See 22:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:28 22:53:28 Login Succeeded 22:53:28 nexus3.edgexfoundry.org:10002 22:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:29 Configure a credential helper to remove this warning. See 22:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:29 22:53:29 Login Succeeded 22:53:29 nexus3.edgexfoundry.org:10003 22:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:29 Configure a credential helper to remove this warning. See 22:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:29 22:53:29 Login Succeeded 22:53:29 nexus3.edgexfoundry.org:10004 22:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:30 Configure a credential helper to remove this warning. See 22:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:30 22:53:30 Login Succeeded 22:53:30 docker.io 22:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:31 Configure a credential helper to remove this warning. See 22:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:31 22:53:31 Login Succeeded 22:53:31 ---> docker-login.sh ends [Pipeline] } 22:53:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:53:31 ========================================================= 22:53:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:53:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:53:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:53:32 Sending build context to Docker daemon 128.5kB 22:53:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:53:32 Step 2/12 : FROM ${BASE} AS builder 22:53:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:53:32 9b3977197b4f: Pulling fs layer 22:53:32 1a89e8eeedd5: Pulling fs layer 22:53:32 94645a83ff95: Pulling fs layer 22:53:32 3f3a8bcf1eab: Pulling fs layer 22:53:32 0c92f367c5e7: Pulling fs layer 22:53:32 3f3a8bcf1eab: Waiting 22:53:32 0c92f367c5e7: Waiting 22:53:32 3096ccb668a1: Pulling fs layer 22:53:32 e8cf19c19ddd: Pulling fs layer 22:53:32 a4caa8a26152: Pulling fs layer 22:53:32 e8cf19c19ddd: Waiting 22:53:32 a4caa8a26152: Waiting 22:53:32 3096ccb668a1: Waiting 22:53:32 94645a83ff95: Verifying Checksum 22:53:32 94645a83ff95: Download complete 22:53:32 1a89e8eeedd5: Verifying Checksum 22:53:32 1a89e8eeedd5: Download complete 22:53:32 0c92f367c5e7: Verifying Checksum 22:53:32 0c92f367c5e7: Download complete 22:53:32 3096ccb668a1: Verifying Checksum 22:53:32 3096ccb668a1: Download complete 22:53:32 9b3977197b4f: Verifying Checksum 22:53:32 9b3977197b4f: Download complete 22:53:32 e8cf19c19ddd: Verifying Checksum 22:53:32 e8cf19c19ddd: Download complete 22:53:33 9b3977197b4f: Pull complete 22:53:34 1a89e8eeedd5: Pull complete 22:53:34 94645a83ff95: Pull complete 22:53:35 a4caa8a26152: Verifying Checksum 22:53:35 a4caa8a26152: Download complete 22:53:35 3f3a8bcf1eab: Verifying Checksum 22:53:35 3f3a8bcf1eab: Download complete 22:53:48 3f3a8bcf1eab: Pull complete 22:53:48 0c92f367c5e7: Pull complete 22:53:48 3096ccb668a1: Pull complete 22:53:48 e8cf19c19ddd: Pull complete 22:53:55 a4caa8a26152: Pull complete 22:53:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:53:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:53:55 ---> 725f1c02e7f9 22:53:55 Step 3/12 : ARG MAKE='make build' 22:53:55 ---> Running in 69b5a440f1b2 22:53:56 Removing intermediate container 69b5a440f1b2 22:53:56 ---> 1af2607fcc84 22:53:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:53:56 ---> Running in c4f53efbc9cc 22:53:56 Removing intermediate container c4f53efbc9cc 22:53:56 ---> 6b90427cf2e9 22:53:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:53:56 ---> Running in 4e59ac6fdb7b 22:53:57 Removing intermediate container 4e59ac6fdb7b 22:53:57 ---> 7da5b2ac2ea1 22:53:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:57 ---> Running in 4e9b80c82f6b 22:54:00 Removing intermediate container 4e9b80c82f6b 22:54:00 ---> 765be91a7f65 22:54:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:00 ---> Running in fdd27a4301be 22:54:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:54:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:54:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:54:03 (2/4) Installing libedit (20210910.3.1-r0) 22:54:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:54:03 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:54:03 Executing busybox-1.34.1-r3.trigger 22:54:03 OK: 224 MiB in 56 packages 22:54:04 Removing intermediate container fdd27a4301be 22:54:04 ---> 21109ac56770 22:54:04 Step 8/12 : WORKDIR /device-rest-go 22:54:04 ---> Running in 78036e0000e4 22:54:05 Removing intermediate container 78036e0000e4 22:54:05 ---> b75968237ef9 22:54:05 Step 9/12 : COPY go.mod vendor* ./ 22:54:05 ---> 25e43377b522 22:54:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:05 ---> Running in d30d549410c5 22:54:52 Removing intermediate container d30d549410c5 22:54:52 ---> 286bed7a7ba7 22:54:52 Step 11/12 : COPY . . 22:54:53 ---> ae6e1f1048a5 22:54:53 Step 12/12 : RUN $MAKE 22:54:53 ---> Running in ffe62bc56a63 22:54:54 noop 22:54:55 Removing intermediate container ffe62bc56a63 22:54:55 ---> 8a97fcf71bd9 22:54:55 Successfully built 8a97fcf71bd9 22:54:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:54:55 + docker inspect -f . ci-base-image-arm64 22:54:55 . [Pipeline] withDockerContainer 22:54:55 prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container 22:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@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 ******** ci-base-image-arm64 cat 22:54:57 $ docker top 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:58 + go version 22:54:58 go version go1.17.6 linux/arm64 [Pipeline] } 22:54:58 $ docker stop --time=1 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 22:54:59 $ docker rm -f 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:55:00 + docker inspect -f . ci-base-image-arm64 22:55:00 . [Pipeline] withDockerContainer 22:55:00 prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container 22:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@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 ******** ci-base-image-arm64 cat 22:55:02 $ docker top f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:55:03 + make test 22:55:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:55:05 ? github.com/edgexfoundry/device-rest-go [no test files] 22:56:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:56:42 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 22:56:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:56:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:57:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:57:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:57:08 ./bin/test-attribution-txt.sh [Pipeline] echo 22:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:57:08 $ docker stop --time=1 f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 22:57:10 $ docker rm -f f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:11 Warning: overwriting stash ‘coverage-report’ 22:57:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:13 + ls -al . 22:57:13 total 168 22:57:13 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:57 . 22:57:13 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:52 .. 22:57:13 -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:53 .dockerignore 22:57:13 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:53 .git 22:57:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 .github 22:57:13 -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:53 .gitignore 22:57:13 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:53 .golangci.yml 22:57:13 -rw-rw-r-- 1 jenkins jenkins 8463 May 11 22:53 Attribution.txt 22:57:13 -rw-rw-r-- 1 jenkins jenkins 11736 May 11 22:53 CHANGELOG.md 22:57:13 -rw-rw-r-- 1 jenkins jenkins 1672 May 11 22:53 Dockerfile 22:57:13 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:53 GOVERNANCE.md 22:57:13 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:53 Jenkinsfile 22:57:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:53 LICENSE 22:57:13 -rw-rw-r-- 1 jenkins jenkins 1977 May 11 22:53 Makefile 22:57:13 -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:53 OWNERS.md 22:57:13 -rw-rw-r-- 1 jenkins jenkins 8003 May 11 22:53 README.md 22:57:13 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:50 VERSION 22:57:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:53 bin 22:57:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 cmd 22:57:13 -rw-r--r-- 1 jenkins jenkins 9355 May 11 22:56 coverage.out 22:57:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:53 driver 22:57:13 -rw-rw-r-- 1 jenkins jenkins 3287 May 11 22:53 go.mod 22:57:13 -rw-rw-r-- 1 jenkins jenkins 34802 May 11 22:53 go.sum 22:57:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 snap 22:57:13 -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:53 version.go [Pipeline] isUnix [Pipeline] sh 22:57:13 + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=arm64 --label version=2.2.0 . 22:57:13 Sending build context to Docker daemon 138.8kB 22:57:13 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:57:13 Step 2/25 : FROM ${BASE} AS builder 22:57:13 ---> 8a97fcf71bd9 22:57:13 Step 3/25 : ARG MAKE='make build' 22:57:14 ---> Running in 30e09c2bbb51 22:57:14 Removing intermediate container 30e09c2bbb51 22:57:14 ---> 4982b263a38f 22:57:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:57:14 ---> Running in 711988ae5ffc 22:57:14 Removing intermediate container 711988ae5ffc 22:57:14 ---> 71e5ddc4b6c1 22:57:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:57:14 ---> Running in d4f52fcdf501 22:57:15 Removing intermediate container d4f52fcdf501 22:57:15 ---> 8e7556ec9076 22:57:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:15 ---> Running in af669bb4b175 22:57:17 Removing intermediate container af669bb4b175 22:57:17 ---> ceaced148460 22:57:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:17 ---> Running in 2b884ecaec27 22:57:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:57:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:57:20 OK: 224 MiB in 56 packages 22:57:20 Removing intermediate container 2b884ecaec27 22:57:20 ---> 522b1f639634 22:57:20 Step 8/25 : WORKDIR /device-rest-go 22:57:20 ---> Running in dac05a8e1c8c 22:57:21 Removing intermediate container dac05a8e1c8c 22:57:21 ---> d990ac533c96 22:57:21 Step 9/25 : COPY go.mod vendor* ./ 22:57:21 ---> f978c5239a28 22:57:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:21 ---> Running in 5c6e9cbaaee3 22:57:23 Removing intermediate container 5c6e9cbaaee3 22:57:23 ---> 0a4ab11a031e 22:57:23 Step 11/25 : COPY . . 22:57:24 ---> 7088e0e4d3d5 22:57:24 Step 12/25 : RUN $MAKE 22:57:24 ---> Running in 8a3c602c2ffd 22:57:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:59:47 Removing intermediate container 8a3c602c2ffd 22:59:47 ---> a134cf6686ac 22:59:47 Step 13/25 : FROM alpine:3.14 22:59:47 3.14: Pulling from library/alpine 22:59:47 455c02918c45: Pulling fs layer 22:59:47 455c02918c45: Verifying Checksum 22:59:47 455c02918c45: Download complete 22:59:47 455c02918c45: Pull complete 22:59:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:59:47 Status: Downloaded newer image for alpine:3.14 22:59:47 ---> ac73e934f311 22:59:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:59:47 ---> Running in 0dfd3990795c 22:59:47 Removing intermediate container 0dfd3990795c 22:59:47 ---> 2cd704282471 22:59:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:59:47 ---> Running in 1b0aecf38790 22:59:47 Removing intermediate container 1b0aecf38790 22:59:47 ---> 5778f409b356 22:59:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:59:47 ---> Running in 59c03bb66741 22:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:59:47 (1/6) Installing dumb-init (1.2.5-r1) 22:59:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:59:47 (3/6) Installing libsodium (1.0.18-r0) 22:59:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:59:47 (5/6) Installing libzmq (4.3.4-r0) 22:59:47 (6/6) Installing zeromq (4.3.4-r0) 22:59:47 Executing busybox-1.33.1-r7.trigger 22:59:47 OK: 8 MiB in 20 packages 22:59:47 Removing intermediate container 59c03bb66741 22:59:47 ---> b04286301f11 22:59:47 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:59:48 ---> 4d186603433f 22:59:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:59:49 ---> 256d2c07b172 22:59:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:59:49 ---> 67637ec2235f 22:59:49 Step 20/25 : EXPOSE 59986 22:59:49 ---> Running in 4cc661314df0 22:59:49 Removing intermediate container 4cc661314df0 22:59:49 ---> 26c60cb3661e 22:59:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:59:49 ---> Running in 570b2f31561c 22:59:50 Removing intermediate container 570b2f31561c 22:59:50 ---> c6c4c378afca 22:59:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:59:50 ---> Running in a958d6a518cb 22:59:50 Removing intermediate container a958d6a518cb 22:59:50 ---> d816b5edfb71 22:59:50 Step 23/25 : LABEL arch=arm64 22:59:50 ---> Running in 28c1c57b9340 22:59:51 Removing intermediate container 28c1c57b9340 22:59:51 ---> 593b4e49960c 22:59:51 Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:59:51 ---> Running in 066e9d33deff 22:59:51 Removing intermediate container 066e9d33deff 22:59:51 ---> 1ab81e2915e3 22:59:51 Step 25/25 : LABEL version=2.2.0 22:59:51 ---> Running in a80c066eacda 22:59:51 Removing intermediate container a80c066eacda 22:59:51 ---> 7f8cfe5983d0 22:59:51 [Warning] One or more build-args [ARCH] were not consumed 22:59:51 Successfully built 7f8cfe5983d0 22:59:51 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:52 provisioning config files... 22:59:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/41@tmp/config2750658162295830044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:52 ---> docker-login.sh 22:59:52 nexus3.edgexfoundry.org:10001 22:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:52 Configure a credential helper to remove this warning. See 22:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:52 22:59:52 Login Succeeded 22:59:52 nexus3.edgexfoundry.org:10002 22:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:53 Configure a credential helper to remove this warning. See 22:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:53 22:59:53 Login Succeeded 22:59:53 nexus3.edgexfoundry.org:10003 22:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:53 Configure a credential helper to remove this warning. See 22:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:53 22:59:53 Login Succeeded 22:59:53 nexus3.edgexfoundry.org:10004 22:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:54 Configure a credential helper to remove this warning. See 22:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:54 22:59:54 Login Succeeded 22:59:54 docker.io 22:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:55 Configure a credential helper to remove this warning. See 22:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:55 22:59:55 Login Succeeded 22:59:55 ---> docker-login.sh ends [Pipeline] } 22:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:59:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:59:55 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 22:59:55 99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:59:55 latest 22:59:55 2.2.0 22:59:55 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 22:59:55 main 22:59:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh 22:59:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 22:59:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 22:59:56 de71a3119279: Preparing 22:59:56 493f4b903300: Preparing 22:59:56 d573d6f34419: Preparing 22:59:56 15c8009331ae: Preparing 22:59:56 f73e7dbfee58: Preparing 22:59:56 f73e7dbfee58: Layer already exists 22:59:56 493f4b903300: Pushed 22:59:56 de71a3119279: Pushed 22:59:57 15c8009331ae: Pushed 23:00:03 d573d6f34419: Pushed 23:00:03 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh 23:00:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:00:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:00:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:00:04 de71a3119279: Preparing 23:00:04 493f4b903300: Preparing 23:00:04 d573d6f34419: Preparing 23:00:04 15c8009331ae: Preparing 23:00:04 f73e7dbfee58: Preparing 23:00:04 de71a3119279: Layer already exists 23:00:04 f73e7dbfee58: Layer already exists 23:00:04 d573d6f34419: Layer already exists 23:00:04 493f4b903300: Layer already exists 23:00:04 15c8009331ae: Layer already exists 23:00:04 latest: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh 23:00:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 23:00:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 23:00:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:00:05 de71a3119279: Preparing 23:00:05 493f4b903300: Preparing 23:00:05 d573d6f34419: Preparing 23:00:05 15c8009331ae: Preparing 23:00:05 f73e7dbfee58: Preparing 23:00:05 493f4b903300: Layer already exists 23:00:05 d573d6f34419: Layer already exists 23:00:05 f73e7dbfee58: Layer already exists 23:00:05 15c8009331ae: Layer already exists 23:00:05 de71a3119279: Layer already exists 23:00:05 2.2.0: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh 23:00:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [Pipeline] isUnix [Pipeline] sh 23:00:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 23:00:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:00:06 de71a3119279: Preparing 23:00:06 493f4b903300: Preparing 23:00:06 d573d6f34419: Preparing 23:00:06 15c8009331ae: Preparing 23:00:06 f73e7dbfee58: Preparing 23:00:06 493f4b903300: Layer already exists 23:00:06 de71a3119279: Layer already exists 23:00:06 15c8009331ae: Layer already exists 23:00:06 d573d6f34419: Layer already exists 23:00:06 f73e7dbfee58: Layer already exists 23:00:06 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh 23:00:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 23:00:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:00:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:00:07 de71a3119279: Preparing 23:00:07 493f4b903300: Preparing 23:00:07 d573d6f34419: Preparing 23:00:07 15c8009331ae: Preparing 23:00:07 f73e7dbfee58: Preparing 23:00:07 d573d6f34419: Layer already exists 23:00:07 f73e7dbfee58: Layer already exists 23:00:07 de71a3119279: Layer already exists 23:00:07 15c8009331ae: Layer already exists 23:00:07 493f4b903300: Layer already exists 23:00:07 main: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:00:07 ===================================================== [Pipeline] echo 23:00:07 taggedImages: 23:00:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 23:00:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:00:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 23:00:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 23:00:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:08 23:00:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:00:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:08 arm64: Pulling from edgex-lftools-log-publisher 23:00:08 8998bd30e6a1: Pulling fs layer 23:00:08 04944245beec: Pulling fs layer 23:00:08 699f458cf7ca: Pulling fs layer 23:00:08 765212b225bb: Pulling fs layer 23:00:08 f23df028b6ca: Pulling fs layer 23:00:08 d65c8cfc05b1: Pulling fs layer 23:00:08 2437ff75d9bd: Pulling fs layer 23:00:08 765212b225bb: Waiting 23:00:08 f23df028b6ca: Waiting 23:00:08 d65c8cfc05b1: Waiting 23:00:08 2437ff75d9bd: Waiting 23:00:08 04944245beec: Verifying Checksum 23:00:08 04944245beec: Download complete 23:00:08 765212b225bb: Verifying Checksum 23:00:08 765212b225bb: Download complete 23:00:08 f23df028b6ca: Verifying Checksum 23:00:08 f23df028b6ca: Download complete 23:00:08 d65c8cfc05b1: Verifying Checksum 23:00:08 d65c8cfc05b1: Download complete 23:00:09 699f458cf7ca: Verifying Checksum 23:00:09 699f458cf7ca: Download complete 23:00:09 8998bd30e6a1: Verifying Checksum 23:00:09 8998bd30e6a1: Download complete 23:00:11 2437ff75d9bd: Verifying Checksum 23:00:13 8998bd30e6a1: Pull complete 23:00:14 04944245beec: Pull complete 23:00:15 699f458cf7ca: Pull complete 23:00:15 765212b225bb: Pull complete 23:00:16 f23df028b6ca: Pull complete 23:00:16 d65c8cfc05b1: Pull complete 23:00:31 2437ff75d9bd: Pull complete 23:00:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:00:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:00:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:00:32 prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container 23:00:32 $ 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/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:00:34 $ docker top 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:35 ---> job-cost.sh 23:00:35 lf-activate-venv: SKIPPING 23:00:35 INFO: No Stack... 23:00:35 INFO: Retrieving Pricing Info for: v3-standard-4 23:00:36 INFO: Archiving Costs [Pipeline] sh 23:00:37 + cat /w/workspace/device-rest-go/41/archives/cost.csv 23:00:37 + cut -d, -f6 [Pipeline] lock 23:00:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] 23:00:37 Resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] did not exist. Created. 23:00:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:00:38 /w/workspace/device-rest-go/41@tmp/durable-c9a8f066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:00:39 + echo total: 0.10999999940395355 [Pipeline] stash 23:00:39 Warning: overwriting stash ‘stack-cost’ 23:00:39 Stashed 1 file(s) [Pipeline] } 23:00:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 23:00:39 $ docker stop --time=1 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 23:00:40 $ docker rm -f 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 [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 23:00:41 provisioning config files... 23:00:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5089497181599988199tmp [Pipeline] { [Pipeline] sh 23:00:41 + set +x 23:00:41 + curl -s https://codecov.io/bash 23:00:41 + bash -s -- 23:00:41 23:00:41 _____ _ 23:00:41 / ____| | | 23:00:41 | | ___ __| | ___ ___ _____ __ 23:00:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:00:41 | |___| (_) | (_| | __/ (_| (_) \ V / 23:00:41 \_____\___/ \__,_|\___|\___\___/ \_/ 23:00:41 Bash-1.0.6 23:00:41 23:00:41 23:00:41 ==> git version 2.25.1 found 23:00:41 ==> 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 23:00:41 Release-Date: 2020-01-08 23:00:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:00:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:00:41 ==> Jenkins CI detected. 23:00:41 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:00:41 project root: . 23:00:41 --> token set from env 23:00:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:00:41 ==> Running gcov in . (disable via -X gcov) 23:00:41 ==> Python coveragepy not found 23:00:41 ==> Searching for coverage reports in: 23:00:41 + . 23:00:41 -> Found 1 reports 23:00:41 ==> Detecting git/mercurial file structure 23:00:41 ==> Reading reports 23:00:41 + ./coverage.out bytes=9355 23:00:41 ==> Appending adjustments 23:00:41 https://docs.codecov.io/docs/fixing-reports 23:00:41 + Found adjustments 23:00:41 ==> Gzipping contents 23:00:41 4.0K /tmp/codecov.v8lVhf.gz 23:00:41 ==> Uploading reports 23:00:41 url: https://codecov.io 23:00:41 query: branch=main&commit=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:00:41 -> Pinging Codecov 23:00:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:00:42 -> Uploading to 23:00:42 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/99d2988c42a4468ca534e1bc92575890b1a7bdf5/d0302ed2-e23e-4d95-b9e3-cd25114a83be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T230041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21b9f40d3ce73a7c4425403d26abebed5b4637d58643878f3ce76eab17b994c0 23:00:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:00:42 Dload Upload Total Spent Left Speed 23:00:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8171 23:00:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] } 23:00:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:00:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:00:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:00:42 23:00:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 23:00:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:00:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:00:43 188c0c94c7c5: Pulling fs layer 23:00:43 0ef7d3d256c8: Pulling fs layer 23:00:43 de9db76c5a1d: Pulling fs layer 23:00:43 0eba1c9be4d2: Pulling fs layer 23:00:43 0d57e429df01: Pulling fs layer 23:00:43 4e4be7b47b0d: Pulling fs layer 23:00:43 e1f770b5df2f: Pulling fs layer 23:00:43 85a0685a4137: Pulling fs layer 23:00:43 e1f770b5df2f: Waiting 23:00:43 0eba1c9be4d2: Waiting 23:00:43 4e4be7b47b0d: Waiting 23:00:43 85a0685a4137: Waiting 23:00:43 de9db76c5a1d: Verifying Checksum 23:00:43 de9db76c5a1d: Download complete 23:00:43 0ef7d3d256c8: Download complete 23:00:43 0d57e429df01: Verifying Checksum 23:00:43 0d57e429df01: Download complete 23:00:43 4e4be7b47b0d: Verifying Checksum 23:00:43 4e4be7b47b0d: Download complete 23:00:43 188c0c94c7c5: Verifying Checksum 23:00:43 188c0c94c7c5: Download complete 23:00:43 188c0c94c7c5: Pull complete 23:00:43 e1f770b5df2f: Verifying Checksum 23:00:43 e1f770b5df2f: Download complete 23:00:43 0ef7d3d256c8: Pull complete 23:00:43 de9db76c5a1d: Pull complete 23:00:43 0eba1c9be4d2: Verifying Checksum 23:00:43 0eba1c9be4d2: Download complete 23:00:44 85a0685a4137: Download complete 23:00:48 0eba1c9be4d2: Pull complete 23:00:48 0d57e429df01: Pull complete 23:00:48 4e4be7b47b0d: Pull complete 23:00:48 e1f770b5df2f: Pull complete 23:00:52 85a0685a4137: Pull complete 23:00:52 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 23:00:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:00:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 23:00:52 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:00:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:00:54 $ docker top e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 -eo pid,comm [Pipeline] { [Pipeline] echo 23:00:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:00:54 + set -o pipefail 23:00:54 + snyk monitor '--org=edgex-jenkins' 23:00:59 23:00:59 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:00:59 23:00:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/da1a187c-8f32-4b7b-8c22-4c414be74e59 23:00:59 23:00:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:00:59 23:00:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:00:59 23:00:59 [Pipeline] } 23:00:59 $ docker stop --time=1 e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 23:01:02 $ docker rm -f e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:01:02 + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] sh 23:01:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:01:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:01:03 . [Pipeline] withDockerContainer 23:01:03 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:01:03 $ docker top a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:01:04 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:01:04 + git semver [Pipeline] } 23:01:04 $ docker stop --time=1 a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 23:01:05 $ docker rm -f a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:01:06 23:01:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:01:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:01:06 0.23.1-centos7: Pulling from edgex-lftools 23:01:06 ab5ef0e58194: Pulling fs layer 23:01:06 9712f1f96733: Pulling fs layer 23:01:06 63f879dbbcfc: Pulling fs layer 23:01:06 0d9ebad4ef96: Pulling fs layer 23:01:06 e9a5061849ea: Pulling fs layer 23:01:06 d747dcd14b5f: Pulling fs layer 23:01:06 2de7ff778b66: Pulling fs layer 23:01:06 0d9ebad4ef96: Waiting 23:01:06 e9a5061849ea: Waiting 23:01:06 9712f1f96733: Verifying Checksum 23:01:06 9712f1f96733: Download complete 23:01:06 63f879dbbcfc: Verifying Checksum 23:01:06 63f879dbbcfc: Download complete 23:01:07 e9a5061849ea: Verifying Checksum 23:01:07 e9a5061849ea: Download complete 23:01:07 d747dcd14b5f: Verifying Checksum 23:01:07 d747dcd14b5f: Download complete 23:01:07 0d9ebad4ef96: Verifying Checksum 23:01:07 0d9ebad4ef96: Download complete 23:01:07 ab5ef0e58194: Verifying Checksum 23:01:07 ab5ef0e58194: Download complete 23:01:07 2de7ff778b66: Verifying Checksum 23:01:07 2de7ff778b66: Download complete 23:01:10 ab5ef0e58194: Pull complete 23:01:10 9712f1f96733: Pull complete 23:01:11 63f879dbbcfc: Pull complete 23:01:15 0d9ebad4ef96: Pull complete 23:01:16 e9a5061849ea: Pull complete 23:01:16 d747dcd14b5f: Pull complete 23:01:17 2de7ff778b66: Pull complete 23:01:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:01:17 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:01:19 $ docker top e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:01:19 provisioning config files... 23:01:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2150894327918090149tmp 23:01:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2235909562406488697tmp 23:01:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3049799085271258583tmp [Pipeline] { [Pipeline] echo 23:01:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:01:19 ---> sigul-configuration.sh 23:01:19 gpg: directory `/root/.gnupg' created 23:01:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:01:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:01:19 gpg: keyring `/root/.gnupg/secring.gpg' created 23:01:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:01:19 gpg: CAST5 encrypted data 23:01:19 gpg: encrypted with 1 passphrase 23:01:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:01:20 + mkdir /home/jenkins 23:01:20 + mkdir /home/jenkins/sigul [Pipeline] sh 23:01:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 23:01:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:01:20 ---> sigul-install.sh 23:01:20 Sigul already installed; skipping installation. [Pipeline] sh 23:01:21 + git tag --list 23:01:21 v1.0.0 23:01:21 v1.1.0 23:01:21 v1.1.1 23:01:21 v1.1.2 23:01:21 v1.2.0 23:01:21 v1.2.1 23:01:21 v2.0.0 23:01:21 v2.0.1-dev.1 23:01:21 v2.0.1-dev.10 23:01:21 v2.0.1-dev.11 23:01:21 v2.0.1-dev.12 23:01:21 v2.0.1-dev.13 23:01:21 v2.0.1-dev.14 23:01:21 v2.0.1-dev.2 23:01:21 v2.0.1-dev.3 23:01:21 v2.0.1-dev.4 23:01:21 v2.0.1-dev.5 23:01:21 v2.0.1-dev.6 23:01:21 v2.0.1-dev.7 23:01:21 v2.0.1-dev.8 23:01:21 v2.0.1-dev.9 23:01:21 v2.1.0 23:01:21 v2.2.0 23:01:21 v2.2.0-dev.1 23:01:21 v2.2.0-dev.10 23:01:21 v2.2.0-dev.11 23:01:21 v2.2.0-dev.12 23:01:21 v2.2.0-dev.13 23:01:21 v2.2.0-dev.14 23:01:21 v2.2.0-dev.15 23:01:21 v2.2.0-dev.16 23:01:21 v2.2.0-dev.17 23:01:21 v2.2.0-dev.18 23:01:21 v2.2.0-dev.2 23:01:21 v2.2.0-dev.3 23:01:21 v2.2.0-dev.4 23:01:21 v2.2.0-dev.5 23:01:21 v2.2.0-dev.6 23:01:21 v2.2.0-dev.7 23:01:21 v2.2.0-dev.8 23:01:21 v2.2.0-dev.9 [Pipeline] sh 23:01:21 + lftools sign git-tag v2.2.0 23:01:22 Signing Git tag with Sigul... 23:01:22 Signing v2.2.0 [Pipeline] echo 23:01:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:01:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:01:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:01:22 $ docker stop --time=1 e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 23:01:23 $ docker rm -f e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:01:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:01:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:01:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:01:24 . [Pipeline] withDockerContainer 23:01:24 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:01:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:01:25 $ docker top 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:01:25 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:01:25 + git semver [Pipeline] } 23:01:25 $ docker stop --time=1 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 23:01:27 $ docker rm -f 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 [Pipeline] // withDockerContainer [Pipeline] sh 23:01:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:01:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:01:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:01:27 . [Pipeline] withDockerContainer 23:01:27 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:01:28 $ docker top 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:01:28 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:01:28 + git semver [Pipeline] } 23:01:29 $ docker stop --time=1 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab 23:01:30 $ docker rm -f 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 23:01:30 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:01:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:01:30 total 16 23:01:30 drwxr-xr-x 3 root root 4096 May 11 22:51 . 23:01:30 drwxrwxr-x 10 jenkins jenkins 4096 May 11 23:01 .. 23:01:30 drwxr-xr-x 2 root root 4096 May 11 22:51 cost 23:01:30 -rw-r--r-- 1 root root 84 May 11 22:51 cost.csv 23:01:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:01:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:01:30 total 16 23:01:30 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:51 . 23:01:30 drwxrwxr-x 10 jenkins jenkins 4096 May 11 23:01 .. 23:01:30 drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:51 cost 23:01:30 -rw-r--r-- 1 jenkins jenkins 84 May 11 22:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:01:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:01:32 ---> package-listing.sh 23:01:32 ++ facter osfamily 23:01:32 ++ tr '[:upper:]' '[:lower:]' 23:01:32 + OS_FAMILY=debian 23:01:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:01:32 + START_PACKAGES=/tmp/packages_start.txt 23:01:32 + END_PACKAGES=/tmp/packages_end.txt 23:01:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:01:32 + PACKAGES=/tmp/packages_start.txt 23:01:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:01:32 + PACKAGES=/tmp/packages_end.txt 23:01:32 + case "${OS_FAMILY}" in 23:01:32 + dpkg -l 23:01:32 + grep '^ii' 23:01:32 + '[' -f /tmp/packages_start.txt ']' 23:01:32 + '[' -f /tmp/packages_end.txt ']' 23:01:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:01:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:01:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:01:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:01:32 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:01:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:01:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:33 . [Pipeline] withDockerContainer 23:01:33 prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container 23:01:33 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:01:33 $ docker top e231b76fd92bca6de039e236c2a2f9e838c3030ea856172a98abef5d5923ff37 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:33 + touch /tmp/pre-build-complete [Pipeline] sh 23:01:34 + mkdir -p /var/log/sysstat [Pipeline] sh 23:01:34 + ls /var/log/sa-host 23:01:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:34 provisioning config files... 23:01:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2730180067576134479tmp [Pipeline] { [Pipeline] echo 23:01:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:01:34 ---> create-netrc.sh [Pipeline] } 23:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:01:35 ---> python-tools-install.sh [Pipeline] echo 23:01:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:01:35 ---> sudo-logs.sh 23:01:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:01:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:01:35 ---> job-cost.sh 23:01:35 lf-activate-venv: SKIPPING 23:01:35 DEBUG: total: 0.2199999988079071 23:01:35 INFO: Retrieving Stack Cost... 23:01:36 INFO: Retrieving Pricing Info for: v3-standard-8 23:01:37 INFO: Archiving Costs [Pipeline] echo 23:01:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:01:37 ---> logs-deploy.sh 23:01:37 lf-activate-venv: SKIPPING 23:01:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/41 23:01:37 INFO: archiving workspace using pattern(s): 23:01:38 Archives upload complete. 23:01:38 INFO: archiving logs to Nexus