Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0689e2451660e374e54247122f91e779ddae9a5 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-ssh13377488894270753094.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4962526092777179491.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7514965641324151699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh5960905093960558040.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-ssh9364908208474742482.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 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34831’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38962 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 f0689e2451660e374e54247122f91e779ddae9a5 (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 f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 Commit message: "Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:43:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:43:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:43:50 ========================================================= 03:43:50 EdgeX Global Pipelines Version Info 03:43:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:43:51 ------------------- 03:43:51 stable info: 03:43:51 ------------------- 03:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:43:51 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 03:43:51 Message: update stable to v1.0.227 03:43:51 ------------------- 03:43:51 experimental info: 03:43:51 ------------------- 03:43:51 Commited By: **** collab-it+edgex@linuxfoundation.org 03:43:51 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 03:43:51 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:43:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0689e2 [Pipeline] echo 03:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:52 provisioning config files... 03:43:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4872554068055369534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:52 ---> docker-login.sh 03:43:52 nexus3.edgexfoundry.org:10001 03:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:52 Configure a credential helper to remove this warning. See 03:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:52 03:43:52 Login Succeeded 03:43:52 nexus3.edgexfoundry.org:10002 03:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:53 Configure a credential helper to remove this warning. See 03:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:53 03:43:53 Login Succeeded 03:43:53 nexus3.edgexfoundry.org:10003 03:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:53 Configure a credential helper to remove this warning. See 03:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:53 03:43:53 Login Succeeded 03:43:53 nexus3.edgexfoundry.org:10004 03:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:53 Configure a credential helper to remove this warning. See 03:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:53 03:43:53 Login Succeeded 03:43:53 docker.io 03:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:53 Configure a credential helper to remove this warning. See 03:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:53 03:43:53 Login Succeeded 03:43:53 ---> docker-login.sh ends [Pipeline] } 03:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:43:54 + git rev-list -1 --merges f0689e2451660e374e54247122f91e779ddae9a5~1..f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo 03:43:54 -----------> git rev-list -1 --merges f0689e2451660e374e54247122f91e779ddae9a5~1..f0689e2451660e374e54247122f91e779ddae9a5 f0689e2451660e374e54247122f91e779ddae9a5 03:43:54 f0689e2451660e374e54247122f91e779ddae9a5 [false] [Pipeline] sh 03:43:54 + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo 03:43:54 ========================================================= 03:43:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:43:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:55 + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo 03:43:55 [semverPrep] GIT_COMMIT: f0689e2451660e374e54247122f91e779ddae9a5, Commit Message: Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo 03:43:55 [semverPrep] This is not a build commit. [Pipeline] sh 03:43:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:43:55 + grep -v github /etc/ssh/ssh_known_hosts 03:43:55 + [ -e /tmp/ssh_known_hosts ] 03:43:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:43:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:43:55 + sudo tee -a /etc/ssh/ssh_known_hosts 03:43:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:43:55 03:43:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:43:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:43:56 latest: Pulling from edgex-devops/py-git-semver 03:43:56 1fe172e4850f: Pulling fs layer 03:43:56 caf521ccaac6: Pulling fs layer 03:43:56 3ead6fa29328: Pulling fs layer 03:43:56 5c2a1cbceb83: Pulling fs layer 03:43:56 a8d5f1318db7: Pulling fs layer 03:43:56 c427282e49a2: Pulling fs layer 03:43:56 1827001aaf11: Pulling fs layer 03:43:56 0714d37db230: Pulling fs layer 03:43:56 ac28cf19c067: Pulling fs layer 03:43:56 ca983d60f3e2: Pulling fs layer 03:43:56 9f894cec8388: Pulling fs layer 03:43:56 5c2a1cbceb83: Waiting 03:43:56 a8d5f1318db7: Waiting 03:43:56 c427282e49a2: Waiting 03:43:56 1827001aaf11: Waiting 03:43:56 0714d37db230: Waiting 03:43:56 ca983d60f3e2: Waiting 03:43:56 9f894cec8388: Waiting 03:43:56 caf521ccaac6: Verifying Checksum 03:43:56 caf521ccaac6: Download complete 03:43:56 5c2a1cbceb83: Verifying Checksum 03:43:56 5c2a1cbceb83: Download complete 03:43:56 a8d5f1318db7: Verifying Checksum 03:43:56 a8d5f1318db7: Download complete 03:43:56 c427282e49a2: Verifying Checksum 03:43:56 c427282e49a2: Download complete 03:43:56 3ead6fa29328: Verifying Checksum 03:43:56 3ead6fa29328: Download complete 03:43:56 0714d37db230: Download complete 03:43:56 ac28cf19c067: Download complete 03:43:56 ca983d60f3e2: Verifying Checksum 03:43:56 ca983d60f3e2: Download complete 03:43:56 9f894cec8388: Verifying Checksum 03:43:56 9f894cec8388: Download complete 03:43:56 1fe172e4850f: Download complete 03:43:56 1827001aaf11: Verifying Checksum 03:43:56 1827001aaf11: Download complete 03:43:57 1fe172e4850f: Pull complete 03:43:57 caf521ccaac6: Pull complete 03:43:58 3ead6fa29328: Pull complete 03:43:58 5c2a1cbceb83: Pull complete 03:43:58 a8d5f1318db7: Pull complete 03:43:58 c427282e49a2: Pull complete 03:44:00 1827001aaf11: Pull complete 03:44:00 0714d37db230: Pull complete 03:44:00 ac28cf19c067: Pull complete 03:44:00 ca983d60f3e2: Pull complete 03:44:00 9f894cec8388: Pull complete 03:44:00 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:44:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:44:01 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 03:44:01 $ 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 03:44:02 $ docker top 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 -eo pid,comm 03:44:02 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). 03:44:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:44:02 [ssh-agent] Looking for ssh-agent implementation... 03:44:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:44:02 $ docker exec 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent 03:44:02 SSH_AUTH_SOCK=/tmp/ssh-cycgsjR8LIlE/agent.33 03:44:02 SSH_AGENT_PID=39 03:44:02 Running ssh-add (command line suppressed) 03:44:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1212462772940532577.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1212462772940532577.key) 03:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:44:03 + git tag --points-at HEAD [Pipeline] } 03:44:03 $ docker exec --env ******** --env ******** 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent -k 03:44:03 unset SSH_AUTH_SOCK; 03:44:03 unset SSH_AGENT_PID; 03:44:03 echo Agent pid 39 killed; 03:44:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:44:03 [ssh-agent] Looking for ssh-agent implementation... 03:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:44:03 $ docker exec 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent 03:44:03 SSH_AUTH_SOCK=/tmp/ssh-wJDknCMyp8OR/agent.74 03:44:03 SSH_AGENT_PID=81 03:44:03 Running ssh-add (command line suppressed) 03:44:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1048190318965324450.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1048190318965324450.key) 03:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:44:04 + git semver init 03:44:04 2022-05-03 03:44:04,387 [run_init] DEBUG init version:0.0.0 force:False 03:44:04 2022-05-03 03:44:04,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:44:04 2022-05-03 03:44:04,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:44:04 2022-05-03 03:44:04,389 [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) 03:44:05 2022-05-03 03:44:05,388 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:44:05 2022-05-03 03:44:05,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:44:05 2022-05-03 03:44:05,389 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:44:05 2022-05-03 03:44:05,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:44:05 2.2.0-dev.13 [Pipeline] } 03:44:05 $ docker exec --env ******** --env ******** 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent -k 03:44:05 unset SSH_AUTH_SOCK; 03:44:05 unset SSH_AGENT_PID; 03:44:05 echo Agent pid 81 killed; 03:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:44:06 + git semver [Pipeline] } 03:44:06 $ docker stop --time=1 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 03:44:07 $ docker rm -f 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 [Pipeline] // withDockerContainer [Pipeline] sh 03:44:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:44:08 Stashed 1 file(s) [Pipeline] echo 03:44:08 [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:08 provisioning config files... 03:44:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4956074851349192933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:08 ---> docker-login.sh 03:44:08 nexus3.edgexfoundry.org:10001 03:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:08 Configure a credential helper to remove this warning. See 03:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:08 03:44:08 Login Succeeded 03:44:08 nexus3.edgexfoundry.org:10002 03:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:08 Configure a credential helper to remove this warning. See 03:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:08 03:44:08 Login Succeeded 03:44:09 nexus3.edgexfoundry.org:10003 03:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:09 Configure a credential helper to remove this warning. See 03:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:09 03:44:09 Login Succeeded 03:44:09 nexus3.edgexfoundry.org:10004 03:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:09 Configure a credential helper to remove this warning. See 03:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:09 03:44:09 Login Succeeded 03:44:09 docker.io 03:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:09 Configure a credential helper to remove this warning. See 03:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:09 03:44:09 Login Succeeded 03:44:09 ---> docker-login.sh ends [Pipeline] } 03:44:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:44:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:44:09 ========================================================= 03:44:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:44:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:44:10 + 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 . 03:44:10 Sending build context to Docker daemon 10.61MB 03:44:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:44:10 Step 2/12 : FROM ${BASE} AS builder 03:44:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:44:10 59bf1c3509f3: Pulling fs layer 03:44:10 666ba61612fd: Pulling fs layer 03:44:10 8ed8ca486205: Pulling fs layer 03:44:10 4fe6c5a15a65: Pulling fs layer 03:44:10 22a0e8bec74d: Pulling fs layer 03:44:10 ca2b28591e48: Pulling fs layer 03:44:10 a51346096db8: Pulling fs layer 03:44:10 daebc70d1ce1: Pulling fs layer 03:44:10 0e18a0eac166: Pulling fs layer 03:44:10 4fe6c5a15a65: Waiting 03:44:10 daebc70d1ce1: Waiting 03:44:10 22a0e8bec74d: Waiting 03:44:10 a51346096db8: Waiting 03:44:10 ca2b28591e48: Waiting 03:44:10 8ed8ca486205: Verifying Checksum 03:44:10 8ed8ca486205: Download complete 03:44:10 666ba61612fd: Download complete 03:44:10 22a0e8bec74d: Verifying Checksum 03:44:10 22a0e8bec74d: Download complete 03:44:10 ca2b28591e48: Verifying Checksum 03:44:10 ca2b28591e48: Download complete 03:44:10 a51346096db8: Verifying Checksum 03:44:10 a51346096db8: Download complete 03:44:10 59bf1c3509f3: Verifying Checksum 03:44:10 59bf1c3509f3: Download complete 03:44:10 59bf1c3509f3: Pull complete 03:44:10 daebc70d1ce1: Verifying Checksum 03:44:10 daebc70d1ce1: Download complete 03:44:10 666ba61612fd: Pull complete 03:44:10 8ed8ca486205: Pull complete 03:44:10 0e18a0eac166: Download complete 03:44:11 4fe6c5a15a65: Verifying Checksum 03:44:11 4fe6c5a15a65: Download complete 03:44:14 4fe6c5a15a65: Pull complete 03:44:14 22a0e8bec74d: Pull complete 03:44:14 ca2b28591e48: Pull complete 03:44:14 a51346096db8: Pull complete 03:44:14 daebc70d1ce1: Pull complete 03:44:16 0e18a0eac166: Pull complete 03:44:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:44:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:44:16 ---> f018257e8ee9 03:44:16 Step 3/12 : ARG MAKE='make build' 03:44:18 ---> Running in 01b3c0f1a96a 03:44:18 Removing intermediate container 01b3c0f1a96a 03:44:18 ---> b46c6ee75341 03:44:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:44:18 ---> Running in c0b2c47a1483 03:44:18 Removing intermediate container c0b2c47a1483 03:44:18 ---> 8bb0cd6238d2 03:44:18 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:44:18 ---> Running in 10c30a54f8ee 03:44:18 Removing intermediate container 10c30a54f8ee 03:44:18 ---> f12829b9a0ed 03:44:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:18 ---> Running in 0fe57ee70565 03:44:19 Removing intermediate container 0fe57ee70565 03:44:19 ---> 4cd01115c79e 03:44:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:19 ---> Running in 07a9775ad5eb 03:44:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:44:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:44:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:44:20 (2/4) Installing libedit (20210910.3.1-r0) 03:44:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:44:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:44:20 Executing busybox-1.34.1-r3.trigger 03:44:20 OK: 224 MiB in 56 packages 03:44:21 Removing intermediate container 07a9775ad5eb 03:44:21 ---> 266da8158c68 03:44:21 Step 8/12 : WORKDIR /device-rest-go 03:44:21 ---> Running in 4b6acf012890 03:44:21 Removing intermediate container 4b6acf012890 03:44:21 ---> 5e60bdc04546 03:44:21 Step 9/12 : COPY go.mod vendor* ./ 03:44:21 ---> a7c61cbe6f2d 03:44:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:21 ---> Running in ff6dffe68bcd 03:44:23 Still waiting to schedule task 03:44:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-38966’ is offline 03:44:36 Removing intermediate container ff6dffe68bcd 03:44:36 ---> 50a3b3e9a011 03:44:36 Step 11/12 : COPY . . 03:44:36 ---> 45a2beb630b4 03:44:36 Step 12/12 : RUN $MAKE 03:44:36 ---> Running in f47ee1466fb8 03:44:36 noop 03:44:36 Removing intermediate container f47ee1466fb8 03:44:36 ---> b686f23f6ee7 03:44:36 Successfully built b686f23f6ee7 03:44:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:44:36 + docker inspect -f . ci-base-image-x86_64 03:44:36 . [Pipeline] withDockerContainer 03:44:36 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 03:44:37 $ 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 ******** ci-base-image-x86_64 cat 03:44:37 $ docker top 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:37 + go version 03:44:37 go version go1.17.6 linux/amd64 [Pipeline] } 03:44:37 $ docker stop --time=1 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 03:44:39 $ docker rm -f 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:44:39 + docker inspect -f . ci-base-image-x86_64 03:44:39 . [Pipeline] withDockerContainer 03:44:39 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 03:44:39 $ 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 ******** ci-base-image-x86_64 cat 03:44:40 $ docker top c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:44:40 + make test 03:44:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:44:40 ? github.com/edgexfoundry/device-rest-go [no test files] 03:44:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:44:49 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 03:44:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:44:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:59 ./bin/test-attribution-txt.sh [Pipeline] echo 03:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:44:59 $ docker stop --time=1 c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 03:45:00 $ docker rm -f c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 [Pipeline] // withDockerContainer [Pipeline] sh 03:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:45:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:45:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:45:02 + ls -al . 03:45:02 total 172 03:45:02 drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:44 . 03:45:02 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:43 .. 03:45:02 -rw-rw-r-- 1 jenkins jenkins 151 May 3 03:43 .dockerignore 03:45:02 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:44 .git 03:45:02 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 .github 03:45:02 -rw-rw-r-- 1 jenkins jenkins 329 May 3 03:43 .gitignore 03:45:02 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:43 .golangci.yml 03:45:02 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:44 .semver 03:45:02 -rw-rw-r-- 1 jenkins jenkins 8463 May 3 03:43 Attribution.txt 03:45:02 -rw-rw-r-- 1 jenkins jenkins 7459 May 3 03:43 CHANGELOG.md 03:45:02 -rw-rw-r-- 1 jenkins jenkins 1672 May 3 03:43 Dockerfile 03:45:02 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:43 GOVERNANCE.md 03:45:02 -rw-rw-r-- 1 jenkins jenkins 680 May 3 03:43 Jenkinsfile 03:45:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:43 LICENSE 03:45:02 -rw-rw-r-- 1 jenkins jenkins 1977 May 3 03:43 Makefile 03:45:02 -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:43 OWNERS.md 03:45:02 -rw-rw-r-- 1 jenkins jenkins 8246 May 3 03:43 README.md 03:45:02 -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:44 VERSION 03:45:02 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:43 bin 03:45:02 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 cmd 03:45:02 -rw-r--r-- 1 jenkins jenkins 9355 May 3 03:44 coverage.out 03:45:02 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:43 driver 03:45:02 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 03:43 go.mod 03:45:02 -rw-rw-r-- 1 jenkins jenkins 35259 May 3 03:43 go.sum 03:45:02 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 snap 03:45:02 -rw-rw-r-- 1 jenkins jenkins 713 May 3 03:43 version.go [Pipeline] isUnix [Pipeline] sh 03:45:02 + 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=f0689e2451660e374e54247122f91e779ddae9a5 --label arch=amd64 --label version=2.2.0-dev.13 . 03:45:02 Sending build context to Docker daemon 10.62MB 03:45:02 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:45:02 Step 2/25 : FROM ${BASE} AS builder 03:45:02 ---> b686f23f6ee7 03:45:02 Step 3/25 : ARG MAKE='make build' 03:45:02 ---> Running in de8cf20af99b 03:45:02 Removing intermediate container de8cf20af99b 03:45:02 ---> 8681e46c4678 03:45:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:45:02 ---> Running in 517d85073a82 03:45:02 Removing intermediate container 517d85073a82 03:45:02 ---> cefc2d96da99 03:45:02 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:45:02 ---> Running in 27d1066ea739 03:45:03 Removing intermediate container 27d1066ea739 03:45:03 ---> 0b4808937bd9 03:45:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:45:03 ---> Running in a7a6814c29f7 03:45:03 Removing intermediate container a7a6814c29f7 03:45:03 ---> ee646e023b6e 03:45:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:03 ---> Running in 4478909e9459 03:45:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:45:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:45:04 OK: 224 MiB in 56 packages 03:45:05 Removing intermediate container 4478909e9459 03:45:05 ---> cb4753c7d237 03:45:05 Step 8/25 : WORKDIR /device-rest-go 03:45:05 ---> Running in 19049fe12864 03:45:05 Removing intermediate container 19049fe12864 03:45:05 ---> 1f00941a879f 03:45:05 Step 9/25 : COPY go.mod vendor* ./ 03:45:05 ---> 45c97ad903a2 03:45:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:05 ---> Running in f8dc79fbd92b 03:45:06 Removing intermediate container f8dc79fbd92b 03:45:06 ---> 228029c80238 03:45:06 Step 11/25 : COPY . . 03:45:06 ---> 43130761e8b6 03:45:06 Step 12/25 : RUN $MAKE 03:45:06 ---> Running in afc188c8ee68 03:45:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:45:28 Removing intermediate container afc188c8ee68 03:45:28 ---> cf8fbdfb8438 03:45:28 Step 13/25 : FROM alpine:3.14 03:45:28 3.14: Pulling from library/alpine 03:45:28 8663204ce13b: Pulling fs layer 03:45:28 8663204ce13b: Verifying Checksum 03:45:28 8663204ce13b: Download complete 03:45:28 8663204ce13b: Pull complete 03:45:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:45:28 Status: Downloaded newer image for alpine:3.14 03:45:28 ---> e04c818066af 03:45:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:45:28 ---> Running in c1cbbabaffd7 03:45:28 Removing intermediate container c1cbbabaffd7 03:45:28 ---> 77d6f3ba8da4 03:45:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:45:28 ---> Running in 4681c4ca6474 03:45:28 Removing intermediate container 4681c4ca6474 03:45:28 ---> eb98300dffcf 03:45:28 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:45:28 ---> Running in bc2b5277f1b4 03:45:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:45:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:45:28 (1/6) Installing dumb-init (1.2.5-r1) 03:45:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:45:28 (3/6) Installing libsodium (1.0.18-r0) 03:45:28 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:45:28 (5/6) Installing libzmq (4.3.4-r0) 03:45:28 (6/6) Installing zeromq (4.3.4-r0) 03:45:28 Executing busybox-1.33.1-r7.trigger 03:45:28 OK: 8 MiB in 20 packages 03:45:28 Removing intermediate container bc2b5277f1b4 03:45:28 ---> cbf6f9b2985a 03:45:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:45:29 ---> 91a6589792a5 03:45:29 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:45:29 ---> 8323f3210ba6 03:45:29 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:45:29 ---> 217ab5a9691d 03:45:29 Step 20/25 : EXPOSE 59986 03:45:29 ---> Running in ab4680829029 03:45:30 Removing intermediate container ab4680829029 03:45:30 ---> 433f6dadd330 03:45:30 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:45:30 ---> Running in f053764ecba4 03:45:30 Removing intermediate container f053764ecba4 03:45:30 ---> ba185807bcd9 03:45:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:45:30 ---> Running in 455c3d50d0b7 03:45:30 Removing intermediate container 455c3d50d0b7 03:45:30 ---> 47d08b5452e4 03:45:30 Step 23/25 : LABEL arch=amd64 03:45:30 ---> Running in d337237c6fcb 03:45:30 Removing intermediate container d337237c6fcb 03:45:30 ---> 98f9adb1aa8b 03:45:30 Step 24/25 : LABEL git_sha=f0689e2451660e374e54247122f91e779ddae9a5 03:45:30 ---> Running in fb763b777828 03:45:31 Removing intermediate container fb763b777828 03:45:31 ---> ead9bf54bcab 03:45:31 Step 25/25 : LABEL version=2.2.0-dev.13 03:45:31 ---> Running in 4743aafb757e 03:45:31 Removing intermediate container 4743aafb757e 03:45:31 ---> 054953dab0cf 03:45:31 [Warning] One or more build-args [ARCH] were not consumed 03:45:31 Successfully built 054953dab0cf 03:45:31 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:31 provisioning config files... 03:45:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6023697412821674994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:31 ---> docker-login.sh 03:45:31 nexus3.edgexfoundry.org:10001 03:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:31 Configure a credential helper to remove this warning. See 03:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:31 03:45:31 Login Succeeded 03:45:31 nexus3.edgexfoundry.org:10002 03:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 nexus3.edgexfoundry.org:10003 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 nexus3.edgexfoundry.org:10004 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 docker.io 03:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:32 Configure a credential helper to remove this warning. See 03:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:32 03:45:32 Login Succeeded 03:45:32 ---> docker-login.sh ends [Pipeline] } 03:45:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:32 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:45:32 f0689e2451660e374e54247122f91e779ddae9a5 03:45:32 latest 03:45:32 2.2.0-dev.13 03:45:32 f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 03:45:32 main 03:45:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:45:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] isUnix [Pipeline] sh 03:45:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 03:45:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:45:33 876425d87b26: Preparing 03:45:33 fe7e35319d92: Preparing 03:45:33 38a97b30b1cd: Preparing 03:45:33 157b4293c62b: Preparing 03:45:33 b541d28bf3b4: Preparing 03:45:33 b541d28bf3b4: Layer already exists 03:45:33 876425d87b26: Pushed 03:45:33 fe7e35319d92: Pushed 03:45:33 157b4293c62b: Pushed 03:45:36 38a97b30b1cd: Pushed 03:45:36 f0689e2451660e374e54247122f91e779ddae9a5: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:45:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 03:45:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:45:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:45:36 876425d87b26: Preparing 03:45:36 fe7e35319d92: Preparing 03:45:36 38a97b30b1cd: Preparing 03:45:36 157b4293c62b: Preparing 03:45:36 b541d28bf3b4: Preparing 03:45:36 876425d87b26: Layer already exists 03:45:36 38a97b30b1cd: Layer already exists 03:45:36 fe7e35319d92: Layer already exists 03:45:36 b541d28bf3b4: Layer already exists 03:45:36 157b4293c62b: Layer already exists 03:45:36 latest: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:45:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 03:45:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 03:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:45:37 876425d87b26: Preparing 03:45:37 fe7e35319d92: Preparing 03:45:37 38a97b30b1cd: Preparing 03:45:37 157b4293c62b: Preparing 03:45:37 b541d28bf3b4: Preparing 03:45:37 157b4293c62b: Layer already exists 03:45:37 876425d87b26: Layer already exists 03:45:37 b541d28bf3b4: Layer already exists 03:45:37 fe7e35319d92: Layer already exists 03:45:37 38a97b30b1cd: Layer already exists 03:45:37 2.2.0-dev.13: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:45:37 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 03:45:37 + docker push nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 03:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:45:37 876425d87b26: Preparing 03:45:37 fe7e35319d92: Preparing 03:45:37 38a97b30b1cd: Preparing 03:45:37 157b4293c62b: Preparing 03:45:37 b541d28bf3b4: Preparing 03:45:37 157b4293c62b: Layer already exists 03:45:37 38a97b30b1cd: Layer already exists 03:45:37 876425d87b26: Layer already exists 03:45:37 fe7e35319d92: Layer already exists 03:45:37 b541d28bf3b4: Layer already exists 03:45:37 f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:45:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 03:45:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:45:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:45:38 876425d87b26: Preparing 03:45:38 fe7e35319d92: Preparing 03:45:38 38a97b30b1cd: Preparing 03:45:38 157b4293c62b: Preparing 03:45:38 b541d28bf3b4: Preparing 03:45:38 157b4293c62b: Layer already exists 03:45:38 876425d87b26: Layer already exists 03:45:38 b541d28bf3b4: Layer already exists 03:45:38 38a97b30b1cd: Layer already exists 03:45:38 fe7e35319d92: Layer already exists 03:45:38 main: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:45:38 ===================================================== [Pipeline] echo 03:45:38 taggedImages: 03:45:38 - nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 03:45:38 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:45:38 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 03:45:38 - nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 03:45:38 - 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 03:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:45:38 03:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:45:39 latest: Pulling from edgex-lftools-log-publisher 03:45:39 5eb5b503b376: Pulling fs layer 03:45:39 5c69ac0246d0: Pulling fs layer 03:45:39 ec43610c2a17: Pulling fs layer 03:45:39 3a2ae6a8a46f: Pulling fs layer 03:45:39 33b1e0a273af: Pulling fs layer 03:45:39 5d3b04190fa2: Pulling fs layer 03:45:39 2f39f015ded8: Pulling fs layer 03:45:39 5d3b04190fa2: Waiting 03:45:39 3a2ae6a8a46f: Waiting 03:45:39 33b1e0a273af: Waiting 03:45:39 2f39f015ded8: Waiting 03:45:39 5c69ac0246d0: Download complete 03:45:39 3a2ae6a8a46f: Download complete 03:45:39 33b1e0a273af: Verifying Checksum 03:45:39 33b1e0a273af: Download complete 03:45:39 ec43610c2a17: Verifying Checksum 03:45:39 ec43610c2a17: Download complete 03:45:39 5d3b04190fa2: Verifying Checksum 03:45:39 5d3b04190fa2: Download complete 03:45:39 5eb5b503b376: Verifying Checksum 03:45:39 5eb5b503b376: Download complete 03:45:40 2f39f015ded8: Download complete 03:45:40 5eb5b503b376: Pull complete 03:45:40 5c69ac0246d0: Pull complete 03:45:41 ec43610c2a17: Pull complete 03:45:41 3a2ae6a8a46f: Pull complete 03:45:41 33b1e0a273af: Pull complete 03:45:41 5d3b04190fa2: Pull complete 03:45:45 2f39f015ded8: Pull complete 03:45:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:45:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:45:45 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 03:45:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:45:47 $ docker top 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:48 ---> job-cost.sh 03:45:48 lf-activate-venv: SKIPPING 03:45:48 INFO: No Stack... 03:45:48 INFO: Retrieving Pricing Info for: v3-standard-8 03:45:48 INFO: Archiving Costs [Pipeline] sh 03:45:49 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:45:49 + cut -d, -f6 [Pipeline] lock 03:45:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] 03:45:49 Resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] did not exist. Created. 03:45:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:45:49 + echo total: 0.2199999988079071 [Pipeline] stash 03:45:49 Stashed 1 file(s) [Pipeline] } 03:45:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 03:45:49 $ docker stop --time=1 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 03:45:50 $ docker rm -f 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40298 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:14:57 Running in /w/workspace/device-rest-go/35 [Pipeline] { [Pipeline] checkout 04:14:58 The recommended git tool is: git 04:15:03 using credential edgex-jenkins-ssh 04:15:03 Cloning the remote Git repository 04:15:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:15:04 > git init /w/workspace/device-rest-go/35 # timeout=10 04:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:15:04 > git --version # timeout=10 04:15:04 > git --version # 'git version 2.25.1' 04:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:06 Avoid second fetch 04:15:06 Checking out Revision f0689e2451660e374e54247122f91e779ddae9a5 (main) 04:15:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:15:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:06 > git config core.sparsecheckout # timeout=10 04:15:06 > git checkout -f f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 04:15:10 Commit message: "Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:11 Dload Upload Total Spent Left Speed 04:15:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 04:15:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:12 + sudo tee /etc/docker/daemon.new 04:15:12 { 04:15:12 "registry-mirrors": [ 04:15:12 "https://nexus3.edgexfoundry.org:10001" 04:15:12 ], 04:15:12 "bip": "10.250.0.254/24", 04:15:12 "hosts": [ 04:15:12 "tcp://0.0.0.0:5555", 04:15:12 "unix:///var/run/docker.sock" 04:15:12 ], 04:15:12 "mtu": 1458, 04:15:12 "selinux-enabled": true, 04:15:12 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:12 } [Pipeline] sh 04:15:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:31 provisioning config files... 04:15:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/35@tmp/config2229008008931417599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:32 ---> docker-login.sh 04:15:32 nexus3.edgexfoundry.org:10001 04:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:32 Configure a credential helper to remove this warning. See 04:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:32 04:15:32 Login Succeeded 04:15:32 nexus3.edgexfoundry.org:10002 04:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:33 Configure a credential helper to remove this warning. See 04:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:33 04:15:33 Login Succeeded 04:15:33 nexus3.edgexfoundry.org:10003 04:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:34 Configure a credential helper to remove this warning. See 04:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:34 04:15:34 Login Succeeded 04:15:34 nexus3.edgexfoundry.org:10004 04:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:34 Configure a credential helper to remove this warning. See 04:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:34 04:15:34 Login Succeeded 04:15:34 docker.io 04:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 ---> docker-login.sh ends [Pipeline] } 04:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:36 ========================================================= 04:15:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:15:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:36 + 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 . 04:15:36 Sending build context to Docker daemon 130kB 04:15:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:15:36 Step 2/12 : FROM ${BASE} AS builder 04:15:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:37 9b3977197b4f: Pulling fs layer 04:15:37 1a89e8eeedd5: Pulling fs layer 04:15:37 94645a83ff95: Pulling fs layer 04:15:37 3f3a8bcf1eab: Pulling fs layer 04:15:37 0c92f367c5e7: Pulling fs layer 04:15:37 3096ccb668a1: Pulling fs layer 04:15:37 e8cf19c19ddd: Pulling fs layer 04:15:37 a4caa8a26152: Pulling fs layer 04:15:37 3096ccb668a1: Waiting 04:15:37 e8cf19c19ddd: Waiting 04:15:37 3f3a8bcf1eab: Waiting 04:15:37 0c92f367c5e7: Waiting 04:15:37 a4caa8a26152: Waiting 04:15:37 94645a83ff95: Verifying Checksum 04:15:37 94645a83ff95: Download complete 04:15:37 1a89e8eeedd5: Download complete 04:15:37 0c92f367c5e7: Download complete 04:15:37 3096ccb668a1: Verifying Checksum 04:15:37 3096ccb668a1: Download complete 04:15:37 e8cf19c19ddd: Download complete 04:15:37 9b3977197b4f: Verifying Checksum 04:15:37 9b3977197b4f: Download complete 04:15:38 9b3977197b4f: Pull complete 04:15:39 1a89e8eeedd5: Pull complete 04:15:39 94645a83ff95: Pull complete 04:15:40 a4caa8a26152: Verifying Checksum 04:15:40 a4caa8a26152: Download complete 04:15:40 3f3a8bcf1eab: Verifying Checksum 04:15:40 3f3a8bcf1eab: Download complete 04:15:55 3f3a8bcf1eab: Pull complete 04:15:55 0c92f367c5e7: Pull complete 04:15:55 3096ccb668a1: Pull complete 04:15:56 e8cf19c19ddd: Pull complete 04:16:08 a4caa8a26152: Pull complete 04:16:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:16:08 ---> 725f1c02e7f9 04:16:08 Step 3/12 : ARG MAKE='make build' 04:16:08 ---> Running in 8f7b839884be 04:16:08 Removing intermediate container 8f7b839884be 04:16:08 ---> 0b03878dfa0e 04:16:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:16:08 ---> Running in 3e70a88be12a 04:16:08 Removing intermediate container 3e70a88be12a 04:16:08 ---> d99847c35b80 04:16:08 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 04:16:08 ---> Running in c9c853426997 04:16:09 Removing intermediate container c9c853426997 04:16:09 ---> e41fc11377f0 04:16:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:09 ---> Running in 7b88d6453b60 04:16:12 Removing intermediate container 7b88d6453b60 04:16:12 ---> b813c6470147 04:16:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:16:12 ---> Running in 2521e99feb96 04:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:16:15 (2/4) Installing libedit (20210910.3.1-r0) 04:16:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:16:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:16:15 Executing busybox-1.34.1-r3.trigger 04:16:15 OK: 224 MiB in 56 packages 04:16:16 Removing intermediate container 2521e99feb96 04:16:16 ---> 7916b5cd358b 04:16:16 Step 8/12 : WORKDIR /device-rest-go 04:16:16 ---> Running in fa79d805e1e5 04:16:16 Removing intermediate container fa79d805e1e5 04:16:16 ---> 2ca08713b3c2 04:16:16 Step 9/12 : COPY go.mod vendor* ./ 04:16:17 ---> 7d1cede68bf4 04:16:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:17 ---> Running in 9d734bf49ff7 04:17:05 Removing intermediate container 9d734bf49ff7 04:17:05 ---> cc871338ed68 04:17:05 Step 11/12 : COPY . . 04:17:05 ---> 76dd2e5251d9 04:17:05 Step 12/12 : RUN $MAKE 04:17:05 ---> Running in 1b6ab345dfef 04:17:06 noop 04:17:06 Removing intermediate container 1b6ab345dfef 04:17:06 ---> 4f672cdc7665 04:17:06 Successfully built 4f672cdc7665 04:17:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:07 + docker inspect -f . ci-base-image-arm64 04:17:07 . [Pipeline] withDockerContainer 04:17:07 prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container 04:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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-arm64 cat 04:17:09 $ docker top 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:10 + go version 04:17:10 go version go1.17.6 linux/arm64 [Pipeline] } 04:17:10 $ docker stop --time=1 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 04:17:11 $ docker rm -f 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:12 + docker inspect -f . ci-base-image-arm64 04:17:12 . [Pipeline] withDockerContainer 04:17:12 prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container 04:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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-arm64 cat 04:17:15 $ docker top c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:17:16 + make test 04:17:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:17:18 ? github.com/edgexfoundry/device-rest-go [no test files] 04:18:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:18:55 ok github.com/edgexfoundry/device-rest-go/driver 0.081s coverage: 55.2% of statements 04:18:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:18:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:19:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:28 ./bin/test-attribution-txt.sh [Pipeline] echo 04:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:32 $ docker stop --time=1 c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 04:19:34 $ docker rm -f c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:35 Warning: overwriting stash ‘coverage-report’ 04:19:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:36 + ls -al . 04:19:36 total 168 04:19:36 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:19 . 04:19:36 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:15 .. 04:19:36 -rw-rw-r-- 1 jenkins jenkins 151 May 3 04:15 .dockerignore 04:19:36 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git 04:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 .github 04:19:36 -rw-rw-r-- 1 jenkins jenkins 329 May 3 04:15 .gitignore 04:19:36 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml 04:19:36 -rw-rw-r-- 1 jenkins jenkins 8463 May 3 04:15 Attribution.txt 04:19:36 -rw-rw-r-- 1 jenkins jenkins 7459 May 3 04:15 CHANGELOG.md 04:19:36 -rw-rw-r-- 1 jenkins jenkins 1672 May 3 04:15 Dockerfile 04:19:36 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md 04:19:36 -rw-rw-r-- 1 jenkins jenkins 680 May 3 04:15 Jenkinsfile 04:19:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE 04:19:36 -rw-rw-r-- 1 jenkins jenkins 1977 May 3 04:15 Makefile 04:19:36 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:15 OWNERS.md 04:19:36 -rw-rw-r-- 1 jenkins jenkins 8246 May 3 04:15 README.md 04:19:36 -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:44 VERSION 04:19:36 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin 04:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd 04:19:36 -rw-r--r-- 1 jenkins jenkins 9355 May 3 04:18 coverage.out 04:19:36 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 driver 04:19:36 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 04:15 go.mod 04:19:36 -rw-rw-r-- 1 jenkins jenkins 35259 May 3 04:15 go.sum 04:19:36 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 snap 04:19:36 -rw-rw-r-- 1 jenkins jenkins 713 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh 04:19:37 + 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=f0689e2451660e374e54247122f91e779ddae9a5 --label arch=arm64 --label version=2.2.0-dev.13 . 04:19:37 Sending build context to Docker daemon 140.3kB 04:19:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:19:37 Step 2/25 : FROM ${BASE} AS builder 04:19:37 ---> 4f672cdc7665 04:19:37 Step 3/25 : ARG MAKE='make build' 04:19:37 ---> Running in 81d57f45962b 04:19:38 Removing intermediate container 81d57f45962b 04:19:38 ---> e1579ad72432 04:19:38 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:19:38 ---> Running in 99b68cdc1ee8 04:19:38 Removing intermediate container 99b68cdc1ee8 04:19:38 ---> f2dc508c8943 04:19:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 04:19:38 ---> Running in a7f151adbdc3 04:19:38 Removing intermediate container a7f151adbdc3 04:19:38 ---> d93e2ea196dc 04:19:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:38 ---> Running in 7896b38cfb6a 04:19:40 Removing intermediate container 7896b38cfb6a 04:19:40 ---> 76cce8e4a7af 04:19:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:40 ---> Running in f8f2f344e812 04:19:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:19:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:19:43 OK: 224 MiB in 56 packages 04:19:44 Removing intermediate container f8f2f344e812 04:19:44 ---> c58292dffab9 04:19:44 Step 8/25 : WORKDIR /device-rest-go 04:19:44 ---> Running in c966ee8f2192 04:19:44 Removing intermediate container c966ee8f2192 04:19:44 ---> 0e47d038e2cc 04:19:44 Step 9/25 : COPY go.mod vendor* ./ 04:19:45 ---> 33e2673072b6 04:19:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:45 ---> Running in 0c736c53b064 04:19:47 Removing intermediate container 0c736c53b064 04:19:47 ---> 5829d7631790 04:19:47 Step 11/25 : COPY . . 04:19:48 ---> 427dbeec3406 04:19:48 Step 12/25 : RUN $MAKE 04:19:48 ---> Running in 3352938fd1b8 04:19:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 04:22:26 Removing intermediate container 3352938fd1b8 04:22:26 ---> ea606cac08eb 04:22:26 Step 13/25 : FROM alpine:3.14 04:22:26 3.14: Pulling from library/alpine 04:22:26 455c02918c45: Pulling fs layer 04:22:26 455c02918c45: Verifying Checksum 04:22:26 455c02918c45: Download complete 04:22:26 455c02918c45: Pull complete 04:22:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:22:26 Status: Downloaded newer image for alpine:3.14 04:22:26 ---> ac73e934f311 04:22:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 04:22:26 ---> Running in 92214ba0b227 04:22:26 Removing intermediate container 92214ba0b227 04:22:26 ---> a89769dd656e 04:22:26 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:22:26 ---> Running in 58ffde22c5dd 04:22:26 Removing intermediate container 58ffde22c5dd 04:22:26 ---> 6b2d6d45dc4a 04:22:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 04:22:26 ---> Running in 886ef5b912a6 04:22:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:26 (1/6) Installing dumb-init (1.2.5-r1) 04:22:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:22:26 (3/6) Installing libsodium (1.0.18-r0) 04:22:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:26 (5/6) Installing libzmq (4.3.4-r0) 04:22:26 (6/6) Installing zeromq (4.3.4-r0) 04:22:26 Executing busybox-1.33.1-r7.trigger 04:22:26 OK: 8 MiB in 20 packages 04:22:26 Removing intermediate container 886ef5b912a6 04:22:26 ---> 08c6f1b233e3 04:22:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:22:26 ---> e24be1d2de19 04:22:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:22:26 ---> ed6833d03bff 04:22:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:22:26 ---> 481f56286a1a 04:22:26 Step 20/25 : EXPOSE 59986 04:22:26 ---> Running in 5b6764c78062 04:22:26 Removing intermediate container 5b6764c78062 04:22:26 ---> a487c0c5eeb7 04:22:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:22:26 ---> Running in 268b31ae0cd7 04:22:26 Removing intermediate container 268b31ae0cd7 04:22:26 ---> a383c864a70e 04:22:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:22:26 ---> Running in 6d244eeb554a 04:22:26 Removing intermediate container 6d244eeb554a 04:22:26 ---> 2d51ef99095f 04:22:26 Step 23/25 : LABEL arch=arm64 04:22:26 ---> Running in 00b0923d9c8a 04:22:26 Removing intermediate container 00b0923d9c8a 04:22:26 ---> 1f72cfc57d62 04:22:26 Step 24/25 : LABEL git_sha=f0689e2451660e374e54247122f91e779ddae9a5 04:22:26 ---> Running in e656c80b3c9c 04:22:26 Removing intermediate container e656c80b3c9c 04:22:26 ---> 859e3401fa18 04:22:26 Step 25/25 : LABEL version=2.2.0-dev.13 04:22:26 ---> Running in 01bac85b1164 04:22:26 Removing intermediate container 01bac85b1164 04:22:26 ---> 042751b18cc7 04:22:26 [Warning] One or more build-args [ARCH] were not consumed 04:22:26 Successfully built 042751b18cc7 04:22:26 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 04:22:26 provisioning config files... 04:22:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/35@tmp/config488094221088760303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:27 ---> docker-login.sh 04:22:27 nexus3.edgexfoundry.org:10001 04:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:27 Configure a credential helper to remove this warning. See 04:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:27 04:22:27 Login Succeeded 04:22:27 nexus3.edgexfoundry.org:10002 04:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:28 Configure a credential helper to remove this warning. See 04:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:28 04:22:28 Login Succeeded 04:22:28 nexus3.edgexfoundry.org:10003 04:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:28 Configure a credential helper to remove this warning. See 04:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:28 04:22:28 Login Succeeded 04:22:28 nexus3.edgexfoundry.org:10004 04:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:29 Configure a credential helper to remove this warning. See 04:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:29 04:22:29 Login Succeeded 04:22:29 docker.io 04:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:29 Configure a credential helper to remove this warning. See 04:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:29 04:22:30 Login Succeeded 04:22:30 ---> docker-login.sh ends [Pipeline] } 04:22:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:30 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:22:30 f0689e2451660e374e54247122f91e779ddae9a5 04:22:30 latest 04:22:30 2.2.0-dev.13 04:22:30 f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 04:22:30 main 04:22:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:30 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] isUnix [Pipeline] sh 04:22:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 04:22:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:22:30 c79c9207b492: Preparing 04:22:30 76e1227fe68e: Preparing 04:22:30 1ab662e1bc43: Preparing 04:22:30 e612560385b9: Preparing 04:22:30 f73e7dbfee58: Preparing 04:22:30 f73e7dbfee58: Layer already exists 04:22:31 76e1227fe68e: Pushed 04:22:31 c79c9207b492: Pushed 04:22:31 e612560385b9: Pushed 04:22:38 1ab662e1bc43: Pushed 04:22:38 f0689e2451660e374e54247122f91e779ddae9a5: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:22:38 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:22:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:22:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:22:39 c79c9207b492: Preparing 04:22:39 76e1227fe68e: Preparing 04:22:39 1ab662e1bc43: Preparing 04:22:39 e612560385b9: Preparing 04:22:39 f73e7dbfee58: Preparing 04:22:39 76e1227fe68e: Layer already exists 04:22:39 c79c9207b492: Layer already exists 04:22:39 1ab662e1bc43: Layer already exists 04:22:39 f73e7dbfee58: Layer already exists 04:22:39 e612560385b9: Layer already exists 04:22:39 latest: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:22:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 04:22:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 04:22:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:22:40 c79c9207b492: Preparing 04:22:40 76e1227fe68e: Preparing 04:22:40 1ab662e1bc43: Preparing 04:22:40 e612560385b9: Preparing 04:22:40 f73e7dbfee58: Preparing 04:22:40 f73e7dbfee58: Layer already exists 04:22:40 c79c9207b492: Layer already exists 04:22:40 1ab662e1bc43: Layer already exists 04:22:40 e612560385b9: Layer already exists 04:22:40 76e1227fe68e: Layer already exists 04:22:40 2.2.0-dev.13: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:22:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 04:22:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 04:22:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:22:41 c79c9207b492: Preparing 04:22:41 76e1227fe68e: Preparing 04:22:41 1ab662e1bc43: Preparing 04:22:41 e612560385b9: Preparing 04:22:41 f73e7dbfee58: Preparing 04:22:41 c79c9207b492: Layer already exists 04:22:41 76e1227fe68e: Layer already exists 04:22:41 1ab662e1bc43: Layer already exists 04:22:41 f73e7dbfee58: Layer already exists 04:22:41 e612560385b9: Layer already exists 04:22:41 f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:22:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 04:22:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:22:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:22:42 c79c9207b492: Preparing 04:22:42 76e1227fe68e: Preparing 04:22:42 1ab662e1bc43: Preparing 04:22:42 e612560385b9: Preparing 04:22:42 f73e7dbfee58: Preparing 04:22:42 c79c9207b492: Layer already exists 04:22:42 1ab662e1bc43: Layer already exists 04:22:42 f73e7dbfee58: Layer already exists 04:22:42 76e1227fe68e: Layer already exists 04:22:42 e612560385b9: Layer already exists 04:22:42 main: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:22:42 ===================================================== [Pipeline] echo 04:22:42 taggedImages: 04:22:42 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 04:22:42 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:22:42 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 04:22:42 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 04:22:42 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:42 04:22:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:43 arm64: Pulling from edgex-lftools-log-publisher 04:22:43 8998bd30e6a1: Pulling fs layer 04:22:43 04944245beec: Pulling fs layer 04:22:43 699f458cf7ca: Pulling fs layer 04:22:43 765212b225bb: Pulling fs layer 04:22:43 f23df028b6ca: Pulling fs layer 04:22:43 d65c8cfc05b1: Pulling fs layer 04:22:43 2437ff75d9bd: Pulling fs layer 04:22:43 f23df028b6ca: Waiting 04:22:43 d65c8cfc05b1: Waiting 04:22:43 2437ff75d9bd: Waiting 04:22:43 765212b225bb: Waiting 04:22:43 04944245beec: Verifying Checksum 04:22:43 04944245beec: Download complete 04:22:43 765212b225bb: Download complete 04:22:43 f23df028b6ca: Verifying Checksum 04:22:43 f23df028b6ca: Download complete 04:22:43 d65c8cfc05b1: Verifying Checksum 04:22:43 d65c8cfc05b1: Download complete 04:22:43 699f458cf7ca: Verifying Checksum 04:22:43 699f458cf7ca: Download complete 04:22:44 8998bd30e6a1: Verifying Checksum 04:22:44 8998bd30e6a1: Download complete 04:22:46 2437ff75d9bd: Verifying Checksum 04:22:46 2437ff75d9bd: Download complete 04:22:48 8998bd30e6a1: Pull complete 04:22:50 04944245beec: Pull complete 04:22:51 699f458cf7ca: Pull complete 04:22:51 765212b225bb: Pull complete 04:22:52 f23df028b6ca: Pull complete 04:22:53 d65c8cfc05b1: Pull complete 04:23:11 2437ff75d9bd: Pull complete 04:23:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:23:11 prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container 04:23:11 $ 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/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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:arm64 cat 04:23:14 $ docker top e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:15 ---> job-cost.sh 04:23:15 lf-activate-venv: SKIPPING 04:23:15 INFO: No Stack... 04:23:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:16 INFO: Archiving Costs [Pipeline] sh 04:23:17 + + cut -d, -f6 04:23:17 cat /w/workspace/device-rest-go/35/archives/cost.csv [Pipeline] lock 04:23:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] 04:23:17 Resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] did not exist. Created. 04:23:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:18 /w/workspace/device-rest-go/35@tmp/durable-d7c80f39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:19 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:19 Warning: overwriting stash ‘stack-cost’ 04:23:19 Stashed 1 file(s) [Pipeline] } 04:23:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:19 $ docker stop --time=1 e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 04:23:20 $ docker rm -f e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 [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 04:23:21 provisioning config files... 04:23:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1583725960846778927tmp [Pipeline] { [Pipeline] sh 04:23:21 + set +x 04:23:21 + curl -s https://codecov.io/bash 04:23:21 + bash -s -- 04:23:21 04:23:21 _____ _ 04:23:21 / ____| | | 04:23:21 | | ___ __| | ___ ___ _____ __ 04:23:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:21 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:21 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:21 Bash-1.0.6 04:23:21 04:23:21 04:23:21 ==> git version 2.25.1 found 04:23:21 ==> 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 04:23:21 Release-Date: 2020-01-08 04:23:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:23:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:23:21 ==> Jenkins CI detected. 04:23:21 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:23:21 project root: . 04:23:21 --> token set from env 04:23:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:21 ==> Running gcov in . (disable via -X gcov) 04:23:21 ==> Python coveragepy not found 04:23:21 ==> Searching for coverage reports in: 04:23:21 + . 04:23:21 -> Found 1 reports 04:23:21 ==> Detecting git/mercurial file structure 04:23:21 ==> Reading reports 04:23:21 + ./coverage.out bytes=9355 04:23:21 ==> Appending adjustments 04:23:21 https://docs.codecov.io/docs/fixing-reports 04:23:21 + Found adjustments 04:23:21 ==> Gzipping contents 04:23:21 4.0K /tmp/codecov.DfbRP6.gz 04:23:21 ==> Uploading reports 04:23:21 url: https://codecov.io 04:23:21 query: branch=main&commit=f0689e2451660e374e54247122f91e779ddae9a5&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:23:21 -> Pinging Codecov 04:23:21 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=f0689e2451660e374e54247122f91e779ddae9a5&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:23:21 -> Uploading to 04:23:21 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/4E5D53B4F1F92C436F7061BF334D961C/f0689e2451660e374e54247122f91e779ddae9a5/b2da9467-47ca-4b55-b4f0-3d8b24c876b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38caa21472d82ae5cf8e819488f488d33342f6391e5a29621aae952f9464e92a 04:23:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:21 Dload Upload Total Spent Left Speed 04:23:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7921 --:--:-- --:--:-- --:--:-- 7921 04:23:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] } 04:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:23:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:23:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:22 04:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:23:22 188c0c94c7c5: Pulling fs layer 04:23:22 0ef7d3d256c8: Pulling fs layer 04:23:22 de9db76c5a1d: Pulling fs layer 04:23:22 0eba1c9be4d2: Pulling fs layer 04:23:22 0d57e429df01: Pulling fs layer 04:23:22 4e4be7b47b0d: Pulling fs layer 04:23:22 e1f770b5df2f: Pulling fs layer 04:23:22 85a0685a4137: Pulling fs layer 04:23:22 0d57e429df01: Waiting 04:23:22 4e4be7b47b0d: Waiting 04:23:22 e1f770b5df2f: Waiting 04:23:22 85a0685a4137: Waiting 04:23:22 0eba1c9be4d2: Waiting 04:23:22 de9db76c5a1d: Download complete 04:23:22 0ef7d3d256c8: Verifying Checksum 04:23:22 0d57e429df01: Verifying Checksum 04:23:22 0d57e429df01: Download complete 04:23:22 4e4be7b47b0d: Verifying Checksum 04:23:22 4e4be7b47b0d: Download complete 04:23:22 188c0c94c7c5: Verifying Checksum 04:23:22 188c0c94c7c5: Download complete 04:23:23 e1f770b5df2f: Verifying Checksum 04:23:23 e1f770b5df2f: Download complete 04:23:23 188c0c94c7c5: Pull complete 04:23:23 0ef7d3d256c8: Pull complete 04:23:23 de9db76c5a1d: Pull complete 04:23:23 0eba1c9be4d2: Verifying Checksum 04:23:23 0eba1c9be4d2: Download complete 04:23:23 85a0685a4137: Verifying Checksum 04:23:23 85a0685a4137: Download complete 04:23:27 0eba1c9be4d2: Pull complete 04:23:27 0d57e429df01: Pull complete 04:23:27 4e4be7b47b0d: Pull complete 04:23:27 e1f770b5df2f: Pull complete 04:23:30 85a0685a4137: Pull complete 04:23:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:23:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:23:30 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:23:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:23:32 $ docker top 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 -eo pid,comm [Pipeline] { [Pipeline] echo 04:23:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:23:32 + set -o pipefail 04:23:32 + snyk monitor '--org=edgex-jenkins' 04:23:38 04:23:38 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:23:38 04:23:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5a333732-a2a5-46eb-a96f-2e57c6c15901 04:23:38 04:23:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:23:38 04:23:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:23:38 04:23:38 [Pipeline] } 04:23:38 $ docker stop --time=1 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 04:23:40 $ docker rm -f 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 [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 04:23:40 + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] sh 04:23:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:23:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:23:41 . [Pipeline] withDockerContainer 04:23:41 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:23:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:23:41 $ docker top 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:42 [ssh-agent] Looking for ssh-agent implementation... 04:23:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:42 $ docker exec 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade ssh-agent 04:23:42 SSH_AUTH_SOCK=/tmp/ssh-9x9JQhWUuauS/agent.33 04:23:42 SSH_AGENT_PID=39 04:23:42 Running ssh-add (command line suppressed) 04:23:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4358601021017092586.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4358601021017092586.key) 04:23:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:42 + git semver tag 04:23:43 2022-05-03 04:23:43,004 [run_tag] DEBUG tag force:False 04:23:43 2022-05-03 04:23:43,005 [check_head_tag] DEBUG check head tag 04:23:43 2022-05-03 04:23:43,006 [execute] INFO git cat-file --batch-check 04:23:43 2022-05-03 04:23:43,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:23:43 2022-05-03 04:23:43,009 [execute] INFO git cat-file --batch 04:23:43 2022-05-03 04:23:43,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:23:43 2022-05-03 04:23:43,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:23:43 2022-05-03 04:23:43,022 [execute] INFO git tag -a v2.2.0-dev.13 -m v2.2.0-dev.13 04:23:43 2022-05-03 04:23:43,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.13', '-m', 'v2.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:23:43 2022-05-03 04:23:43,027 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:23:43 2.2.0-dev.13 [Pipeline] } 04:23:43 $ docker exec --env ******** --env ******** 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade ssh-agent -k 04:23:43 unset SSH_AUTH_SOCK; 04:23:43 unset SSH_AGENT_PID; 04:23:43 echo Agent pid 39 killed; 04:23:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:43 + git semver [Pipeline] } 04:23:43 $ docker stop --time=1 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade 04:23:45 $ docker rm -f 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:45 04:23:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:23:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:45 0.23.1-centos7: Pulling from edgex-lftools 04:23:45 ab5ef0e58194: Pulling fs layer 04:23:45 9712f1f96733: Pulling fs layer 04:23:45 63f879dbbcfc: Pulling fs layer 04:23:45 0d9ebad4ef96: Pulling fs layer 04:23:45 e9a5061849ea: Pulling fs layer 04:23:45 d747dcd14b5f: Pulling fs layer 04:23:45 2de7ff778b66: Pulling fs layer 04:23:45 0d9ebad4ef96: Waiting 04:23:45 e9a5061849ea: Waiting 04:23:45 d747dcd14b5f: Waiting 04:23:45 2de7ff778b66: Waiting 04:23:45 9712f1f96733: Verifying Checksum 04:23:45 9712f1f96733: Download complete 04:23:46 63f879dbbcfc: Verifying Checksum 04:23:46 63f879dbbcfc: Download complete 04:23:46 e9a5061849ea: Verifying Checksum 04:23:46 e9a5061849ea: Download complete 04:23:46 d747dcd14b5f: Verifying Checksum 04:23:46 d747dcd14b5f: Download complete 04:23:46 0d9ebad4ef96: Verifying Checksum 04:23:46 0d9ebad4ef96: Download complete 04:23:46 ab5ef0e58194: Verifying Checksum 04:23:46 ab5ef0e58194: Download complete 04:23:46 2de7ff778b66: Verifying Checksum 04:23:46 2de7ff778b66: Download complete 04:23:49 ab5ef0e58194: Pull complete 04:23:49 9712f1f96733: Pull complete 04:23:50 63f879dbbcfc: Pull complete 04:23:54 0d9ebad4ef96: Pull complete 04:23:54 e9a5061849ea: Pull complete 04:23:54 d747dcd14b5f: Pull complete 04:23:55 2de7ff778b66: Pull complete 04:23:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:23:55 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:23:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:23:57 $ docker top bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:23:57 provisioning config files... 04:23:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2197148985667965006tmp 04:23:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5332676675198226220tmp 04:23:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7882910411729266868tmp [Pipeline] { [Pipeline] echo 04:23:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:23:57 ---> sigul-configuration.sh 04:23:57 gpg: directory `/root/.gnupg' created 04:23:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:23:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:23:57 gpg: keyring `/root/.gnupg/secring.gpg' created 04:23:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:23:57 gpg: CAST5 encrypted data 04:23:57 gpg: encrypted with 1 passphrase 04:23:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:23:58 + mkdir /home/jenkins 04:23:58 + mkdir /home/jenkins/sigul [Pipeline] sh 04:23:58 + 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 04:23:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:23:58 ---> sigul-install.sh 04:23:58 Sigul already installed; skipping installation. [Pipeline] sh 04:23:58 + git tag --list 04:23:58 v1.0.0 04:23:58 v1.1.0 04:23:58 v1.1.1 04:23:58 v1.1.2 04:23:58 v1.2.0 04:23:58 v1.2.1 04:23:58 v2.0.0 04:23:58 v2.0.1-dev.1 04:23:58 v2.0.1-dev.10 04:23:58 v2.0.1-dev.11 04:23:58 v2.0.1-dev.12 04:23:58 v2.0.1-dev.13 04:23:58 v2.0.1-dev.14 04:23:58 v2.0.1-dev.2 04:23:58 v2.0.1-dev.3 04:23:58 v2.0.1-dev.4 04:23:58 v2.0.1-dev.5 04:23:58 v2.0.1-dev.6 04:23:58 v2.0.1-dev.7 04:23:58 v2.0.1-dev.8 04:23:58 v2.0.1-dev.9 04:23:58 v2.1.0 04:23:58 v2.2.0-dev.1 04:23:58 v2.2.0-dev.10 04:23:58 v2.2.0-dev.11 04:23:58 v2.2.0-dev.12 04:23:58 v2.2.0-dev.13 04:23:58 v2.2.0-dev.2 04:23:58 v2.2.0-dev.3 04:23:58 v2.2.0-dev.4 04:23:58 v2.2.0-dev.5 04:23:58 v2.2.0-dev.6 04:23:58 v2.2.0-dev.7 04:23:58 v2.2.0-dev.8 04:23:58 v2.2.0-dev.9 [Pipeline] sh 04:23:59 + lftools sign git-tag v2.2.0-dev.13 04:23:59 Signing Git tag with Sigul... 04:23:59 Signing v2.2.0-dev.13 [Pipeline] echo 04:24:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:24:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:24:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:24:00 $ docker stop --time=1 bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e 04:24:01 $ docker rm -f bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:24:02 . [Pipeline] withDockerContainer 04:24:02 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:24:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:24:03 $ docker top 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:03 [ssh-agent] Looking for ssh-agent implementation... 04:24:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:03 $ docker exec 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 ssh-agent 04:24:03 SSH_AUTH_SOCK=/tmp/ssh-4bE9GDQHm1EK/agent.33 04:24:03 SSH_AGENT_PID=39 04:24:03 Running ssh-add (command line suppressed) 04:24:03 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1311586803624920406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1311586803624920406.key) 04:24:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:04 + git semver bump pre 04:24:04 2022-05-03 04:24:04,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:24:04 2022-05-03 04:24:04,151 [bump_version] DEBUG bumping version:2.2.0-dev.13 on axis:pre with prefix:dev 04:24:04 2022-05-03 04:24:04,151 [bump_version] DEBUG bumped version:2.2.0-dev.14 04:24:04 2022-05-03 04:24:04,151 [write_version] DEBUG write version:2.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:24:04 2022-05-03 04:24:04,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:24:04 2022-05-03 04:24:04,151 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:24:04 2022-05-03 04:24:04,153 [execute] INFO git cat-file --batch-check 04:24:04 2022-05-03 04:24:04,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:24:04 2022-05-03 04:24:04,160 [execute] INFO git cat-file --batch 04:24:04 2022-05-03 04:24:04,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:24:04 2022-05-03 04:24:04,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:24:04 2.2.0-dev.14 [Pipeline] } 04:24:04 $ docker exec --env ******** --env ******** 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 ssh-agent -k 04:24:04 unset SSH_AUTH_SOCK; 04:24:04 unset SSH_AGENT_PID; 04:24:04 echo Agent pid 39 killed; 04:24:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:04 + git semver [Pipeline] } 04:24:05 $ docker stop --time=1 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 04:24:06 $ docker rm -f 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:24:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:24:06 . [Pipeline] withDockerContainer 04:24:07 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:24:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:24:07 $ docker top 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:24:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:24:07 [ssh-agent] Looking for ssh-agent implementation... 04:24:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:24:07 $ docker exec 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc ssh-agent 04:24:07 SSH_AUTH_SOCK=/tmp/ssh-MfbVHTADcA2p/agent.32 04:24:07 SSH_AGENT_PID=38 04:24:07 Running ssh-add (command line suppressed) 04:24:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2596657575052356057.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2596657575052356057.key) 04:24:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:24:08 + git semver push 04:24:08 2022-05-03 04:24:08,498 [run_push] DEBUG push 04:24:08 2022-05-03 04:24:08,499 [execute] INFO git push origin semver 04:24:08 2022-05-03 04:24:08,499 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:24:09 2022-05-03 04:24:09,360 [run_push] DEBUG push all version tags 04:24:09 2022-05-03 04:24:09,361 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:24:09 2022-05-03 04:24:09,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:24:10 2022-05-03 04:24:10,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:24:10 2.2.0-dev.14 [Pipeline] } 04:24:10 $ docker exec --env ******** --env ******** 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc ssh-agent -k 04:24:10 unset SSH_AUTH_SOCK; 04:24:10 unset SSH_AGENT_PID; 04:24:10 echo Agent pid 38 killed; 04:24:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:24:10 + git semver [Pipeline] } 04:24:11 $ docker stop --time=1 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc 04:24:12 $ docker rm -f 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc [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 04:24:13 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:24:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:24:13 total 16 04:24:13 drwxr-xr-x 3 root root 4096 May 3 03:45 . 04:24:13 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:23 .. 04:24:13 drwxr-xr-x 2 root root 4096 May 3 03:45 cost 04:24:13 -rw-r--r-- 1 root root 84 May 3 03:45 cost.csv 04:24:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:24:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:24:13 total 16 04:24:13 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:45 . 04:24:13 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:23 .. 04:24:13 drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:45 cost 04:24:13 -rw-r--r-- 1 jenkins jenkins 84 May 3 03:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:24:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:24:14 ---> package-listing.sh 04:24:14 ++ facter osfamily 04:24:14 ++ tr '[:upper:]' '[:lower:]' 04:24:14 + OS_FAMILY=debian 04:24:14 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:24:14 + START_PACKAGES=/tmp/packages_start.txt 04:24:14 + END_PACKAGES=/tmp/packages_end.txt 04:24:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:24:14 + PACKAGES=/tmp/packages_start.txt 04:24:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:24:14 + PACKAGES=/tmp/packages_end.txt 04:24:14 + case "${OS_FAMILY}" in 04:24:14 + dpkg -l 04:24:14 + grep '^ii' 04:24:14 + '[' -f /tmp/packages_start.txt ']' 04:24:14 + '[' -f /tmp/packages_end.txt ']' 04:24:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:24:14 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:24:14 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:24:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:24:14 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 04:24:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:15 . [Pipeline] withDockerContainer 04:24:15 prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container 04:24:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:24:15 $ docker top 0c3dbb308bae1b7deaf53408a2b0aa24570a04bc56e64fe4f91408e83f6e7679 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:16 + touch /tmp/pre-build-complete [Pipeline] sh 04:24:16 + mkdir -p /var/log/sysstat [Pipeline] sh 04:24:16 + ls /var/log/sa-host 04:24:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:24:16 provisioning config files... 04:24:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2282662390860286137tmp [Pipeline] { [Pipeline] echo 04:24:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:24:17 ---> create-netrc.sh [Pipeline] } 04:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:24:17 ---> python-tools-install.sh [Pipeline] echo 04:24:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:24:17 ---> sudo-logs.sh 04:24:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:24:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:24:18 ---> job-cost.sh 04:24:18 lf-activate-venv: SKIPPING 04:24:18 DEBUG: total: 0.2199999988079071 04:24:18 INFO: Retrieving Stack Cost... 04:24:18 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:18 INFO: Archiving Costs [Pipeline] echo 04:24:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:24:19 ---> logs-deploy.sh 04:24:19 lf-activate-venv: SKIPPING 04:24:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/35 04:24:19 INFO: archiving workspace using pattern(s): 04:24:20 Archives upload complete. 04:24:20 INFO: archiving logs to Nexus