Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11947002953554298381.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9094793743206077721.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/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-ssh11769033080853128455.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Could not update commit status. Message: 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-ssh261466625092960462.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-ssh7063821882094122475.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 Could not update commit status. Message: Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7830 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 Commit message: "Merge pull request #160 from hahattan/bump-go-mods" > git rev-list --no-walk f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:50:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:50:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:50:20 ========================================================= 14:50:20 EdgeX Global Pipelines Version Info 14:50:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:50:21 ------------------- 14:50:21 stable info: 14:50:21 ------------------- 14:50:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:50:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:50:21 Message: update stable to v1.0.221 14:50:21 ------------------- 14:50:21 experimental info: 14:50:21 ------------------- 14:50:21 Commited By: **** collab-it+edgex@linuxfoundation.org 14:50:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:50:21 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:50:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec779fd [Pipeline] echo 14:50:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:50:22 provisioning config files... 14:50:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5284591477970411487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:22 ---> docker-login.sh 14:50:22 nexus3.edgexfoundry.org:10001 14:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:23 Configure a credential helper to remove this warning. See 14:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:23 14:50:23 Login Succeeded 14:50:23 nexus3.edgexfoundry.org:10002 14:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:23 Configure a credential helper to remove this warning. See 14:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:23 14:50:23 Login Succeeded 14:50:23 nexus3.edgexfoundry.org:10003 14:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:23 Configure a credential helper to remove this warning. See 14:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:23 14:50:23 Login Succeeded 14:50:23 nexus3.edgexfoundry.org:10004 14:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:23 Configure a credential helper to remove this warning. See 14:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:23 14:50:23 Login Succeeded 14:50:23 docker.io 14:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:24 Configure a credential helper to remove this warning. See 14:50:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:24 14:50:24 Login Succeeded 14:50:24 ---> docker-login.sh ends [Pipeline] } 14:50:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:50:24 + git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 14:50:24 -----------> git rev-list -1 --merges ec779fd03c03a2eb2a0571cd3b2e316fba414fa2~1..ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:50:24 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [false] [Pipeline] sh 14:50:24 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 14:50:24 ========================================================= 14:50:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:50:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:50:25 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] echo 14:50:25 [semverPrep] GIT_COMMIT: ec779fd03c03a2eb2a0571cd3b2e316fba414fa2, Commit Message: Merge pull request #160 from hahattan/bump-go-mods [Pipeline] echo 14:50:25 [semverPrep] This is not a build commit. [Pipeline] sh 14:50:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:50:25 + grep -v github /etc/ssh/ssh_known_hosts 14:50:25 + [ -e /tmp/ssh_known_hosts ] 14:50:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:50:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:50:25 + sudo tee -a /etc/ssh/ssh_known_hosts 14:50:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:50:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:26 14:50:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:50:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:26 latest: Pulling from edgex-devops/git-semver 14:50:26 a0d0a0d46f8b: Pulling fs layer 14:50:26 3e5f54012d9b: Pulling fs layer 14:50:26 4c7163046ea9: Pulling fs layer 14:50:26 0c2d73faf560: Pulling fs layer 14:50:26 0c2d73faf560: Waiting 14:50:26 3e5f54012d9b: Verifying Checksum 14:50:26 3e5f54012d9b: Download complete 14:50:26 a0d0a0d46f8b: Download complete 14:50:26 0c2d73faf560: Verifying Checksum 14:50:26 0c2d73faf560: Download complete 14:50:26 4c7163046ea9: Verifying Checksum 14:50:26 4c7163046ea9: Download complete 14:50:26 a0d0a0d46f8b: Pull complete 14:50:26 3e5f54012d9b: Pull complete 14:50:26 4c7163046ea9: Pull complete 14:50:27 0c2d73faf560: Pull complete 14:50:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:50:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:50:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:50:27 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:50:28 $ docker top 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:50:28 [ssh-agent] Looking for ssh-agent implementation... 14:50:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:50:28 $ docker exec 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent 14:50:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNNDbMa/agent.13 14:50:28 SSH_AGENT_PID=20 14:50:28 Running ssh-add (command line suppressed) 14:50:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6445234688042259934.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6445234688042259934.key) 14:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:50:28 + git tag --points-at HEAD [Pipeline] } 14:50:28 $ docker exec --env ******** --env ******** 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent -k 14:50:28 unset SSH_AUTH_SOCK; 14:50:28 unset SSH_AGENT_PID; 14:50:28 echo Agent pid 20 killed; 14:50:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:50:29 [ssh-agent] Looking for ssh-agent implementation... 14:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:50:29 $ docker exec 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent 14:50:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiLJgNM/agent.53 14:50:29 SSH_AGENT_PID=59 14:50:29 Running ssh-add (command line suppressed) 14:50:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1000226886705329839.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1000226886705329839.key) 14:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:50:29 + git semver init 14:50:29 # -> Open(): unable to determine branch for HEAD 14:50:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:50:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:50:29 # $SEMVER_REMOTE_NAME = origin 14:50:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:50:29 # $SEMVER_USER_NAME = edgex-jenkins 14:50:29 # $SEMVER_BRANCH = main 14:50:29 # $SEMVER_TEMP = /tmp/semver-305642546 14:50:29 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 14:50:31 # '/tmp/semver-305642546' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 14:50:31 # -> Force: false 14:50:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 14:50:31 $ docker exec --env ******** --env ******** 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa ssh-agent -k 14:50:31 unset SSH_AUTH_SOCK; 14:50:31 unset SSH_AGENT_PID; 14:50:31 echo Agent pid 59 killed; 14:50:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:50:31 + git semver [Pipeline] } 14:50:31 $ docker stop --time=1 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa 14:50:33 $ docker rm -f 8ff2edfa0c89d7d5c60c06a0192104ed411c4ba0c56aaef2bdd945aad61bf5fa [Pipeline] // withDockerContainer [Pipeline] sh 14:50:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:50:33 Stashed 1 file(s) [Pipeline] echo 14:50:33 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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 14:50:33 provisioning config files... 14:50:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8995636155104646708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:34 ---> docker-login.sh 14:50:34 nexus3.edgexfoundry.org:10001 14:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:34 Configure a credential helper to remove this warning. See 14:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:34 14:50:34 Login Succeeded 14:50:34 nexus3.edgexfoundry.org:10002 14:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:34 Configure a credential helper to remove this warning. See 14:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:34 14:50:34 Login Succeeded 14:50:34 nexus3.edgexfoundry.org:10003 14:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:34 Configure a credential helper to remove this warning. See 14:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:34 14:50:34 Login Succeeded 14:50:34 nexus3.edgexfoundry.org:10004 14:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:34 Configure a credential helper to remove this warning. See 14:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:34 14:50:34 Login Succeeded 14:50:34 docker.io 14:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:50:34 Configure a credential helper to remove this warning. See 14:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:50:34 14:50:34 Login Succeeded 14:50:34 ---> docker-login.sh ends [Pipeline] } 14:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:50:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:50:34 ========================================================= 14:50:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:50:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:50:35 + 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 . 14:50:35 Sending build context to Docker daemon 10.54MB 14:50:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:50:35 Step 2/12 : FROM ${BASE} AS builder 14:50:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:50:35 59bf1c3509f3: Pulling fs layer 14:50:35 666ba61612fd: Pulling fs layer 14:50:35 8ed8ca486205: Pulling fs layer 14:50:35 4fe6c5a15a65: Pulling fs layer 14:50:35 22a0e8bec74d: Pulling fs layer 14:50:35 640e595b4fbd: Pulling fs layer 14:50:35 763cafe07f6e: Pulling fs layer 14:50:35 0c0b528cf693: Pulling fs layer 14:50:35 10935f4eaf8b: Pulling fs layer 14:50:35 4fe6c5a15a65: Waiting 14:50:35 22a0e8bec74d: Waiting 14:50:35 640e595b4fbd: Waiting 14:50:35 0c0b528cf693: Waiting 14:50:35 10935f4eaf8b: Waiting 14:50:35 763cafe07f6e: Waiting 14:50:35 8ed8ca486205: Verifying Checksum 14:50:35 8ed8ca486205: Download complete 14:50:35 666ba61612fd: Download complete 14:50:35 22a0e8bec74d: Verifying Checksum 14:50:35 22a0e8bec74d: Download complete 14:50:35 59bf1c3509f3: Verifying Checksum 14:50:35 59bf1c3509f3: Download complete 14:50:35 640e595b4fbd: Verifying Checksum 14:50:35 640e595b4fbd: Download complete 14:50:35 763cafe07f6e: Download complete 14:50:35 0c0b528cf693: Verifying Checksum 14:50:35 0c0b528cf693: Download complete 14:50:35 59bf1c3509f3: Pull complete 14:50:35 666ba61612fd: Pull complete 14:50:35 8ed8ca486205: Pull complete 14:50:36 10935f4eaf8b: Verifying Checksum 14:50:36 10935f4eaf8b: Download complete 14:50:36 4fe6c5a15a65: Verifying Checksum 14:50:36 4fe6c5a15a65: Download complete 14:50:40 4fe6c5a15a65: Pull complete 14:50:40 22a0e8bec74d: Pull complete 14:50:40 640e595b4fbd: Pull complete 14:50:40 763cafe07f6e: Pull complete 14:50:40 0c0b528cf693: Pull complete 14:50:43 10935f4eaf8b: Pull complete 14:50:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:50:43 ---> 99d49a6021b9 14:50:43 Step 3/12 : ARG MAKE='make build' 14:50:44 ---> Running in 1fb20a5f216d 14:50:44 Removing intermediate container 1fb20a5f216d 14:50:44 ---> 9e9e25d74414 14:50:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:50:44 ---> Running in f32f586d0d59 14:50:44 Removing intermediate container f32f586d0d59 14:50:44 ---> 92f46297e2d5 14:50:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:50:44 ---> Running in 4d843e037f96 14:50:44 Removing intermediate container 4d843e037f96 14:50:44 ---> 448d6adb1764 14:50:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:44 ---> Running in 0b54f406b6a7 14:50:44 Removing intermediate container 0b54f406b6a7 14:50:44 ---> c6c448b59087 14:50:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:50:44 ---> Running in 0f80b4032eee 14:50:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:50:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:50:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:50:46 (2/4) Installing libedit (20210910.3.1-r0) 14:50:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:50:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:50:47 Executing busybox-1.34.1-r3.trigger 14:50:47 OK: 224 MiB in 56 packages 14:50:47 Removing intermediate container 0f80b4032eee 14:50:47 ---> dc667c770526 14:50:47 Step 8/12 : WORKDIR /device-rest-go 14:50:47 ---> Running in 10d0ad779e12 14:50:47 Removing intermediate container 10d0ad779e12 14:50:47 ---> 601aef33222c 14:50:47 Step 9/12 : COPY go.mod vendor* ./ 14:50:47 ---> 6974185d90f1 14:50:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:50:47 ---> Running in ac567294cd0b 14:50:48 Still waiting to schedule task 14:50:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:51:14 Removing intermediate container ac567294cd0b 14:51:14 ---> 2266abfe890b 14:51:14 Step 11/12 : COPY . . 14:51:14 ---> f212b4f77c7e 14:51:14 Step 12/12 : RUN $MAKE 14:51:14 ---> Running in 394afec5ba69 14:51:14 noop 14:51:14 Removing intermediate container 394afec5ba69 14:51:14 ---> 8374893b3c22 14:51:14 Successfully built 8374893b3c22 14:51:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:51:14 + docker inspect -f . ci-base-image-x86_64 14:51:14 . [Pipeline] withDockerContainer 14:51:14 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:51:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:51:15 $ docker top 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a -eo pid,comm [Pipeline] { [Pipeline] sh 14:51:15 + go version 14:51:15 go version go1.17.6 linux/amd64 [Pipeline] } 14:51:15 $ docker stop --time=1 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a 14:51:16 $ docker rm -f 57e9be86a8b3d555ba64191d83e1fc974cd8cdc77571d6b9fb30eb6404cc251a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:51:17 + docker inspect -f . ci-base-image-x86_64 14:51:17 . [Pipeline] withDockerContainer 14:51:17 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:51:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:51:17 $ docker top 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:51:18 + make test 14:51:18 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:51:18 ? github.com/edgexfoundry/device-rest-go [no test files] 14:51:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:51:25 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements 14:51:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:51:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:51:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:51:28 ./bin/test-attribution-txt.sh [Pipeline] echo 14:51:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:51:29 $ docker stop --time=1 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 14:51:30 $ docker rm -f 7ef312c4143ddc315cc9b1c4845c5ae69685b572d7aafeef30ff5113ac273c73 [Pipeline] // withDockerContainer [Pipeline] sh 14:51:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:51:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:51:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:51:32 + ls -al . 14:51:32 total 180 14:51:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 14:51 . 14:51:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:50 .. 14:51:32 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 14:50 .dockerignore 14:51:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:50 .git 14:51:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 .github 14:51:32 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 14:50 .gitignore 14:51:32 drwx------ 3 jenkins jenkins 4096 Mar 17 14:50 .semver 14:51:32 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 14:50 Attribution.txt 14:51:32 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 14:50 CHANGELOG.md 14:51:32 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 14:50 Dockerfile 14:51:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:50 GOVERNANCE.md 14:51:32 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 14:50 Jenkinsfile 14:51:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:50 LICENSE 14:51:32 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 14:50 Makefile 14:51:32 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 14:50 OWNERS.md 14:51:32 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 14:50 README.md 14:51:32 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:50 VERSION 14:51:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 bin 14:51:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:50 cmd 14:51:32 -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 14:51 coverage.out 14:51:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:50 driver 14:51:32 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 14:50 go.mod 14:51:32 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 14:50 go.sum 14:51:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:50 snap 14:51:32 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 14:50 version.go [Pipeline] isUnix [Pipeline] sh 14:51:32 + 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=amd64 --label version=2.2.0-dev.6 . 14:51:32 Sending build context to Docker daemon 10.55MB 14:51:32 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:51:32 Step 2/25 : FROM ${BASE} AS builder 14:51:32 ---> 8374893b3c22 14:51:32 Step 3/25 : ARG MAKE='make build' 14:51:33 ---> Running in 3ba1b687a14b 14:51:33 Removing intermediate container 3ba1b687a14b 14:51:33 ---> 9bae24b49822 14:51:33 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:51:33 ---> Running in 20313034c7dc 14:51:33 Removing intermediate container 20313034c7dc 14:51:33 ---> b8d7def6d2f6 14:51:33 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:51:33 ---> Running in cbf6da72f33b 14:51:33 Removing intermediate container cbf6da72f33b 14:51:33 ---> a2122a3977ce 14:51:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:51:33 ---> Running in 762721b03170 14:51:33 Removing intermediate container 762721b03170 14:51:33 ---> 44cc6647e521 14:51:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:51:33 ---> Running in 3b464ae1180d 14:51:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:51:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:51:35 OK: 224 MiB in 56 packages 14:51:35 Removing intermediate container 3b464ae1180d 14:51:35 ---> bbbb36aaaaa4 14:51:35 Step 8/25 : WORKDIR /device-rest-go 14:51:35 ---> Running in 3a134517c2cb 14:51:35 Removing intermediate container 3a134517c2cb 14:51:35 ---> fcbdda46e71a 14:51:35 Step 9/25 : COPY go.mod vendor* ./ 14:51:36 ---> 4deef138f72c 14:51:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:51:36 ---> Running in bae999413749 14:51:36 Removing intermediate container bae999413749 14:51:36 ---> 057014f291da 14:51:36 Step 11/25 : COPY . . 14:51:37 ---> 2ccf888f1a07 14:51:37 Step 12/25 : RUN $MAKE 14:51:37 ---> Running in a92fc7c18cc7 14:51:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd 14:51:45 Removing intermediate container a92fc7c18cc7 14:51:45 ---> dda51454fd90 14:51:45 Step 13/25 : FROM alpine:3.14 14:51:45 3.14: Pulling from library/alpine 14:51:45 97518928ae5f: Pulling fs layer 14:51:46 97518928ae5f: Verifying Checksum 14:51:46 97518928ae5f: Pull complete 14:51:46 Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 14:51:46 Status: Downloaded newer image for alpine:3.14 14:51:46 ---> 0a97eee8041e 14:51:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:51:46 ---> Running in 3eed2d46e409 14:51:46 Removing intermediate container 3eed2d46e409 14:51:46 ---> 2cbea36ee52a 14:51:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:51:46 ---> Running in 5f380da469b5 14:51:46 Removing intermediate container 5f380da469b5 14:51:46 ---> 37b206521974 14:51:46 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:51:46 ---> Running in e5515f77c172 14:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:51:47 (1/6) Installing dumb-init (1.2.5-r1) 14:51:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:51:47 (3/6) Installing libsodium (1.0.18-r0) 14:51:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:51:47 (5/6) Installing libzmq (4.3.4-r0) 14:51:47 (6/6) Installing zeromq (4.3.4-r0) 14:51:47 Executing busybox-1.33.1-r6.trigger 14:51:47 OK: 8 MiB in 20 packages 14:51:47 Removing intermediate container e5515f77c172 14:51:47 ---> 0db234f6187d 14:51:47 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:51:48 ---> 9796268f6b92 14:51:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:51:48 ---> 12e7479b5861 14:51:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:51:48 ---> 90e21656f2e4 14:51:48 Step 20/25 : EXPOSE 59986 14:51:48 ---> Running in a87f50231b66 14:51:48 Removing intermediate container a87f50231b66 14:51:48 ---> 38c54987f6f0 14:51:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:51:48 ---> Running in fcd77c95cd35 14:51:48 Removing intermediate container fcd77c95cd35 14:51:48 ---> d509967be47a 14:51:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:51:48 ---> Running in 6147ed843419 14:51:48 Removing intermediate container 6147ed843419 14:51:48 ---> 8f0fefc61070 14:51:48 Step 23/25 : LABEL arch=amd64 14:51:49 ---> Running in f47e69df69c3 14:51:49 Removing intermediate container f47e69df69c3 14:51:49 ---> 69a6bdb8831c 14:51:49 Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:51:49 ---> Running in 4224547b6a6d 14:51:49 Removing intermediate container 4224547b6a6d 14:51:49 ---> 749a60d2471b 14:51:49 Step 25/25 : LABEL version=2.2.0-dev.6 14:51:49 ---> Running in f74ae43a316c 14:51:49 Removing intermediate container f74ae43a316c 14:51:49 ---> 1370e9a661e2 14:51:49 [Warning] One or more build-args [ARCH] were not consumed 14:51:49 Successfully built 1370e9a661e2 14:51:49 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:51:49 provisioning config files... 14:51:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4549197842394809293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:49 ---> docker-login.sh 14:51:49 nexus3.edgexfoundry.org:10001 14:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:49 Configure a credential helper to remove this warning. See 14:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:49 14:51:49 Login Succeeded 14:51:49 nexus3.edgexfoundry.org:10002 14:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:50 Configure a credential helper to remove this warning. See 14:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:50 14:51:50 Login Succeeded 14:51:50 nexus3.edgexfoundry.org:10003 14:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:50 Configure a credential helper to remove this warning. See 14:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:50 14:51:50 Login Succeeded 14:51:50 nexus3.edgexfoundry.org:10004 14:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:50 Configure a credential helper to remove this warning. See 14:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:50 14:51:50 Login Succeeded 14:51:50 docker.io 14:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:50 Configure a credential helper to remove this warning. See 14:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:50 14:51:50 Login Succeeded 14:51:50 ---> docker-login.sh ends [Pipeline] } 14:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:51:50 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 14:51:50 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:51:50 latest 14:51:50 2.2.0-dev.6 14:51:50 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:51:50 main 14:51:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:51:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh 14:51:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:51:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:51 3242b55c034b: Preparing 14:51:51 205e7135afdb: Preparing 14:51:51 991eab6f8c64: Preparing 14:51:51 45f80239bec1: Preparing 14:51:51 1a058d5342cc: Preparing 14:51:51 1a058d5342cc: Layer already exists 14:51:51 3242b55c034b: Pushed 14:51:51 205e7135afdb: Pushed 14:51:51 45f80239bec1: Pushed 14:51:52 991eab6f8c64: Pushed 14:51:52 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:51:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 14:51:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 14:51:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:53 3242b55c034b: Preparing 14:51:53 205e7135afdb: Preparing 14:51:53 991eab6f8c64: Preparing 14:51:53 45f80239bec1: Preparing 14:51:53 1a058d5342cc: Preparing 14:51:53 45f80239bec1: Layer already exists 14:51:53 1a058d5342cc: Layer already exists 14:51:53 991eab6f8c64: Layer already exists 14:51:53 205e7135afdb: Layer already exists 14:51:53 3242b55c034b: Layer already exists 14:51:53 latest: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:51:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 14:51:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 14:51:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:53 3242b55c034b: Preparing 14:51:53 205e7135afdb: Preparing 14:51:53 991eab6f8c64: Preparing 14:51:53 45f80239bec1: Preparing 14:51:53 1a058d5342cc: Preparing 14:51:53 1a058d5342cc: Layer already exists 14:51:53 45f80239bec1: Layer already exists 14:51:53 205e7135afdb: Layer already exists 14:51:53 991eab6f8c64: Layer already exists 14:51:53 3242b55c034b: Layer already exists 14:51:53 2.2.0-dev.6: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:51:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 14:51:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:51:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:54 3242b55c034b: Preparing 14:51:54 205e7135afdb: Preparing 14:51:54 991eab6f8c64: Preparing 14:51:54 45f80239bec1: Preparing 14:51:54 1a058d5342cc: Preparing 14:51:54 991eab6f8c64: Layer already exists 14:51:54 3242b55c034b: Layer already exists 14:51:54 205e7135afdb: Layer already exists 14:51:54 45f80239bec1: Layer already exists 14:51:54 1a058d5342cc: Layer already exists 14:51:54 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:51:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 14:51:55 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 14:51:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 14:51:55 3242b55c034b: Preparing 14:51:55 205e7135afdb: Preparing 14:51:55 991eab6f8c64: Preparing 14:51:55 45f80239bec1: Preparing 14:51:55 1a058d5342cc: Preparing 14:51:55 1a058d5342cc: Layer already exists 14:51:55 205e7135afdb: Layer already exists 14:51:55 3242b55c034b: Layer already exists 14:51:55 45f80239bec1: Layer already exists 14:51:55 991eab6f8c64: Layer already exists 14:51:55 main: digest: sha256:9f7b47c25e43af8916efb17e2d8039b39e1e38d1e7fd7af1d6b4d913f1081006 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:55 ===================================================== [Pipeline] echo 14:51:55 taggedImages: 14:51:55 - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:51:55 - nexus3.edgexfoundry.org:10004/device-rest:latest 14:51:55 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.6 14:51:55 - nexus3.edgexfoundry.org:10004/device-rest:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:51:55 - 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 14:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:55 14:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:51:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:55 latest: Pulling from edgex-lftools-log-publisher 14:51:55 5eb5b503b376: Pulling fs layer 14:51:55 5c69ac0246d0: Pulling fs layer 14:51:55 ec43610c2a17: Pulling fs layer 14:51:55 3a2ae6a8a46f: Pulling fs layer 14:51:55 33b1e0a273af: Pulling fs layer 14:51:55 5d3b04190fa2: Pulling fs layer 14:51:55 2f39f015ded8: Pulling fs layer 14:51:55 3a2ae6a8a46f: Waiting 14:51:55 33b1e0a273af: Waiting 14:51:55 2f39f015ded8: Waiting 14:51:55 5d3b04190fa2: Waiting 14:51:55 5c69ac0246d0: Verifying Checksum 14:51:55 5c69ac0246d0: Download complete 14:51:55 3a2ae6a8a46f: Verifying Checksum 14:51:55 3a2ae6a8a46f: Download complete 14:51:55 33b1e0a273af: Verifying Checksum 14:51:55 33b1e0a273af: Download complete 14:51:55 5d3b04190fa2: Download complete 14:51:55 ec43610c2a17: Verifying Checksum 14:51:55 ec43610c2a17: Download complete 14:51:56 5eb5b503b376: Download complete 14:51:56 2f39f015ded8: Verifying Checksum 14:51:56 2f39f015ded8: Download complete 14:51:57 5eb5b503b376: Pull complete 14:51:57 5c69ac0246d0: Pull complete 14:51:57 ec43610c2a17: Pull complete 14:51:57 3a2ae6a8a46f: Pull complete 14:51:58 33b1e0a273af: Pull complete 14:51:58 5d3b04190fa2: Pull complete 14:52:02 2f39f015ded8: Pull complete 14:52:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:52:02 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:52:04 $ docker top 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:04 ---> job-cost.sh 14:52:04 lf-activate-venv: SKIPPING 14:52:04 INFO: No Stack... 14:52:05 INFO: Retrieving Pricing Info for: v3-standard-8 14:52:05 INFO: Archiving Costs [Pipeline] sh 14:52:06 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 14:52:06 + cut -d, -f6 [Pipeline] lock 14:52:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] 14:52:06 Resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] did not exist. Created. 14:52:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:52:06 + echo total: 0.2199999988079071 [Pipeline] stash 14:52:06 Stashed 1 file(s) [Pipeline] } 14:52:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 14:52:06 $ docker stop --time=1 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 14:52:07 $ docker rm -f 41f4aa1bc6ed0e34b4797173288ab71af23bc04d1f120f5f8be8da0bab249bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:52:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7831 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 14:52:27 Running in /w/workspace/device-rest-go/26 [Pipeline] { [Pipeline] checkout 14:52:27 The recommended git tool is: git 14:52:34 using credential edgex-jenkins-ssh 14:52:34 Cloning the remote Git repository 14:52:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:52:35 > git init /w/workspace/device-rest-go/26 # timeout=10 14:52:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:52:35 > git --version # timeout=10 14:52:35 > git --version # 'git version 2.25.1' 14:52:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:52:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:52:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:52:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:52:38 Avoid second fetch 14:52:38 Checking out Revision ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (main) 14:52:38 > git config core.sparsecheckout # timeout=10 14:52:38 > git checkout -f ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 14:52:42 Commit message: "Merge pull request #160 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:52:43 % Total % Received % Xferd Average Speed Time Time Time Current 14:52:43 Dload Upload Total Spent Left Speed 14:52:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 14:52:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:52:44 + sudo tee /etc/docker/daemon.new 14:52:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:52:44 { 14:52:44 "registry-mirrors": [ 14:52:44 "https://nexus3.edgexfoundry.org:10001" 14:52:44 ], 14:52:44 "bip": "10.250.0.254/24", 14:52:44 "hosts": [ 14:52:44 "tcp://0.0.0.0:5555", 14:52:44 "unix:///var/run/docker.sock" 14:52:44 ], 14:52:44 "mtu": 1458, 14:52:44 "selinux-enabled": true, 14:52:44 "seccomp-profile": "/etc/docker/seccomp.json" 14:52:44 } [Pipeline] sh 14:52:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:52:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:53:03 provisioning config files... 14:53:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config9123787839147595011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:03 ---> docker-login.sh 14:53:03 nexus3.edgexfoundry.org:10001 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:04 Configure a credential helper to remove this warning. See 14:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:04 14:53:04 Login Succeeded 14:53:04 nexus3.edgexfoundry.org:10002 14:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:05 Configure a credential helper to remove this warning. See 14:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:05 14:53:05 Login Succeeded 14:53:05 nexus3.edgexfoundry.org:10003 14:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:05 Configure a credential helper to remove this warning. See 14:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:05 14:53:05 Login Succeeded 14:53:05 nexus3.edgexfoundry.org:10004 14:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:06 Configure a credential helper to remove this warning. See 14:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:06 14:53:06 Login Succeeded 14:53:06 docker.io 14:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:07 Configure a credential helper to remove this warning. See 14:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:07 14:53:07 Login Succeeded 14:53:07 ---> docker-login.sh ends [Pipeline] } 14:53:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:53:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:07 ========================================================= 14:53:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:53:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:53:07 + 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 . 14:53:07 Sending build context to Docker daemon 124.9kB 14:53:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:53:08 Step 2/12 : FROM ${BASE} AS builder 14:53:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:53:08 9b3977197b4f: Pulling fs layer 14:53:08 1a89e8eeedd5: Pulling fs layer 14:53:08 94645a83ff95: Pulling fs layer 14:53:08 3f3a8bcf1eab: Pulling fs layer 14:53:08 0c92f367c5e7: Pulling fs layer 14:53:08 f7c0051592d6: Pulling fs layer 14:53:08 a227ed2f7395: Pulling fs layer 14:53:08 7b1c46037f91: Pulling fs layer 14:53:08 3f3a8bcf1eab: Waiting 14:53:08 0c92f367c5e7: Waiting 14:53:08 f7c0051592d6: Waiting 14:53:08 a227ed2f7395: Waiting 14:53:08 7b1c46037f91: Waiting 14:53:08 94645a83ff95: Verifying Checksum 14:53:08 94645a83ff95: Download complete 14:53:08 1a89e8eeedd5: Verifying Checksum 14:53:08 1a89e8eeedd5: Download complete 14:53:08 0c92f367c5e7: Verifying Checksum 14:53:08 0c92f367c5e7: Download complete 14:53:08 f7c0051592d6: Verifying Checksum 14:53:08 f7c0051592d6: Download complete 14:53:08 9b3977197b4f: Verifying Checksum 14:53:08 9b3977197b4f: Download complete 14:53:08 a227ed2f7395: Verifying Checksum 14:53:08 a227ed2f7395: Download complete 14:53:09 9b3977197b4f: Pull complete 14:53:09 1a89e8eeedd5: Pull complete 14:53:09 94645a83ff95: Pull complete 14:53:10 7b1c46037f91: Verifying Checksum 14:53:10 7b1c46037f91: Download complete 14:53:10 3f3a8bcf1eab: Verifying Checksum 14:53:10 3f3a8bcf1eab: Download complete 14:53:23 3f3a8bcf1eab: Pull complete 14:53:23 0c92f367c5e7: Pull complete 14:53:23 f7c0051592d6: Pull complete 14:53:23 a227ed2f7395: Pull complete 14:53:30 7b1c46037f91: Pull complete 14:53:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:53:30 ---> f79e39bc4007 14:53:30 Step 3/12 : ARG MAKE='make build' 14:53:30 ---> Running in 0f529b7c244a 14:53:30 Removing intermediate container 0f529b7c244a 14:53:30 ---> 5e227274ecf2 14:53:30 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:53:30 ---> Running in 49924322bf15 14:53:31 Removing intermediate container 49924322bf15 14:53:31 ---> 68230aea3947 14:53:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 14:53:31 ---> Running in afb2f0497ecc 14:53:31 Removing intermediate container afb2f0497ecc 14:53:31 ---> c32ca42386c5 14:53:31 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:53:31 ---> Running in 0c4c07876c2b 14:53:33 Removing intermediate container 0c4c07876c2b 14:53:33 ---> e5e9ca6fb220 14:53:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:53:33 ---> Running in 0781079fa1fa 14:53:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:53:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:53:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:53:36 (2/4) Installing libedit (20210910.3.1-r0) 14:53:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:53:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:53:36 Executing busybox-1.34.1-r3.trigger 14:53:36 OK: 224 MiB in 56 packages 14:53:37 Removing intermediate container 0781079fa1fa 14:53:37 ---> 44ff813a1190 14:53:37 Step 8/12 : WORKDIR /device-rest-go 14:53:37 ---> Running in 3b9cef33b722 14:53:37 Removing intermediate container 3b9cef33b722 14:53:37 ---> c0b6b1a64cf2 14:53:37 Step 9/12 : COPY go.mod vendor* ./ 14:53:38 ---> e9a72664b5f9 14:53:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:53:38 ---> Running in 80503fa8a3ec 14:55:00 Removing intermediate container 80503fa8a3ec 14:55:00 ---> 08fe7ce25c5f 14:55:00 Step 11/12 : COPY . . 14:55:00 ---> 6b4bd2b22c33 14:55:00 Step 12/12 : RUN $MAKE 14:55:00 ---> Running in 604f3169700f 14:55:00 noop 14:55:00 Removing intermediate container 604f3169700f 14:55:00 ---> 3558f2c1ca53 14:55:00 Successfully built 3558f2c1ca53 14:55:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:55:00 + docker inspect -f . ci-base-image-arm64 14:55:00 . [Pipeline] withDockerContainer 14:55:00 prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container 14:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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-arm64 cat 14:55:02 $ docker top b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 -eo pid,comm [Pipeline] { [Pipeline] sh 14:55:03 + go version 14:55:03 go version go1.17.6 linux/arm64 [Pipeline] } 14:55:03 $ docker stop --time=1 b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 14:55:04 $ docker rm -f b57bfcce60bc7fc2099a19d0822ea327a87fa52775423afaa9ae615d14d37566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:05 + docker inspect -f . ci-base-image-arm64 14:55:05 . [Pipeline] withDockerContainer 14:55:05 prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container 14:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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-arm64 cat 14:55:07 $ docker top c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:55:08 + make test 14:55:08 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 14:55:09 ? github.com/edgexfoundry/device-rest-go [no test files] 14:56:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:56:06 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 56.0% of statements 14:56:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:56:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:56:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:56:28 ./bin/test-attribution-txt.sh [Pipeline] echo 14:56:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:56:30 $ docker stop --time=1 c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc 14:56:32 $ docker rm -f c86dbaa48c1d503d7bd6cae818e17c9c62038f45425ea2486e7dd9946890b8dc [Pipeline] // withDockerContainer [Pipeline] sh 14:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:56:33 Warning: overwriting stash ‘coverage-report’ 14:56:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:56:34 + ls -al . 14:56:34 total 176 14:56:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:56 . 14:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:52 .. 14:56:34 -rw-rw-r-- 1 jenkins jenkins 151 Mar 17 14:52 .dockerignore 14:56:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:52 .git 14:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 .github 14:56:34 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 14:52 .gitignore 14:56:34 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 17 14:52 Attribution.txt 14:56:34 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 17 14:52 CHANGELOG.md 14:56:34 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 17 14:52 Dockerfile 14:56:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:52 GOVERNANCE.md 14:56:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 14:52 Jenkinsfile 14:56:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:52 LICENSE 14:56:34 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 17 14:52 Makefile 14:56:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 14:52 OWNERS.md 14:56:34 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 17 14:52 README.md 14:56:34 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:50 VERSION 14:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 bin 14:56:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 cmd 14:56:34 -rw-r--r-- 1 jenkins jenkins 9215 Mar 17 14:56 coverage.out 14:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 driver 14:56:34 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 17 14:52 go.mod 14:56:34 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 17 14:52 go.sum 14:56:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 snap 14:56:34 -rw-rw-r-- 1 jenkins jenkins 713 Mar 17 14:52 version.go [Pipeline] isUnix [Pipeline] sh 14:56:35 + 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 --label arch=arm64 --label version=2.2.0-dev.6 . 14:56:35 Sending build context to Docker daemon 134.7kB 14:56:35 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:56:35 Step 2/25 : FROM ${BASE} AS builder 14:56:35 ---> 3558f2c1ca53 14:56:35 Step 3/25 : ARG MAKE='make build' 14:56:35 ---> Running in 2d4a9e4f0784 14:56:36 Removing intermediate container 2d4a9e4f0784 14:56:36 ---> d45c08dbb5cc 14:56:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:56:36 ---> Running in c6ba9c5df4f8 14:56:36 Removing intermediate container c6ba9c5df4f8 14:56:36 ---> 89d93181a792 14:56:36 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:56:36 ---> Running in d73fdbac8d91 14:56:36 Removing intermediate container d73fdbac8d91 14:56:36 ---> d60c7686ea2b 14:56:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:56:36 ---> Running in f77091499e7a 14:56:38 Removing intermediate container f77091499e7a 14:56:38 ---> 1d34e1981ed9 14:56:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:56:38 ---> Running in de38f768546e 14:56:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:56:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:56:41 OK: 224 MiB in 56 packages 14:56:42 Removing intermediate container de38f768546e 14:56:42 ---> e727e114591c 14:56:42 Step 8/25 : WORKDIR /device-rest-go 14:56:42 ---> Running in f79a39396afd 14:56:43 Removing intermediate container f79a39396afd 14:56:43 ---> a498c0fa23a5 14:56:43 Step 9/25 : COPY go.mod vendor* ./ 14:56:43 ---> e853916fd509 14:56:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:56:43 ---> Running in 96c9d0851efe 14:56:45 Removing intermediate container 96c9d0851efe 14:56:45 ---> 2c4b67fce01b 14:56:45 Step 11/25 : COPY . . 14:56:46 ---> 99dd46cdf0e6 14:56:46 Step 12/25 : RUN $MAKE 14:56:46 ---> Running in 078224a3acc7 14:56:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.6" -o cmd/device-rest ./cmd 14:57:34 Removing intermediate container 078224a3acc7 14:57:34 ---> 9ac7083ec5fa 14:57:34 Step 13/25 : FROM alpine:3.14 14:57:34 3.14: Pulling from library/alpine 14:57:34 be307f383ecc: Pulling fs layer 14:57:34 be307f383ecc: Verifying Checksum 14:57:34 be307f383ecc: Download complete 14:57:34 be307f383ecc: Pull complete 14:57:34 Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 14:57:34 Status: Downloaded newer image for alpine:3.14 14:57:34 ---> 5b8b7b635229 14:57:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:57:34 ---> Running in e66fa3ab4138 14:57:34 Removing intermediate container e66fa3ab4138 14:57:34 ---> 225dc8565f65 14:57:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:57:34 ---> Running in 5ef1f3efbee1 14:57:34 Removing intermediate container 5ef1f3efbee1 14:57:34 ---> 09f8dd9416c2 14:57:34 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:57:34 ---> Running in 33b16721c5b4 14:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:57:35 (1/6) Installing dumb-init (1.2.5-r1) 14:57:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:57:35 (3/6) Installing libsodium (1.0.18-r0) 14:57:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:57:35 (5/6) Installing libzmq (4.3.4-r0) 14:57:35 (6/6) Installing zeromq (4.3.4-r0) 14:57:35 Executing busybox-1.33.1-r6.trigger 14:57:35 OK: 8 MiB in 20 packages 14:57:36 Removing intermediate container 33b16721c5b4 14:57:36 ---> 86deac859700 14:57:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:57:37 ---> eeedeca3caaf 14:57:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:57:37 ---> ed8f38939e03 14:57:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:57:38 ---> 7ca15d0faa96 14:57:38 Step 20/25 : EXPOSE 59986 14:57:38 ---> Running in 87047014fc37 14:57:38 Removing intermediate container 87047014fc37 14:57:38 ---> d4710d7cb3ed 14:57:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:57:38 ---> Running in d7cbfe1db28c 14:57:39 Removing intermediate container d7cbfe1db28c 14:57:39 ---> 94f7ed977016 14:57:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:57:39 ---> Running in d1f25f97b2d3 14:57:39 Removing intermediate container d1f25f97b2d3 14:57:39 ---> 4f4c1b7b0f56 14:57:39 Step 23/25 : LABEL arch=arm64 14:57:39 ---> Running in 1c1b06735d76 14:57:39 Removing intermediate container 1c1b06735d76 14:57:39 ---> fd90c3aaa704 14:57:39 Step 24/25 : LABEL git_sha=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:57:39 ---> Running in 94ac8a498267 14:57:40 Removing intermediate container 94ac8a498267 14:57:40 ---> 56614e9891ee 14:57:40 Step 25/25 : LABEL version=2.2.0-dev.6 14:57:40 ---> Running in 0c787ddde7e5 14:57:40 Removing intermediate container 0c787ddde7e5 14:57:40 ---> a558f1402892 14:57:40 [Warning] One or more build-args [ARCH] were not consumed 14:57:40 Successfully built a558f1402892 14:57:40 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 14:57:40 provisioning config files... 14:57:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/26@tmp/config6118647466045872232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:40 ---> docker-login.sh 14:57:40 nexus3.edgexfoundry.org:10001 14:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:41 Configure a credential helper to remove this warning. See 14:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:41 14:57:41 Login Succeeded 14:57:41 nexus3.edgexfoundry.org:10002 14:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:41 Configure a credential helper to remove this warning. See 14:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:41 14:57:41 Login Succeeded 14:57:41 nexus3.edgexfoundry.org:10003 14:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:42 Configure a credential helper to remove this warning. See 14:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:42 14:57:42 Login Succeeded 14:57:42 nexus3.edgexfoundry.org:10004 14:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:43 Configure a credential helper to remove this warning. See 14:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:43 14:57:43 Login Succeeded 14:57:43 docker.io 14:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:43 Configure a credential helper to remove this warning. See 14:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:43 14:57:43 Login Succeeded 14:57:43 ---> docker-login.sh ends [Pipeline] } 14:57:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:57:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:43 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 14:57:43 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:57:43 latest 14:57:43 2.2.0-dev.6 14:57:43 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:57:43 main 14:57:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:57:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] isUnix [Pipeline] sh 14:57:44 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:57:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:44 e1e3d07045f2: Preparing 14:57:44 2cb973f1faa1: Preparing 14:57:44 9c092ba0ddd6: Preparing 14:57:44 7c7a18bb4299: Preparing 14:57:44 62170e181a92: Preparing 14:57:44 62170e181a92: Layer already exists 14:57:44 e1e3d07045f2: Pushed 14:57:44 2cb973f1faa1: Pushed 14:57:45 7c7a18bb4299: Pushed 14:57:47 9c092ba0ddd6: Pushed 14:57:47 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh 14:57:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:57:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:57:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:48 e1e3d07045f2: Preparing 14:57:48 2cb973f1faa1: Preparing 14:57:48 9c092ba0ddd6: Preparing 14:57:48 7c7a18bb4299: Preparing 14:57:48 62170e181a92: Preparing 14:57:48 2cb973f1faa1: Layer already exists 14:57:48 7c7a18bb4299: Layer already exists 14:57:48 9c092ba0ddd6: Layer already exists 14:57:48 e1e3d07045f2: Layer already exists 14:57:48 62170e181a92: Layer already exists 14:57:48 latest: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh 14:57:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 14:57:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 14:57:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:49 e1e3d07045f2: Preparing 14:57:49 2cb973f1faa1: Preparing 14:57:49 9c092ba0ddd6: Preparing 14:57:49 7c7a18bb4299: Preparing 14:57:49 62170e181a92: Preparing 14:57:49 e1e3d07045f2: Layer already exists 14:57:49 9c092ba0ddd6: Layer already exists 14:57:49 2cb973f1faa1: Layer already exists 14:57:49 62170e181a92: Layer already exists 14:57:49 7c7a18bb4299: Layer already exists 14:57:49 2.2.0-dev.6: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh 14:57:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 14:57:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:57:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:50 e1e3d07045f2: Preparing 14:57:50 2cb973f1faa1: Preparing 14:57:50 9c092ba0ddd6: Preparing 14:57:50 7c7a18bb4299: Preparing 14:57:50 62170e181a92: Preparing 14:57:50 7c7a18bb4299: Layer already exists 14:57:50 62170e181a92: Layer already exists 14:57:50 9c092ba0ddd6: Layer already exists 14:57:50 e1e3d07045f2: Layer already exists 14:57:50 2cb973f1faa1: Layer already exists 14:57:50 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] isUnix [Pipeline] sh 14:57:51 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 14:57:51 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 14:57:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 14:57:51 e1e3d07045f2: Preparing 14:57:51 2cb973f1faa1: Preparing 14:57:51 9c092ba0ddd6: Preparing 14:57:51 7c7a18bb4299: Preparing 14:57:51 62170e181a92: Preparing 14:57:51 9c092ba0ddd6: Layer already exists 14:57:51 e1e3d07045f2: Layer already exists 14:57:51 62170e181a92: Layer already exists 14:57:51 2cb973f1faa1: Layer already exists 14:57:51 7c7a18bb4299: Layer already exists 14:57:51 main: digest: sha256:12a5ad8b9a07b292813d82a5426086a6fc4a9912f447855afaa9912075a7e43b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:57:51 ===================================================== [Pipeline] echo 14:57:51 taggedImages: 14:57:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 14:57:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 14:57:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.6 14:57:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec779fd03c03a2eb2a0571cd3b2e316fba414fa2-2.2.0-dev.6 14:57:51 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:57:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:52 14:57:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:52 arm64: Pulling from edgex-lftools-log-publisher 14:57:52 8998bd30e6a1: Pulling fs layer 14:57:52 04944245beec: Pulling fs layer 14:57:52 699f458cf7ca: Pulling fs layer 14:57:52 765212b225bb: Pulling fs layer 14:57:52 f23df028b6ca: Pulling fs layer 14:57:52 765212b225bb: Waiting 14:57:52 d65c8cfc05b1: Pulling fs layer 14:57:52 2437ff75d9bd: Pulling fs layer 14:57:52 f23df028b6ca: Waiting 14:57:52 2437ff75d9bd: Waiting 14:57:52 d65c8cfc05b1: Waiting 14:57:52 04944245beec: Verifying Checksum 14:57:52 04944245beec: Download complete 14:57:52 765212b225bb: Verifying Checksum 14:57:52 765212b225bb: Download complete 14:57:52 f23df028b6ca: Verifying Checksum 14:57:52 f23df028b6ca: Download complete 14:57:53 d65c8cfc05b1: Verifying Checksum 14:57:53 d65c8cfc05b1: Download complete 14:57:53 699f458cf7ca: Verifying Checksum 14:57:53 699f458cf7ca: Download complete 14:57:53 8998bd30e6a1: Verifying Checksum 14:57:53 8998bd30e6a1: Download complete 14:57:56 2437ff75d9bd: Verifying Checksum 14:57:56 2437ff75d9bd: Download complete 14:57:58 8998bd30e6a1: Pull complete 14:57:58 04944245beec: Pull complete 14:58:00 699f458cf7ca: Pull complete 14:58:00 765212b225bb: Pull complete 14:58:01 f23df028b6ca: Pull complete 14:58:01 d65c8cfc05b1: Pull complete 14:58:16 2437ff75d9bd: Pull complete 14:58:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:58:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:58:17 prd-ubuntu20.04-docker-arm64-4c-16g-7831 does not seem to be running inside a container 14:58:17 $ 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/26 -v /w/workspace/device-rest-go/26:/w/workspace/device-rest-go/26:rw,z -v /w/workspace/device-rest-go/26@tmp:/w/workspace/device-rest-go/26@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:arm64 cat 14:58:20 $ docker top c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:21 ---> job-cost.sh 14:58:21 lf-activate-venv: SKIPPING 14:58:21 INFO: No Stack... 14:58:21 INFO: Retrieving Pricing Info for: v3-standard-4 14:58:22 INFO: Archiving Costs [Pipeline] sh 14:58:23 + cut -d, -f6 14:58:23 + cat /w/workspace/device-rest-go/26/archives/cost.csv [Pipeline] lock 14:58:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] 14:58:23 Resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] did not exist. Created. 14:58:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:58:23 /w/workspace/device-rest-go/26@tmp/durable-ae873ae9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:58:24 + echo total: 0.10999999940395355 [Pipeline] stash 14:58:24 Warning: overwriting stash ‘stack-cost’ 14:58:24 Stashed 1 file(s) [Pipeline] } 14:58:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 14:58:24 $ docker stop --time=1 c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b 14:58:26 $ docker rm -f c5c6a98a016f92d3ed2679939445635f16f6044ccfae2dea6b3b132685ae4a1b [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 14:58:26 provisioning config files... 14:58:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3027027081768760439tmp [Pipeline] { [Pipeline] sh 14:58:26 + set +x 14:58:26 + curl -s https://codecov.io/bash 14:58:26 + bash -s -- 14:58:26 14:58:26 _____ _ 14:58:26 / ____| | | 14:58:26 | | ___ __| | ___ ___ _____ __ 14:58:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:58:26 | |___| (_) | (_| | __/ (_| (_) \ V / 14:58:26 \_____\___/ \__,_|\___|\___\___/ \_/ 14:58:26 Bash-1.0.6 14:58:26 14:58:26 14:58:26 ==> git version 2.25.1 found 14:58:26 ==> 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 14:58:26 Release-Date: 2020-01-08 14:58:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:58:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:58:26 ==> Jenkins CI detected. 14:58:26 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 14:58:26 project root: . 14:58:26 --> token set from env 14:58:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:58:26 ==> Running gcov in . (disable via -X gcov) 14:58:26 ==> Python coveragepy not found 14:58:26 ==> Searching for coverage reports in: 14:58:26 + . 14:58:26 -> Found 1 reports 14:58:26 ==> Detecting git/mercurial file structure 14:58:26 ==> Reading reports 14:58:26 + ./coverage.out bytes=9215 14:58:26 ==> Appending adjustments 14:58:26 https://docs.codecov.io/docs/fixing-reports 14:58:27 + Found adjustments 14:58:27 ==> Gzipping contents 14:58:27 4.0K /tmp/codecov.nhLITQ.gz 14:58:27 ==> Uploading reports 14:58:27 url: https://codecov.io 14:58:27 query: branch=main&commit=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:58:27 -> Pinging Codecov 14:58:27 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=ec779fd03c03a2eb2a0571cd3b2e316fba414fa2&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:58:27 -> Uploading to 14:58:27 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/4E5D53B4F1F92C436F7061BF334D961C/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2/cf573227-8ffd-4605-9125-c6e442611e90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T145827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c3e23e838b5b4f04f7707ae7e4fe3e153fb28074b193e8ee38e5563910f6056 14:58:27 % Total % Received % Xferd Average Speed Time Time Time Current 14:58:27 Dload Upload Total Spent Left Speed 14:58:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 8857 --:--:-- --:--:-- --:--:-- 8813 100 1798 0 0 100 1798 0 5241 --:--:-- --:--:-- --:--:-- 5226 14:58:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] } 14:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:58:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:58:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:28 14:58:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:58:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:58:28 188c0c94c7c5: Pulling fs layer 14:58:28 0ef7d3d256c8: Pulling fs layer 14:58:28 de9db76c5a1d: Pulling fs layer 14:58:28 0eba1c9be4d2: Pulling fs layer 14:58:28 0d57e429df01: Pulling fs layer 14:58:28 4e4be7b47b0d: Pulling fs layer 14:58:28 e1f770b5df2f: Pulling fs layer 14:58:28 85a0685a4137: Pulling fs layer 14:58:28 e1f770b5df2f: Waiting 14:58:28 0eba1c9be4d2: Waiting 14:58:28 0d57e429df01: Waiting 14:58:28 85a0685a4137: Waiting 14:58:28 4e4be7b47b0d: Waiting 14:58:28 de9db76c5a1d: Verifying Checksum 14:58:28 de9db76c5a1d: Download complete 14:58:28 0ef7d3d256c8: Download complete 14:58:28 0d57e429df01: Verifying Checksum 14:58:28 0d57e429df01: Download complete 14:58:28 4e4be7b47b0d: Verifying Checksum 14:58:28 4e4be7b47b0d: Download complete 14:58:28 188c0c94c7c5: Download complete 14:58:28 188c0c94c7c5: Pull complete 14:58:28 e1f770b5df2f: Verifying Checksum 14:58:28 e1f770b5df2f: Download complete 14:58:28 0ef7d3d256c8: Pull complete 14:58:29 de9db76c5a1d: Pull complete 14:58:29 0eba1c9be4d2: Download complete 14:58:29 85a0685a4137: Verifying Checksum 14:58:29 85a0685a4137: Download complete 14:58:32 0eba1c9be4d2: Pull complete 14:58:32 0d57e429df01: Pull complete 14:58:32 4e4be7b47b0d: Pull complete 14:58:32 e1f770b5df2f: Pull complete 14:58:36 85a0685a4137: Pull complete 14:58:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:58:36 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:58:38 $ docker top faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 -eo pid,comm [Pipeline] { [Pipeline] echo 14:58:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:58:39 + set -o pipefail 14:58:39 + snyk monitor '--org=edgex-jenkins' 14:58:43 14:58:43 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 14:58:43 14:58:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/0a2b6a16-9f15-4667-bf44-72ef3e9e6435 14:58:43 14:58:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:58:43 14:58:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:58:43 14:58:44 [Pipeline] } 14:58:44 $ docker stop --time=1 faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 14:58:46 $ docker rm -f faf52c4961d5b1d2cb217c69c17e053c6c14698257c90936a1bb1f69a020b324 [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 14:58:46 + git log --format=format:%s -1 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 [Pipeline] sh 14:58:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:58:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:58:47 . [Pipeline] withDockerContainer 14:58:47 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:58:47 $ docker top af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:47 [ssh-agent] Looking for ssh-agent implementation... 14:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:48 $ docker exec af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 ssh-agent 14:58:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcLfaGf/agent.14 14:58:48 SSH_AGENT_PID=20 14:58:48 Running ssh-add (command line suppressed) 14:58:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1628269228904023623.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1628269228904023623.key) 14:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:48 + git semver tag 14:58:48 # -> Open(): unable to determine branch for HEAD 14:58:48 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:58:48 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:58:48 # $SEMVER_REMOTE_NAME = origin 14:58:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:58:48 # $SEMVER_USER_NAME = edgex-jenkins 14:58:48 # $SEMVER_BRANCH = main 14:58:48 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:58:48 # ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 HEAD 14:58:48 # -> Force: false 14:58:48 # fa02af45d10004cd8f1fa12aeacc2583078e8642 refs/tags/v2.2.0-dev.6 [Pipeline] } 14:58:48 $ docker exec --env ******** --env ******** af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 ssh-agent -k 14:58:48 unset SSH_AUTH_SOCK; 14:58:48 unset SSH_AGENT_PID; 14:58:48 echo Agent pid 20 killed; 14:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:49 + git semver [Pipeline] } 14:58:49 $ docker stop --time=1 af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 14:58:50 $ docker rm -f af47f66e06cfd18090aed3a002024b0dc0df58f98a3e4dae98b99b4f9c5c4959 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:50 14:58:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:58:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:51 0.23.1-centos7: Pulling from edgex-lftools 14:58:51 ab5ef0e58194: Pulling fs layer 14:58:51 9712f1f96733: Pulling fs layer 14:58:51 63f879dbbcfc: Pulling fs layer 14:58:51 0d9ebad4ef96: Pulling fs layer 14:58:51 e9a5061849ea: Pulling fs layer 14:58:51 d747dcd14b5f: Pulling fs layer 14:58:51 2de7ff778b66: Pulling fs layer 14:58:51 e9a5061849ea: Waiting 14:58:51 d747dcd14b5f: Waiting 14:58:51 2de7ff778b66: Waiting 14:58:51 0d9ebad4ef96: Waiting 14:58:51 9712f1f96733: Verifying Checksum 14:58:51 9712f1f96733: Download complete 14:58:51 63f879dbbcfc: Verifying Checksum 14:58:51 63f879dbbcfc: Download complete 14:58:51 e9a5061849ea: Verifying Checksum 14:58:51 e9a5061849ea: Download complete 14:58:51 0d9ebad4ef96: Verifying Checksum 14:58:51 0d9ebad4ef96: Download complete 14:58:51 d747dcd14b5f: Download complete 14:58:51 ab5ef0e58194: Verifying Checksum 14:58:51 ab5ef0e58194: Download complete 14:58:51 2de7ff778b66: Verifying Checksum 14:58:51 2de7ff778b66: Download complete 14:58:54 ab5ef0e58194: Pull complete 14:58:54 9712f1f96733: Pull complete 14:58:55 63f879dbbcfc: Pull complete 14:58:59 0d9ebad4ef96: Pull complete 14:58:59 e9a5061849ea: Pull complete 14:58:59 d747dcd14b5f: Pull complete 14:59:00 2de7ff778b66: Pull complete 14:59:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:59:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:59:00 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:59:03 $ docker top 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:59:03 provisioning config files... 14:59:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config633605455401292516tmp 14:59:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2729154340903422052tmp 14:59:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4543942773193769301tmp [Pipeline] { [Pipeline] echo 14:59:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:59:03 ---> sigul-configuration.sh 14:59:03 gpg: directory `/root/.gnupg' created 14:59:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:59:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:59:03 gpg: keyring `/root/.gnupg/secring.gpg' created 14:59:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:59:03 gpg: CAST5 encrypted data 14:59:03 gpg: encrypted with 1 passphrase 14:59:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:59:04 + mkdir /home/jenkins 14:59:04 + mkdir /home/jenkins/sigul [Pipeline] sh 14:59:04 + 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 14:59:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:59:04 ---> sigul-install.sh 14:59:04 Sigul already installed; skipping installation. [Pipeline] sh 14:59:04 + git tag --list 14:59:04 v1.0.0 14:59:04 v1.1.0 14:59:04 v1.1.1 14:59:04 v1.1.2 14:59:04 v1.2.0 14:59:04 v1.2.1 14:59:04 v2.0.0 14:59:04 v2.0.1-dev.1 14:59:04 v2.0.1-dev.10 14:59:04 v2.0.1-dev.11 14:59:04 v2.0.1-dev.12 14:59:04 v2.0.1-dev.13 14:59:04 v2.0.1-dev.14 14:59:04 v2.0.1-dev.2 14:59:04 v2.0.1-dev.3 14:59:04 v2.0.1-dev.4 14:59:04 v2.0.1-dev.5 14:59:04 v2.0.1-dev.6 14:59:04 v2.0.1-dev.7 14:59:04 v2.0.1-dev.8 14:59:04 v2.0.1-dev.9 14:59:04 v2.1.0 14:59:04 v2.2.0-dev.1 14:59:04 v2.2.0-dev.2 14:59:04 v2.2.0-dev.3 14:59:04 v2.2.0-dev.4 14:59:04 v2.2.0-dev.5 14:59:04 v2.2.0-dev.6 [Pipeline] sh 14:59:05 + lftools sign git-tag v2.2.0-dev.6 14:59:05 Signing Git tag with Sigul... 14:59:05 Signing v2.2.0-dev.6 [Pipeline] echo 14:59:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:59:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:59:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:59:06 $ docker stop --time=1 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 14:59:07 $ docker rm -f 1c9129cf8563c9e469de265f77af1549f4ad826d369e4f4e77dbe38de4a91258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:59:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:59:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:59:08 . [Pipeline] withDockerContainer 14:59:08 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:59:08 $ docker top 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:59:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:09 [ssh-agent] Looking for ssh-agent implementation... 14:59:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:09 $ docker exec 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd ssh-agent 14:59:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFOOACo/agent.13 14:59:09 SSH_AGENT_PID=19 14:59:09 Running ssh-add (command line suppressed) 14:59:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4280986273963663228.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4280986273963663228.key) 14:59:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:09 + git semver bump pre 14:59:09 # -> Open(): unable to determine branch for HEAD 14:59:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:59:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:59:09 # $SEMVER_REMOTE_NAME = origin 14:59:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:59:09 # $SEMVER_USER_NAME = edgex-jenkins 14:59:09 # $SEMVER_BRANCH = main 14:59:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:59:09 2.2.0-dev.7 [Pipeline] } 14:59:09 $ docker exec --env ******** --env ******** 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd ssh-agent -k 14:59:09 unset SSH_AUTH_SOCK; 14:59:09 unset SSH_AGENT_PID; 14:59:09 echo Agent pid 19 killed; 14:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:59:10 + git semver [Pipeline] } 14:59:10 $ docker stop --time=1 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd 14:59:11 $ docker rm -f 647d32f7d4e4455acc8f2c0c785ad1a9aee83329cb640fea5efdff44362521cd [Pipeline] // withDockerContainer [Pipeline] sh 14:59:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:59:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:59:12 . [Pipeline] withDockerContainer 14:59:12 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:59:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:59:12 $ docker top de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:59:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:12 [ssh-agent] Looking for ssh-agent implementation... 14:59:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:12 $ docker exec de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 ssh-agent 14:59:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhobLNe/agent.13 14:59:13 SSH_AGENT_PID=19 14:59:13 Running ssh-add (command line suppressed) 14:59:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3034230056836885912.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3034230056836885912.key) 14:59:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:13 + git semver push 14:59:13 # -> Open(): unable to determine branch for HEAD 14:59:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 14:59:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 14:59:13 # $SEMVER_REMOTE_NAME = origin 14:59:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:59:13 # $SEMVER_USER_NAME = edgex-jenkins 14:59:13 # $SEMVER_BRANCH = main 14:59:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver 14:59:18 git-semver-push: command error on refs/heads/semver: Internal Server Error [Pipeline] } 14:59:18 $ docker exec --env ******** --env ******** de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 ssh-agent -k 14:59:18 unset SSH_AUTH_SOCK; 14:59:18 unset SSH_AGENT_PID; 14:59:18 echo Agent pid 19 killed; 14:59:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 14:59:19 $ docker stop --time=1 de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 14:59:20 $ docker rm -f de39121bfb36e1f0e1d6e84192dbeb82585077bb7efe3ae53b9d1ca2d4039639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:59:20 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 14:59:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:59:20 total 16 14:59:20 drwxr-xr-x 3 root root 4096 Mar 17 14:52 . 14:59:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:59 .. 14:59:20 drwxr-xr-x 2 root root 4096 Mar 17 14:52 cost 14:59:20 -rw-r--r-- 1 root root 84 Mar 17 14:52 cost.csv 14:59:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 14:59:20 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 14:59:20 total 16 14:59:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 14:52 . 14:59:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:59 .. 14:59:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 14:52 cost 14:59:20 -rw-r--r-- 1 jenkins jenkins 84 Mar 17 14:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:59:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:59:22 ---> package-listing.sh 14:59:22 ++ facter osfamily 14:59:22 ++ tr '[:upper:]' '[:lower:]' 14:59:22 + OS_FAMILY=debian 14:59:22 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 14:59:22 + START_PACKAGES=/tmp/packages_start.txt 14:59:22 + END_PACKAGES=/tmp/packages_end.txt 14:59:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:59:22 + PACKAGES=/tmp/packages_start.txt 14:59:22 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:59:22 + PACKAGES=/tmp/packages_end.txt 14:59:22 + case "${OS_FAMILY}" in 14:59:22 + dpkg -l 14:59:22 + grep '^ii' 14:59:22 + '[' -f /tmp/packages_start.txt ']' 14:59:22 + '[' -f /tmp/packages_end.txt ']' 14:59:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:59:22 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 14:59:22 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 14:59:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 14:59:22 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 14:59:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:23 . [Pipeline] withDockerContainer 14:59:23 prd-ubuntu20.04-docker-8c-8g-7830 does not seem to be running inside a container 14:59:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:59:23 $ docker top 14207dea7681ed6767bf825ec45e2b4c5b7834b32808f45e9fcd21f7b194c4e8 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:23 + touch /tmp/pre-build-complete [Pipeline] sh 14:59:24 + mkdir -p /var/log/sysstat [Pipeline] sh 14:59:24 + ls /var/log/sa-host 14:59:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:59:24 provisioning config files... 14:59:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9213111667424109025tmp [Pipeline] { [Pipeline] echo 14:59:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:59:25 ---> create-netrc.sh [Pipeline] } 14:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:59:25 ---> python-tools-install.sh [Pipeline] echo 14:59:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:59:25 ---> sudo-logs.sh 14:59:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:59:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:59:26 ---> job-cost.sh 14:59:26 lf-activate-venv: SKIPPING 14:59:26 DEBUG: total: 0.2199999988079071 14:59:26 INFO: Retrieving Stack Cost... 14:59:26 INFO: Retrieving Pricing Info for: v3-standard-8 14:59:26 INFO: Archiving Costs [Pipeline] echo 14:59:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:59:27 ---> logs-deploy.sh 14:59:27 lf-activate-venv: SKIPPING 14:59:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/26 14:59:27 INFO: archiving workspace using pattern(s): 14:59:28 Archives upload complete. 14:59:28 INFO: archiving logs to Nexus